diff options
author | Josef Šimánek <josef.simanek@gmail.com> | 2022-11-04 22:56:31 +0100 |
---|---|---|
committer | Hiroshi SHIBATA <hsbt@ruby-lang.org> | 2022-11-11 17:24:08 +0900 |
commit | de159c5a855dd53bfd9ce284c9099306724560a7 (patch) | |
tree | 5e184f264bb1930a14aa7db4f487828ef70788b7 /lib/rubygems/config_file.rb | |
parent | 7ce0f81fbbd9c2b35e9fe35f5ef040626e284a88 (diff) |
[rubygems/rubygems] Store last check even when upgrade is not available and fix test.
https://github.com/rubygems/rubygems/commit/bcffc2b0a5
Notes
Notes:
Merged: https://github.com/ruby/ruby/pull/6715
Diffstat (limited to 'lib/rubygems/config_file.rb')
-rw-r--r-- | lib/rubygems/config_file.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/rubygems/config_file.rb b/lib/rubygems/config_file.rb index f2abc7f2af..4aa8b4d33a 100644 --- a/lib/rubygems/config_file.rb +++ b/lib/rubygems/config_file.rb @@ -392,7 +392,7 @@ if you believe they were disclosed to a third party. # The name of the state file. def state_file_name - @state_file_name || Gem.state_file + Gem.state_file end # Reads time of last update check from state file |