rod 0.7.2.5 → 0.7.2.6
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +7 -0
- data/features/steps/rod.rb +2 -0
- data/lib/rod/constants.rb +1 -1
- data/lib/rod/model.rb +2 -1
- data/rod.gemspec +6 -4
- metadata +84 -60
checksums.yaml
ADDED
@@ -0,0 +1,7 @@
|
|
1
|
+
---
|
2
|
+
SHA1:
|
3
|
+
metadata.gz: b3cc4882eb723b695f1642511b9eb1588363482d
|
4
|
+
data.tar.gz: 2370d5c32380c29010eb9a8e52c267f389f8edc1
|
5
|
+
SHA512:
|
6
|
+
metadata.gz: de58bfae217c32e14ea08bc17267a975cbb5dcbfd1bfb1f21e1c8f960c807af8774d5cca2230665c5b2fb33900e68d252511766c607b737239fa6720b41463c8
|
7
|
+
data.tar.gz: 7cfd56760e49a294b3744bec10307169d85ffc5f44446f22979903c7201dc530333969376a0035e3f66dd6db6e8c15f27bb20f679270d0ac64072e62765e43ab
|
data/features/steps/rod.rb
CHANGED
data/lib/rod/constants.rb
CHANGED
data/lib/rod/model.rb
CHANGED
@@ -1,6 +1,7 @@
|
|
1
1
|
require 'rod/constants'
|
2
2
|
require 'rod/collection_proxy'
|
3
3
|
require 'rod/abstract_model'
|
4
|
+
require 'ref'
|
4
5
|
|
5
6
|
module Rod
|
6
7
|
|
@@ -627,7 +628,7 @@ module Rod
|
|
627
628
|
|
628
629
|
# The object cache of this class.
|
629
630
|
def self.cache
|
630
|
-
@cache ||=
|
631
|
+
@cache ||= Ref::SoftValueMap.new
|
631
632
|
end
|
632
633
|
|
633
634
|
# The module context of the class.
|
data/rod.gemspec
CHANGED
@@ -13,6 +13,7 @@ Gem::Specification.new do |s|
|
|
13
13
|
s.homepage = "http://github.com/apohllo/rod"
|
14
14
|
s.summary = "Ruby Object Database"
|
15
15
|
s.description = "Ruby Object Database is designed for large amounts of data, whose structure rarely changes."
|
16
|
+
s.license = "http://opensource.org/licenses/MIT"
|
16
17
|
|
17
18
|
s.rubyforge_project = "rod"
|
18
19
|
s.rdoc_options = ["--main", "README.rdoc"]
|
@@ -24,12 +25,13 @@ Gem::Specification.new do |s|
|
|
24
25
|
|
25
26
|
s.add_dependency("RubyInline", [">= 3.10.0","< 4.0.0"])
|
26
27
|
s.add_dependency("english", [">= 0.5.0","< 0.6.0"])
|
27
|
-
s.add_dependency("activemodel", ["~> 3.2.2
|
28
|
+
s.add_dependency("activemodel", ["~> 3.2",'>= 3.2.2'])
|
28
29
|
s.add_dependency("bsearch", [">= 1.5.0","< 1.6.0"])
|
30
|
+
s.add_dependency("ref", [">= 1.0.5","< 2.0.0"])
|
29
31
|
|
30
|
-
s.add_development_dependency("cucumber", "~> 1.0.0")
|
32
|
+
s.add_development_dependency("cucumber", "~> 1.0", ">= 1.0.0")
|
31
33
|
s.add_development_dependency("rspec", [">= 2.2.0","< 2.3.0"])
|
32
34
|
s.add_development_dependency("rake", [">= 0.9.0","< 1.0.0"])
|
33
|
-
s.add_development_dependency("minitest", "~> 4.0.0")
|
34
|
-
s.add_development_dependency("mocha", "~> 0.9.12")
|
35
|
+
s.add_development_dependency("minitest", "~> 4.0", ">= 4.0.0")
|
36
|
+
s.add_development_dependency("mocha", "~> 0.9", ">= 0.9.12")
|
35
37
|
end
|
metadata
CHANGED
@@ -1,188 +1,213 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: rod
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.7.2.
|
5
|
-
prerelease:
|
4
|
+
version: 0.7.2.6
|
6
5
|
platform: ruby
|
7
6
|
authors:
|
8
7
|
- Aleksander Pohl
|
9
8
|
autorequire:
|
10
9
|
bindir: bin
|
11
10
|
cert_chain: []
|
12
|
-
date: 2014-07-
|
11
|
+
date: 2014-07-21 00:00:00.000000000 Z
|
13
12
|
dependencies:
|
14
13
|
- !ruby/object:Gem::Dependency
|
15
14
|
name: RubyInline
|
16
15
|
requirement: !ruby/object:Gem::Requirement
|
17
|
-
none: false
|
18
16
|
requirements:
|
19
|
-
- -
|
17
|
+
- - ">="
|
20
18
|
- !ruby/object:Gem::Version
|
21
19
|
version: 3.10.0
|
22
|
-
- - <
|
20
|
+
- - "<"
|
23
21
|
- !ruby/object:Gem::Version
|
24
22
|
version: 4.0.0
|
25
23
|
type: :runtime
|
26
24
|
prerelease: false
|
27
25
|
version_requirements: !ruby/object:Gem::Requirement
|
28
|
-
none: false
|
29
26
|
requirements:
|
30
|
-
- -
|
27
|
+
- - ">="
|
31
28
|
- !ruby/object:Gem::Version
|
32
29
|
version: 3.10.0
|
33
|
-
- - <
|
30
|
+
- - "<"
|
34
31
|
- !ruby/object:Gem::Version
|
35
32
|
version: 4.0.0
|
36
33
|
- !ruby/object:Gem::Dependency
|
37
34
|
name: english
|
38
35
|
requirement: !ruby/object:Gem::Requirement
|
39
|
-
none: false
|
40
36
|
requirements:
|
41
|
-
- -
|
37
|
+
- - ">="
|
42
38
|
- !ruby/object:Gem::Version
|
43
39
|
version: 0.5.0
|
44
|
-
- - <
|
40
|
+
- - "<"
|
45
41
|
- !ruby/object:Gem::Version
|
46
42
|
version: 0.6.0
|
47
43
|
type: :runtime
|
48
44
|
prerelease: false
|
49
45
|
version_requirements: !ruby/object:Gem::Requirement
|
50
|
-
none: false
|
51
46
|
requirements:
|
52
|
-
- -
|
47
|
+
- - ">="
|
53
48
|
- !ruby/object:Gem::Version
|
54
49
|
version: 0.5.0
|
55
|
-
- - <
|
50
|
+
- - "<"
|
56
51
|
- !ruby/object:Gem::Version
|
57
52
|
version: 0.6.0
|
58
53
|
- !ruby/object:Gem::Dependency
|
59
54
|
name: activemodel
|
60
55
|
requirement: !ruby/object:Gem::Requirement
|
61
|
-
none: false
|
62
56
|
requirements:
|
63
|
-
- - ~>
|
57
|
+
- - "~>"
|
58
|
+
- !ruby/object:Gem::Version
|
59
|
+
version: '3.2'
|
60
|
+
- - ">="
|
64
61
|
- !ruby/object:Gem::Version
|
65
62
|
version: 3.2.2
|
66
63
|
type: :runtime
|
67
64
|
prerelease: false
|
68
65
|
version_requirements: !ruby/object:Gem::Requirement
|
69
|
-
none: false
|
70
66
|
requirements:
|
71
|
-
- - ~>
|
67
|
+
- - "~>"
|
68
|
+
- !ruby/object:Gem::Version
|
69
|
+
version: '3.2'
|
70
|
+
- - ">="
|
72
71
|
- !ruby/object:Gem::Version
|
73
72
|
version: 3.2.2
|
74
73
|
- !ruby/object:Gem::Dependency
|
75
74
|
name: bsearch
|
76
75
|
requirement: !ruby/object:Gem::Requirement
|
77
|
-
none: false
|
78
76
|
requirements:
|
79
|
-
- -
|
77
|
+
- - ">="
|
80
78
|
- !ruby/object:Gem::Version
|
81
79
|
version: 1.5.0
|
82
|
-
- - <
|
80
|
+
- - "<"
|
83
81
|
- !ruby/object:Gem::Version
|
84
82
|
version: 1.6.0
|
85
83
|
type: :runtime
|
86
84
|
prerelease: false
|
87
85
|
version_requirements: !ruby/object:Gem::Requirement
|
88
|
-
none: false
|
89
86
|
requirements:
|
90
|
-
- -
|
87
|
+
- - ">="
|
91
88
|
- !ruby/object:Gem::Version
|
92
89
|
version: 1.5.0
|
93
|
-
- - <
|
90
|
+
- - "<"
|
94
91
|
- !ruby/object:Gem::Version
|
95
92
|
version: 1.6.0
|
93
|
+
- !ruby/object:Gem::Dependency
|
94
|
+
name: ref
|
95
|
+
requirement: !ruby/object:Gem::Requirement
|
96
|
+
requirements:
|
97
|
+
- - ">="
|
98
|
+
- !ruby/object:Gem::Version
|
99
|
+
version: 1.0.5
|
100
|
+
- - "<"
|
101
|
+
- !ruby/object:Gem::Version
|
102
|
+
version: 2.0.0
|
103
|
+
type: :runtime
|
104
|
+
prerelease: false
|
105
|
+
version_requirements: !ruby/object:Gem::Requirement
|
106
|
+
requirements:
|
107
|
+
- - ">="
|
108
|
+
- !ruby/object:Gem::Version
|
109
|
+
version: 1.0.5
|
110
|
+
- - "<"
|
111
|
+
- !ruby/object:Gem::Version
|
112
|
+
version: 2.0.0
|
96
113
|
- !ruby/object:Gem::Dependency
|
97
114
|
name: cucumber
|
98
115
|
requirement: !ruby/object:Gem::Requirement
|
99
|
-
none: false
|
100
116
|
requirements:
|
101
|
-
- - ~>
|
117
|
+
- - "~>"
|
118
|
+
- !ruby/object:Gem::Version
|
119
|
+
version: '1.0'
|
120
|
+
- - ">="
|
102
121
|
- !ruby/object:Gem::Version
|
103
122
|
version: 1.0.0
|
104
123
|
type: :development
|
105
124
|
prerelease: false
|
106
125
|
version_requirements: !ruby/object:Gem::Requirement
|
107
|
-
none: false
|
108
126
|
requirements:
|
109
|
-
- - ~>
|
127
|
+
- - "~>"
|
128
|
+
- !ruby/object:Gem::Version
|
129
|
+
version: '1.0'
|
130
|
+
- - ">="
|
110
131
|
- !ruby/object:Gem::Version
|
111
132
|
version: 1.0.0
|
112
133
|
- !ruby/object:Gem::Dependency
|
113
134
|
name: rspec
|
114
135
|
requirement: !ruby/object:Gem::Requirement
|
115
|
-
none: false
|
116
136
|
requirements:
|
117
|
-
- -
|
137
|
+
- - ">="
|
118
138
|
- !ruby/object:Gem::Version
|
119
139
|
version: 2.2.0
|
120
|
-
- - <
|
140
|
+
- - "<"
|
121
141
|
- !ruby/object:Gem::Version
|
122
142
|
version: 2.3.0
|
123
143
|
type: :development
|
124
144
|
prerelease: false
|
125
145
|
version_requirements: !ruby/object:Gem::Requirement
|
126
|
-
none: false
|
127
146
|
requirements:
|
128
|
-
- -
|
147
|
+
- - ">="
|
129
148
|
- !ruby/object:Gem::Version
|
130
149
|
version: 2.2.0
|
131
|
-
- - <
|
150
|
+
- - "<"
|
132
151
|
- !ruby/object:Gem::Version
|
133
152
|
version: 2.3.0
|
134
153
|
- !ruby/object:Gem::Dependency
|
135
154
|
name: rake
|
136
155
|
requirement: !ruby/object:Gem::Requirement
|
137
|
-
none: false
|
138
156
|
requirements:
|
139
|
-
- -
|
157
|
+
- - ">="
|
140
158
|
- !ruby/object:Gem::Version
|
141
159
|
version: 0.9.0
|
142
|
-
- - <
|
160
|
+
- - "<"
|
143
161
|
- !ruby/object:Gem::Version
|
144
162
|
version: 1.0.0
|
145
163
|
type: :development
|
146
164
|
prerelease: false
|
147
165
|
version_requirements: !ruby/object:Gem::Requirement
|
148
|
-
none: false
|
149
166
|
requirements:
|
150
|
-
- -
|
167
|
+
- - ">="
|
151
168
|
- !ruby/object:Gem::Version
|
152
169
|
version: 0.9.0
|
153
|
-
- - <
|
170
|
+
- - "<"
|
154
171
|
- !ruby/object:Gem::Version
|
155
172
|
version: 1.0.0
|
156
173
|
- !ruby/object:Gem::Dependency
|
157
174
|
name: minitest
|
158
175
|
requirement: !ruby/object:Gem::Requirement
|
159
|
-
none: false
|
160
176
|
requirements:
|
161
|
-
- - ~>
|
177
|
+
- - "~>"
|
178
|
+
- !ruby/object:Gem::Version
|
179
|
+
version: '4.0'
|
180
|
+
- - ">="
|
162
181
|
- !ruby/object:Gem::Version
|
163
182
|
version: 4.0.0
|
164
183
|
type: :development
|
165
184
|
prerelease: false
|
166
185
|
version_requirements: !ruby/object:Gem::Requirement
|
167
|
-
none: false
|
168
186
|
requirements:
|
169
|
-
- - ~>
|
187
|
+
- - "~>"
|
188
|
+
- !ruby/object:Gem::Version
|
189
|
+
version: '4.0'
|
190
|
+
- - ">="
|
170
191
|
- !ruby/object:Gem::Version
|
171
192
|
version: 4.0.0
|
172
193
|
- !ruby/object:Gem::Dependency
|
173
194
|
name: mocha
|
174
195
|
requirement: !ruby/object:Gem::Requirement
|
175
|
-
none: false
|
176
196
|
requirements:
|
177
|
-
- - ~>
|
197
|
+
- - "~>"
|
198
|
+
- !ruby/object:Gem::Version
|
199
|
+
version: '0.9'
|
200
|
+
- - ">="
|
178
201
|
- !ruby/object:Gem::Version
|
179
202
|
version: 0.9.12
|
180
203
|
type: :development
|
181
204
|
prerelease: false
|
182
205
|
version_requirements: !ruby/object:Gem::Requirement
|
183
|
-
none: false
|
184
206
|
requirements:
|
185
|
-
- - ~>
|
207
|
+
- - "~>"
|
208
|
+
- !ruby/object:Gem::Version
|
209
|
+
version: '0.9'
|
210
|
+
- - ">="
|
186
211
|
- !ruby/object:Gem::Version
|
187
212
|
version: 0.9.12
|
188
213
|
description: Ruby Object Database is designed for large amounts of data, whose structure
|
@@ -193,8 +218,8 @@ executables: []
|
|
193
218
|
extensions: []
|
194
219
|
extra_rdoc_files: []
|
195
220
|
files:
|
196
|
-
- .gitignore
|
197
|
-
- .travis.yml
|
221
|
+
- ".gitignore"
|
222
|
+
- ".travis.yml"
|
198
223
|
- Gemfile
|
199
224
|
- README.rdoc
|
200
225
|
- Rakefile
|
@@ -305,30 +330,29 @@ files:
|
|
305
330
|
- tests/validate_read_on_create.rb
|
306
331
|
- utils/convert_index.rb
|
307
332
|
homepage: http://github.com/apohllo/rod
|
308
|
-
licenses:
|
333
|
+
licenses:
|
334
|
+
- http://opensource.org/licenses/MIT
|
335
|
+
metadata: {}
|
309
336
|
post_install_message:
|
310
337
|
rdoc_options:
|
311
|
-
- --main
|
338
|
+
- "--main"
|
312
339
|
- README.rdoc
|
313
340
|
require_paths:
|
314
341
|
- lib
|
315
342
|
required_ruby_version: !ruby/object:Gem::Requirement
|
316
|
-
none: false
|
317
343
|
requirements:
|
318
|
-
- -
|
344
|
+
- - ">="
|
319
345
|
- !ruby/object:Gem::Version
|
320
346
|
version: 1.9.2
|
321
347
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
322
|
-
none: false
|
323
348
|
requirements:
|
324
|
-
- -
|
349
|
+
- - ">="
|
325
350
|
- !ruby/object:Gem::Version
|
326
351
|
version: '0'
|
327
352
|
requirements: []
|
328
353
|
rubyforge_project: rod
|
329
|
-
rubygems_version:
|
354
|
+
rubygems_version: 2.2.2
|
330
355
|
signing_key:
|
331
|
-
specification_version:
|
356
|
+
specification_version: 4
|
332
357
|
summary: Ruby Object Database
|
333
358
|
test_files: []
|
334
|
-
has_rdoc:
|