rod 0.7.4.0 → 0.7.4.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +5 -5
- data/lib/rod/berkeley/database.rb +0 -3
- data/lib/rod/berkeley/environment.rb +0 -1
- data/lib/rod/berkeley/transaction.rb +0 -1
- data/lib/rod/constants.rb +1 -1
- data/lib/rod/index/hash_index.rb +2 -6
- metadata +71 -69
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
|
-
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
2
|
+
!binary "U0hBMQ==":
|
3
|
+
metadata.gz: 8ef1038190c933014f9e10064aedec2cf43beeeb
|
4
|
+
data.tar.gz: d819dbddefe0137bbb0083f83758408b569e7c53
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 33429ef41e14881be813348e29c2b72d1dcd4544ab15033b4870c313e7e53eaab739173a5d903b766380f631870aec6a38e409f1645c4f897b2de889d8d70d73
|
7
|
+
data.tar.gz: 412090427a79f0ed967259abe25cc39619095b79ec1ac2b48aa2ce4de1d42e4a83086e0d6cc5670497347cb341c19ab451bed55f383c033897ac6102986c705b
|
@@ -140,7 +140,6 @@ module Rod
|
|
140
140
|
|void _open(const char * path, VALUE method, VALUE options){
|
141
141
|
| DB_ENV * env_pointer;
|
142
142
|
| DB * db_pointer;
|
143
|
-
| DBTYPE access_method;
|
144
143
|
| u_int32_t flags;
|
145
144
|
| int return_value;
|
146
145
|
| VALUE environment;
|
@@ -222,7 +221,6 @@ module Rod
|
|
222
221
|
|*/
|
223
222
|
|void _close(){
|
224
223
|
| DB * db_pointer;
|
225
|
-
| int return_value;
|
226
224
|
|
|
227
225
|
| Data_Get_Struct(self,DB,db_pointer);
|
228
226
|
| db_free(db_pointer);
|
@@ -323,7 +321,6 @@ module Rod
|
|
323
321
|
|*/
|
324
322
|
|VALUE _get_strings(VALUE key, VALUE transaction){
|
325
323
|
| char buffer[1024];
|
326
|
-
| VALUE result;
|
327
324
|
| unsigned int size;
|
328
325
|
|
|
329
326
|
| size = _get(self,RSTRING_PTR(key),RSTRING_LEN(key),buffer,1024,transaction);
|
data/lib/rod/constants.rb
CHANGED
data/lib/rod/index/hash_index.rb
CHANGED
@@ -164,8 +164,6 @@ module Rod
|
|
164
164
|
def self.convert_key
|
165
165
|
str =<<-END
|
166
166
|
|void _convert_key(VALUE key, DBT *db_key_p){
|
167
|
-
| long int_key;
|
168
|
-
| double float_key;
|
169
167
|
| DBT db_key;
|
170
168
|
|
|
171
169
|
| db_key = *db_key_p;
|
@@ -232,7 +230,7 @@ module Rod
|
|
232
230
|
| DBT db_key, db_value;
|
233
231
|
| DBC *cursor;
|
234
232
|
| unsigned long rod_id, index;
|
235
|
-
| VALUE key,
|
233
|
+
| VALUE key, cursor_object;
|
236
234
|
| int return_value;
|
237
235
|
|
|
238
236
|
| index = 0;
|
@@ -280,7 +278,6 @@ module Rod
|
|
280
278
|
| DBT db_key, db_value;
|
281
279
|
| DBC *cursor;
|
282
280
|
| int return_value;
|
283
|
-
| rod_entry_struct *entry;
|
284
281
|
| VALUE key;
|
285
282
|
|
|
286
283
|
| Data_Get_Struct(cursor_object,DBC,cursor);
|
@@ -399,7 +396,7 @@ module Rod
|
|
399
396
|
| VALUE handle;
|
400
397
|
| DB *db_pointer;
|
401
398
|
| DBC *cursor;
|
402
|
-
| VALUE
|
399
|
+
| VALUE cursor_object;
|
403
400
|
|
|
404
401
|
| handle = rb_iv_get(self,"@handle");
|
405
402
|
| Data_Get_Struct(handle,DB,db_pointer);
|
@@ -450,7 +447,6 @@ module Rod
|
|
450
447
|
| DB *db_pointer;
|
451
448
|
| DBT db_key, db_value;
|
452
449
|
| unsigned long rod_id;
|
453
|
-
| VALUE result;
|
454
450
|
| int return_value;
|
455
451
|
|
|
456
452
|
| handle = rb_iv_get(self,"@handle");
|
metadata
CHANGED
@@ -1,216 +1,217 @@
|
|
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.1
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Aleksander Pohl
|
8
|
-
autorequire:
|
8
|
+
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2015-
|
11
|
+
date: 2015-06-15 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
|
+
prerelease: false
|
25
|
+
version_requirements: !ruby/object:Gem::Requirement
|
24
26
|
requirements:
|
25
|
-
- - '>='
|
27
|
+
- - ! '>='
|
26
28
|
- !ruby/object:Gem::Version
|
27
29
|
version: 3.10.0
|
28
30
|
- - <
|
29
31
|
- !ruby/object:Gem::Version
|
30
32
|
version: 4.0.0
|
31
|
-
prerelease: false
|
32
|
-
type: :runtime
|
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
39
|
version: 0.5.0
|
40
40
|
- - <
|
41
41
|
- !ruby/object:Gem::Version
|
42
42
|
version: 0.6.0
|
43
|
-
|
43
|
+
type: :runtime
|
44
|
+
prerelease: false
|
45
|
+
version_requirements: !ruby/object:Gem::Requirement
|
44
46
|
requirements:
|
45
|
-
- - '>='
|
47
|
+
- - ! '>='
|
46
48
|
- !ruby/object:Gem::Version
|
47
49
|
version: 0.5.0
|
48
50
|
- - <
|
49
51
|
- !ruby/object:Gem::Version
|
50
52
|
version: 0.6.0
|
51
|
-
prerelease: false
|
52
|
-
type: :runtime
|
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
|
+
prerelease: false
|
65
|
+
version_requirements: !ruby/object:Gem::Requirement
|
64
66
|
requirements:
|
65
67
|
- - ~>
|
66
68
|
- !ruby/object:Gem::Version
|
67
69
|
version: '3.2'
|
68
|
-
- - '>='
|
70
|
+
- - ! '>='
|
69
71
|
- !ruby/object:Gem::Version
|
70
72
|
version: 3.2.2
|
71
|
-
prerelease: false
|
72
|
-
type: :runtime
|
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
|
+
prerelease: false
|
85
|
+
version_requirements: !ruby/object:Gem::Requirement
|
84
86
|
requirements:
|
85
|
-
- - '>='
|
87
|
+
- - ! '>='
|
86
88
|
- !ruby/object:Gem::Version
|
87
89
|
version: 1.5.0
|
88
90
|
- - <
|
89
91
|
- !ruby/object:Gem::Version
|
90
92
|
version: 1.6.0
|
91
|
-
prerelease: false
|
92
|
-
type: :runtime
|
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
|
+
prerelease: false
|
105
|
+
version_requirements: !ruby/object:Gem::Requirement
|
104
106
|
requirements:
|
105
|
-
- - '>='
|
107
|
+
- - ! '>='
|
106
108
|
- !ruby/object:Gem::Version
|
107
109
|
version: 1.0.5
|
108
110
|
- - <
|
109
111
|
- !ruby/object:Gem::Version
|
110
112
|
version: 2.0.0
|
111
|
-
prerelease: false
|
112
|
-
type: :runtime
|
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
|
+
prerelease: false
|
125
|
+
version_requirements: !ruby/object:Gem::Requirement
|
124
126
|
requirements:
|
125
127
|
- - ~>
|
126
128
|
- !ruby/object:Gem::Version
|
127
129
|
version: '1.0'
|
128
|
-
- - '>='
|
130
|
+
- - ! '>='
|
129
131
|
- !ruby/object:Gem::Version
|
130
132
|
version: 1.0.0
|
131
|
-
prerelease: false
|
132
|
-
type: :development
|
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
|
+
prerelease: false
|
145
|
+
version_requirements: !ruby/object:Gem::Requirement
|
144
146
|
requirements:
|
145
|
-
- - '>='
|
147
|
+
- - ! '>='
|
146
148
|
- !ruby/object:Gem::Version
|
147
149
|
version: 2.2.0
|
148
150
|
- - <
|
149
151
|
- !ruby/object:Gem::Version
|
150
152
|
version: 2.3.0
|
151
|
-
prerelease: false
|
152
|
-
type: :development
|
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
|
+
prerelease: false
|
165
|
+
version_requirements: !ruby/object:Gem::Requirement
|
164
166
|
requirements:
|
165
|
-
- - '>='
|
167
|
+
- - ! '>='
|
166
168
|
- !ruby/object:Gem::Version
|
167
169
|
version: 0.9.0
|
168
170
|
- - <
|
169
171
|
- !ruby/object:Gem::Version
|
170
172
|
version: 1.0.0
|
171
|
-
prerelease: false
|
172
|
-
type: :development
|
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
|
+
prerelease: false
|
185
|
+
version_requirements: !ruby/object:Gem::Requirement
|
184
186
|
requirements:
|
185
187
|
- - ~>
|
186
188
|
- !ruby/object:Gem::Version
|
187
189
|
version: '4.0'
|
188
|
-
- - '>='
|
190
|
+
- - ! '>='
|
189
191
|
- !ruby/object:Gem::Version
|
190
192
|
version: 4.0.0
|
191
|
-
prerelease: false
|
192
|
-
type: :development
|
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
|
+
prerelease: false
|
205
|
+
version_requirements: !ruby/object:Gem::Requirement
|
204
206
|
requirements:
|
205
207
|
- - ~>
|
206
208
|
- !ruby/object:Gem::Version
|
207
209
|
version: '0.9'
|
208
|
-
- - '>='
|
210
|
+
- - ! '>='
|
209
211
|
- !ruby/object:Gem::Version
|
210
212
|
version: 0.9.12
|
211
|
-
|
212
|
-
|
213
|
-
description: Ruby Object Database is designed for large amounts of data, whose structure rarely changes.
|
213
|
+
description: Ruby Object Database is designed for large amounts of data, whose structure
|
214
|
+
rarely changes.
|
214
215
|
email:
|
215
216
|
- apohllo@o2.pl
|
216
217
|
executables: []
|
@@ -332,7 +333,7 @@ homepage: http://github.com/apohllo/rod
|
|
332
333
|
licenses:
|
333
334
|
- http://opensource.org/licenses/MIT
|
334
335
|
metadata: {}
|
335
|
-
post_install_message:
|
336
|
+
post_install_message:
|
336
337
|
rdoc_options:
|
337
338
|
- --main
|
338
339
|
- README.rdoc
|
@@ -340,18 +341,19 @@ require_paths:
|
|
340
341
|
- lib
|
341
342
|
required_ruby_version: !ruby/object:Gem::Requirement
|
342
343
|
requirements:
|
343
|
-
- - '>='
|
344
|
+
- - ! '>='
|
344
345
|
- !ruby/object:Gem::Version
|
345
346
|
version: 1.9.2
|
346
347
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
347
348
|
requirements:
|
348
|
-
- - '>='
|
349
|
+
- - ! '>='
|
349
350
|
- !ruby/object:Gem::Version
|
350
351
|
version: '0'
|
351
352
|
requirements: []
|
352
353
|
rubyforge_project: rod
|
353
|
-
rubygems_version: 2.
|
354
|
-
signing_key:
|
354
|
+
rubygems_version: 2.2.2
|
355
|
+
signing_key:
|
355
356
|
specification_version: 4
|
356
357
|
summary: Ruby Object Database
|
357
358
|
test_files: []
|
359
|
+
has_rdoc:
|