rod 0.7.4.1 → 0.7.4.2
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +5 -5
- data/.travis.yml +2 -2
- data/README.rdoc +18 -0
- data/lib/rod/constants.rb +1 -1
- data/rod.gemspec +2 -1
- metadata +72 -54
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
|
-
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
2
|
+
SHA256:
|
3
|
+
metadata.gz: d0d57873f671e23905136f38e1d8ba889a017d06bbee12c96c0d100a655ddbb9
|
4
|
+
data.tar.gz: e035c46a6bd28ad56b0f9beda7d5ead57e7a4ca14479526bca77c13486455c99
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: fe970e9eef5fbd34780b62ab2be50ef88408923a2835be1d9fbe9c077e5c25f3027272c8274e2ccf01fd88cdf4814256762cae8133f5aebc4c2cef0d02c11c6d
|
7
|
+
data.tar.gz: bda5a7889d76254306f9ab0c19bda83fc7dc342cc82a914372de5eedb400ae93f493fecc9c2b6803a1ac3fae7cec19b76ed0fe88dc2488e3fcd8de50b1783278
|
data/.travis.yml
CHANGED
@@ -1,3 +1,3 @@
|
|
1
|
-
rvm: 2.
|
1
|
+
rvm: 2.2.7
|
2
2
|
before_script:
|
3
|
-
- "sudo apt-get install
|
3
|
+
- "sudo apt-get install libdb5.3-dev"
|
data/README.rdoc
CHANGED
@@ -79,6 +79,9 @@ number of disk reads was designed. The Ruby interface facilitates it's usage.
|
|
79
79
|
|
80
80
|
== TROUBLESHOOTING
|
81
81
|
|
82
|
+
|
83
|
+
=== db.h problem
|
84
|
+
|
82
85
|
If you get the following error:
|
83
86
|
|
84
87
|
error: db.h: No such file or directory
|
@@ -87,6 +90,9 @@ then you don't have Berkeley DB installed or its header fiels are not available
|
|
87
90
|
on the default path. Make sure that the library is installed and the headers
|
88
91
|
are available.
|
89
92
|
|
93
|
+
|
94
|
+
=== symbol lookup error related to Berkeley DB
|
95
|
+
|
90
96
|
If you get the following error:
|
91
97
|
|
92
98
|
.ruby: symbol lookup error: /home/vagrant/.ruby_inline/... undefined symbol: db_env_create
|
@@ -100,6 +106,18 @@ environment variable, e.g.
|
|
100
106
|
|
101
107
|
This configuration option will select the libdb-4.8.so library.
|
102
108
|
|
109
|
+
=== symbol lookup error not related to Berkeley DB
|
110
|
+
|
111
|
+
If you get the follwing error (or other lookup error):
|
112
|
+
|
113
|
+
symbol lookup error:
|
114
|
+
/net/people/plgapohl/.ruby_inline/... undefined symbol: __intel_avx_rep_memcpy
|
115
|
+
|
116
|
+
then make sure that you don't have any compiled shared objects linking to objects that are no longer
|
117
|
+
available in your system. Remove any libraries from the .ruby_inline by:
|
118
|
+
|
119
|
+
rm -f /net/people/plgapohl/.ruby_inline/*
|
120
|
+
|
103
121
|
== BASIC USAGE:
|
104
122
|
|
105
123
|
class MyDatabase < Rod::Database
|
data/lib/rod/constants.rb
CHANGED
data/rod.gemspec
CHANGED
@@ -24,7 +24,7 @@ Gem::Specification.new do |s|
|
|
24
24
|
s.require_path = "lib"
|
25
25
|
|
26
26
|
s.add_dependency("RubyInline", [">= 3.10.0","< 4.0.0"])
|
27
|
-
s.add_dependency("english", [">= 0.
|
27
|
+
s.add_dependency("english", [">= 0.7.0","< 0.8.0"])
|
28
28
|
s.add_dependency("activemodel", ["~> 3.2",'>= 3.2.2'])
|
29
29
|
s.add_dependency("bsearch", [">= 1.5.0","< 1.6.0"])
|
30
30
|
s.add_dependency("ref", [">= 1.0.5","< 2.0.0"])
|
@@ -34,4 +34,5 @@ Gem::Specification.new do |s|
|
|
34
34
|
s.add_development_dependency("rake", [">= 0.9.0","< 1.0.0"])
|
35
35
|
s.add_development_dependency("minitest", "~> 4.0", ">= 4.0.0")
|
36
36
|
s.add_development_dependency("mocha", "~> 0.9", ">= 0.9.12")
|
37
|
+
s.add_development_dependency("test-unit", "~> 3.3.0", ">= 3.3.0")
|
37
38
|
end
|
metadata
CHANGED
@@ -1,215 +1,235 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: rod
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.7.4.
|
4
|
+
version: 0.7.4.2
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Aleksander Pohl
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date:
|
11
|
+
date: 2023-10-04 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: RubyInline
|
15
15
|
requirement: !ruby/object:Gem::Requirement
|
16
16
|
requirements:
|
17
|
-
- -
|
17
|
+
- - ">="
|
18
18
|
- !ruby/object:Gem::Version
|
19
19
|
version: 3.10.0
|
20
|
-
- - <
|
20
|
+
- - "<"
|
21
21
|
- !ruby/object:Gem::Version
|
22
22
|
version: 4.0.0
|
23
23
|
type: :runtime
|
24
24
|
prerelease: false
|
25
25
|
version_requirements: !ruby/object:Gem::Requirement
|
26
26
|
requirements:
|
27
|
-
- -
|
27
|
+
- - ">="
|
28
28
|
- !ruby/object:Gem::Version
|
29
29
|
version: 3.10.0
|
30
|
-
- - <
|
30
|
+
- - "<"
|
31
31
|
- !ruby/object:Gem::Version
|
32
32
|
version: 4.0.0
|
33
33
|
- !ruby/object:Gem::Dependency
|
34
34
|
name: english
|
35
35
|
requirement: !ruby/object:Gem::Requirement
|
36
36
|
requirements:
|
37
|
-
- -
|
37
|
+
- - ">="
|
38
38
|
- !ruby/object:Gem::Version
|
39
|
-
version: 0.
|
40
|
-
- - <
|
39
|
+
version: 0.7.0
|
40
|
+
- - "<"
|
41
41
|
- !ruby/object:Gem::Version
|
42
|
-
version: 0.
|
42
|
+
version: 0.8.0
|
43
43
|
type: :runtime
|
44
44
|
prerelease: false
|
45
45
|
version_requirements: !ruby/object:Gem::Requirement
|
46
46
|
requirements:
|
47
|
-
- -
|
47
|
+
- - ">="
|
48
48
|
- !ruby/object:Gem::Version
|
49
|
-
version: 0.
|
50
|
-
- - <
|
49
|
+
version: 0.7.0
|
50
|
+
- - "<"
|
51
51
|
- !ruby/object:Gem::Version
|
52
|
-
version: 0.
|
52
|
+
version: 0.8.0
|
53
53
|
- !ruby/object:Gem::Dependency
|
54
54
|
name: activemodel
|
55
55
|
requirement: !ruby/object:Gem::Requirement
|
56
56
|
requirements:
|
57
|
-
- - ~>
|
57
|
+
- - "~>"
|
58
58
|
- !ruby/object:Gem::Version
|
59
59
|
version: '3.2'
|
60
|
-
- -
|
60
|
+
- - ">="
|
61
61
|
- !ruby/object:Gem::Version
|
62
62
|
version: 3.2.2
|
63
63
|
type: :runtime
|
64
64
|
prerelease: false
|
65
65
|
version_requirements: !ruby/object:Gem::Requirement
|
66
66
|
requirements:
|
67
|
-
- - ~>
|
67
|
+
- - "~>"
|
68
68
|
- !ruby/object:Gem::Version
|
69
69
|
version: '3.2'
|
70
|
-
- -
|
70
|
+
- - ">="
|
71
71
|
- !ruby/object:Gem::Version
|
72
72
|
version: 3.2.2
|
73
73
|
- !ruby/object:Gem::Dependency
|
74
74
|
name: bsearch
|
75
75
|
requirement: !ruby/object:Gem::Requirement
|
76
76
|
requirements:
|
77
|
-
- -
|
77
|
+
- - ">="
|
78
78
|
- !ruby/object:Gem::Version
|
79
79
|
version: 1.5.0
|
80
|
-
- - <
|
80
|
+
- - "<"
|
81
81
|
- !ruby/object:Gem::Version
|
82
82
|
version: 1.6.0
|
83
83
|
type: :runtime
|
84
84
|
prerelease: false
|
85
85
|
version_requirements: !ruby/object:Gem::Requirement
|
86
86
|
requirements:
|
87
|
-
- -
|
87
|
+
- - ">="
|
88
88
|
- !ruby/object:Gem::Version
|
89
89
|
version: 1.5.0
|
90
|
-
- - <
|
90
|
+
- - "<"
|
91
91
|
- !ruby/object:Gem::Version
|
92
92
|
version: 1.6.0
|
93
93
|
- !ruby/object:Gem::Dependency
|
94
94
|
name: ref
|
95
95
|
requirement: !ruby/object:Gem::Requirement
|
96
96
|
requirements:
|
97
|
-
- -
|
97
|
+
- - ">="
|
98
98
|
- !ruby/object:Gem::Version
|
99
99
|
version: 1.0.5
|
100
|
-
- - <
|
100
|
+
- - "<"
|
101
101
|
- !ruby/object:Gem::Version
|
102
102
|
version: 2.0.0
|
103
103
|
type: :runtime
|
104
104
|
prerelease: false
|
105
105
|
version_requirements: !ruby/object:Gem::Requirement
|
106
106
|
requirements:
|
107
|
-
- -
|
107
|
+
- - ">="
|
108
108
|
- !ruby/object:Gem::Version
|
109
109
|
version: 1.0.5
|
110
|
-
- - <
|
110
|
+
- - "<"
|
111
111
|
- !ruby/object:Gem::Version
|
112
112
|
version: 2.0.0
|
113
113
|
- !ruby/object:Gem::Dependency
|
114
114
|
name: cucumber
|
115
115
|
requirement: !ruby/object:Gem::Requirement
|
116
116
|
requirements:
|
117
|
-
- - ~>
|
117
|
+
- - "~>"
|
118
118
|
- !ruby/object:Gem::Version
|
119
119
|
version: '1.0'
|
120
|
-
- -
|
120
|
+
- - ">="
|
121
121
|
- !ruby/object:Gem::Version
|
122
122
|
version: 1.0.0
|
123
123
|
type: :development
|
124
124
|
prerelease: false
|
125
125
|
version_requirements: !ruby/object:Gem::Requirement
|
126
126
|
requirements:
|
127
|
-
- - ~>
|
127
|
+
- - "~>"
|
128
128
|
- !ruby/object:Gem::Version
|
129
129
|
version: '1.0'
|
130
|
-
- -
|
130
|
+
- - ">="
|
131
131
|
- !ruby/object:Gem::Version
|
132
132
|
version: 1.0.0
|
133
133
|
- !ruby/object:Gem::Dependency
|
134
134
|
name: rspec
|
135
135
|
requirement: !ruby/object:Gem::Requirement
|
136
136
|
requirements:
|
137
|
-
- -
|
137
|
+
- - ">="
|
138
138
|
- !ruby/object:Gem::Version
|
139
139
|
version: 2.2.0
|
140
|
-
- - <
|
140
|
+
- - "<"
|
141
141
|
- !ruby/object:Gem::Version
|
142
142
|
version: 2.3.0
|
143
143
|
type: :development
|
144
144
|
prerelease: false
|
145
145
|
version_requirements: !ruby/object:Gem::Requirement
|
146
146
|
requirements:
|
147
|
-
- -
|
147
|
+
- - ">="
|
148
148
|
- !ruby/object:Gem::Version
|
149
149
|
version: 2.2.0
|
150
|
-
- - <
|
150
|
+
- - "<"
|
151
151
|
- !ruby/object:Gem::Version
|
152
152
|
version: 2.3.0
|
153
153
|
- !ruby/object:Gem::Dependency
|
154
154
|
name: rake
|
155
155
|
requirement: !ruby/object:Gem::Requirement
|
156
156
|
requirements:
|
157
|
-
- -
|
157
|
+
- - ">="
|
158
158
|
- !ruby/object:Gem::Version
|
159
159
|
version: 0.9.0
|
160
|
-
- - <
|
160
|
+
- - "<"
|
161
161
|
- !ruby/object:Gem::Version
|
162
162
|
version: 1.0.0
|
163
163
|
type: :development
|
164
164
|
prerelease: false
|
165
165
|
version_requirements: !ruby/object:Gem::Requirement
|
166
166
|
requirements:
|
167
|
-
- -
|
167
|
+
- - ">="
|
168
168
|
- !ruby/object:Gem::Version
|
169
169
|
version: 0.9.0
|
170
|
-
- - <
|
170
|
+
- - "<"
|
171
171
|
- !ruby/object:Gem::Version
|
172
172
|
version: 1.0.0
|
173
173
|
- !ruby/object:Gem::Dependency
|
174
174
|
name: minitest
|
175
175
|
requirement: !ruby/object:Gem::Requirement
|
176
176
|
requirements:
|
177
|
-
- - ~>
|
177
|
+
- - "~>"
|
178
178
|
- !ruby/object:Gem::Version
|
179
179
|
version: '4.0'
|
180
|
-
- -
|
180
|
+
- - ">="
|
181
181
|
- !ruby/object:Gem::Version
|
182
182
|
version: 4.0.0
|
183
183
|
type: :development
|
184
184
|
prerelease: false
|
185
185
|
version_requirements: !ruby/object:Gem::Requirement
|
186
186
|
requirements:
|
187
|
-
- - ~>
|
187
|
+
- - "~>"
|
188
188
|
- !ruby/object:Gem::Version
|
189
189
|
version: '4.0'
|
190
|
-
- -
|
190
|
+
- - ">="
|
191
191
|
- !ruby/object:Gem::Version
|
192
192
|
version: 4.0.0
|
193
193
|
- !ruby/object:Gem::Dependency
|
194
194
|
name: mocha
|
195
195
|
requirement: !ruby/object:Gem::Requirement
|
196
196
|
requirements:
|
197
|
-
- - ~>
|
197
|
+
- - "~>"
|
198
198
|
- !ruby/object:Gem::Version
|
199
199
|
version: '0.9'
|
200
|
-
- -
|
200
|
+
- - ">="
|
201
201
|
- !ruby/object:Gem::Version
|
202
202
|
version: 0.9.12
|
203
203
|
type: :development
|
204
204
|
prerelease: false
|
205
205
|
version_requirements: !ruby/object:Gem::Requirement
|
206
206
|
requirements:
|
207
|
-
- - ~>
|
207
|
+
- - "~>"
|
208
208
|
- !ruby/object:Gem::Version
|
209
209
|
version: '0.9'
|
210
|
-
- -
|
210
|
+
- - ">="
|
211
211
|
- !ruby/object:Gem::Version
|
212
212
|
version: 0.9.12
|
213
|
+
- !ruby/object:Gem::Dependency
|
214
|
+
name: test-unit
|
215
|
+
requirement: !ruby/object:Gem::Requirement
|
216
|
+
requirements:
|
217
|
+
- - "~>"
|
218
|
+
- !ruby/object:Gem::Version
|
219
|
+
version: 3.3.0
|
220
|
+
- - ">="
|
221
|
+
- !ruby/object:Gem::Version
|
222
|
+
version: 3.3.0
|
223
|
+
type: :development
|
224
|
+
prerelease: false
|
225
|
+
version_requirements: !ruby/object:Gem::Requirement
|
226
|
+
requirements:
|
227
|
+
- - "~>"
|
228
|
+
- !ruby/object:Gem::Version
|
229
|
+
version: 3.3.0
|
230
|
+
- - ">="
|
231
|
+
- !ruby/object:Gem::Version
|
232
|
+
version: 3.3.0
|
213
233
|
description: Ruby Object Database is designed for large amounts of data, whose structure
|
214
234
|
rarely changes.
|
215
235
|
email:
|
@@ -218,8 +238,8 @@ executables: []
|
|
218
238
|
extensions: []
|
219
239
|
extra_rdoc_files: []
|
220
240
|
files:
|
221
|
-
- .gitignore
|
222
|
-
- .travis.yml
|
241
|
+
- ".gitignore"
|
242
|
+
- ".travis.yml"
|
223
243
|
- Gemfile
|
224
244
|
- README.rdoc
|
225
245
|
- Rakefile
|
@@ -335,25 +355,23 @@ licenses:
|
|
335
355
|
metadata: {}
|
336
356
|
post_install_message:
|
337
357
|
rdoc_options:
|
338
|
-
- --main
|
358
|
+
- "--main"
|
339
359
|
- README.rdoc
|
340
360
|
require_paths:
|
341
361
|
- lib
|
342
362
|
required_ruby_version: !ruby/object:Gem::Requirement
|
343
363
|
requirements:
|
344
|
-
- -
|
364
|
+
- - ">="
|
345
365
|
- !ruby/object:Gem::Version
|
346
366
|
version: 1.9.2
|
347
367
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
348
368
|
requirements:
|
349
|
-
- -
|
369
|
+
- - ">="
|
350
370
|
- !ruby/object:Gem::Version
|
351
371
|
version: '0'
|
352
372
|
requirements: []
|
353
|
-
|
354
|
-
rubygems_version: 2.2.2
|
373
|
+
rubygems_version: 3.1.4
|
355
374
|
signing_key:
|
356
375
|
specification_version: 4
|
357
376
|
summary: Ruby Object Database
|
358
377
|
test_files: []
|
359
|
-
has_rdoc:
|