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