refrigerator 1.5.1 → 1.6.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 186c03b5ec32b85e8a2185d748157aba36e487a9c8366680597a2ebb4f336e07
4
- data.tar.gz: 4d6e2c5eb180e09d5e5a75eb23782a875e25847b80c723f8ab13866071552422
3
+ metadata.gz: 7891017c6700bdd25f85f5c1f2fb66de254d3253fd4aacc3474c1ad42c97605f
4
+ data.tar.gz: b73461d0fbea99daef64397b894fde1e78b336852a3342410339bc6ca839cf79
5
5
  SHA512:
6
- metadata.gz: a8434dcb03c19ff122b0d5adad2c975b1bdeaed0a59a360b2ca81e2e5bb278df2384455073226cfa650e815cb658567c492be6277c6b8a9b23cdc0e5210a6326
7
- data.tar.gz: 8013f398f49d68ee64534cdc04f913eab63d6aca56334860041a06e1b8bb971f5e01c0388083f1d15f0b33b3061224aeb590d2899dad76baf6acaad638847241
6
+ metadata.gz: 62067a87a7cafd4187679a9bead94e76f018d7f552b1cd3eb0091ae482a3c366df723dc46b5c7357c316861947c1bb5752b875dd8626c9b7c4349d27adc5f224
7
+ data.tar.gz: b31142a666e701a036f52d736dcb324fafec9c34ce2d8e6ce1bfd0a1bb052d141524169d6803ad5682d504191ec07115f66866d36285df668038037d3fab0a18
data/CHANGELOG CHANGED
@@ -1,3 +1,7 @@
1
+ === 1.6.0 (2023-04-18)
2
+
3
+ * Do not attempt to access deprecated, internal, or private modules or classes (jeremyevans) (#11)
4
+
1
5
  === 1.5.1 (2023-01-13)
2
6
 
3
7
  * Fix the support new classes and modules in Ruby 3.2 (jeremyevans)
data/README.rdoc CHANGED
@@ -159,12 +159,11 @@ Here are a couple more examples, using Sequel and Roda:
159
159
  The list of constants that +freeze_core+ will freeze are stored in the module_names/*.txt files
160
160
  in the repository, with separate files per ruby minor version. When new ruby minor versions are
161
161
  released, the +module_names+ rake task can be run with the new ruby minor version, and it will
162
- generate the appropriate file. This task works by looking at ObjectSpace for all modules, with
163
- code similar to:
162
+ generate the appropriate file.
164
163
 
165
- ObjectSpace.each_object(Module){|m| p m.name}
164
+ == Skipped Classes and Modules
166
165
 
167
- In addition, the +version_int+ variable in +refrigerator.rb+ needs to be updated.
166
+ Internal, deprecated, and private classes and modules are not frozen by refrigerator.
168
167
 
169
168
  = License
170
169
 
data/Rakefile CHANGED
@@ -12,7 +12,7 @@ end
12
12
 
13
13
  desc "Generate module_names/*.txt file for current ruby version"
14
14
  task :module_names do
15
- sh "#{FileUtils::RUBY} -e 'a = []; ObjectSpace.each_object(Module){|m| a << m.name.to_s}; File.open(\"module_names/#{RUBY_VERSION[0..2].sub('.', '')}.txt\", \"wb\"){|f| f.write(a.reject{|m| m.empty?}.sort.join(\"\\n\")); f.write(\"\\n\")}'"
15
+ sh "#{FileUtils::RUBY} gen_module_names.rb"
16
16
  end
17
17
 
18
18
 
@@ -57,4 +57,3 @@ rdoc_task_class.new do |rdoc|
57
57
  rdoc.options += RDOC_OPTS
58
58
  rdoc.rdoc_files.add %w"README.rdoc CHANGELOG MIT-LICENSE lib/**/*.rb"
59
59
  end
60
-
data/lib/refrigerator.rb CHANGED
@@ -1,12 +1,17 @@
1
1
  # Refrigerator allows for easily freezing core classes and modules.
2
2
  module Refrigerator
3
3
  version_int = RUBY_VERSION[0..2].sub('.', '').to_i
4
- # :nocov:
5
- version_int = 32 if version_int > 32
6
- # :nocov:
4
+ filepath = lambda do
5
+ File.expand_path(File.join(File.expand_path(__FILE__), "../../module_names/#{version_int}.txt"))
6
+ end
7
+ if version_int >= 18
8
+ # :nocov:
9
+ version_int -= 1 until File.file?(filepath.call)
10
+ # :nocov:
11
+ end
7
12
 
8
13
  # Array of strings containing class or module names.
9
- CORE_MODULES = File.read(File.expand_path(File.join(File.expand_path(__FILE__), "../../module_names/#{version_int}.txt"))).
14
+ CORE_MODULES = File.read(filepath.call).
10
15
  split(/\s+/).
11
16
  select{|m| eval("defined?(#{m})", nil, __FILE__, __LINE__)}.
12
17
  each(&:freeze).
data/module_names/18.txt CHANGED
@@ -19,6 +19,7 @@ Errno::EAFNOSUPPORT
19
19
  Errno::EAGAIN
20
20
  Errno::EALREADY
21
21
  Errno::EBADF
22
+ Errno::EBADMSG
22
23
  Errno::EBUSY
23
24
  Errno::ECHILD
24
25
  Errno::ECONNABORTED
@@ -72,6 +73,7 @@ Errno::EOVERFLOW
72
73
  Errno::EPERM
73
74
  Errno::EPFNOSUPPORT
74
75
  Errno::EPIPE
76
+ Errno::EPROTO
75
77
  Errno::EPROTONOSUPPORT
76
78
  Errno::EPROTOTYPE
77
79
  Errno::ERANGE
@@ -112,7 +114,6 @@ Math
112
114
  Method
113
115
  Module
114
116
  NameError
115
- NameError::message
116
117
  NilClass
117
118
  NoMemoryError
118
119
  NoMethodError
@@ -154,4 +155,3 @@ TrueClass
154
155
  TypeError
155
156
  UnboundMethod
156
157
  ZeroDivisionError
157
- fatal
data/module_names/19.txt CHANGED
@@ -31,6 +31,7 @@ Errno::EAGAIN
31
31
  Errno::EALREADY
32
32
  Errno::EAUTH
33
33
  Errno::EBADF
34
+ Errno::EBADMSG
34
35
  Errno::EBADRPC
35
36
  Errno::EBUSY
36
37
  Errno::ECANCELED
@@ -84,12 +85,14 @@ Errno::ENOTBLK
84
85
  Errno::ENOTCONN
85
86
  Errno::ENOTDIR
86
87
  Errno::ENOTEMPTY
88
+ Errno::ENOTRECOVERABLE
87
89
  Errno::ENOTSOCK
88
90
  Errno::ENOTSUP
89
91
  Errno::ENOTTY
90
92
  Errno::ENXIO
91
93
  Errno::EOPNOTSUPP
92
94
  Errno::EOVERFLOW
95
+ Errno::EOWNERDEAD
93
96
  Errno::EPERM
94
97
  Errno::EPFNOSUPPORT
95
98
  Errno::EPIPE
@@ -97,6 +100,7 @@ Errno::EPROCLIM
97
100
  Errno::EPROCUNAVAIL
98
101
  Errno::EPROGMISMATCH
99
102
  Errno::EPROGUNAVAIL
103
+ Errno::EPROTO
100
104
  Errno::EPROTONOSUPPORT
101
105
  Errno::EPROTOTYPE
102
106
  Errno::ERANGE
@@ -169,7 +173,6 @@ Method
169
173
  Module
170
174
  Mutex
171
175
  NameError
172
- NameError::message
173
176
  NilClass
174
177
  NoMemoryError
175
178
  NoMethodError
@@ -216,4 +219,3 @@ TrueClass
216
219
  TypeError
217
220
  UnboundMethod
218
221
  ZeroDivisionError
219
- fatal
data/module_names/20.txt CHANGED
@@ -7,7 +7,6 @@ Binding
7
7
  Class
8
8
  Comparable
9
9
  Complex
10
- Complex::compatible
11
10
  ConditionVariable
12
11
  Data
13
12
  Date
@@ -35,6 +34,7 @@ Errno::EAGAIN
35
34
  Errno::EALREADY
36
35
  Errno::EAUTH
37
36
  Errno::EBADF
37
+ Errno::EBADMSG
38
38
  Errno::EBADRPC
39
39
  Errno::EBUSY
40
40
  Errno::ECANCELED
@@ -88,12 +88,14 @@ Errno::ENOTBLK
88
88
  Errno::ENOTCONN
89
89
  Errno::ENOTDIR
90
90
  Errno::ENOTEMPTY
91
+ Errno::ENOTRECOVERABLE
91
92
  Errno::ENOTSOCK
92
93
  Errno::ENOTSUP
93
94
  Errno::ENOTTY
94
95
  Errno::ENXIO
95
96
  Errno::EOPNOTSUPP
96
97
  Errno::EOVERFLOW
98
+ Errno::EOWNERDEAD
97
99
  Errno::EPERM
98
100
  Errno::EPFNOSUPPORT
99
101
  Errno::EPIPE
@@ -101,6 +103,7 @@ Errno::EPROCLIM
101
103
  Errno::EPROCUNAVAIL
102
104
  Errno::EPROGMISMATCH
103
105
  Errno::EPROGUNAVAIL
106
+ Errno::EPROTO
104
107
  Errno::EPROTONOSUPPORT
105
108
  Errno::EPROTOTYPE
106
109
  Errno::ERANGE
@@ -186,7 +189,6 @@ MonitorMixin::ConditionVariable
186
189
  MonitorMixin::ConditionVariable::Timeout
187
190
  Mutex
188
191
  NameError
189
- NameError::message
190
192
  NilClass
191
193
  NoMemoryError
192
194
  NoMethodError
@@ -206,7 +208,6 @@ Random
206
208
  Range
207
209
  RangeError
208
210
  Rational
209
- Rational::compatible
210
211
  RbConfig
211
212
  Regexp
212
213
  RegexpError
@@ -240,4 +241,3 @@ TrueClass
240
241
  TypeError
241
242
  UnboundMethod
242
243
  ZeroDivisionError
243
- fatal
data/module_names/21.txt CHANGED
@@ -7,7 +7,6 @@ Binding
7
7
  Class
8
8
  Comparable
9
9
  Complex
10
- Complex::compatible
11
10
  Data
12
11
  Date
13
12
  Dir
@@ -34,6 +33,7 @@ Errno::EAGAIN
34
33
  Errno::EALREADY
35
34
  Errno::EAUTH
36
35
  Errno::EBADF
36
+ Errno::EBADMSG
37
37
  Errno::EBADRPC
38
38
  Errno::EBUSY
39
39
  Errno::ECANCELED
@@ -87,12 +87,14 @@ Errno::ENOTBLK
87
87
  Errno::ENOTCONN
88
88
  Errno::ENOTDIR
89
89
  Errno::ENOTEMPTY
90
+ Errno::ENOTRECOVERABLE
90
91
  Errno::ENOTSOCK
91
92
  Errno::ENOTSUP
92
93
  Errno::ENOTTY
93
94
  Errno::ENXIO
94
95
  Errno::EOPNOTSUPP
95
96
  Errno::EOVERFLOW
97
+ Errno::EOWNERDEAD
96
98
  Errno::EPERM
97
99
  Errno::EPFNOSUPPORT
98
100
  Errno::EPIPE
@@ -100,6 +102,7 @@ Errno::EPROCLIM
100
102
  Errno::EPROCUNAVAIL
101
103
  Errno::EPROGMISMATCH
102
104
  Errno::EPROGUNAVAIL
105
+ Errno::EPROTO
103
106
  Errno::EPROTONOSUPPORT
104
107
  Errno::EPROTOTYPE
105
108
  Errno::ERANGE
@@ -198,7 +201,6 @@ MonitorMixin::ConditionVariable
198
201
  MonitorMixin::ConditionVariable::Timeout
199
202
  Mutex
200
203
  NameError
201
- NameError::message
202
204
  NilClass
203
205
  NoMemoryError
204
206
  NoMethodError
@@ -218,7 +220,6 @@ Random
218
220
  Range
219
221
  RangeError
220
222
  Rational
221
- Rational::compatible
222
223
  RbConfig
223
224
  Regexp
224
225
  RegexpError
@@ -251,6 +252,22 @@ Time
251
252
  TracePoint
252
253
  TrueClass
253
254
  TypeError
255
+ URI
256
+ URI::BadURIError
257
+ URI::Error
258
+ URI::Escape
259
+ URI::FTP
260
+ URI::Generic
261
+ URI::HTTP
262
+ URI::HTTPS
263
+ URI::InvalidComponentError
264
+ URI::InvalidURIError
265
+ URI::LDAP
266
+ URI::LDAPS
267
+ URI::MailTo
268
+ URI::Parser
269
+ URI::REGEXP
270
+ URI::REGEXP::PATTERN
271
+ URI::Util
254
272
  UnboundMethod
255
273
  ZeroDivisionError
256
- fatal
data/module_names/22.txt CHANGED
@@ -7,7 +7,6 @@ Binding
7
7
  Class
8
8
  Comparable
9
9
  Complex
10
- Complex::compatible
11
10
  Data
12
11
  Dir
13
12
  EOFError
@@ -33,6 +32,7 @@ Errno::EAGAIN
33
32
  Errno::EALREADY
34
33
  Errno::EAUTH
35
34
  Errno::EBADF
35
+ Errno::EBADMSG
36
36
  Errno::EBADRPC
37
37
  Errno::EBUSY
38
38
  Errno::ECANCELED
@@ -86,12 +86,14 @@ Errno::ENOTBLK
86
86
  Errno::ENOTCONN
87
87
  Errno::ENOTDIR
88
88
  Errno::ENOTEMPTY
89
+ Errno::ENOTRECOVERABLE
89
90
  Errno::ENOTSOCK
90
91
  Errno::ENOTSUP
91
92
  Errno::ENOTTY
92
93
  Errno::ENXIO
93
94
  Errno::EOPNOTSUPP
94
95
  Errno::EOVERFLOW
96
+ Errno::EOWNERDEAD
95
97
  Errno::EPERM
96
98
  Errno::EPFNOSUPPORT
97
99
  Errno::EPIPE
@@ -99,6 +101,7 @@ Errno::EPROCLIM
99
101
  Errno::EPROCUNAVAIL
100
102
  Errno::EPROGMISMATCH
101
103
  Errno::EPROGUNAVAIL
104
+ Errno::EPROTO
102
105
  Errno::EPROTONOSUPPORT
103
106
  Errno::EPROTOTYPE
104
107
  Errno::ERANGE
@@ -133,6 +136,7 @@ Gem
133
136
  Gem::BasicSpecification
134
137
  Gem::CommandLineError
135
138
  Gem::ConflictError
139
+ Gem::Dependency
136
140
  Gem::DependencyError
137
141
  Gem::DependencyRemovalException
138
142
  Gem::DependencyResolutionError
@@ -198,7 +202,6 @@ MonitorMixin::ConditionVariable
198
202
  MonitorMixin::ConditionVariable::Timeout
199
203
  Mutex
200
204
  NameError
201
- NameError::message
202
205
  NilClass
203
206
  NoMemoryError
204
207
  NoMethodError
@@ -219,7 +222,6 @@ Random
219
222
  Range
220
223
  RangeError
221
224
  Rational
222
- Rational::compatible
223
225
  RbConfig
224
226
  Regexp
225
227
  RegexpError
@@ -252,7 +254,24 @@ Time
252
254
  TracePoint
253
255
  TrueClass
254
256
  TypeError
257
+ URI
258
+ URI::BadURIError
259
+ URI::Error
260
+ URI::Escape
261
+ URI::FTP
262
+ URI::Generic
263
+ URI::HTTP
264
+ URI::HTTPS
265
+ URI::InvalidComponentError
266
+ URI::InvalidURIError
267
+ URI::LDAP
268
+ URI::LDAPS
269
+ URI::MailTo
270
+ URI::RFC2396_Parser
271
+ URI::RFC2396_REGEXP
272
+ URI::RFC2396_REGEXP::PATTERN
273
+ URI::RFC3986_Parser
274
+ URI::Util
255
275
  UnboundMethod
256
276
  UncaughtThrowError
257
277
  ZeroDivisionError
258
- fatal
data/module_names/23.txt CHANGED
@@ -8,12 +8,10 @@ Class
8
8
  ClosedQueueError
9
9
  Comparable
10
10
  Complex
11
- Complex::compatible
12
11
  Data
13
12
  Delegator
14
13
  DidYouMean
15
14
  DidYouMean::ClassNameChecker
16
- DidYouMean::ClassNameChecker::ClassName
17
15
  DidYouMean::Correctable
18
16
  DidYouMean::Formatter
19
17
  DidYouMean::Jaro
@@ -48,6 +46,7 @@ Errno::EAGAIN
48
46
  Errno::EALREADY
49
47
  Errno::EAUTH
50
48
  Errno::EBADF
49
+ Errno::EBADMSG
51
50
  Errno::EBADRPC
52
51
  Errno::EBUSY
53
52
  Errno::ECANCELED
@@ -101,12 +100,14 @@ Errno::ENOTBLK
101
100
  Errno::ENOTCONN
102
101
  Errno::ENOTDIR
103
102
  Errno::ENOTEMPTY
103
+ Errno::ENOTRECOVERABLE
104
104
  Errno::ENOTSOCK
105
105
  Errno::ENOTSUP
106
106
  Errno::ENOTTY
107
107
  Errno::ENXIO
108
108
  Errno::EOPNOTSUPP
109
109
  Errno::EOVERFLOW
110
+ Errno::EOWNERDEAD
110
111
  Errno::EPERM
111
112
  Errno::EPFNOSUPPORT
112
113
  Errno::EPIPE
@@ -114,6 +115,7 @@ Errno::EPROCLIM
114
115
  Errno::EPROCUNAVAIL
115
116
  Errno::EPROGMISMATCH
116
117
  Errno::EPROGUNAVAIL
118
+ Errno::EPROTO
117
119
  Errno::EPROTONOSUPPORT
118
120
  Errno::EPROTOTYPE
119
121
  Errno::ERANGE
@@ -194,8 +196,6 @@ IO::EINPROGRESSWaitReadable
194
196
  IO::EINPROGRESSWaitWritable
195
197
  IO::WaitReadable
196
198
  IO::WaitWritable
197
- IO::generic_readable
198
- IO::generic_writable
199
199
  IOError
200
200
  IndexError
201
201
  Integer
@@ -215,7 +215,6 @@ MonitorMixin
215
215
  MonitorMixin::ConditionVariable
216
216
  MonitorMixin::ConditionVariable::Timeout
217
217
  NameError
218
- NameError::message
219
218
  NilClass
220
219
  NoMemoryError
221
220
  NoMethodError
@@ -237,7 +236,6 @@ Random::Formatter
237
236
  Range
238
237
  RangeError
239
238
  Rational
240
- Rational::compatible
241
239
  RbConfig
242
240
  Regexp
243
241
  RegexpError
@@ -273,7 +271,24 @@ Time
273
271
  TracePoint
274
272
  TrueClass
275
273
  TypeError
274
+ URI
275
+ URI::BadURIError
276
+ URI::Error
277
+ URI::Escape
278
+ URI::FTP
279
+ URI::Generic
280
+ URI::HTTP
281
+ URI::HTTPS
282
+ URI::InvalidComponentError
283
+ URI::InvalidURIError
284
+ URI::LDAP
285
+ URI::LDAPS
286
+ URI::MailTo
287
+ URI::RFC2396_Parser
288
+ URI::RFC2396_REGEXP
289
+ URI::RFC2396_REGEXP::PATTERN
290
+ URI::RFC3986_Parser
291
+ URI::Util
276
292
  UnboundMethod
277
293
  UncaughtThrowError
278
294
  ZeroDivisionError
279
- fatal
data/module_names/24.txt CHANGED
@@ -7,12 +7,10 @@ Class
7
7
  ClosedQueueError
8
8
  Comparable
9
9
  Complex
10
- Complex::compatible
11
10
  Data
12
11
  Delegator
13
12
  DidYouMean
14
13
  DidYouMean::ClassNameChecker
15
- DidYouMean::ClassNameChecker::ClassName
16
14
  DidYouMean::Correctable
17
15
  DidYouMean::Formatter
18
16
  DidYouMean::Jaro
@@ -47,6 +45,7 @@ Errno::EAGAIN
47
45
  Errno::EALREADY
48
46
  Errno::EAUTH
49
47
  Errno::EBADF
48
+ Errno::EBADMSG
50
49
  Errno::EBADRPC
51
50
  Errno::EBUSY
52
51
  Errno::ECANCELED
@@ -100,12 +99,14 @@ Errno::ENOTBLK
100
99
  Errno::ENOTCONN
101
100
  Errno::ENOTDIR
102
101
  Errno::ENOTEMPTY
102
+ Errno::ENOTRECOVERABLE
103
103
  Errno::ENOTSOCK
104
104
  Errno::ENOTSUP
105
105
  Errno::ENOTTY
106
106
  Errno::ENXIO
107
107
  Errno::EOPNOTSUPP
108
108
  Errno::EOVERFLOW
109
+ Errno::EOWNERDEAD
109
110
  Errno::EPERM
110
111
  Errno::EPFNOSUPPORT
111
112
  Errno::EPIPE
@@ -113,6 +114,7 @@ Errno::EPROCLIM
113
114
  Errno::EPROCUNAVAIL
114
115
  Errno::EPROGMISMATCH
115
116
  Errno::EPROGUNAVAIL
117
+ Errno::EPROTO
116
118
  Errno::EPROTONOSUPPORT
117
119
  Errno::EPROTOTYPE
118
120
  Errno::ERANGE
@@ -194,8 +196,6 @@ IO::EINPROGRESSWaitReadable
194
196
  IO::EINPROGRESSWaitWritable
195
197
  IO::WaitReadable
196
198
  IO::WaitWritable
197
- IO::generic_readable
198
- IO::generic_writable
199
199
  IOError
200
200
  IndexError
201
201
  Integer
@@ -215,7 +215,6 @@ MonitorMixin
215
215
  MonitorMixin::ConditionVariable
216
216
  MonitorMixin::ConditionVariable::Timeout
217
217
  NameError
218
- NameError::message
219
218
  NilClass
220
219
  NoMemoryError
221
220
  NoMethodError
@@ -237,7 +236,6 @@ Random::Formatter
237
236
  Range
238
237
  RangeError
239
238
  Rational
240
- Rational::compatible
241
239
  RbConfig
242
240
  Regexp
243
241
  RegexpError
@@ -272,8 +270,25 @@ Time
272
270
  TracePoint
273
271
  TrueClass
274
272
  TypeError
273
+ URI
274
+ URI::BadURIError
275
+ URI::Error
276
+ URI::Escape
277
+ URI::FTP
278
+ URI::Generic
279
+ URI::HTTP
280
+ URI::HTTPS
281
+ URI::InvalidComponentError
282
+ URI::InvalidURIError
283
+ URI::LDAP
284
+ URI::LDAPS
285
+ URI::MailTo
286
+ URI::RFC2396_Parser
287
+ URI::RFC2396_REGEXP
288
+ URI::RFC2396_REGEXP::PATTERN
289
+ URI::RFC3986_Parser
290
+ URI::Util
275
291
  UnboundMethod
276
292
  UncaughtThrowError
277
293
  Warning
278
294
  ZeroDivisionError
279
- fatal
data/module_names/25.txt CHANGED
@@ -7,11 +7,9 @@ Class
7
7
  ClosedQueueError
8
8
  Comparable
9
9
  Complex
10
- Complex::compatible
11
10
  Delegator
12
11
  DidYouMean
13
12
  DidYouMean::ClassNameChecker
14
- DidYouMean::ClassNameChecker::ClassName
15
13
  DidYouMean::Correctable
16
14
  DidYouMean::DeprecatedIgnoredCallers
17
15
  DidYouMean::Jaro
@@ -149,6 +147,7 @@ GC
149
147
  GC::Profiler
150
148
  Gem
151
149
  Gem::BasicSpecification
150
+ Gem::BundlerVersionFinder
152
151
  Gem::CommandLineError
153
152
  Gem::ConflictError
154
153
  Gem::Dependency
@@ -190,6 +189,7 @@ Gem::StubSpecification
190
189
  Gem::StubSpecification::StubLine
191
190
  Gem::SystemExitException
192
191
  Gem::UnsatisfiableDependencyError
192
+ Gem::Util
193
193
  Gem::VerificationError
194
194
  Gem::Version
195
195
  Hash
@@ -200,8 +200,6 @@ IO::EINPROGRESSWaitReadable
200
200
  IO::EINPROGRESSWaitWritable
201
201
  IO::WaitReadable
202
202
  IO::WaitWritable
203
- IO::generic_readable
204
- IO::generic_writable
205
203
  IOError
206
204
  IndexError
207
205
  Integer
@@ -221,7 +219,6 @@ MonitorMixin
221
219
  MonitorMixin::ConditionVariable
222
220
  MonitorMixin::ConditionVariable::Timeout
223
221
  NameError
224
- NameError::message
225
222
  NilClass
226
223
  NoMemoryError
227
224
  NoMethodError
@@ -243,7 +240,6 @@ Random::Formatter
243
240
  Range
244
241
  RangeError
245
242
  Rational
246
- Rational::compatible
247
243
  RbConfig
248
244
  Regexp
249
245
  RegexpError
@@ -278,10 +274,26 @@ Time
278
274
  TracePoint
279
275
  TrueClass
280
276
  TypeError
277
+ URI
278
+ URI::BadURIError
279
+ URI::Error
280
+ URI::Escape
281
+ URI::FTP
282
+ URI::Generic
283
+ URI::HTTP
284
+ URI::HTTPS
285
+ URI::InvalidComponentError
286
+ URI::InvalidURIError
287
+ URI::LDAP
288
+ URI::LDAPS
289
+ URI::MailTo
290
+ URI::RFC2396_Parser
291
+ URI::RFC2396_REGEXP
292
+ URI::RFC2396_REGEXP::PATTERN
293
+ URI::RFC3986_Parser
294
+ URI::Util
281
295
  UnboundMethod
282
296
  UncaughtThrowError
283
297
  UnicodeNormalize
284
298
  Warning
285
- Warning::buffer
286
299
  ZeroDivisionError
287
- fatal
data/module_names/26.txt CHANGED
@@ -7,11 +7,9 @@ Class
7
7
  ClosedQueueError
8
8
  Comparable
9
9
  Complex
10
- Complex::compatible
11
10
  Delegator
12
11
  DidYouMean
13
12
  DidYouMean::ClassNameChecker
14
- DidYouMean::ClassNameChecker::ClassName
15
13
  DidYouMean::Correctable
16
14
  DidYouMean::Jaro
17
15
  DidYouMean::JaroWinkler
@@ -204,8 +202,6 @@ IO::EINPROGRESSWaitReadable
204
202
  IO::EINPROGRESSWaitWritable
205
203
  IO::WaitReadable
206
204
  IO::WaitWritable
207
- IO::generic_readable
208
- IO::generic_writable
209
205
  IOError
210
206
  IndexError
211
207
  Integer
@@ -225,7 +221,6 @@ MonitorMixin
225
221
  MonitorMixin::ConditionVariable
226
222
  MonitorMixin::ConditionVariable::Timeout
227
223
  NameError
228
- NameError::message
229
224
  NilClass
230
225
  NoMemoryError
231
226
  NoMethodError
@@ -247,7 +242,6 @@ Random::Formatter
247
242
  Range
248
243
  RangeError
249
244
  Rational
250
- Rational::compatible
251
245
  RbConfig
252
246
  Regexp
253
247
  RegexpError
@@ -282,7 +276,6 @@ Thread::SizedQueue
282
276
  ThreadError
283
277
  ThreadGroup
284
278
  Time
285
- Time::tm
286
279
  TracePoint
287
280
  TrueClass
288
281
  TypeError
@@ -309,6 +302,4 @@ UnboundMethod
309
302
  UncaughtThrowError
310
303
  UnicodeNormalize
311
304
  Warning
312
- Warning::buffer
313
305
  ZeroDivisionError
314
- fatal
data/module_names/27.txt CHANGED
@@ -7,10 +7,8 @@ Class
7
7
  ClosedQueueError
8
8
  Comparable
9
9
  Complex
10
- Complex::compatible
11
10
  DidYouMean
12
11
  DidYouMean::ClassNameChecker
13
- DidYouMean::ClassNameChecker::ClassName
14
12
  DidYouMean::CorrectElement
15
13
  DidYouMean::Correctable
16
14
  DidYouMean::Jaro
@@ -237,7 +235,6 @@ Monitor
237
235
  MonitorMixin
238
236
  MonitorMixin::ConditionVariable
239
237
  NameError
240
- NameError::message
241
238
  NilClass
242
239
  NoMatchingPatternError
243
240
  NoMemoryError
@@ -260,7 +257,6 @@ Random::Formatter
260
257
  Range
261
258
  RangeError
262
259
  Rational
263
- Rational::compatible
264
260
  RbConfig
265
261
  Regexp
266
262
  RegexpError
@@ -293,7 +289,6 @@ Thread::SizedQueue
293
289
  ThreadError
294
290
  ThreadGroup
295
291
  Time
296
- Time::tm
297
292
  TracePoint
298
293
  TrueClass
299
294
  TypeError
@@ -301,6 +296,4 @@ UnboundMethod
301
296
  UncaughtThrowError
302
297
  UnicodeNormalize
303
298
  Warning
304
- Warning::buffer
305
299
  ZeroDivisionError
306
- fatal
data/module_names/30.txt CHANGED
@@ -7,10 +7,8 @@ Class
7
7
  ClosedQueueError
8
8
  Comparable
9
9
  Complex
10
- Complex::compatible
11
10
  DidYouMean
12
11
  DidYouMean::ClassNameChecker
13
- DidYouMean::ClassNameChecker::ClassName
14
12
  DidYouMean::Correctable
15
13
  DidYouMean::Jaro
16
14
  DidYouMean::JaroWinkler
@@ -152,6 +150,7 @@ GC
152
150
  GC::Profiler
153
151
  Gem
154
152
  Gem::BasicSpecification
153
+ Gem::BundlerVersionFinder
155
154
  Gem::CommandLineError
156
155
  Gem::ConflictError
157
156
  Gem::ConsoleUI
@@ -235,7 +234,6 @@ Monitor
235
234
  MonitorMixin
236
235
  MonitorMixin::ConditionVariable
237
236
  NameError
238
- NameError::message
239
237
  NilClass
240
238
  NoMatchingPatternError
241
239
  NoMemoryError
@@ -267,7 +265,6 @@ Random::Formatter
267
265
  Range
268
266
  RangeError
269
267
  Rational
270
- Rational::compatible
271
268
  RbConfig
272
269
  Regexp
273
270
  RegexpError
@@ -300,7 +297,6 @@ Thread::SizedQueue
300
297
  ThreadError
301
298
  ThreadGroup
302
299
  Time
303
- Time::tm
304
300
  TracePoint
305
301
  TrueClass
306
302
  TypeError
@@ -308,6 +304,4 @@ UnboundMethod
308
304
  UncaughtThrowError
309
305
  UnicodeNormalize
310
306
  Warning
311
- Warning::buffer
312
307
  ZeroDivisionError
313
- fatal
data/module_names/31.txt CHANGED
@@ -7,12 +7,9 @@ Class
7
7
  ClosedQueueError
8
8
  Comparable
9
9
  Complex
10
- Complex::compatible
11
10
  DidYouMean
12
11
  DidYouMean::ClassNameChecker
13
- DidYouMean::ClassNameChecker::ClassName
14
12
  DidYouMean::Correctable
15
- DidYouMean::DeprecatedMapping
16
13
  DidYouMean::Formatter
17
14
  DidYouMean::Jaro
18
15
  DidYouMean::JaroWinkler
@@ -142,8 +139,6 @@ Errno::NOERROR
142
139
  ErrorHighlight
143
140
  ErrorHighlight::CoreExt
144
141
  ErrorHighlight::DefaultFormatter
145
- ErrorHighlight::Spotter
146
- ErrorHighlight::Spotter::NonAscii
147
142
  Exception
148
143
  FalseClass
149
144
  Fiber
@@ -161,8 +156,6 @@ Gem
161
156
  Gem::BasicSpecification
162
157
  Gem::CommandLineError
163
158
  Gem::ConflictError
164
- Gem::ConsoleUI
165
- Gem::DefaultUserInteraction
166
159
  Gem::Dependency
167
160
  Gem::DependencyError
168
161
  Gem::DependencyRemovalException
@@ -195,26 +188,16 @@ Gem::Requirement
195
188
  Gem::Requirement::BadRequirementError
196
189
  Gem::RubyVersionMismatch
197
190
  Gem::RuntimeRequirementNotMetError
198
- Gem::SilentUI
199
191
  Gem::SourceFetchProblem
200
192
  Gem::SpecificGemNotFoundException
201
193
  Gem::Specification
202
- Gem::SpecificationPolicy
203
- Gem::StreamUI
204
- Gem::StreamUI::SilentDownloadReporter
205
- Gem::StreamUI::SilentProgressReporter
206
- Gem::StreamUI::SimpleProgressReporter
207
- Gem::StreamUI::ThreadedDownloadReporter
208
- Gem::StreamUI::VerboseProgressReporter
209
194
  Gem::StubSpecification
210
195
  Gem::StubSpecification::StubLine
211
196
  Gem::SystemExitException
212
- Gem::Text
213
197
  Gem::UninstallError
214
198
  Gem::UnknownCommandError
215
199
  Gem::UnknownCommandSpellChecker
216
200
  Gem::UnsatisfiableDependencyError
217
- Gem::UserInteraction
218
201
  Gem::Util
219
202
  Gem::VerificationError
220
203
  Gem::Version
@@ -249,7 +232,6 @@ Monitor
249
232
  MonitorMixin
250
233
  MonitorMixin::ConditionVariable
251
234
  NameError
252
- NameError::message
253
235
  NilClass
254
236
  NoMatchingPatternError
255
237
  NoMatchingPatternKeyError
@@ -282,7 +264,6 @@ Random::Formatter
282
264
  Range
283
265
  RangeError
284
266
  Rational
285
- Rational::compatible
286
267
  RbConfig
287
268
  Refinement
288
269
  Regexp
@@ -317,7 +298,6 @@ Thread::SizedQueue
317
298
  ThreadError
318
299
  ThreadGroup
319
300
  Time
320
- Time::tm
321
301
  TracePoint
322
302
  TrueClass
323
303
  TypeError
@@ -325,6 +305,4 @@ UnboundMethod
325
305
  UncaughtThrowError
326
306
  UnicodeNormalize
327
307
  Warning
328
- Warning::buffer
329
308
  ZeroDivisionError
330
- fatal
data/module_names/32.txt CHANGED
@@ -7,13 +7,10 @@ Class
7
7
  ClosedQueueError
8
8
  Comparable
9
9
  Complex
10
- Complex::compatible
11
10
  Data
12
11
  DidYouMean
13
12
  DidYouMean::ClassNameChecker
14
- DidYouMean::ClassNameChecker::ClassName
15
13
  DidYouMean::Correctable
16
- DidYouMean::DeprecatedMapping
17
14
  DidYouMean::Formatter
18
15
  DidYouMean::Jaro
19
16
  DidYouMean::JaroWinkler
@@ -144,8 +141,6 @@ Errno::NOERROR
144
141
  ErrorHighlight
145
142
  ErrorHighlight::CoreExt
146
143
  ErrorHighlight::DefaultFormatter
147
- ErrorHighlight::Spotter
148
- ErrorHighlight::Spotter::NonAscii
149
144
  Exception
150
145
  FalseClass
151
146
  Fiber
@@ -241,7 +236,6 @@ Monitor
241
236
  MonitorMixin
242
237
  MonitorMixin::ConditionVariable
243
238
  NameError
244
- NameError::message
245
239
  NilClass
246
240
  NoMatchingPatternError
247
241
  NoMatchingPatternKeyError
@@ -274,7 +268,6 @@ Random::Formatter
274
268
  Range
275
269
  RangeError
276
270
  Rational
277
- Rational::compatible
278
271
  RbConfig
279
272
  Refinement
280
273
  Regexp
@@ -312,7 +305,6 @@ Thread::SizedQueue
312
305
  ThreadError
313
306
  ThreadGroup
314
307
  Time
315
- Time::tm
316
308
  TracePoint
317
309
  TrueClass
318
310
  TypeError
@@ -320,6 +312,4 @@ UnboundMethod
320
312
  UncaughtThrowError
321
313
  UnicodeNormalize
322
314
  Warning
323
- Warning::buffer
324
315
  ZeroDivisionError
325
- fatal
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: refrigerator
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.5.1
4
+ version: 1.6.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Jeremy Evans
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2023-01-13 00:00:00.000000000 Z
11
+ date: 2023-04-18 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: minitest
@@ -102,7 +102,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
102
102
  - !ruby/object:Gem::Version
103
103
  version: '0'
104
104
  requirements: []
105
- rubygems_version: 3.4.1
105
+ rubygems_version: 3.4.10
106
106
  signing_key:
107
107
  specification_version: 4
108
108
  summary: Freeze all core ruby classes