ice_nine 0.11.0 → 0.11.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +7 -7
- data/.rubocop.yml +7 -0
- data/.travis.yml +8 -8
- data/Gemfile +0 -5
- data/Gemfile.devtools +40 -24
- data/Guardfile +3 -2
- data/LICENSE +1 -1
- data/README.md +12 -7
- data/Rakefile +9 -0
- data/config/reek.yml +1 -9
- data/config/rubocop.yml +57 -8
- data/ice_nine.gemspec +1 -1
- data/lib/ice_nine/freezer.rb +3 -4
- data/lib/ice_nine/version.rb +1 -1
- data/spec/shared/{array_deep_freeze_shared_spec.rb → array_deep_freeze.rb} +0 -0
- data/spec/shared/{hash_deep_freeze_shared_spec.rb → hash_deep_freeze.rb} +0 -0
- data/spec/shared/{ice_nine_deep_freeze_shared_spec.rb → ice_nine_deep_freeze.rb} +2 -2
- data/spec/shared/{no_freeze_deep_freeze_shared_spec.rb → no_freeze_deep_freeze.rb} +4 -2
- data/spec/shared/{object_deep_freeze_shared_spec.rb → object_deep_freeze.rb} +0 -0
- data/spec/shared/{range_deep_freeze_shared_spec.rb → range_deep_freeze.rb} +0 -0
- data/spec/unit/ice_nine/freezer/hash/class_methods/deep_freeze_spec.rb +1 -1
- data/spec/unit/ice_nine/freezer/range/class_methods/deep_freeze_spec.rb +1 -1
- metadata +53 -50
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
|
-
---
|
2
|
-
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
5
|
-
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
1
|
+
---
|
2
|
+
SHA1:
|
3
|
+
metadata.gz: 8328377866d58332a273da9d3effa46676521c7e
|
4
|
+
data.tar.gz: e41db310bba0c66ae3991a3f3611b1a351f66774
|
5
|
+
SHA512:
|
6
|
+
metadata.gz: 72a986fa849198c6c8e3a37abab3a3c205e85d0bafe72a4ede84d3659462ff135a07273fab193fed51e18c19fb2cef237a17752e434f2daf52244a55fee2eda3
|
7
|
+
data.tar.gz: 9ba2e99e2f3c95206b11f874f68c0da7a82154460c5f403f2a6c891b8299695c180a779c5a5b4abe748897e10a61da2cef8143b17552a288329913d59fe6774c
|
data/.rubocop.yml
ADDED
data/.travis.yml
CHANGED
@@ -1,20 +1,20 @@
|
|
1
1
|
language: ruby
|
2
|
-
cache: bundler
|
3
2
|
bundler_args: --without yard guard benchmarks
|
4
3
|
script: "bundle exec rake ci:metrics"
|
5
4
|
rvm:
|
6
5
|
- 1.9.3
|
7
6
|
- 2.0.0
|
7
|
+
- 2.1.5
|
8
8
|
- ruby-head
|
9
|
-
- rbx
|
9
|
+
- rbx-2
|
10
10
|
matrix:
|
11
11
|
include:
|
12
|
-
- rvm: jruby
|
13
|
-
env: JRUBY_OPTS="$JRUBY_OPTS --debug" # for simplecov
|
14
|
-
- rvm: jruby
|
15
|
-
env: JRUBY_OPTS="$JRUBY_OPTS --debug" # for simplecov
|
16
|
-
|
17
|
-
|
12
|
+
- rvm: jruby
|
13
|
+
env: JRUBY_OPTS="$JRUBY_OPTS --debug --1.9" # for simplecov
|
14
|
+
- rvm: jruby
|
15
|
+
env: JRUBY_OPTS="$JRUBY_OPTS --debug --2.0" # for simplecov
|
16
|
+
allow_failures:
|
17
|
+
- rvm: ruby-head
|
18
18
|
fast_finish: true
|
19
19
|
notifications:
|
20
20
|
irc:
|
data/Gemfile
CHANGED
@@ -5,13 +5,8 @@ source 'https://rubygems.org'
|
|
5
5
|
gemspec
|
6
6
|
|
7
7
|
platform :rbx do
|
8
|
-
gem 'racc', '~> 1.4.10'
|
9
|
-
gem 'rubinius-coverage', '~> 2.0.3'
|
10
8
|
gem 'rubysl-bigdecimal', '~> 2.0.2'
|
11
9
|
gem 'rubysl-coverage', '~> 2.0.3'
|
12
|
-
gem 'rubysl-json', '~> 2.0.2'
|
13
|
-
gem 'rubysl-logger', '~> 2.0.0'
|
14
|
-
gem 'rubysl-singleton', '~> 2.0.0'
|
15
10
|
end
|
16
11
|
|
17
12
|
group :development, :test do
|
data/Gemfile.devtools
CHANGED
@@ -1,48 +1,64 @@
|
|
1
1
|
# encoding: utf-8
|
2
2
|
|
3
3
|
group :development do
|
4
|
-
gem 'rake',
|
5
|
-
gem 'rspec',
|
6
|
-
gem '
|
4
|
+
gem 'rake', '~> 10.4.0'
|
5
|
+
gem 'rspec', '~> 3.1.0'
|
6
|
+
gem 'rspec-core', '~> 3.1.7'
|
7
|
+
gem 'rspec-its', '~> 1.1.0'
|
8
|
+
gem 'yard', '~> 0.8.7.6'
|
9
|
+
|
10
|
+
platform :rbx do
|
11
|
+
gem 'rubysl-singleton', '~> 2.0.0'
|
12
|
+
end
|
7
13
|
end
|
8
14
|
|
9
15
|
group :yard do
|
10
|
-
gem 'kramdown', '~> 1.
|
16
|
+
gem 'kramdown', '~> 1.5.0'
|
11
17
|
end
|
12
18
|
|
13
19
|
group :guard do
|
14
|
-
gem 'guard', '~>
|
15
|
-
gem 'guard-bundler', '~>
|
16
|
-
gem 'guard-rspec', '~> 3.
|
17
|
-
gem 'guard-rubocop', '~>
|
18
|
-
gem 'guard-mutant', '~> 0.0.1'
|
20
|
+
gem 'guard', '~> 2.10.1'
|
21
|
+
gem 'guard-bundler', '~> 2.0.0'
|
22
|
+
gem 'guard-rspec', '~> 4.3.1'
|
23
|
+
gem 'guard-rubocop', '~> 1.2.0'
|
19
24
|
|
20
25
|
# file system change event handling
|
21
|
-
gem 'listen', '~>
|
26
|
+
gem 'listen', '~> 2.8.1'
|
22
27
|
gem 'rb-fchange', '~> 0.0.6', require: false
|
23
|
-
gem 'rb-fsevent', '~> 0.9.
|
24
|
-
gem 'rb-inotify', '~> 0.9.
|
28
|
+
gem 'rb-fsevent', '~> 0.9.4', require: false
|
29
|
+
gem 'rb-inotify', '~> 0.9.5', require: false
|
25
30
|
|
26
31
|
# notification handling
|
27
|
-
gem 'libnotify', '~> 0.8.
|
32
|
+
gem 'libnotify', '~> 0.8.4', require: false
|
28
33
|
gem 'rb-notifu', '~> 0.0.4', require: false
|
29
|
-
gem 'terminal-notifier-guard', '~> 1.
|
34
|
+
gem 'terminal-notifier-guard', '~> 1.6.4', require: false
|
30
35
|
end
|
31
36
|
|
32
37
|
group :metrics do
|
33
|
-
gem 'coveralls', '~> 0.7.
|
34
|
-
gem 'flay', '~> 2.
|
35
|
-
gem 'flog', '~> 4.
|
36
|
-
gem 'reek', '~> 1.
|
37
|
-
gem 'rubocop', '~> 0.
|
38
|
-
gem 'simplecov', '~> 0.
|
39
|
-
gem 'yardstick', '~> 0.9.
|
38
|
+
gem 'coveralls', '~> 0.7.2'
|
39
|
+
gem 'flay', '~> 2.5.0'
|
40
|
+
gem 'flog', '~> 4.3.0'
|
41
|
+
gem 'reek', '~> 1.5.0'
|
42
|
+
gem 'rubocop', '~> 0.27.1'
|
43
|
+
gem 'simplecov', '~> 0.9.1'
|
44
|
+
gem 'yardstick', '~> 0.9.9'
|
45
|
+
|
46
|
+
platforms :mri do
|
47
|
+
gem 'mutant', '~> 0.6.7', git: 'https://github.com/mbj/mutant.git'
|
48
|
+
gem 'mutant-rspec', '~> 0.6.7', git: 'https://github.com/mbj/mutant.git'
|
49
|
+
end
|
40
50
|
|
41
51
|
platforms :ruby_19, :ruby_20 do
|
42
|
-
gem 'mutant', '~> 0.3.0.rc3', git: 'https://github.com/mbj/mutant.git'
|
43
|
-
gem 'unparser', '~> 0.1.3', git: 'https://github.com/mbj/unparser.git'
|
44
52
|
gem 'yard-spellcheck', '~> 0.1.5'
|
45
53
|
end
|
54
|
+
|
55
|
+
platform :rbx do
|
56
|
+
gem 'json', '~> 1.8.1'
|
57
|
+
gem 'racc', '~> 1.4.12'
|
58
|
+
gem 'rubysl-logger', '~> 2.1.0'
|
59
|
+
gem 'rubysl-open-uri', '~> 2.0.0'
|
60
|
+
gem 'rubysl-prettyprint', '~> 2.0.3'
|
61
|
+
end
|
46
62
|
end
|
47
63
|
|
48
64
|
group :benchmarks do
|
@@ -51,6 +67,6 @@ end
|
|
51
67
|
|
52
68
|
platform :jruby do
|
53
69
|
group :jruby do
|
54
|
-
gem 'jruby-openssl', '~> 0.
|
70
|
+
gem 'jruby-openssl', '~> 0.9.4'
|
55
71
|
end
|
56
72
|
end
|
data/Guardfile
CHANGED
@@ -4,7 +4,8 @@ guard :bundler do
|
|
4
4
|
watch('Gemfile')
|
5
5
|
end
|
6
6
|
|
7
|
-
|
7
|
+
# rubocop:disable LineLength
|
8
|
+
guard :rspec, cli: File.read('.rspec').split.join(' '), keep_failed: false do
|
8
9
|
# run all specs if configuration is modified
|
9
10
|
watch('Guardfile') { 'spec' }
|
10
11
|
watch('Gemfile.lock') { 'spec' }
|
@@ -14,7 +15,7 @@ guard :rspec, :cli => File.read('.rspec').split.join(' '), :keep_failed => false
|
|
14
15
|
watch(%r{\Aspec/(?:lib|support|shared)/.+\.rb\z}) { 'spec' }
|
15
16
|
|
16
17
|
# run unit specs if associated lib code is modified
|
17
|
-
watch(
|
18
|
+
watch(/\Alib\/(.+)\.rb/) { |m| Dir["spec/unit/#{m[1]}"] }
|
18
19
|
watch(%r{\Alib/(.+)/support/(.+)\.rb\z}) { |m| Dir["spec/unit/#{m[1]}/#{m[2]}"] }
|
19
20
|
watch("lib/#{File.basename(File.expand_path('../', __FILE__))}.rb") { 'spec' }
|
20
21
|
|
data/LICENSE
CHANGED
data/README.md
CHANGED
@@ -3,22 +3,26 @@ ice_nine
|
|
3
3
|
|
4
4
|
Deep freeze ruby objects
|
5
5
|
|
6
|
-
[![Gem Version](https://badge.fury.io/rb/ice_nine.
|
7
|
-
[![Build Status](https://secure.travis-ci.org/dkubb/ice_nine.
|
8
|
-
[![Dependency Status](https://gemnasium.com/dkubb/ice_nine.
|
6
|
+
[![Gem Version](https://badge.fury.io/rb/ice_nine.svg)][gem]
|
7
|
+
[![Build Status](https://secure.travis-ci.org/dkubb/ice_nine.svg?branch=master)][travis]
|
8
|
+
[![Dependency Status](https://gemnasium.com/dkubb/ice_nine.svg)][gemnasium]
|
9
9
|
[![Code Climate](https://codeclimate.com/github/dkubb/ice_nine.png)][codeclimate]
|
10
10
|
[![Coverage Status](https://coveralls.io/repos/dkubb/ice_nine/badge.png?branch=master)][coveralls]
|
11
|
+
[![Inline docs](http://inch-ci.org/github/dkubb/ice_nine.svg?branch=master)][inch]
|
11
12
|
|
12
13
|
[gem]: https://rubygems.org/gems/ice_nine
|
13
14
|
[travis]: https://travis-ci.org/dkubb/ice_nine
|
14
15
|
[gemnasium]: https://gemnasium.com/dkubb/ice_nine
|
15
16
|
[codeclimate]: https://codeclimate.com/github/dkubb/ice_nine
|
16
17
|
[coveralls]: https://coveralls.io/r/dkubb/ice_nine
|
18
|
+
[inch]: http://inch-ci.org/github/dkubb/ice_nine
|
17
19
|
|
18
20
|
Examples
|
19
21
|
--------
|
20
22
|
|
21
23
|
```ruby
|
24
|
+
require 'ice_nine'
|
25
|
+
|
22
26
|
# Deep freezes most kinds of objects
|
23
27
|
hash = IceNine.deep_freeze('a' => '1')
|
24
28
|
array = IceNine.deep_freeze([ 'a', 'b', 'c' ])
|
@@ -27,14 +31,15 @@ struct = IceNine.deep_freeze(Struct.new(:a, :b).new('a', 'b'))
|
|
27
31
|
object = IceNine.deep_freeze(Object.new)
|
28
32
|
user = IceNine.deep_freeze(User.new(name: 'dkubb'))
|
29
33
|
|
34
|
+
# Faster deep freeze that skips deep-freezing frozen objects
|
35
|
+
object = IceNine.deep_freeze!(Object.new)
|
36
|
+
|
30
37
|
# Add core extension for Object#deep_freeze (not required by default)
|
38
|
+
require 'ice_nine'
|
31
39
|
require 'ice_nine/core_ext/object'
|
32
40
|
|
33
41
|
object = Object.new
|
34
42
|
object.deep_freeze
|
35
|
-
|
36
|
-
# Faster deep freeze that skips walking frozen objects
|
37
|
-
object = IceNine.deep_freeze!(Object.new)
|
38
43
|
```
|
39
44
|
|
40
45
|
Contributing
|
@@ -45,4 +50,4 @@ See [CONTRIBUTING.md](CONTRIBUTING.md) for details.
|
|
45
50
|
Copyright
|
46
51
|
---------
|
47
52
|
|
48
|
-
Copyright © 2012-
|
53
|
+
Copyright © 2012-2014 Dan Kubb. See LICENSE for details.
|
data/Rakefile
CHANGED
data/config/reek.yml
CHANGED
@@ -62,16 +62,8 @@ TooManyMethods:
|
|
62
62
|
TooManyStatements:
|
63
63
|
enabled: true
|
64
64
|
exclude:
|
65
|
-
- IceNine::Freezer::Hash#self.freeze_key_value_pairs
|
66
|
-
- IceNine::Freezer::Hash#self.guarded_deep_freeze
|
67
|
-
- IceNine::Freezer::Hash#self.deep_freeze
|
68
|
-
- IceNine::Freezer::Object#self.guarded_deep_freeze
|
69
|
-
- IceNine::Freezer::Range#self.deep_freeze
|
70
|
-
- IceNine::Freezer::Range#self.guarded_deep_freeze
|
71
|
-
- IceNine::RecursionGuard#guard
|
72
|
-
- IceNine::RecursionGuard::ObjectSet#guard
|
73
65
|
- each
|
74
|
-
max_statements:
|
66
|
+
max_statements: 5
|
75
67
|
UncommunicativeMethodName:
|
76
68
|
enabled: true
|
77
69
|
exclude: []
|
data/config/rubocop.yml
CHANGED
@@ -1,10 +1,4 @@
|
|
1
|
-
|
2
|
-
Includes:
|
3
|
-
- '**/*.rake'
|
4
|
-
- 'Gemfile'
|
5
|
-
Excludes:
|
6
|
-
- '**/vendor/**'
|
7
|
-
- '**/benchmarks/**'
|
1
|
+
inherit_from: ../.rubocop.yml
|
8
2
|
|
9
3
|
# Avoid parameter lists longer than five parameters.
|
10
4
|
ParameterLists:
|
@@ -29,7 +23,7 @@ CollectionMethods:
|
|
29
23
|
# sections of code and visually separate them. When the keyword is at the same
|
30
24
|
# level I think it sort of blends in with the def keywords and makes it harder
|
31
25
|
# to scan the code and see where the sections are.
|
32
|
-
|
26
|
+
AccessModifierIndentation:
|
33
27
|
Enabled: false
|
34
28
|
|
35
29
|
# Limit line length
|
@@ -59,3 +53,58 @@ ConstantName:
|
|
59
53
|
# Not all trivial readers/writers can be defined with attr_* methods
|
60
54
|
TrivialAccessors:
|
61
55
|
Enabled: false
|
56
|
+
|
57
|
+
# Allow empty lines around class body
|
58
|
+
EmptyLinesAroundClassBody:
|
59
|
+
Enabled: false
|
60
|
+
|
61
|
+
# Allow empty lines around module body
|
62
|
+
EmptyLinesAroundModuleBody:
|
63
|
+
Enabled: false
|
64
|
+
|
65
|
+
# Allow multiple line operations to not require indentation
|
66
|
+
MultilineOperationIndentation:
|
67
|
+
Enabled: false
|
68
|
+
|
69
|
+
# Prefer String#% over Kernel#sprintf
|
70
|
+
FormatString:
|
71
|
+
Enabled: false
|
72
|
+
|
73
|
+
# Use square brackets for literal Array objects
|
74
|
+
PercentLiteralDelimiters:
|
75
|
+
PreferredDelimiters:
|
76
|
+
'%': ()
|
77
|
+
'%i': '[]'
|
78
|
+
'%q': ()
|
79
|
+
'%Q': ()
|
80
|
+
'%r': '{}'
|
81
|
+
'%s': ()
|
82
|
+
'%w': '[]'
|
83
|
+
'%W': '[]'
|
84
|
+
'%x': ()
|
85
|
+
|
86
|
+
# Align if/else blocks with the variable assignment
|
87
|
+
EndAlignment:
|
88
|
+
AlignWith: variable
|
89
|
+
|
90
|
+
# Do not always align parameters when it is easier to read
|
91
|
+
AlignParameters:
|
92
|
+
Exclude:
|
93
|
+
- spec/**/*_spec.rb
|
94
|
+
|
95
|
+
# Prefer #kind_of? over #is_a?
|
96
|
+
ClassCheck:
|
97
|
+
EnforcedStyle: kind_of?
|
98
|
+
|
99
|
+
# Do not prefer double quotes to be used when %q or %Q is more appropriate
|
100
|
+
UnneededPercentQ:
|
101
|
+
Enabled: false
|
102
|
+
|
103
|
+
# Allow a maximum ABC score
|
104
|
+
Metrics/AbcSize:
|
105
|
+
Max: 6.08
|
106
|
+
|
107
|
+
# Allow modules to be qualified with a "::" prefix
|
108
|
+
ClassAndModuleChildren:
|
109
|
+
Exclude:
|
110
|
+
- spec/**/*_spec.rb
|
data/ice_nine.gemspec
CHANGED
@@ -17,5 +17,5 @@ Gem::Specification.new do |gem|
|
|
17
17
|
gem.test_files = `git ls-files -- spec/{unit,integration}`.split($/)
|
18
18
|
gem.extra_rdoc_files = %w[LICENSE README.md TODO]
|
19
19
|
|
20
|
-
gem.add_development_dependency('bundler', '~> 1.
|
20
|
+
gem.add_development_dependency('bundler', '~> 1.6', '>= 1.6.1')
|
21
21
|
end
|
data/lib/ice_nine/freezer.rb
CHANGED
@@ -7,12 +7,11 @@ module IceNine
|
|
7
7
|
|
8
8
|
# Cache the Freezer classes returned for each type
|
9
9
|
@freezer_cache = Hash.new do |cache, mod|
|
10
|
-
|
10
|
+
freezer = nil
|
11
11
|
mod.ancestors.each do |ancestor|
|
12
|
-
freezer = find(ancestor.name.to_s)
|
13
|
-
break cache[mod] = freezer if freezer
|
12
|
+
freezer = find(ancestor.name.to_s) and break
|
14
13
|
end
|
15
|
-
cache[mod]
|
14
|
+
cache[mod] = freezer
|
16
15
|
end
|
17
16
|
|
18
17
|
# Look up the Freezer descendant by object type
|
data/lib/ice_nine/version.rb
CHANGED
File without changes
|
File without changes
|
@@ -210,7 +210,7 @@ shared_examples 'IceNine.deep_freeze' do
|
|
210
210
|
end
|
211
211
|
|
212
212
|
context 'with an SimpleDelegator' do
|
213
|
-
let(:value) { SimpleDelegator.new(
|
213
|
+
let(:value) { SimpleDelegator.new('foo') }
|
214
214
|
|
215
215
|
before do
|
216
216
|
value.instance_eval { @a = '1' }
|
@@ -256,7 +256,7 @@ shared_examples 'IceNine.deep_freeze' do
|
|
256
256
|
end
|
257
257
|
|
258
258
|
it 'does not freeze the object' do
|
259
|
-
expect { subject }.to_not change(value, :frozen?).from(
|
259
|
+
expect { subject }.to_not change(value, :frozen?).from(value.frozen?)
|
260
260
|
end
|
261
261
|
end
|
262
262
|
end
|
@@ -10,10 +10,12 @@ shared_examples 'IceNine::Freezer::NoFreeze.deep_freeze' do
|
|
10
10
|
end
|
11
11
|
|
12
12
|
it 'does not freeze the object' do
|
13
|
-
expect { subject }.to_not change(value, :frozen?).from(
|
13
|
+
expect { subject }.to_not change(value, :frozen?).from(value.frozen?)
|
14
14
|
end
|
15
15
|
|
16
16
|
it 'does not freeze instance variables' do
|
17
|
-
|
17
|
+
if subject.instance_variable_defined?(:@a)
|
18
|
+
expect(subject.instance_variable_get(:@a)).to_not be_frozen
|
19
|
+
end
|
18
20
|
end
|
19
21
|
end
|
File without changes
|
File without changes
|
@@ -10,7 +10,7 @@ describe IceNine::Freezer::Hash, '.deep_freeze' do
|
|
10
10
|
|
11
11
|
context 'with a Hash object having a default proc' do
|
12
12
|
let(:value) do
|
13
|
-
Hash.new {
|
13
|
+
Hash.new {}.update(Object.new => Object.new)
|
14
14
|
end
|
15
15
|
|
16
16
|
it_behaves_like 'IceNine::Freezer::Hash.deep_freeze'
|
metadata
CHANGED
@@ -1,47 +1,52 @@
|
|
1
|
-
--- !ruby/object:Gem::Specification
|
1
|
+
--- !ruby/object:Gem::Specification
|
2
2
|
name: ice_nine
|
3
|
-
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.11.
|
3
|
+
version: !ruby/object:Gem::Version
|
4
|
+
version: 0.11.1
|
5
5
|
platform: ruby
|
6
|
-
authors:
|
6
|
+
authors:
|
7
7
|
- Dan Kubb
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
|
12
|
-
|
13
|
-
|
14
|
-
- !ruby/object:Gem::Dependency
|
11
|
+
date: 2014-12-03 00:00:00.000000000 Z
|
12
|
+
dependencies:
|
13
|
+
- !ruby/object:Gem::Dependency
|
15
14
|
name: bundler
|
16
|
-
|
17
|
-
|
18
|
-
|
19
|
-
|
20
|
-
|
21
|
-
version: "1.3"
|
15
|
+
requirement: !ruby/object:Gem::Requirement
|
16
|
+
requirements:
|
17
|
+
- - "~>"
|
18
|
+
- !ruby/object:Gem::Version
|
19
|
+
version: '1.6'
|
22
20
|
- - ">="
|
23
|
-
- !ruby/object:Gem::Version
|
24
|
-
version: 1.
|
21
|
+
- !ruby/object:Gem::Version
|
22
|
+
version: 1.6.1
|
25
23
|
type: :development
|
26
|
-
|
24
|
+
prerelease: false
|
25
|
+
version_requirements: !ruby/object:Gem::Requirement
|
26
|
+
requirements:
|
27
|
+
- - "~>"
|
28
|
+
- !ruby/object:Gem::Version
|
29
|
+
version: '1.6'
|
30
|
+
- - ">="
|
31
|
+
- !ruby/object:Gem::Version
|
32
|
+
version: 1.6.1
|
27
33
|
description: Deep Freeze Ruby Objects
|
28
|
-
email:
|
34
|
+
email:
|
29
35
|
- dan.kubb@gmail.com
|
30
36
|
executables: []
|
31
|
-
|
32
37
|
extensions: []
|
33
|
-
|
34
|
-
extra_rdoc_files:
|
38
|
+
extra_rdoc_files:
|
35
39
|
- LICENSE
|
36
40
|
- README.md
|
37
41
|
- TODO
|
38
|
-
files:
|
39
|
-
- .gitignore
|
40
|
-
- .pelusa.yml
|
41
|
-
- .rspec
|
42
|
-
- .
|
43
|
-
- .
|
44
|
-
- .
|
42
|
+
files:
|
43
|
+
- ".gitignore"
|
44
|
+
- ".pelusa.yml"
|
45
|
+
- ".rspec"
|
46
|
+
- ".rubocop.yml"
|
47
|
+
- ".ruby-gemset"
|
48
|
+
- ".travis.yml"
|
49
|
+
- ".yardopts"
|
45
50
|
- CONTRIBUTING.md
|
46
51
|
- Gemfile
|
47
52
|
- Gemfile.devtools
|
@@ -81,12 +86,12 @@ files:
|
|
81
86
|
- lib/ice_nine/version.rb
|
82
87
|
- spec/integration/ice_nine/class_methods/deep_freeze_bang_spec.rb
|
83
88
|
- spec/integration/ice_nine/class_methods/deep_freeze_spec.rb
|
84
|
-
- spec/shared/
|
85
|
-
- spec/shared/
|
86
|
-
- spec/shared/
|
87
|
-
- spec/shared/
|
88
|
-
- spec/shared/
|
89
|
-
- spec/shared/
|
89
|
+
- spec/shared/array_deep_freeze.rb
|
90
|
+
- spec/shared/hash_deep_freeze.rb
|
91
|
+
- spec/shared/ice_nine_deep_freeze.rb
|
92
|
+
- spec/shared/no_freeze_deep_freeze.rb
|
93
|
+
- spec/shared/object_deep_freeze.rb
|
94
|
+
- spec/shared/range_deep_freeze.rb
|
90
95
|
- spec/spec_helper.rb
|
91
96
|
- spec/support/config_alias.rb
|
92
97
|
- spec/unit/ice_nine/class_methods/deep_freeze_bang_spec.rb
|
@@ -110,32 +115,30 @@ files:
|
|
110
115
|
- spec/unit/ice_nine/recursion_guard/object_set/guard_spec.rb
|
111
116
|
- spec/unit/object/deep_freeze_spec.rb
|
112
117
|
homepage: https://github.com/dkubb/ice_nine
|
113
|
-
licenses:
|
118
|
+
licenses:
|
114
119
|
- MIT
|
115
120
|
metadata: {}
|
116
|
-
|
117
121
|
post_install_message:
|
118
122
|
rdoc_options: []
|
119
|
-
|
120
|
-
require_paths:
|
123
|
+
require_paths:
|
121
124
|
- lib
|
122
|
-
required_ruby_version: !ruby/object:Gem::Requirement
|
123
|
-
requirements:
|
124
|
-
-
|
125
|
-
-
|
126
|
-
|
127
|
-
|
128
|
-
|
129
|
-
|
130
|
-
|
125
|
+
required_ruby_version: !ruby/object:Gem::Requirement
|
126
|
+
requirements:
|
127
|
+
- - ">="
|
128
|
+
- !ruby/object:Gem::Version
|
129
|
+
version: '0'
|
130
|
+
required_rubygems_version: !ruby/object:Gem::Requirement
|
131
|
+
requirements:
|
132
|
+
- - ">="
|
133
|
+
- !ruby/object:Gem::Version
|
134
|
+
version: '0'
|
131
135
|
requirements: []
|
132
|
-
|
133
136
|
rubyforge_project:
|
134
|
-
rubygems_version: 2.
|
137
|
+
rubygems_version: 2.4.4
|
135
138
|
signing_key:
|
136
139
|
specification_version: 4
|
137
140
|
summary: Deep Freeze Ruby Objects
|
138
|
-
test_files:
|
141
|
+
test_files:
|
139
142
|
- spec/integration/ice_nine/class_methods/deep_freeze_bang_spec.rb
|
140
143
|
- spec/integration/ice_nine/class_methods/deep_freeze_spec.rb
|
141
144
|
- spec/unit/ice_nine/class_methods/deep_freeze_bang_spec.rb
|