rod 0.7.3.0 → 0.7.4.0

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
- !binary "U0hBMQ==":
3
- metadata.gz: 5696079b9fc14e12da61535396f3a74d84cce085
4
- data.tar.gz: 2702498d0fbd8c92471244edd7a1afb64423ca72
2
+ SHA1:
3
+ metadata.gz: 1768fb8fe46b1bddd6b539d98768f745b26bb7af
4
+ data.tar.gz: a4e2f7407df7b62bd52a34da8b817b921994de40
5
5
  SHA512:
6
- metadata.gz: 7a5c84069b27b1eb23292eb51037d924e67460dc0b039e20b3fa913d70c51c08f4b87fe5111b4a96e537855b6f6c990bb25b2612cd65913b703373b0f7864a82
7
- data.tar.gz: 99bd274f39274c8b8bb09695d26071da27734bc69b64932b54014501cda0c7e87f5e412f2367461afc41f78b2fa632a050215f7a1a3db1f8ccd0ef91edeff168
6
+ metadata.gz: 2c36c36db2e218615096b9c23ef7662163e1e8ea2af2e70686655d3e5a89c49b85389915a9fa7442145b3f1a2207b7013fa38c94e4627599c8fdfd9299f0384c
7
+ data.tar.gz: c1ddc8783edf657c278c4131578ef6a5cf10710043c50c1284edad1410fcdc9f2ad1a746ab203c6e56fa7203a1965f560437dce33e9d91432958001c9f3cf4b8
data/lib/rod/constants.rb CHANGED
@@ -1,5 +1,5 @@
1
1
  module Rod
2
- VERSION = "0.7.3.0"
2
+ VERSION = "0.7.4.0"
3
3
 
4
4
  # The name of file containing the data base.
5
5
  DATABASE_FILE = "database.yml"
data/lib/rod/database.rb CHANGED
@@ -249,7 +249,7 @@ module Rod
249
249
  END
250
250
  builder.c(str.margin)
251
251
 
252
- str =<<-END
252
+ builder.c(<<-END.margin)
253
253
  |VALUE _polymorphic_join_element_index(unsigned long element_offset,
254
254
  | unsigned long element_index, VALUE handler){
255
255
  | #{model_struct} * model_p;
@@ -266,9 +266,8 @@ module Rod
266
266
  | return ULONG2NUM(result);
267
267
  |}
268
268
  END
269
- builder.c(str.margin)
270
269
 
271
- str =<<-END
270
+ builder.c(<<-END.margin)
272
271
  |VALUE _polymorphic_join_element_class(unsigned long element_offset,
273
272
  | unsigned long element_index, VALUE handler){
274
273
  | #{model_struct} * model_p;
@@ -285,9 +284,8 @@ module Rod
285
284
  | return ULONG2NUM(result);
286
285
  |}
287
286
  END
288
- builder.c(str.margin)
289
287
 
290
- str =<<-END
288
+ builder.c(<<-END.margin)
291
289
  |void _set_join_element_offset(unsigned long element_offset,
292
290
  | unsigned long element_index, unsigned long offset,
293
291
  | VALUE handler){
@@ -296,10 +294,6 @@ module Rod
296
294
  |
297
295
  | Data_Get_Struct(handler,#{model_struct},model_p);
298
296
  | element_p = model_p->_join_element_table + element_offset + element_index;
299
- | if(element_p->index != element_index){
300
- | rb_raise(rodException(), "Join element indices are inconsistent: %lu %lu!",
301
- | element_index, element_p->index);
302
- | }
303
297
  |#ifdef __BYTE_ORDER
304
298
  |# if __BYTE_ORDER == __BIG_ENDIAN
305
299
  | offset = bswap_64(offset);
@@ -308,9 +302,8 @@ module Rod
308
302
  | element_p->offset = offset;
309
303
  |}
310
304
  END
311
- builder.c(str.margin)
312
305
 
313
- str =<<-END
306
+ builder.c(<<-END.margin)
314
307
  |void _set_polymorphic_join_element_offset(unsigned long element_offset,
315
308
  | unsigned long element_index, unsigned long offset, unsigned long class_id,
316
309
  | VALUE handler){
@@ -319,10 +312,6 @@ module Rod
319
312
  |
320
313
  | Data_Get_Struct(handler,#{model_struct},model_p);
321
314
  | element_p = model_p->_polymorphic_join_element_table + element_offset + element_index;
322
- | if(element_p->index != element_index){
323
- | rb_raise(rodException(), "Polymorphic join element indices are inconsistent: %lu %lu!",
324
- | element_index, element_p->index);
325
- | }
326
315
  |#ifdef __BYTE_ORDER
327
316
  |# if __BYTE_ORDER == __BIG_ENDIAN
328
317
  | offset = bswap_64(offset);
@@ -333,9 +322,8 @@ module Rod
333
322
  | element_p->class = class_id;
334
323
  |}
335
324
  END
336
- builder.c(str.margin)
337
325
 
338
- str =<<-END
326
+ builder.c(<<-END.margin)
339
327
  |unsigned long _allocate_join_elements(unsigned long size, VALUE handler){
340
328
  | _join_element * element;
341
329
  | unsigned long index;
@@ -351,15 +339,13 @@ module Rod
351
339
  | }
352
340
  | element = model_p->_join_element_table + model_p->_join_element_count;
353
341
  | model_p->_join_element_count++;
354
- | element->index = index;
355
342
  | element->offset = 0;
356
343
  | }
357
344
  | return result;
358
345
  |}
359
346
  END
360
- builder.c(str.margin)
361
347
 
362
- str =<<-END
348
+ builder.c(<<-END.margin)
363
349
  |unsigned long _allocate_polymorphic_join_elements(unsigned long size, VALUE handler){
364
350
  | _polymorphic_join_element * element;
365
351
  | unsigned long index;
@@ -377,16 +363,14 @@ module Rod
377
363
  | element = model_p->_polymorphic_join_element_table +
378
364
  | model_p->_polymorphic_join_element_count;
379
365
  | model_p->_polymorphic_join_element_count++;
380
- | element->index = index;
381
366
  | element->offset = 0;
382
367
  | element->class = 0;
383
368
  | }
384
369
  | return result;
385
370
  |}
386
371
  END
387
- builder.c(str.margin)
388
372
 
389
- str =<<-END
373
+ builder.c(<<-END.margin)
390
374
  |VALUE _fast_intersection_size(unsigned long first_offset,
391
375
  | unsigned long first_length, unsigned long second_offset,
392
376
  | unsigned long second_length, VALUE handler){
@@ -418,12 +402,11 @@ module Rod
418
402
  | return ULONG2NUM(count);
419
403
  |}
420
404
  END
421
- builder.c(str.margin)
422
405
 
423
406
  #########################################
424
407
  # Strings
425
408
  #########################################
426
- str =<<-END
409
+ builder.c(<<-END.margin)
427
410
  |VALUE _read_string(unsigned long length, unsigned long offset, VALUE handler){
428
411
  | #{model_struct} * model_p;
429
412
  | char * str;
@@ -433,9 +416,8 @@ module Rod
433
416
  | return rb_str_new(str, length);
434
417
  |}
435
418
  END
436
- builder.c(str.margin)
437
419
 
438
- str =<<-END
420
+ builder.c(<<-END.margin)
439
421
  |// The first argument is the string to be stored.
440
422
  |// The return value is a pair: length and offset.
441
423
  |VALUE _set_string(VALUE ruby_value, VALUE handler){
@@ -484,7 +466,6 @@ module Rod
484
466
  | return result;
485
467
  |}
486
468
  END
487
- builder.c(str.margin)
488
469
 
489
470
  #########################################
490
471
  # Object accessors
@@ -505,29 +486,24 @@ module Rod
505
486
  #########################################
506
487
  classes.each do |klass|
507
488
  next if special_class?(klass)
508
- str =<<-END
489
+ builder.c(<<-END.margin)
509
490
  |// Store the object in the database.
510
491
  |void _store_#{klass.struct_name}(VALUE object, VALUE handler){
511
492
  | #{model_struct} * model_p;
512
- | #{klass.struct_name} * struct_p;
513
493
  |
514
494
  | Data_Get_Struct(handler,#{model_struct},model_p);
515
495
  | if((model_p->#{klass.struct_name}_count+1) * sizeof(#{klass.struct_name}) >=
516
496
  | model_p->#{klass.struct_name}_page_count * page_size()){
517
497
  | \n#{mmap_class(klass)}
518
498
  | }
519
- | struct_p = model_p->#{klass.struct_name}_table +
520
- | model_p->#{klass.struct_name}_count;
521
499
  | //printf("struct assigned\\n");
522
500
  | model_p->#{klass.struct_name}_count++;
523
501
  |
524
502
  | //the number is incresed by 1, because 0 indicates that the
525
503
  | //(referenced) object is nil
526
- | struct_p->rod_id = model_p->#{klass.struct_name}_count;
527
- | rb_iv_set(object, \"@rod_id\",ULONG2NUM(struct_p->rod_id));
504
+ | rb_iv_set(object, \"@rod_id\",ULONG2NUM(model_p->#{klass.struct_name}_count));
528
505
  |}
529
506
  END
530
- builder.c(str.margin)
531
507
  end
532
508
 
533
509
  #########################################
@@ -575,7 +551,7 @@ module Rod
575
551
  #########################################
576
552
  # open
577
553
  #########################################
578
- str =<<-END
554
+ builder.c(<<-END.margin)
579
555
  |void _open(VALUE handler){
580
556
  | #{model_struct} * model_p;
581
557
  |
@@ -600,12 +576,11 @@ module Rod
600
576
  end.join("\n")}
601
577
  |}
602
578
  END
603
- builder.c(str.margin)
604
579
 
605
580
  #########################################
606
581
  # close
607
582
  #########################################
608
- str =<<-END
583
+ builder.c(<<-END.margin)
609
584
  |// if +classes+ are Qnil, the DB was open in readonly mode.
610
585
  |void _close(VALUE handler){
611
586
  | #{model_struct} * model_p;
@@ -629,7 +604,6 @@ module Rod
629
604
  end.join("\n")}
630
605
  |}
631
606
  END
632
- builder.c(str.margin)
633
607
 
634
608
 
635
609
  #########################################
@@ -657,19 +631,17 @@ module Rod
657
631
  END
658
632
  builder.c(str.margin)
659
633
 
660
- str =<<-END
634
+ builder.c(<<-END.margin)
661
635
  |void _print_system_error(){
662
636
  | perror(NULL);
663
637
  |}
664
638
  END
665
- builder.c(str.margin)
666
639
 
667
- str =<<-END
640
+ builder.c(<<-END.margin)
668
641
  |unsigned int _page_size(){
669
642
  | return page_size();
670
643
  |}
671
644
  END
672
- builder.c(str.margin)
673
645
 
674
646
  if @@rod_development_mode
675
647
  # This method is created to force rebuild of the C code, since
@@ -687,7 +659,7 @@ module Rod
687
659
 
688
660
  # Reads the value of a specified field of the C-structure.
689
661
  def self.field_reader(name,result_type,builder,model_struct)
690
- str =<<-END
662
+ builder.c(<<-END.margin)
691
663
  |#{result_type} _#{name}(VALUE handler){
692
664
  | #{model_struct} * model_p;
693
665
  |
@@ -695,12 +667,11 @@ module Rod
695
667
  | return model_p->#{name};
696
668
  |}
697
669
  END
698
- builder.c(str.margin)
699
670
  end
700
671
 
701
672
  # Writes the value of a specified field of the C-structure.
702
673
  def self.field_writer(name,arg_type,builder,model_struct)
703
- str =<<-END
674
+ builder.c(<<-END.margin)
704
675
  |void _#{name}_equals(VALUE handler,#{arg_type} value){
705
676
  | #{model_struct} * model_p;
706
677
  |
@@ -708,11 +679,10 @@ module Rod
708
679
  | model_p->#{name} = value;
709
680
  |}
710
681
  END
711
- builder.c(str.margin)
712
682
  end
713
683
 
714
684
  def self.rod_exception
715
- str =<<-END
685
+ <<-END.margin
716
686
  |VALUE rodException(){
717
687
  | VALUE klass;
718
688
  |
@@ -721,7 +691,6 @@ module Rod
721
691
  | return klass;
722
692
  |}
723
693
  END
724
- str.margin
725
694
  end
726
695
  end
727
696
  end
@@ -6,15 +6,13 @@ module Rod
6
6
  str = <<-END
7
7
  |typedef struct {
8
8
  | unsigned long offset;
9
- | unsigned long index;
10
9
  |} _join_element;
11
10
  END
12
11
  str.margin
13
12
  end
14
13
 
15
14
  def self.layout
16
- ' printf(" offset: %lu, index: %lu\n",' +
17
- '(unsigned long)sizeof(unsigned long), ' +
15
+ ' printf(" offset: %lu' +
18
16
  '(unsigned long)sizeof(unsigned long));' + "\n"
19
17
  end
20
18
 
@@ -28,7 +26,6 @@ module Rod
28
26
  str = <<-END
29
27
  |typedef struct {
30
28
  | unsigned long offset;
31
- | unsigned long index;
32
29
  | unsigned long class;
33
30
  |} _polymorphic_join_element;
34
31
  END
@@ -40,8 +37,7 @@ module Rod
40
37
  end
41
38
 
42
39
  def self.layout
43
- ' printf(" offset: %lu, index: %lu, class: %lu\n",' +
44
- '(unsigned long)sizeof(unsigned long), ' +
40
+ ' printf(" offset: %lu, class: %lu\n",' +
45
41
  '(unsigned long)sizeof(unsigned long), ' +
46
42
  '(unsigned long)sizeof(unsigned long));' + "\n"
47
43
  end
data/lib/rod/model.rb CHANGED
@@ -52,6 +52,11 @@ module Rod
52
52
  object
53
53
  end
54
54
 
55
+ # Return the ROD identifier of the object.
56
+ def rod_id
57
+ @rod_id
58
+ end
59
+
55
60
  #########################################################################
56
61
  # Public API
57
62
  #########################################################################
@@ -171,7 +176,6 @@ module Rod
171
176
  # Sets the default values for fields.
172
177
  def initialize_fields
173
178
  self.class.fields.each do |field|
174
- next if field.name == :rod_id
175
179
  send("#{field.name}=",field.default_value)
176
180
  end
177
181
  end
@@ -365,7 +369,7 @@ module Rod
365
369
  # Returns the fields of this class.
366
370
  def self.fields
367
371
  if self == Rod::Model
368
- @fields ||= [Property::Field.new(self,:rod_id,:ulong)]
372
+ @fields ||= []
369
373
  else
370
374
  @fields ||= superclass.fields.map{|p| p.copy(self)}
371
375
  end
@@ -58,15 +58,12 @@ module RodTest
58
58
  assert AStruct.property(:a2).options[:index]
59
59
  assert AStruct.property(:a2).options[:index] == :flat
60
60
 
61
- assert AStruct.property(:rod_id)
62
-
63
61
  assert AStruct.property(:b_structs)
64
62
  assert AStruct.property(:b_structs).options[:class_name]
65
63
  assert AStruct.property(:b_structs).options[:class_name] == "RodTest::BStruct"
66
64
 
67
65
  # B
68
66
  assert BStruct.property(:a_struct)
69
- assert BStruct.property(:rod_id)
70
67
  end
71
68
  end
72
69
 
metadata CHANGED
@@ -1,217 +1,216 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: rod
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.7.3.0
4
+ version: 0.7.4.0
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-05-19 00:00:00.000000000 Z
11
+ date: 2015-05-21 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: RubyInline
15
- requirement: !ruby/object:Gem::Requirement
15
+ version_requirements: !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
- type: :runtime
24
- prerelease: false
25
- version_requirements: !ruby/object:Gem::Requirement
23
+ requirement: !ruby/object:Gem::Requirement
26
24
  requirements:
27
- - - ! '>='
25
+ - - '>='
28
26
  - !ruby/object:Gem::Version
29
27
  version: 3.10.0
30
28
  - - <
31
29
  - !ruby/object:Gem::Version
32
30
  version: 4.0.0
31
+ prerelease: false
32
+ type: :runtime
33
33
  - !ruby/object:Gem::Dependency
34
34
  name: english
35
- requirement: !ruby/object:Gem::Requirement
35
+ version_requirements: !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
- type: :runtime
44
- prerelease: false
45
- version_requirements: !ruby/object:Gem::Requirement
43
+ requirement: !ruby/object:Gem::Requirement
46
44
  requirements:
47
- - - ! '>='
45
+ - - '>='
48
46
  - !ruby/object:Gem::Version
49
47
  version: 0.5.0
50
48
  - - <
51
49
  - !ruby/object:Gem::Version
52
50
  version: 0.6.0
51
+ prerelease: false
52
+ type: :runtime
53
53
  - !ruby/object:Gem::Dependency
54
54
  name: activemodel
55
- requirement: !ruby/object:Gem::Requirement
55
+ version_requirements: !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
- type: :runtime
64
- prerelease: false
65
- version_requirements: !ruby/object:Gem::Requirement
63
+ requirement: !ruby/object:Gem::Requirement
66
64
  requirements:
67
65
  - - ~>
68
66
  - !ruby/object:Gem::Version
69
67
  version: '3.2'
70
- - - ! '>='
68
+ - - '>='
71
69
  - !ruby/object:Gem::Version
72
70
  version: 3.2.2
71
+ prerelease: false
72
+ type: :runtime
73
73
  - !ruby/object:Gem::Dependency
74
74
  name: bsearch
75
- requirement: !ruby/object:Gem::Requirement
75
+ version_requirements: !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
- type: :runtime
84
- prerelease: false
85
- version_requirements: !ruby/object:Gem::Requirement
83
+ requirement: !ruby/object:Gem::Requirement
86
84
  requirements:
87
- - - ! '>='
85
+ - - '>='
88
86
  - !ruby/object:Gem::Version
89
87
  version: 1.5.0
90
88
  - - <
91
89
  - !ruby/object:Gem::Version
92
90
  version: 1.6.0
91
+ prerelease: false
92
+ type: :runtime
93
93
  - !ruby/object:Gem::Dependency
94
94
  name: ref
95
- requirement: !ruby/object:Gem::Requirement
95
+ version_requirements: !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
- type: :runtime
104
- prerelease: false
105
- version_requirements: !ruby/object:Gem::Requirement
103
+ requirement: !ruby/object:Gem::Requirement
106
104
  requirements:
107
- - - ! '>='
105
+ - - '>='
108
106
  - !ruby/object:Gem::Version
109
107
  version: 1.0.5
110
108
  - - <
111
109
  - !ruby/object:Gem::Version
112
110
  version: 2.0.0
111
+ prerelease: false
112
+ type: :runtime
113
113
  - !ruby/object:Gem::Dependency
114
114
  name: cucumber
115
- requirement: !ruby/object:Gem::Requirement
115
+ version_requirements: !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
- type: :development
124
- prerelease: false
125
- version_requirements: !ruby/object:Gem::Requirement
123
+ requirement: !ruby/object:Gem::Requirement
126
124
  requirements:
127
125
  - - ~>
128
126
  - !ruby/object:Gem::Version
129
127
  version: '1.0'
130
- - - ! '>='
128
+ - - '>='
131
129
  - !ruby/object:Gem::Version
132
130
  version: 1.0.0
131
+ prerelease: false
132
+ type: :development
133
133
  - !ruby/object:Gem::Dependency
134
134
  name: rspec
135
- requirement: !ruby/object:Gem::Requirement
135
+ version_requirements: !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
- type: :development
144
- prerelease: false
145
- version_requirements: !ruby/object:Gem::Requirement
143
+ requirement: !ruby/object:Gem::Requirement
146
144
  requirements:
147
- - - ! '>='
145
+ - - '>='
148
146
  - !ruby/object:Gem::Version
149
147
  version: 2.2.0
150
148
  - - <
151
149
  - !ruby/object:Gem::Version
152
150
  version: 2.3.0
151
+ prerelease: false
152
+ type: :development
153
153
  - !ruby/object:Gem::Dependency
154
154
  name: rake
155
- requirement: !ruby/object:Gem::Requirement
155
+ version_requirements: !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
- type: :development
164
- prerelease: false
165
- version_requirements: !ruby/object:Gem::Requirement
163
+ requirement: !ruby/object:Gem::Requirement
166
164
  requirements:
167
- - - ! '>='
165
+ - - '>='
168
166
  - !ruby/object:Gem::Version
169
167
  version: 0.9.0
170
168
  - - <
171
169
  - !ruby/object:Gem::Version
172
170
  version: 1.0.0
171
+ prerelease: false
172
+ type: :development
173
173
  - !ruby/object:Gem::Dependency
174
174
  name: minitest
175
- requirement: !ruby/object:Gem::Requirement
175
+ version_requirements: !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
- type: :development
184
- prerelease: false
185
- version_requirements: !ruby/object:Gem::Requirement
183
+ requirement: !ruby/object:Gem::Requirement
186
184
  requirements:
187
185
  - - ~>
188
186
  - !ruby/object:Gem::Version
189
187
  version: '4.0'
190
- - - ! '>='
188
+ - - '>='
191
189
  - !ruby/object:Gem::Version
192
190
  version: 4.0.0
191
+ prerelease: false
192
+ type: :development
193
193
  - !ruby/object:Gem::Dependency
194
194
  name: mocha
195
- requirement: !ruby/object:Gem::Requirement
195
+ version_requirements: !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
- type: :development
204
- prerelease: false
205
- version_requirements: !ruby/object:Gem::Requirement
203
+ requirement: !ruby/object:Gem::Requirement
206
204
  requirements:
207
205
  - - ~>
208
206
  - !ruby/object:Gem::Version
209
207
  version: '0.9'
210
- - - ! '>='
208
+ - - '>='
211
209
  - !ruby/object:Gem::Version
212
210
  version: 0.9.12
213
- description: Ruby Object Database is designed for large amounts of data, whose structure
214
- rarely changes.
211
+ prerelease: false
212
+ type: :development
213
+ description: Ruby Object Database is designed for large amounts of data, whose structure rarely changes.
215
214
  email:
216
215
  - apohllo@o2.pl
217
216
  executables: []
@@ -333,7 +332,7 @@ homepage: http://github.com/apohllo/rod
333
332
  licenses:
334
333
  - http://opensource.org/licenses/MIT
335
334
  metadata: {}
336
- post_install_message:
335
+ post_install_message:
337
336
  rdoc_options:
338
337
  - --main
339
338
  - README.rdoc
@@ -341,19 +340,18 @@ require_paths:
341
340
  - lib
342
341
  required_ruby_version: !ruby/object:Gem::Requirement
343
342
  requirements:
344
- - - ! '>='
343
+ - - '>='
345
344
  - !ruby/object:Gem::Version
346
345
  version: 1.9.2
347
346
  required_rubygems_version: !ruby/object:Gem::Requirement
348
347
  requirements:
349
- - - ! '>='
348
+ - - '>='
350
349
  - !ruby/object:Gem::Version
351
350
  version: '0'
352
351
  requirements: []
353
352
  rubyforge_project: rod
354
- rubygems_version: 2.2.2
355
- signing_key:
353
+ rubygems_version: 2.1.9
354
+ signing_key:
356
355
  specification_version: 4
357
356
  summary: Ruby Object Database
358
357
  test_files: []
359
- has_rdoc: