refrigerator 1.2.0 → 1.3.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: 7126edf6ba8278557dcba937ac64451d3c952aaa9e95f1775a7a5e01cc46271e
4
- data.tar.gz: e4d3434c48c70a4bbcecdbe017e065ffd9f1cbaf49c31030cab8a78f74cbd61a
3
+ metadata.gz: 7bf45b71b05654c62898e58d498f8f44b61975bef8304e5f90c65c264b9fd72e
4
+ data.tar.gz: 4187851816f84847a54382254a259c8ef40c56c781c43567ded9be6692d91df3
5
5
  SHA512:
6
- metadata.gz: c50183e8831214f8bac99211bb0d9a10fcaae3e15c6bf46cfddc01e884bf3ba5bca6e80366dc58e8189676de62e449c6d8623d28d0c15743a3b7b3ad7815ef76
7
- data.tar.gz: 8903efc68282b121a9a11ae35ca42feae4b2ff3ecad7dcd19e306d3d75896d445ed594c26c794650223845ee13f14bb6307e518a87d603e6d0cc4bbb64221c0a
6
+ metadata.gz: 0b39ffe287e5d5642d12188106a1d1fe2a5e743fb8402796b77ea5d9c2e05d894e780cccaa94e77b351c5804ed725b61df625c26047095e965d3650f35a9b9c7
7
+ data.tar.gz: d425c8a3bbb26ddaacadc32c68cac079839ee0633ccdf862b08fa60330aa2f433b352960235b95e1cb5c105798b1f77418f7e9f2b1135b28e2fb208d9eb53bbe
data/CHANGELOG CHANGED
@@ -1,4 +1,8 @@
1
- === 1.2.0 (2018-04-11)
1
+ === 1.3.0 (2020-11-17)
2
+
3
+ * Support new classes and modules in Ruby 2.7 (jeremyevans)
4
+
5
+ === 1.2.0 (2019-04-11)
2
6
 
3
7
  * Support new classes and modules in Ruby 2.6 (jeremyevans)
4
8
 
@@ -1,4 +1,4 @@
1
- Copyright (c) 2017-2019 Jeremy Evans
1
+ Copyright (c) 2017-2020 Jeremy Evans
2
2
 
3
3
  Permission is hereby granted, free of charge, to any person obtaining a copy
4
4
  of this software and associated documentation files (the "Software"), to
@@ -1,7 +1,7 @@
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
- version_int = 26 if version_int > 26
4
+ version_int = 27 if version_int > 27
5
5
 
6
6
  # Array of strings containing class or module names.
7
7
  CORE_MODULES = File.read(File.expand_path(File.join(File.expand_path(__FILE__), "../../module_names/#{version_int}.txt"))).
@@ -31,7 +31,7 @@ module Refrigerator
31
31
  Array(opts[:depends]).each{|f| require f}
32
32
  Array(opts[:modules]).each{|m| Object.const_set(m, Module.new)}
33
33
  Array(opts[:classes]).each{|c, *sc| Object.const_set(c, Class.new(sc.empty? ? Object : eval(sc.first.to_s)))}
34
- freeze_core(:except=>%w'Gem Gem::Specification'+Array(opts[:exclude]))
34
+ freeze_core(:except=>%w'Gem Gem::Specification Gem::Deprecate'+Array(opts[:exclude]))
35
35
  require file
36
36
  end
37
37
 
@@ -0,0 +1,306 @@
1
+ ARGF.class
2
+ ArgumentError
3
+ Array
4
+ BasicObject
5
+ Binding
6
+ Class
7
+ ClosedQueueError
8
+ Comparable
9
+ Complex
10
+ Complex::compatible
11
+ DidYouMean
12
+ DidYouMean::ClassNameChecker
13
+ DidYouMean::ClassNameChecker::ClassName
14
+ DidYouMean::CorrectElement
15
+ DidYouMean::Correctable
16
+ DidYouMean::Jaro
17
+ DidYouMean::JaroWinkler
18
+ DidYouMean::KeyErrorChecker
19
+ DidYouMean::Levenshtein
20
+ DidYouMean::MethodNameChecker
21
+ DidYouMean::NullChecker
22
+ DidYouMean::ParseDimensions
23
+ DidYouMean::PlainFormatter
24
+ DidYouMean::SpellChecker
25
+ DidYouMean::TreeSpellChecker
26
+ DidYouMean::VariableNameChecker
27
+ Dir
28
+ EOFError
29
+ Encoding
30
+ Encoding::CompatibilityError
31
+ Encoding::Converter
32
+ Encoding::ConverterNotFoundError
33
+ Encoding::InvalidByteSequenceError
34
+ Encoding::UndefinedConversionError
35
+ EncodingError
36
+ Enumerable
37
+ Enumerator
38
+ Enumerator::ArithmeticSequence
39
+ Enumerator::Chain
40
+ Enumerator::Generator
41
+ Enumerator::Lazy
42
+ Enumerator::Producer
43
+ Enumerator::Yielder
44
+ Errno
45
+ Errno::E2BIG
46
+ Errno::EACCES
47
+ Errno::EADDRINUSE
48
+ Errno::EADDRNOTAVAIL
49
+ Errno::EAFNOSUPPORT
50
+ Errno::EAGAIN
51
+ Errno::EALREADY
52
+ Errno::EAUTH
53
+ Errno::EBADF
54
+ Errno::EBADMSG
55
+ Errno::EBADRPC
56
+ Errno::EBUSY
57
+ Errno::ECANCELED
58
+ Errno::ECHILD
59
+ Errno::ECONNABORTED
60
+ Errno::ECONNREFUSED
61
+ Errno::ECONNRESET
62
+ Errno::EDEADLK
63
+ Errno::EDESTADDRREQ
64
+ Errno::EDOM
65
+ Errno::EDQUOT
66
+ Errno::EEXIST
67
+ Errno::EFAULT
68
+ Errno::EFBIG
69
+ Errno::EFTYPE
70
+ Errno::EHOSTDOWN
71
+ Errno::EHOSTUNREACH
72
+ Errno::EIDRM
73
+ Errno::EILSEQ
74
+ Errno::EINPROGRESS
75
+ Errno::EINTR
76
+ Errno::EINVAL
77
+ Errno::EIO
78
+ Errno::EIPSEC
79
+ Errno::EISCONN
80
+ Errno::EISDIR
81
+ Errno::ELAST
82
+ Errno::ELOOP
83
+ Errno::EMEDIUMTYPE
84
+ Errno::EMFILE
85
+ Errno::EMLINK
86
+ Errno::EMSGSIZE
87
+ Errno::ENAMETOOLONG
88
+ Errno::ENEEDAUTH
89
+ Errno::ENETDOWN
90
+ Errno::ENETRESET
91
+ Errno::ENETUNREACH
92
+ Errno::ENFILE
93
+ Errno::ENOATTR
94
+ Errno::ENOBUFS
95
+ Errno::ENODEV
96
+ Errno::ENOENT
97
+ Errno::ENOEXEC
98
+ Errno::ENOLCK
99
+ Errno::ENOMEDIUM
100
+ Errno::ENOMEM
101
+ Errno::ENOMSG
102
+ Errno::ENOPROTOOPT
103
+ Errno::ENOSPC
104
+ Errno::ENOSYS
105
+ Errno::ENOTBLK
106
+ Errno::ENOTCONN
107
+ Errno::ENOTDIR
108
+ Errno::ENOTEMPTY
109
+ Errno::ENOTRECOVERABLE
110
+ Errno::ENOTSOCK
111
+ Errno::ENOTSUP
112
+ Errno::ENOTTY
113
+ Errno::ENXIO
114
+ Errno::EOPNOTSUPP
115
+ Errno::EOVERFLOW
116
+ Errno::EOWNERDEAD
117
+ Errno::EPERM
118
+ Errno::EPFNOSUPPORT
119
+ Errno::EPIPE
120
+ Errno::EPROCLIM
121
+ Errno::EPROCUNAVAIL
122
+ Errno::EPROGMISMATCH
123
+ Errno::EPROGUNAVAIL
124
+ Errno::EPROTONOSUPPORT
125
+ Errno::EPROTOTYPE
126
+ Errno::ERANGE
127
+ Errno::EREMOTE
128
+ Errno::EROFS
129
+ Errno::ERPCMISMATCH
130
+ Errno::ESHUTDOWN
131
+ Errno::ESOCKTNOSUPPORT
132
+ Errno::ESPIPE
133
+ Errno::ESRCH
134
+ Errno::ESTALE
135
+ Errno::ETIMEDOUT
136
+ Errno::ETOOMANYREFS
137
+ Errno::ETXTBSY
138
+ Errno::EUSERS
139
+ Errno::EXDEV
140
+ Errno::NOERROR
141
+ Exception
142
+ FalseClass
143
+ Fiber
144
+ FiberError
145
+ File
146
+ File::Constants
147
+ File::Stat
148
+ FileTest
149
+ Float
150
+ FloatDomainError
151
+ FrozenError
152
+ GC
153
+ GC::Profiler
154
+ Gem
155
+ Gem::BasicSpecification
156
+ Gem::BundlerVersionFinder
157
+ Gem::CommandLineError
158
+ Gem::ConflictError
159
+ Gem::ConsoleUI
160
+ Gem::DefaultUserInteraction
161
+ Gem::Dependency
162
+ Gem::DependencyError
163
+ Gem::DependencyRemovalException
164
+ Gem::DependencyResolutionError
165
+ Gem::Deprecate
166
+ Gem::DocumentError
167
+ Gem::EndOfYAMLException
168
+ Gem::ErrorReason
169
+ Gem::Exception
170
+ Gem::FilePermissionError
171
+ Gem::FormatException
172
+ Gem::GemNotFoundException
173
+ Gem::GemNotInHomeException
174
+ Gem::ImpossibleDependenciesError
175
+ Gem::InstallError
176
+ Gem::InvalidSpecificationException
177
+ Gem::List
178
+ Gem::LoadError
179
+ Gem::MissingSpecError
180
+ Gem::MissingSpecVersionError
181
+ Gem::OperationNotSupportedError
182
+ Gem::PathSupport
183
+ Gem::Platform
184
+ Gem::PlatformMismatch
185
+ Gem::RemoteError
186
+ Gem::RemoteInstallationCancelled
187
+ Gem::RemoteInstallationSkipped
188
+ Gem::RemoteSourceException
189
+ Gem::Requirement
190
+ Gem::Requirement::BadRequirementError
191
+ Gem::RubyVersionMismatch
192
+ Gem::RuntimeRequirementNotMetError
193
+ Gem::SilentUI
194
+ Gem::SourceFetchProblem
195
+ Gem::SpecificGemNotFoundException
196
+ Gem::Specification
197
+ Gem::SpecificationPolicy
198
+ Gem::StreamUI
199
+ Gem::StreamUI::SilentDownloadReporter
200
+ Gem::StreamUI::SilentProgressReporter
201
+ Gem::StreamUI::SimpleProgressReporter
202
+ Gem::StreamUI::ThreadedDownloadReporter
203
+ Gem::StreamUI::VerboseProgressReporter
204
+ Gem::StubSpecification
205
+ Gem::StubSpecification::StubLine
206
+ Gem::SystemExitException
207
+ Gem::Text
208
+ Gem::UninstallError
209
+ Gem::UnsatisfiableDependencyError
210
+ Gem::UserInteraction
211
+ Gem::Util
212
+ Gem::VerificationError
213
+ Gem::Version
214
+ Hash
215
+ IO
216
+ IO::EAGAINWaitReadable
217
+ IO::EAGAINWaitWritable
218
+ IO::EINPROGRESSWaitReadable
219
+ IO::EINPROGRESSWaitWritable
220
+ IO::WaitReadable
221
+ IO::WaitWritable
222
+ IOError
223
+ IndexError
224
+ Integer
225
+ Interrupt
226
+ Kernel
227
+ KeyError
228
+ LoadError
229
+ LocalJumpError
230
+ Marshal
231
+ MatchData
232
+ Math
233
+ Math::DomainError
234
+ Method
235
+ Module
236
+ Monitor
237
+ MonitorMixin
238
+ MonitorMixin::ConditionVariable
239
+ NameError
240
+ NameError::message
241
+ NilClass
242
+ NoMatchingPatternError
243
+ NoMemoryError
244
+ NoMethodError
245
+ NotImplementedError
246
+ Numeric
247
+ Object
248
+ ObjectSpace
249
+ ObjectSpace::WeakMap
250
+ Proc
251
+ Process
252
+ Process::GID
253
+ Process::Status
254
+ Process::Sys
255
+ Process::Tms
256
+ Process::UID
257
+ Process::Waiter
258
+ Random
259
+ Random::Formatter
260
+ Range
261
+ RangeError
262
+ Rational
263
+ Rational::compatible
264
+ RbConfig
265
+ Regexp
266
+ RegexpError
267
+ RubyVM
268
+ RubyVM::AbstractSyntaxTree
269
+ RubyVM::AbstractSyntaxTree::Node
270
+ RubyVM::InstructionSequence
271
+ RubyVM::MJIT
272
+ RuntimeError
273
+ ScriptError
274
+ SecurityError
275
+ Signal
276
+ SignalException
277
+ StandardError
278
+ StopIteration
279
+ String
280
+ Struct
281
+ Symbol
282
+ SyntaxError
283
+ SystemCallError
284
+ SystemExit
285
+ SystemStackError
286
+ Thread
287
+ Thread::Backtrace
288
+ Thread::Backtrace::Location
289
+ Thread::ConditionVariable
290
+ Thread::Mutex
291
+ Thread::Queue
292
+ Thread::SizedQueue
293
+ ThreadError
294
+ ThreadGroup
295
+ Time
296
+ Time::tm
297
+ TracePoint
298
+ TrueClass
299
+ TypeError
300
+ UnboundMethod
301
+ UncaughtThrowError
302
+ UnicodeNormalize
303
+ Warning
304
+ Warning::buffer
305
+ ZeroDivisionError
306
+ 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.2.0
4
+ version: 1.3.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: 2019-04-11 00:00:00.000000000 Z
11
+ date: 2020-11-17 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: minitest
@@ -24,6 +24,20 @@ dependencies:
24
24
  - - ">="
25
25
  - !ruby/object:Gem::Version
26
26
  version: '0'
27
+ - !ruby/object:Gem::Dependency
28
+ name: minitest-global_expectations
29
+ requirement: !ruby/object:Gem::Requirement
30
+ requirements:
31
+ - - ">="
32
+ - !ruby/object:Gem::Version
33
+ version: '0'
34
+ type: :development
35
+ prerelease: false
36
+ version_requirements: !ruby/object:Gem::Requirement
37
+ requirements:
38
+ - - ">="
39
+ - !ruby/object:Gem::Version
40
+ version: '0'
27
41
  description: |
28
42
  Refrigerator freezes all core classes. It is designed to be used
29
43
  in production, to make sure that none of the core classes are
@@ -54,6 +68,7 @@ files:
54
68
  - module_names/24.txt
55
69
  - module_names/25.txt
56
70
  - module_names/26.txt
71
+ - module_names/27.txt
57
72
  homepage: http://github.com/jeremyevans/ruby-refrigerator
58
73
  licenses:
59
74
  - MIT
@@ -80,7 +95,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
80
95
  - !ruby/object:Gem::Version
81
96
  version: '0'
82
97
  requirements: []
83
- rubygems_version: 3.0.3
98
+ rubygems_version: 3.1.4
84
99
  signing_key:
85
100
  specification_version: 4
86
101
  summary: Freeze all core ruby classes