adamantium 0.0.7 → 0.0.8
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +7 -0
- data/.ruby-gemset +1 -0
- data/Gemfile +18 -13
- data/adamantium.gemspec +2 -5
- data/lib/adamantium.rb +1 -0
- data/lib/adamantium/class_methods.rb +1 -2
- data/lib/adamantium/freezer.rb +2 -0
- data/lib/adamantium/version.rb +2 -2
- metadata +50 -122
- data/.rvmrc +0 -1
checksums.yaml
ADDED
@@ -0,0 +1,7 @@
|
|
1
|
+
---
|
2
|
+
SHA1:
|
3
|
+
metadata.gz: 9c606a9e55367a10cc16a7c93a1ba7338661deaa
|
4
|
+
data.tar.gz: 941057fd6680efc4ae04d8a7fabec7b6ee2d5e8a
|
5
|
+
SHA512:
|
6
|
+
metadata.gz: 0e8137cb22a161cfcdf6162057e9a29310ade5bc47ecc177caa03f4fe042c5ebdb7bfd7aaf3d8f6ee34882affdde4c23c1092d200d14c3bc23eda7863f522f5e
|
7
|
+
data.tar.gz: 4d8decf7dce34b9b6add23b20189011b8b6ff3c4de601f7562a1303a81cbcd39b20c91a9766af7bbd2c8c9c9764dc08e0d1ec6b81b6dd8f7a8f1011b2206b60f
|
data/.ruby-gemset
ADDED
@@ -0,0 +1 @@
|
|
1
|
+
adamantium
|
data/Gemfile
CHANGED
@@ -4,16 +4,23 @@ source 'https://rubygems.org'
|
|
4
4
|
|
5
5
|
gemspec
|
6
6
|
|
7
|
+
group :development do
|
8
|
+
gem 'rake', '~> 10.1.0'
|
9
|
+
gem 'rspec', '= 1.3.2'
|
10
|
+
gem 'yard', '~> 0.8.6.1'
|
11
|
+
end
|
12
|
+
|
7
13
|
group :yard do
|
8
|
-
gem '
|
14
|
+
gem 'kramdown', '~> 1.0.1'
|
9
15
|
end
|
10
16
|
|
11
17
|
group :guard do
|
12
|
-
gem 'guard', '~> 1.
|
18
|
+
gem 'guard', '~> 1.8.1'
|
13
19
|
gem 'guard-bundler', '~> 1.0.0'
|
14
20
|
gem 'guard-rspec', '~> 1.2.1'
|
15
21
|
|
16
22
|
# file system change event handling
|
23
|
+
gem 'listen', '~> 1.2.2'
|
17
24
|
gem 'rb-fchange', '~> 0.0.6', :require => false
|
18
25
|
gem 'rb-fsevent', '~> 0.9.3', :require => false
|
19
26
|
gem 'rb-inotify', '~> 0.9.0', :require => false
|
@@ -25,22 +32,24 @@ group :guard do
|
|
25
32
|
end
|
26
33
|
|
27
34
|
group :metrics do
|
35
|
+
gem 'backports', '~> 3.3', '>= 3.3.2'
|
36
|
+
gem 'coveralls', '~> 0.6.7'
|
28
37
|
gem 'flay', '~> 1.4.3'
|
29
38
|
gem 'flog', '~> 2.5.3'
|
30
39
|
gem 'roodi', '~> 2.2.0'
|
31
|
-
gem '
|
40
|
+
gem 'simplecov', '~> 0.7.1'
|
41
|
+
gem 'yardstick', '~> 0.9.6'
|
32
42
|
|
33
|
-
platforms :
|
34
|
-
# this indirectly depends on ffi which does not build on ruby-head
|
43
|
+
platforms :ruby_19 do
|
35
44
|
gem 'yard-spellcheck', '~> 0.1.5'
|
36
45
|
end
|
37
46
|
|
38
47
|
platforms :mri_18 do
|
39
|
-
gem 'arrayfields', '~> 4.
|
48
|
+
gem 'arrayfields', '~> 4.9.0' # for metric_fu
|
40
49
|
gem 'fattr', '~> 2.2.0' # for metric_fu
|
41
50
|
gem 'heckle', '~> 1.4.3'
|
42
|
-
gem 'json', '~> 1.
|
43
|
-
gem 'map', '~> 6.
|
51
|
+
gem 'json', '~> 1.8.0' # for metric_fu rake task
|
52
|
+
gem 'map', '~> 6.5.1' # for metric_fu
|
44
53
|
gem 'metric_fu', '~> 2.1.1'
|
45
54
|
gem 'mspec', '~> 1.5.17'
|
46
55
|
gem 'rails_best_practices', '= 1.13.3' # for metric_fu
|
@@ -48,10 +57,6 @@ group :metrics do
|
|
48
57
|
gem 'ruby2ruby', '= 1.2.2' # for heckle
|
49
58
|
end
|
50
59
|
|
51
|
-
platforms :mri_19 do
|
52
|
-
gem 'simplecov', '~> 0.7.1'
|
53
|
-
end
|
54
|
-
|
55
60
|
platforms :rbx do
|
56
61
|
gem 'pelusa', '~> 0.2.2'
|
57
62
|
end
|
@@ -63,6 +68,6 @@ end
|
|
63
68
|
|
64
69
|
platform :jruby do
|
65
70
|
group :jruby do
|
66
|
-
gem 'jruby-openssl', '~> 0.8.
|
71
|
+
gem 'jruby-openssl', '~> 0.8.5'
|
67
72
|
end
|
68
73
|
end
|
data/adamantium.gemspec
CHANGED
@@ -16,10 +16,7 @@ Gem::Specification.new do |gem|
|
|
16
16
|
gem.test_files = `git ls-files -- spec/{unit,integration}`.split($/)
|
17
17
|
gem.extra_rdoc_files = %w[LICENSE README.md TODO]
|
18
18
|
|
19
|
-
gem.add_runtime_dependency('
|
20
|
-
gem.add_runtime_dependency('ice_nine', '~> 0.7.0')
|
19
|
+
gem.add_runtime_dependency('ice_nine', '~> 0.8.0')
|
21
20
|
|
22
|
-
gem.add_development_dependency('
|
23
|
-
gem.add_development_dependency('rspec', '~> 1.3.2')
|
24
|
-
gem.add_development_dependency('yard', '~> 0.8.5')
|
21
|
+
gem.add_development_dependency('bundler', '~> 1.3', '>= 1.3.5')
|
25
22
|
end
|
data/lib/adamantium.rb
CHANGED
data/lib/adamantium/freezer.rb
CHANGED
@@ -65,6 +65,7 @@ module Adamantium
|
|
65
65
|
def self.freeze(value)
|
66
66
|
value.freeze
|
67
67
|
end
|
68
|
+
|
68
69
|
public_class_method :call
|
69
70
|
end
|
70
71
|
|
@@ -81,6 +82,7 @@ module Adamantium
|
|
81
82
|
def self.freeze(value)
|
82
83
|
IceNine.deep_freeze(value)
|
83
84
|
end
|
85
|
+
|
84
86
|
public_class_method :call
|
85
87
|
end
|
86
88
|
|
data/lib/adamantium/version.rb
CHANGED
metadata
CHANGED
@@ -1,125 +1,63 @@
|
|
1
|
-
--- !ruby/object:Gem::Specification
|
1
|
+
--- !ruby/object:Gem::Specification
|
2
2
|
name: adamantium
|
3
|
-
version: !ruby/object:Gem::Version
|
4
|
-
|
5
|
-
prerelease:
|
6
|
-
segments:
|
7
|
-
- 0
|
8
|
-
- 0
|
9
|
-
- 7
|
10
|
-
version: 0.0.7
|
3
|
+
version: !ruby/object:Gem::Version
|
4
|
+
version: 0.0.8
|
11
5
|
platform: ruby
|
12
|
-
authors:
|
6
|
+
authors:
|
13
7
|
- Dan Kubb
|
14
8
|
- Markus Schirp
|
15
9
|
autorequire:
|
16
10
|
bindir: bin
|
17
11
|
cert_chain: []
|
18
|
-
|
19
|
-
|
20
|
-
|
21
|
-
- !ruby/object:Gem::Dependency
|
22
|
-
name: backports
|
23
|
-
prerelease: false
|
24
|
-
requirement: &id001 !ruby/object:Gem::Requirement
|
25
|
-
none: false
|
26
|
-
requirements:
|
27
|
-
- - ~>
|
28
|
-
- !ruby/object:Gem::Version
|
29
|
-
hash: 7
|
30
|
-
segments:
|
31
|
-
- 3
|
32
|
-
- 0
|
33
|
-
version: "3.0"
|
34
|
-
- - ">="
|
35
|
-
- !ruby/object:Gem::Version
|
36
|
-
hash: 1
|
37
|
-
segments:
|
38
|
-
- 3
|
39
|
-
- 0
|
40
|
-
- 3
|
41
|
-
version: 3.0.3
|
42
|
-
type: :runtime
|
43
|
-
version_requirements: *id001
|
44
|
-
- !ruby/object:Gem::Dependency
|
12
|
+
date: 2013-06-23 00:00:00.000000000 Z
|
13
|
+
dependencies:
|
14
|
+
- !ruby/object:Gem::Dependency
|
45
15
|
name: ice_nine
|
46
|
-
|
47
|
-
|
48
|
-
none: false
|
49
|
-
requirements:
|
16
|
+
requirement: !ruby/object:Gem::Requirement
|
17
|
+
requirements:
|
50
18
|
- - ~>
|
51
|
-
- !ruby/object:Gem::Version
|
52
|
-
|
53
|
-
segments:
|
54
|
-
- 0
|
55
|
-
- 7
|
56
|
-
- 0
|
57
|
-
version: 0.7.0
|
19
|
+
- !ruby/object:Gem::Version
|
20
|
+
version: 0.8.0
|
58
21
|
type: :runtime
|
59
|
-
version_requirements: *id002
|
60
|
-
- !ruby/object:Gem::Dependency
|
61
|
-
name: rake
|
62
22
|
prerelease: false
|
63
|
-
|
64
|
-
|
65
|
-
requirements:
|
23
|
+
version_requirements: !ruby/object:Gem::Requirement
|
24
|
+
requirements:
|
66
25
|
- - ~>
|
67
|
-
- !ruby/object:Gem::Version
|
68
|
-
|
69
|
-
|
70
|
-
|
71
|
-
|
72
|
-
|
73
|
-
version: 10.0.3
|
74
|
-
type: :development
|
75
|
-
version_requirements: *id003
|
76
|
-
- !ruby/object:Gem::Dependency
|
77
|
-
name: rspec
|
78
|
-
prerelease: false
|
79
|
-
requirement: &id004 !ruby/object:Gem::Requirement
|
80
|
-
none: false
|
81
|
-
requirements:
|
26
|
+
- !ruby/object:Gem::Version
|
27
|
+
version: 0.8.0
|
28
|
+
- !ruby/object:Gem::Dependency
|
29
|
+
name: bundler
|
30
|
+
requirement: !ruby/object:Gem::Requirement
|
31
|
+
requirements:
|
82
32
|
- - ~>
|
83
|
-
- !ruby/object:Gem::Version
|
84
|
-
|
85
|
-
|
86
|
-
|
87
|
-
|
88
|
-
- 2
|
89
|
-
version: 1.3.2
|
33
|
+
- !ruby/object:Gem::Version
|
34
|
+
version: '1.3'
|
35
|
+
- - '>='
|
36
|
+
- !ruby/object:Gem::Version
|
37
|
+
version: 1.3.5
|
90
38
|
type: :development
|
91
|
-
version_requirements: *id004
|
92
|
-
- !ruby/object:Gem::Dependency
|
93
|
-
name: yard
|
94
39
|
prerelease: false
|
95
|
-
|
96
|
-
|
97
|
-
requirements:
|
40
|
+
version_requirements: !ruby/object:Gem::Requirement
|
41
|
+
requirements:
|
98
42
|
- - ~>
|
99
|
-
- !ruby/object:Gem::Version
|
100
|
-
|
101
|
-
|
102
|
-
|
103
|
-
|
104
|
-
- 5
|
105
|
-
version: 0.8.5
|
106
|
-
type: :development
|
107
|
-
version_requirements: *id005
|
43
|
+
- !ruby/object:Gem::Version
|
44
|
+
version: '1.3'
|
45
|
+
- - '>='
|
46
|
+
- !ruby/object:Gem::Version
|
47
|
+
version: 1.3.5
|
108
48
|
description: Immutable extensions to objects
|
109
|
-
email:
|
49
|
+
email:
|
110
50
|
- dan.kubb@gmail.com
|
111
51
|
- mbj@seonic.net
|
112
52
|
executables: []
|
113
|
-
|
114
53
|
extensions: []
|
115
|
-
|
116
|
-
extra_rdoc_files:
|
54
|
+
extra_rdoc_files:
|
117
55
|
- LICENSE
|
118
56
|
- README.md
|
119
57
|
- TODO
|
120
|
-
files:
|
58
|
+
files:
|
121
59
|
- .gitignore
|
122
|
-
- .
|
60
|
+
- .ruby-gemset
|
123
61
|
- .travis.yml
|
124
62
|
- Gemfile
|
125
63
|
- Guardfile
|
@@ -175,38 +113,28 @@ files:
|
|
175
113
|
- tasks/yard.rake
|
176
114
|
homepage: https://github.com/dkubb/adamantium
|
177
115
|
licenses: []
|
178
|
-
|
116
|
+
metadata: {}
|
179
117
|
post_install_message:
|
180
118
|
rdoc_options: []
|
181
|
-
|
182
|
-
require_paths:
|
119
|
+
require_paths:
|
183
120
|
- lib
|
184
|
-
required_ruby_version: !ruby/object:Gem::Requirement
|
185
|
-
|
186
|
-
|
187
|
-
|
188
|
-
|
189
|
-
|
190
|
-
|
191
|
-
|
192
|
-
|
193
|
-
|
194
|
-
none: false
|
195
|
-
requirements:
|
196
|
-
- - ">="
|
197
|
-
- !ruby/object:Gem::Version
|
198
|
-
hash: 3
|
199
|
-
segments:
|
200
|
-
- 0
|
201
|
-
version: "0"
|
121
|
+
required_ruby_version: !ruby/object:Gem::Requirement
|
122
|
+
requirements:
|
123
|
+
- - '>='
|
124
|
+
- !ruby/object:Gem::Version
|
125
|
+
version: '0'
|
126
|
+
required_rubygems_version: !ruby/object:Gem::Requirement
|
127
|
+
requirements:
|
128
|
+
- - '>='
|
129
|
+
- !ruby/object:Gem::Version
|
130
|
+
version: '0'
|
202
131
|
requirements: []
|
203
|
-
|
204
132
|
rubyforge_project:
|
205
|
-
rubygems_version:
|
133
|
+
rubygems_version: 2.0.2
|
206
134
|
signing_key:
|
207
|
-
specification_version:
|
135
|
+
specification_version: 4
|
208
136
|
summary: Immutable extensions to objects
|
209
|
-
test_files:
|
137
|
+
test_files:
|
210
138
|
- spec/integration/adamantium_spec.rb
|
211
139
|
- spec/unit/adamantium/class_methods/new_spec.rb
|
212
140
|
- spec/unit/adamantium/dup_spec.rb
|
data/.rvmrc
DELETED
@@ -1 +0,0 @@
|
|
1
|
-
rvm use @$(basename `pwd`) --create
|