earth 0.3.9 → 0.3.10
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- data/Gemfile +5 -0
- data/Gemfile.lock +58 -20
- data/features/automobile_fuel_type.feature +44 -0
- data/features/automobile_make.feature +24 -0
- data/features/automobile_make_fleet_year.feature +44 -0
- data/features/automobile_make_model.feature +24 -0
- data/features/automobile_make_model_year.feature +34 -0
- data/features/automobile_make_model_year_variant.feature +46 -0
- data/features/automobile_make_year.feature +44 -0
- data/features/automobile_size_class.feature +59 -0
- data/features/bus_class.feature +69 -0
- data/features/carrier.feature +64 -0
- data/features/carrier_mode.feature +74 -0
- data/features/egrid_region.feature +14 -0
- data/features/egrid_subregion.feature +36 -0
- data/features/rail_class.feature +64 -0
- data/features/shipment_mode.feature +34 -0
- data/features/support/env.rb +7 -0
- data/features/support/imports/automobile_fuel_type_bad.csv +3 -0
- data/features/support/imports/automobile_fuel_type_good.csv +3 -0
- data/features/support/imports/automobile_make_bad.csv +3 -0
- data/features/support/imports/automobile_make_fleet_year_bad.csv +3 -0
- data/features/support/imports/automobile_make_fleet_year_good.csv +3 -0
- data/features/support/imports/automobile_make_good.csv +3 -0
- data/features/support/imports/automobile_make_model_bad.csv +3 -0
- data/features/support/imports/automobile_make_model_good.csv +3 -0
- data/features/support/imports/automobile_make_model_year_bad.csv +3 -0
- data/features/support/imports/automobile_make_model_year_good.csv +3 -0
- data/features/support/imports/automobile_make_model_year_variant_bad.csv +3 -0
- data/features/support/imports/automobile_make_model_year_variant_good.csv +3 -0
- data/features/support/imports/automobile_make_year_bad.csv +3 -0
- data/features/support/imports/automobile_make_year_good.csv +3 -0
- data/features/support/imports/automobile_size_class_bad.csv +3 -0
- data/features/support/imports/automobile_size_class_good.csv +3 -0
- data/features/support/imports/bus_class_bad.csv +3 -0
- data/features/support/imports/bus_class_good.csv +3 -0
- data/features/support/imports/carrier_bad.csv +3 -0
- data/features/support/imports/carrier_good.csv +3 -0
- data/features/support/imports/carrier_mode_bad.csv +3 -0
- data/features/support/imports/carrier_mode_good.csv +3 -0
- data/features/support/imports/egrid_region_bad.csv +3 -0
- data/features/support/imports/egrid_region_good.csv +3 -0
- data/features/support/imports/egrid_subregion_bad.csv +3 -0
- data/features/support/imports/egrid_subregion_good.csv +3 -0
- data/features/support/imports/rail_class_bad.csv +3 -0
- data/features/support/imports/rail_class_good.csv +3 -0
- data/features/support/imports/shipment_mode_bad.csv +3 -0
- data/features/support/imports/shipment_mode_good.csv +3 -0
- data/lib/earth/automobile/automobile_fuel_type/data_miner.rb +35 -14
- data/lib/earth/automobile/automobile_make/data_miner.rb +24 -9
- data/lib/earth/automobile/automobile_make_fleet_year/data_miner.rb +32 -1
- data/lib/earth/automobile/automobile_make_model/data_miner.rb +27 -5
- data/lib/earth/automobile/automobile_make_model_year/data_miner.rb +35 -5
- data/lib/earth/automobile/automobile_make_model_year_variant/data_miner.rb +80 -39
- data/lib/earth/automobile/automobile_make_year/data_miner.rb +32 -1
- data/lib/earth/automobile/automobile_size_class/data_miner.rb +67 -4
- data/lib/earth/bus/bus_class/data_miner.rb +73 -0
- data/lib/earth/locality/egrid_region/data_miner.rb +8 -0
- data/lib/earth/locality/egrid_subregion/data_miner.rb +26 -0
- data/lib/earth/rail/rail_class/data_miner.rb +51 -0
- data/lib/earth/shipping/carrier/data_miner.rb +47 -8
- data/lib/earth/shipping/carrier_mode/data_miner.rb +57 -8
- data/lib/earth/shipping/shipment_mode/data_miner.rb +23 -4
- metadata +110 -98
metadata
CHANGED
|
@@ -1,13 +1,12 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: earth
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
hash: 1
|
|
5
4
|
prerelease: false
|
|
6
5
|
segments:
|
|
7
6
|
- 0
|
|
8
7
|
- 3
|
|
9
|
-
-
|
|
10
|
-
version: 0.3.
|
|
8
|
+
- 10
|
|
9
|
+
version: 0.3.10
|
|
11
10
|
platform: ruby
|
|
12
11
|
authors:
|
|
13
12
|
- Seamus Abshere
|
|
@@ -17,220 +16,142 @@ autorequire:
|
|
|
17
16
|
bindir: bin
|
|
18
17
|
cert_chain: []
|
|
19
18
|
|
|
20
|
-
date: 2010-12-
|
|
19
|
+
date: 2010-12-30 00:00:00 -05:00
|
|
21
20
|
default_executable:
|
|
22
21
|
dependencies:
|
|
23
22
|
- !ruby/object:Gem::Dependency
|
|
24
23
|
name: activerecord
|
|
25
|
-
prerelease: false
|
|
26
24
|
requirement: &id001 !ruby/object:Gem::Requirement
|
|
27
25
|
none: false
|
|
28
26
|
requirements:
|
|
29
27
|
- - ~>
|
|
30
28
|
- !ruby/object:Gem::Version
|
|
31
|
-
hash: 5
|
|
32
29
|
segments:
|
|
33
30
|
- 3
|
|
34
31
|
version: "3"
|
|
35
32
|
type: :runtime
|
|
33
|
+
prerelease: false
|
|
36
34
|
version_requirements: *id001
|
|
37
35
|
- !ruby/object:Gem::Dependency
|
|
38
36
|
name: data_miner
|
|
39
|
-
prerelease: false
|
|
40
37
|
requirement: &id002 !ruby/object:Gem::Requirement
|
|
41
38
|
none: false
|
|
42
39
|
requirements:
|
|
43
40
|
- - ~>
|
|
44
41
|
- !ruby/object:Gem::Version
|
|
45
|
-
hash: 7
|
|
46
42
|
segments:
|
|
47
43
|
- 0
|
|
48
44
|
- 5
|
|
49
45
|
- 6
|
|
50
46
|
version: 0.5.6
|
|
51
47
|
type: :runtime
|
|
48
|
+
prerelease: false
|
|
52
49
|
version_requirements: *id002
|
|
53
50
|
- !ruby/object:Gem::Dependency
|
|
54
51
|
name: falls_back_on
|
|
55
|
-
prerelease: false
|
|
56
52
|
requirement: &id003 !ruby/object:Gem::Requirement
|
|
57
53
|
none: false
|
|
58
54
|
requirements:
|
|
59
55
|
- - ">="
|
|
60
56
|
- !ruby/object:Gem::Version
|
|
61
|
-
hash: 25
|
|
62
57
|
segments:
|
|
63
58
|
- 0
|
|
64
59
|
- 0
|
|
65
60
|
- 3
|
|
66
61
|
version: 0.0.3
|
|
67
62
|
type: :runtime
|
|
63
|
+
prerelease: false
|
|
68
64
|
version_requirements: *id003
|
|
69
65
|
- !ruby/object:Gem::Dependency
|
|
70
66
|
name: geokit
|
|
71
|
-
prerelease: false
|
|
72
67
|
requirement: &id004 !ruby/object:Gem::Requirement
|
|
73
68
|
none: false
|
|
74
69
|
requirements:
|
|
75
70
|
- - ">="
|
|
76
71
|
- !ruby/object:Gem::Version
|
|
77
|
-
hash: 3
|
|
78
72
|
segments:
|
|
79
73
|
- 1
|
|
80
74
|
- 5
|
|
81
75
|
- 0
|
|
82
76
|
version: 1.5.0
|
|
83
77
|
type: :runtime
|
|
78
|
+
prerelease: false
|
|
84
79
|
version_requirements: *id004
|
|
85
80
|
- !ruby/object:Gem::Dependency
|
|
86
81
|
name: cohort_scope
|
|
87
|
-
prerelease: false
|
|
88
82
|
requirement: &id005 !ruby/object:Gem::Requirement
|
|
89
83
|
none: false
|
|
90
84
|
requirements:
|
|
91
85
|
- - ">="
|
|
92
86
|
- !ruby/object:Gem::Version
|
|
93
|
-
hash: 17
|
|
94
87
|
segments:
|
|
95
88
|
- 0
|
|
96
89
|
- 0
|
|
97
90
|
- 7
|
|
98
91
|
version: 0.0.7
|
|
99
92
|
type: :runtime
|
|
93
|
+
prerelease: false
|
|
100
94
|
version_requirements: *id005
|
|
101
95
|
- !ruby/object:Gem::Dependency
|
|
102
96
|
name: conversions
|
|
103
|
-
prerelease: false
|
|
104
97
|
requirement: &id006 !ruby/object:Gem::Requirement
|
|
105
98
|
none: false
|
|
106
99
|
requirements:
|
|
107
100
|
- - ">="
|
|
108
101
|
- !ruby/object:Gem::Version
|
|
109
|
-
hash: 13
|
|
110
102
|
segments:
|
|
111
103
|
- 1
|
|
112
104
|
- 4
|
|
113
105
|
- 5
|
|
114
106
|
version: 1.4.5
|
|
115
107
|
type: :runtime
|
|
108
|
+
prerelease: false
|
|
116
109
|
version_requirements: *id006
|
|
117
110
|
- !ruby/object:Gem::Dependency
|
|
118
111
|
name: weighted_average
|
|
119
|
-
prerelease: false
|
|
120
112
|
requirement: &id007 !ruby/object:Gem::Requirement
|
|
121
113
|
none: false
|
|
122
114
|
requirements:
|
|
123
115
|
- - ">="
|
|
124
116
|
- !ruby/object:Gem::Version
|
|
125
|
-
hash: 23
|
|
126
117
|
segments:
|
|
127
118
|
- 0
|
|
128
119
|
- 0
|
|
129
120
|
- 4
|
|
130
121
|
version: 0.0.4
|
|
131
122
|
type: :runtime
|
|
123
|
+
prerelease: false
|
|
132
124
|
version_requirements: *id007
|
|
133
125
|
- !ruby/object:Gem::Dependency
|
|
134
126
|
name: loose_tight_dictionary
|
|
135
|
-
prerelease: false
|
|
136
127
|
requirement: &id008 !ruby/object:Gem::Requirement
|
|
137
128
|
none: false
|
|
138
129
|
requirements:
|
|
139
130
|
- - ">="
|
|
140
131
|
- !ruby/object:Gem::Version
|
|
141
|
-
hash: 15
|
|
142
132
|
segments:
|
|
143
133
|
- 0
|
|
144
134
|
- 0
|
|
145
135
|
- 8
|
|
146
136
|
version: 0.0.8
|
|
147
137
|
type: :runtime
|
|
138
|
+
prerelease: false
|
|
148
139
|
version_requirements: *id008
|
|
149
140
|
- !ruby/object:Gem::Dependency
|
|
150
|
-
name:
|
|
151
|
-
prerelease: false
|
|
141
|
+
name: sniff
|
|
152
142
|
requirement: &id009 !ruby/object:Gem::Requirement
|
|
153
143
|
none: false
|
|
154
144
|
requirements:
|
|
155
145
|
- - ~>
|
|
156
146
|
- !ruby/object:Gem::Version
|
|
157
|
-
hash: 7
|
|
158
|
-
segments:
|
|
159
|
-
- 2
|
|
160
|
-
version: "2"
|
|
161
|
-
type: :development
|
|
162
|
-
version_requirements: *id009
|
|
163
|
-
- !ruby/object:Gem::Dependency
|
|
164
|
-
name: rake
|
|
165
|
-
prerelease: false
|
|
166
|
-
requirement: &id010 !ruby/object:Gem::Requirement
|
|
167
|
-
none: false
|
|
168
|
-
requirements:
|
|
169
|
-
- - ">="
|
|
170
|
-
- !ruby/object:Gem::Version
|
|
171
|
-
hash: 3
|
|
172
147
|
segments:
|
|
173
148
|
- 0
|
|
174
|
-
version: "0"
|
|
175
|
-
type: :development
|
|
176
|
-
version_requirements: *id010
|
|
177
|
-
- !ruby/object:Gem::Dependency
|
|
178
|
-
name: jeweler
|
|
179
|
-
prerelease: false
|
|
180
|
-
requirement: &id011 !ruby/object:Gem::Requirement
|
|
181
|
-
none: false
|
|
182
|
-
requirements:
|
|
183
|
-
- - ~>
|
|
184
|
-
- !ruby/object:Gem::Version
|
|
185
|
-
hash: 7
|
|
186
|
-
segments:
|
|
187
|
-
- 1
|
|
188
149
|
- 4
|
|
189
|
-
|
|
150
|
+
- 11
|
|
151
|
+
version: 0.4.11
|
|
190
152
|
type: :development
|
|
191
|
-
version_requirements: *id011
|
|
192
|
-
- !ruby/object:Gem::Dependency
|
|
193
|
-
name: rcov
|
|
194
153
|
prerelease: false
|
|
195
|
-
|
|
196
|
-
none: false
|
|
197
|
-
requirements:
|
|
198
|
-
- - ">="
|
|
199
|
-
- !ruby/object:Gem::Version
|
|
200
|
-
hash: 3
|
|
201
|
-
segments:
|
|
202
|
-
- 0
|
|
203
|
-
version: "0"
|
|
204
|
-
type: :development
|
|
205
|
-
version_requirements: *id012
|
|
206
|
-
- !ruby/object:Gem::Dependency
|
|
207
|
-
name: rdoc
|
|
208
|
-
prerelease: false
|
|
209
|
-
requirement: &id013 !ruby/object:Gem::Requirement
|
|
210
|
-
none: false
|
|
211
|
-
requirements:
|
|
212
|
-
- - ">="
|
|
213
|
-
- !ruby/object:Gem::Version
|
|
214
|
-
hash: 3
|
|
215
|
-
segments:
|
|
216
|
-
- 0
|
|
217
|
-
version: "0"
|
|
218
|
-
type: :development
|
|
219
|
-
version_requirements: *id013
|
|
220
|
-
- !ruby/object:Gem::Dependency
|
|
221
|
-
name: sqlite3-ruby
|
|
222
|
-
prerelease: false
|
|
223
|
-
requirement: &id014 !ruby/object:Gem::Requirement
|
|
224
|
-
none: false
|
|
225
|
-
requirements:
|
|
226
|
-
- - ">="
|
|
227
|
-
- !ruby/object:Gem::Version
|
|
228
|
-
hash: 3
|
|
229
|
-
segments:
|
|
230
|
-
- 0
|
|
231
|
-
version: "0"
|
|
232
|
-
type: :development
|
|
233
|
-
version_requirements: *id014
|
|
154
|
+
version_requirements: *id009
|
|
234
155
|
description: An earth-simulation environment with ActiveRecord models and data
|
|
235
156
|
email: andy@rossmeissl.net
|
|
236
157
|
executables: []
|
|
@@ -423,8 +344,54 @@ files:
|
|
|
423
344
|
- vendor/geokit-rails/test/schema.rb
|
|
424
345
|
- vendor/geokit-rails/test/tasks.rake
|
|
425
346
|
- vendor/geokit-rails/test/test_helper.rb
|
|
426
|
-
-
|
|
347
|
+
- features/automobile_make_model_year.feature
|
|
348
|
+
- features/automobile_make_year.feature
|
|
349
|
+
- features/shipment_mode.feature
|
|
350
|
+
- features/automobile_make_model_year_variant.feature
|
|
351
|
+
- features/egrid_region.feature
|
|
352
|
+
- features/automobile_make_model.feature
|
|
353
|
+
- features/automobile_fuel_type.feature
|
|
354
|
+
- features/support/imports/automobile_make_year_bad.csv
|
|
355
|
+
- features/support/imports/bus_class_bad.csv
|
|
356
|
+
- features/support/imports/carrier_mode_bad.csv
|
|
357
|
+
- features/support/imports/automobile_make_model_year_variant_good.csv
|
|
358
|
+
- features/support/imports/egrid_region_bad.csv
|
|
359
|
+
- features/support/imports/automobile_make_model_year_bad.csv
|
|
360
|
+
- features/support/imports/automobile_fuel_type_good.csv
|
|
361
|
+
- features/support/imports/carrier_bad.csv
|
|
362
|
+
- features/support/imports/automobile_make_bad.csv
|
|
363
|
+
- features/support/imports/automobile_make_model_year_variant_bad.csv
|
|
364
|
+
- features/support/imports/automobile_size_class_good.csv
|
|
365
|
+
- features/support/imports/shipment_mode_good.csv
|
|
366
|
+
- features/support/imports/automobile_make_fleet_year_bad.csv
|
|
367
|
+
- features/support/imports/automobile_fuel_type_bad.csv
|
|
368
|
+
- features/support/imports/automobile_make_model_good.csv
|
|
369
|
+
- features/support/imports/automobile_make_model_year_good.csv
|
|
370
|
+
- features/support/imports/carrier_good.csv
|
|
371
|
+
- features/support/imports/carrier_mode_good.csv
|
|
372
|
+
- features/support/imports/egrid_subregion_bad.csv
|
|
373
|
+
- features/support/imports/automobile_make_fleet_year_good.csv
|
|
374
|
+
- features/support/imports/bus_class_good.csv
|
|
375
|
+
- features/support/imports/egrid_region_good.csv
|
|
376
|
+
- features/support/imports/shipment_mode_bad.csv
|
|
377
|
+
- features/support/imports/automobile_make_model_bad.csv
|
|
378
|
+
- features/support/imports/rail_class_bad.csv
|
|
379
|
+
- features/support/imports/automobile_make_year_good.csv
|
|
380
|
+
- features/support/imports/automobile_make_good.csv
|
|
381
|
+
- features/support/imports/automobile_size_class_bad.csv
|
|
382
|
+
- features/support/imports/egrid_subregion_good.csv
|
|
383
|
+
- features/support/imports/rail_class_good.csv
|
|
384
|
+
- features/support/env.rb
|
|
385
|
+
- features/automobile_make.feature
|
|
386
|
+
- features/bus_class.feature
|
|
387
|
+
- features/carrier_mode.feature
|
|
388
|
+
- features/automobile_size_class.feature
|
|
389
|
+
- features/rail_class.feature
|
|
390
|
+
- features/egrid_subregion.feature
|
|
391
|
+
- features/carrier.feature
|
|
392
|
+
- features/automobile_make_fleet_year.feature
|
|
427
393
|
- spec/earth_spec.rb
|
|
394
|
+
- spec/earth/air/aircraft_spec.rb
|
|
428
395
|
- spec/spec_helper.rb
|
|
429
396
|
- Gemfile
|
|
430
397
|
- Gemfile.lock
|
|
@@ -442,7 +409,7 @@ required_ruby_version: !ruby/object:Gem::Requirement
|
|
|
442
409
|
requirements:
|
|
443
410
|
- - ">="
|
|
444
411
|
- !ruby/object:Gem::Version
|
|
445
|
-
hash:
|
|
412
|
+
hash: -847600877
|
|
446
413
|
segments:
|
|
447
414
|
- 0
|
|
448
415
|
version: "0"
|
|
@@ -451,7 +418,6 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
|
451
418
|
requirements:
|
|
452
419
|
- - ">="
|
|
453
420
|
- !ruby/object:Gem::Version
|
|
454
|
-
hash: 3
|
|
455
421
|
segments:
|
|
456
422
|
- 0
|
|
457
423
|
version: "0"
|
|
@@ -463,8 +429,54 @@ signing_key:
|
|
|
463
429
|
specification_version: 3
|
|
464
430
|
summary: Land, sky, and sea
|
|
465
431
|
test_files:
|
|
466
|
-
-
|
|
432
|
+
- features/automobile_make_model_year.feature
|
|
433
|
+
- features/automobile_make_year.feature
|
|
434
|
+
- features/shipment_mode.feature
|
|
435
|
+
- features/automobile_make_model_year_variant.feature
|
|
436
|
+
- features/egrid_region.feature
|
|
437
|
+
- features/automobile_make_model.feature
|
|
438
|
+
- features/automobile_fuel_type.feature
|
|
439
|
+
- features/support/imports/automobile_make_year_bad.csv
|
|
440
|
+
- features/support/imports/bus_class_bad.csv
|
|
441
|
+
- features/support/imports/carrier_mode_bad.csv
|
|
442
|
+
- features/support/imports/automobile_make_model_year_variant_good.csv
|
|
443
|
+
- features/support/imports/egrid_region_bad.csv
|
|
444
|
+
- features/support/imports/automobile_make_model_year_bad.csv
|
|
445
|
+
- features/support/imports/automobile_fuel_type_good.csv
|
|
446
|
+
- features/support/imports/carrier_bad.csv
|
|
447
|
+
- features/support/imports/automobile_make_bad.csv
|
|
448
|
+
- features/support/imports/automobile_make_model_year_variant_bad.csv
|
|
449
|
+
- features/support/imports/automobile_size_class_good.csv
|
|
450
|
+
- features/support/imports/shipment_mode_good.csv
|
|
451
|
+
- features/support/imports/automobile_make_fleet_year_bad.csv
|
|
452
|
+
- features/support/imports/automobile_fuel_type_bad.csv
|
|
453
|
+
- features/support/imports/automobile_make_model_good.csv
|
|
454
|
+
- features/support/imports/automobile_make_model_year_good.csv
|
|
455
|
+
- features/support/imports/carrier_good.csv
|
|
456
|
+
- features/support/imports/carrier_mode_good.csv
|
|
457
|
+
- features/support/imports/egrid_subregion_bad.csv
|
|
458
|
+
- features/support/imports/automobile_make_fleet_year_good.csv
|
|
459
|
+
- features/support/imports/bus_class_good.csv
|
|
460
|
+
- features/support/imports/egrid_region_good.csv
|
|
461
|
+
- features/support/imports/shipment_mode_bad.csv
|
|
462
|
+
- features/support/imports/automobile_make_model_bad.csv
|
|
463
|
+
- features/support/imports/rail_class_bad.csv
|
|
464
|
+
- features/support/imports/automobile_make_year_good.csv
|
|
465
|
+
- features/support/imports/automobile_make_good.csv
|
|
466
|
+
- features/support/imports/automobile_size_class_bad.csv
|
|
467
|
+
- features/support/imports/egrid_subregion_good.csv
|
|
468
|
+
- features/support/imports/rail_class_good.csv
|
|
469
|
+
- features/support/env.rb
|
|
470
|
+
- features/automobile_make.feature
|
|
471
|
+
- features/bus_class.feature
|
|
472
|
+
- features/carrier_mode.feature
|
|
473
|
+
- features/automobile_size_class.feature
|
|
474
|
+
- features/rail_class.feature
|
|
475
|
+
- features/egrid_subregion.feature
|
|
476
|
+
- features/carrier.feature
|
|
477
|
+
- features/automobile_make_fleet_year.feature
|
|
467
478
|
- spec/earth_spec.rb
|
|
479
|
+
- spec/earth/air/aircraft_spec.rb
|
|
468
480
|
- spec/spec_helper.rb
|
|
469
481
|
- Gemfile
|
|
470
482
|
- Gemfile.lock
|