earth 0.5.0 → 0.5.2
Sign up to get free protection for your applications and to get access to all the features.
- data/Gemfile +4 -5
- data/README.markdown +0 -8
- data/Rakefile +14 -10
- data/bin/earth_tester.rb +12 -12
- data/earth.gemspec +2 -1
- data/features/automobile_make_fleet_year.feature +9 -19
- data/features/automobile_make_model_year.feature +4 -4
- data/features/support/env.rb +11 -7
- data/features/support/imports/automobile_make_fleet_year_bad.csv +1 -1
- data/features/support/imports/automobile_make_fleet_year_good.csv +1 -1
- data/features/support/imports/automobile_make_model_year_bad.csv +1 -1
- data/features/support/imports/automobile_make_model_year_good.csv +1 -1
- data/lib/earth/air/aircraft/data_miner.rb +63 -15
- data/lib/earth/air/aircraft.rb +0 -11
- data/lib/earth/air/aircraft_class/data_miner.rb +0 -13
- data/lib/earth/air/aircraft_class.rb +12 -3
- data/lib/earth/air/aircraft_fuel_use_equation/data_miner.rb +0 -13
- data/lib/earth/air/aircraft_fuel_use_equation.rb +12 -3
- data/lib/earth/air/airline/data_miner.rb +0 -7
- data/lib/earth/air/airline.rb +6 -3
- data/lib/earth/air/airport/data_miner.rb +5 -14
- data/lib/earth/air/airport.rb +9 -7
- data/lib/earth/air/bts_aircraft/data_miner.rb +0 -5
- data/lib/earth/air/bts_aircraft.rb +3 -3
- data/lib/earth/air/data_miner.rb +2 -3
- data/lib/earth/air/flight_distance_class/data_miner.rb +0 -6
- data/lib/earth/air/flight_distance_class.rb +4 -3
- data/lib/earth/air/flight_seat_class/data_miner.rb +0 -7
- data/lib/earth/air/flight_seat_class.rb +6 -3
- data/lib/earth/air/flight_segment/data_miner.rb +30 -112
- data/lib/earth/air/flight_segment.rb +47 -13
- data/lib/earth/air.rb +2 -1
- data/lib/earth/automobile/automobile_fuel/data_miner.rb +1 -25
- data/lib/earth/automobile/automobile_fuel.rb +24 -8
- data/lib/earth/automobile/automobile_make/data_miner.rb +3 -16
- data/lib/earth/automobile/automobile_make.rb +5 -3
- data/lib/earth/automobile/automobile_make_fleet_year/data_miner.rb +16 -30
- data/lib/earth/automobile/automobile_make_fleet_year.rb +10 -7
- data/lib/earth/automobile/automobile_make_model/data_miner.rb +1 -11
- data/lib/earth/automobile/automobile_make_model.rb +9 -7
- data/lib/earth/automobile/automobile_make_model_year/data_miner.rb +4 -17
- data/lib/earth/automobile/automobile_make_model_year.rb +11 -6
- data/lib/earth/automobile/automobile_make_model_year_variant/data_miner.rb +37 -65
- data/lib/earth/automobile/automobile_make_model_year_variant.rb +36 -6
- data/lib/earth/automobile/automobile_make_year/data_miner.rb +3 -15
- data/lib/earth/automobile/automobile_make_year.rb +8 -7
- data/lib/earth/automobile/automobile_size_class/data_miner.rb +0 -15
- data/lib/earth/automobile/automobile_size_class.rb +13 -2
- data/lib/earth/automobile/automobile_size_class_year/data_miner.rb +0 -11
- data/lib/earth/automobile/automobile_size_class_year.rb +10 -3
- data/lib/earth/automobile/automobile_type_fuel_age/data_miner.rb +0 -12
- data/lib/earth/automobile/automobile_type_fuel_age.rb +10 -2
- data/lib/earth/automobile/automobile_type_fuel_control/data_miner.rb +0 -11
- data/lib/earth/automobile/automobile_type_fuel_control.rb +9 -3
- data/lib/earth/automobile/automobile_type_fuel_year/data_miner.rb +1 -17
- data/lib/earth/automobile/automobile_type_fuel_year.rb +14 -6
- data/lib/earth/automobile/automobile_type_fuel_year_age/data_miner.rb +0 -13
- data/lib/earth/automobile/automobile_type_fuel_year_age.rb +12 -7
- data/lib/earth/automobile/automobile_type_fuel_year_control/data_miner.rb +0 -11
- data/lib/earth/automobile/automobile_type_fuel_year_control.rb +9 -6
- data/lib/earth/automobile/automobile_type_year/data_miner.rb +0 -10
- data/lib/earth/automobile/automobile_type_year.rb +9 -3
- data/lib/earth/bus/bus_class/data_miner.rb +0 -29
- data/lib/earth/bus/bus_class.rb +27 -2
- data/lib/earth/bus/bus_fuel/data_miner.rb +1 -16
- data/lib/earth/bus/bus_fuel.rb +15 -8
- data/lib/earth/bus/bus_fuel_control/data_miner.rb +0 -10
- data/lib/earth/bus/bus_fuel_control.rb +8 -3
- data/lib/earth/bus/bus_fuel_year_control/data_miner.rb +1 -10
- data/lib/earth/bus/bus_fuel_year_control.rb +8 -7
- data/lib/earth/bus/data_miner.rb +2 -0
- data/lib/earth/bus.rb +2 -0
- data/lib/earth/computation/computation_carrier/data_miner.rb +0 -5
- data/lib/earth/computation/computation_carrier.rb +3 -2
- data/lib/earth/computation/computation_carrier_instance_class/data_miner.rb +0 -8
- data/lib/earth/computation/computation_carrier_instance_class.rb +6 -6
- data/lib/earth/computation/computation_carrier_region/data_miner.rb +0 -7
- data/lib/earth/computation/computation_carrier_region.rb +6 -7
- data/lib/earth/computation/data_miner.rb +2 -0
- data/lib/earth/computation.rb +2 -0
- data/lib/earth/diet/diet_class/data_miner.rb +0 -16
- data/lib/earth/diet/diet_class.rb +16 -4
- data/lib/earth/diet/food_group/data_miner.rb +0 -9
- data/lib/earth/diet/food_group.rb +7 -2
- data/lib/earth/fuel/fuel/data_miner.rb +0 -16
- data/lib/earth/fuel/fuel.rb +14 -2
- data/lib/earth/fuel/fuel_price/data_miner.rb +0 -6
- data/lib/earth/fuel/fuel_price.rb +4 -6
- data/lib/earth/fuel/fuel_type/data_miner.rb +0 -14
- data/lib/earth/fuel/fuel_type.rb +14 -4
- data/lib/earth/fuel/fuel_year/data_miner.rb +0 -16
- data/lib/earth/fuel/fuel_year.rb +14 -2
- data/lib/earth/fuel/greenhouse_gas/data_miner.rb +0 -9
- data/lib/earth/fuel/greenhouse_gas.rb +10 -5
- data/lib/earth/hospitality/lodging_class/data_miner.rb +0 -12
- data/lib/earth/hospitality/lodging_class.rb +10 -2
- data/lib/earth/industry/data_miner.rb +0 -0
- data/lib/earth/industry/industry.rb +3 -10
- data/lib/earth/industry/industry_product.rb +6 -13
- data/lib/earth/industry/industry_product_line.rb +5 -12
- data/lib/earth/industry/industry_sector.rb +5 -12
- data/lib/earth/industry/merchant.rb +4 -11
- data/lib/earth/industry/merchant_category.rb +3 -10
- data/lib/earth/industry/merchant_category_industry.rb +5 -12
- data/lib/earth/industry/product_line.rb +5 -12
- data/lib/earth/industry/product_line_industry_product.rb +5 -12
- data/lib/earth/industry/sector.rb +5 -12
- data/lib/earth/locality/census_division/data_miner.rb +0 -23
- data/lib/earth/locality/census_division.rb +21 -6
- data/lib/earth/locality/census_region/data_miner.rb +0 -5
- data/lib/earth/locality/census_region.rb +3 -2
- data/lib/earth/locality/climate_division/data_miner.rb +0 -7
- data/lib/earth/locality/climate_division.rb +5 -7
- data/lib/earth/locality/country/data_miner.rb +16 -29
- data/lib/earth/locality/country.rb +15 -4
- data/lib/earth/locality/data_miner.rb +3 -0
- data/lib/earth/locality/egrid_region/data_miner.rb +0 -5
- data/lib/earth/locality/egrid_region.rb +5 -8
- data/lib/earth/locality/egrid_subregion/data_miner.rb +1 -20
- data/lib/earth/locality/egrid_subregion.rb +17 -6
- data/lib/earth/locality/petroleum_administration_for_defense_district/data_miner.rb +4 -13
- data/lib/earth/locality/petroleum_administration_for_defense_district.rb +8 -4
- data/lib/earth/locality/state/data_miner.rb +0 -8
- data/lib/earth/locality/state.rb +6 -7
- data/lib/earth/locality/urbanity/data_miner.rb +0 -4
- data/lib/earth/locality/urbanity.rb +2 -2
- data/lib/earth/locality/zip_code/data_miner.rb +0 -10
- data/lib/earth/locality/zip_code.rb +8 -6
- data/lib/earth/locality.rb +3 -0
- data/lib/earth/pet/breed/data_miner.rb +0 -7
- data/lib/earth/pet/breed.rb +5 -6
- data/lib/earth/pet/breed_gender/data_miner.rb +0 -8
- data/lib/earth/pet/breed_gender.rb +6 -6
- data/lib/earth/pet/gender/data_miner.rb +0 -3
- data/lib/earth/pet/gender.rb +2 -2
- data/lib/earth/pet/species/data_miner.rb +0 -17
- data/lib/earth/pet/species.rb +17 -4
- data/lib/earth/rail/rail_class/data_miner.rb +0 -14
- data/lib/earth/rail/rail_class.rb +12 -3
- data/lib/earth/residence/air_conditioner_use/data_miner.rb +0 -6
- data/lib/earth/residence/air_conditioner_use.rb +5 -3
- data/lib/earth/residence/clothes_machine_use/data_miner.rb +0 -6
- data/lib/earth/residence/clothes_machine_use.rb +4 -2
- data/lib/earth/residence/data_miner.rb +2 -0
- data/lib/earth/residence/dishwasher_use/data_miner.rb +0 -6
- data/lib/earth/residence/dishwasher_use.rb +5 -3
- data/lib/earth/residence/residence_appliance/data_miner.rb +0 -6
- data/lib/earth/residence/residence_appliance.rb +4 -2
- data/lib/earth/residence/residence_class/data_miner.rb +0 -4
- data/lib/earth/residence/residence_class.rb +2 -2
- data/lib/earth/residence/residence_fuel_price/data_miner.rb +0 -14
- data/lib/earth/residence/residence_fuel_price.rb +12 -7
- data/lib/earth/residence/residence_fuel_type/data_miner.rb +0 -8
- data/lib/earth/residence/residence_fuel_type.rb +6 -2
- data/lib/earth/residence/residential_energy_consumption_survey_response/data_miner.rb +0 -94
- data/lib/earth/residence/residential_energy_consumption_survey_response.rb +92 -6
- data/lib/earth/residence.rb +2 -0
- data/lib/earth/shipping/carrier/data_miner.rb +0 -10
- data/lib/earth/shipping/carrier.rb +8 -2
- data/lib/earth/shipping/carrier_mode/data_miner.rb +0 -10
- data/lib/earth/shipping/carrier_mode.rb +9 -3
- data/lib/earth/shipping/shipment_mode/data_miner.rb +0 -7
- data/lib/earth/shipping/shipment_mode.rb +5 -2
- data/lib/earth/version.rb +1 -1
- data/lib/earth.rb +92 -84
- data/spec/earth/air/aircraft_spec.rb +1 -1
- data/spec/earth_spec.rb +15 -15
- data/spec/spec_helper.rb +12 -9
- metadata +175 -171
- data/lib/earth/active_record_ext.rb +0 -9
- data/lib/earth/air/aircraft_manufacturer/data_miner.rb +0 -21
- data/lib/earth/air/aircraft_manufacturer.rb +0 -7
- data/lib/earth/base.rb +0 -7
metadata
CHANGED
@@ -1,229 +1,238 @@
|
|
1
|
-
--- !ruby/object:Gem::Specification
|
1
|
+
--- !ruby/object:Gem::Specification
|
2
2
|
name: earth
|
3
|
-
version: !ruby/object:Gem::Version
|
3
|
+
version: !ruby/object:Gem::Version
|
4
|
+
version: 0.5.2
|
4
5
|
prerelease:
|
5
|
-
version: 0.5.0
|
6
6
|
platform: ruby
|
7
|
-
authors:
|
7
|
+
authors:
|
8
8
|
- Seamus Abshere
|
9
9
|
- Derek Kastner
|
10
10
|
- Andy Rossmeissl
|
11
11
|
autorequire:
|
12
12
|
bindir: bin
|
13
13
|
cert_chain: []
|
14
|
-
|
15
|
-
date: 2011-06-06 00:00:00 -04:00
|
14
|
+
date: 2011-06-06 00:00:00.000000000 -05:00
|
16
15
|
default_executable:
|
17
|
-
dependencies:
|
18
|
-
- !ruby/object:Gem::Dependency
|
16
|
+
dependencies:
|
17
|
+
- !ruby/object:Gem::Dependency
|
19
18
|
name: data_miner
|
20
|
-
|
21
|
-
requirement: &id001 !ruby/object:Gem::Requirement
|
19
|
+
requirement: &2155374700 !ruby/object:Gem::Requirement
|
22
20
|
none: false
|
23
|
-
requirements:
|
24
|
-
- -
|
25
|
-
- !ruby/object:Gem::Version
|
26
|
-
version:
|
21
|
+
requirements:
|
22
|
+
- - ! '>='
|
23
|
+
- !ruby/object:Gem::Version
|
24
|
+
version: '0'
|
27
25
|
type: :runtime
|
28
|
-
version_requirements: *id001
|
29
|
-
- !ruby/object:Gem::Dependency
|
30
|
-
name: to_regexp
|
31
26
|
prerelease: false
|
32
|
-
|
27
|
+
version_requirements: *2155374700
|
28
|
+
- !ruby/object:Gem::Dependency
|
29
|
+
name: to_regexp
|
30
|
+
requirement: &2155374280 !ruby/object:Gem::Requirement
|
33
31
|
none: false
|
34
|
-
requirements:
|
35
|
-
- -
|
36
|
-
- !ruby/object:Gem::Version
|
37
|
-
version:
|
32
|
+
requirements:
|
33
|
+
- - ! '>='
|
34
|
+
- !ruby/object:Gem::Version
|
35
|
+
version: '0'
|
38
36
|
type: :runtime
|
39
|
-
version_requirements: *id002
|
40
|
-
- !ruby/object:Gem::Dependency
|
41
|
-
name: cohort_scope
|
42
37
|
prerelease: false
|
43
|
-
|
38
|
+
version_requirements: *2155374280
|
39
|
+
- !ruby/object:Gem::Dependency
|
40
|
+
name: cohort_scope
|
41
|
+
requirement: &2155373860 !ruby/object:Gem::Requirement
|
44
42
|
none: false
|
45
|
-
requirements:
|
46
|
-
- -
|
47
|
-
- !ruby/object:Gem::Version
|
48
|
-
version:
|
43
|
+
requirements:
|
44
|
+
- - ! '>='
|
45
|
+
- !ruby/object:Gem::Version
|
46
|
+
version: '0'
|
49
47
|
type: :runtime
|
50
|
-
version_requirements: *id003
|
51
|
-
- !ruby/object:Gem::Dependency
|
52
|
-
name: remote_table
|
53
48
|
prerelease: false
|
54
|
-
|
49
|
+
version_requirements: *2155373860
|
50
|
+
- !ruby/object:Gem::Dependency
|
51
|
+
name: remote_table
|
52
|
+
requirement: &2155373360 !ruby/object:Gem::Requirement
|
55
53
|
none: false
|
56
|
-
requirements:
|
57
|
-
- -
|
58
|
-
- !ruby/object:Gem::Version
|
54
|
+
requirements:
|
55
|
+
- - ! '>='
|
56
|
+
- !ruby/object:Gem::Version
|
59
57
|
version: 1.2.3
|
60
58
|
type: :runtime
|
61
|
-
version_requirements: *id004
|
62
|
-
- !ruby/object:Gem::Dependency
|
63
|
-
name: falls_back_on
|
64
59
|
prerelease: false
|
65
|
-
|
60
|
+
version_requirements: *2155373360
|
61
|
+
- !ruby/object:Gem::Dependency
|
62
|
+
name: falls_back_on
|
63
|
+
requirement: &2155372940 !ruby/object:Gem::Requirement
|
66
64
|
none: false
|
67
|
-
requirements:
|
68
|
-
- -
|
69
|
-
- !ruby/object:Gem::Version
|
70
|
-
version:
|
65
|
+
requirements:
|
66
|
+
- - ! '>='
|
67
|
+
- !ruby/object:Gem::Version
|
68
|
+
version: '0'
|
71
69
|
type: :runtime
|
72
|
-
version_requirements: *id005
|
73
|
-
- !ruby/object:Gem::Dependency
|
74
|
-
name: fixed_width-multibyte
|
75
70
|
prerelease: false
|
76
|
-
|
71
|
+
version_requirements: *2155372940
|
72
|
+
- !ruby/object:Gem::Dependency
|
73
|
+
name: fixed_width-multibyte
|
74
|
+
requirement: &2155372480 !ruby/object:Gem::Requirement
|
77
75
|
none: false
|
78
|
-
requirements:
|
79
|
-
- -
|
80
|
-
- !ruby/object:Gem::Version
|
81
|
-
version:
|
76
|
+
requirements:
|
77
|
+
- - ! '>='
|
78
|
+
- !ruby/object:Gem::Version
|
79
|
+
version: '0'
|
82
80
|
type: :runtime
|
83
|
-
version_requirements: *id006
|
84
|
-
- !ruby/object:Gem::Dependency
|
85
|
-
name: geokit-rails
|
86
81
|
prerelease: false
|
87
|
-
|
82
|
+
version_requirements: *2155372480
|
83
|
+
- !ruby/object:Gem::Dependency
|
84
|
+
name: geokit-rails
|
85
|
+
requirement: &2155372060 !ruby/object:Gem::Requirement
|
88
86
|
none: false
|
89
|
-
requirements:
|
90
|
-
- -
|
91
|
-
- !ruby/object:Gem::Version
|
92
|
-
version:
|
87
|
+
requirements:
|
88
|
+
- - ! '>='
|
89
|
+
- !ruby/object:Gem::Version
|
90
|
+
version: '0'
|
93
91
|
type: :runtime
|
94
|
-
version_requirements: *id007
|
95
|
-
- !ruby/object:Gem::Dependency
|
96
|
-
name: loose_tight_dictionary
|
97
92
|
prerelease: false
|
98
|
-
|
93
|
+
version_requirements: *2155372060
|
94
|
+
- !ruby/object:Gem::Dependency
|
95
|
+
name: loose_tight_dictionary
|
96
|
+
requirement: &2155371560 !ruby/object:Gem::Requirement
|
99
97
|
none: false
|
100
|
-
requirements:
|
101
|
-
- -
|
102
|
-
- !ruby/object:Gem::Version
|
98
|
+
requirements:
|
99
|
+
- - ! '>='
|
100
|
+
- !ruby/object:Gem::Version
|
103
101
|
version: 0.2.3
|
104
102
|
type: :runtime
|
105
|
-
|
106
|
-
|
103
|
+
prerelease: false
|
104
|
+
version_requirements: *2155371560
|
105
|
+
- !ruby/object:Gem::Dependency
|
107
106
|
name: weighted_average
|
107
|
+
requirement: &2155371140 !ruby/object:Gem::Requirement
|
108
|
+
none: false
|
109
|
+
requirements:
|
110
|
+
- - ! '>='
|
111
|
+
- !ruby/object:Gem::Version
|
112
|
+
version: '0'
|
113
|
+
type: :runtime
|
108
114
|
prerelease: false
|
109
|
-
|
115
|
+
version_requirements: *2155371140
|
116
|
+
- !ruby/object:Gem::Dependency
|
117
|
+
name: create_table
|
118
|
+
requirement: &2155370600 !ruby/object:Gem::Requirement
|
110
119
|
none: false
|
111
|
-
requirements:
|
112
|
-
- -
|
113
|
-
- !ruby/object:Gem::Version
|
114
|
-
version:
|
120
|
+
requirements:
|
121
|
+
- - ! '>='
|
122
|
+
- !ruby/object:Gem::Version
|
123
|
+
version: 0.0.2
|
115
124
|
type: :runtime
|
116
|
-
version_requirements: *id009
|
117
|
-
- !ruby/object:Gem::Dependency
|
118
|
-
name: bundler
|
119
125
|
prerelease: false
|
120
|
-
|
126
|
+
version_requirements: *2155370600
|
127
|
+
- !ruby/object:Gem::Dependency
|
128
|
+
name: bundler
|
129
|
+
requirement: &2155370180 !ruby/object:Gem::Requirement
|
121
130
|
none: false
|
122
|
-
requirements:
|
123
|
-
- -
|
124
|
-
- !ruby/object:Gem::Version
|
125
|
-
version:
|
131
|
+
requirements:
|
132
|
+
- - ! '>='
|
133
|
+
- !ruby/object:Gem::Version
|
134
|
+
version: '0'
|
126
135
|
type: :development
|
127
|
-
version_requirements: *id010
|
128
|
-
- !ruby/object:Gem::Dependency
|
129
|
-
name: bueller
|
130
136
|
prerelease: false
|
131
|
-
|
137
|
+
version_requirements: *2155370180
|
138
|
+
- !ruby/object:Gem::Dependency
|
139
|
+
name: bueller
|
140
|
+
requirement: &2155369720 !ruby/object:Gem::Requirement
|
132
141
|
none: false
|
133
|
-
requirements:
|
134
|
-
- -
|
135
|
-
- !ruby/object:Gem::Version
|
136
|
-
version:
|
142
|
+
requirements:
|
143
|
+
- - ! '>='
|
144
|
+
- !ruby/object:Gem::Version
|
145
|
+
version: '0'
|
137
146
|
type: :development
|
138
|
-
version_requirements: *id011
|
139
|
-
- !ruby/object:Gem::Dependency
|
140
|
-
name: cucumber
|
141
147
|
prerelease: false
|
142
|
-
|
148
|
+
version_requirements: *2155369720
|
149
|
+
- !ruby/object:Gem::Dependency
|
150
|
+
name: cucumber
|
151
|
+
requirement: &2155369300 !ruby/object:Gem::Requirement
|
143
152
|
none: false
|
144
|
-
requirements:
|
145
|
-
- -
|
146
|
-
- !ruby/object:Gem::Version
|
147
|
-
version:
|
153
|
+
requirements:
|
154
|
+
- - ! '>='
|
155
|
+
- !ruby/object:Gem::Version
|
156
|
+
version: '0'
|
148
157
|
type: :development
|
149
|
-
version_requirements: *id012
|
150
|
-
- !ruby/object:Gem::Dependency
|
151
|
-
name: rake
|
152
158
|
prerelease: false
|
153
|
-
|
159
|
+
version_requirements: *2155369300
|
160
|
+
- !ruby/object:Gem::Dependency
|
161
|
+
name: rake
|
162
|
+
requirement: &2155368880 !ruby/object:Gem::Requirement
|
154
163
|
none: false
|
155
|
-
requirements:
|
156
|
-
- -
|
157
|
-
- !ruby/object:Gem::Version
|
158
|
-
version:
|
164
|
+
requirements:
|
165
|
+
- - ! '>='
|
166
|
+
- !ruby/object:Gem::Version
|
167
|
+
version: '0'
|
159
168
|
type: :development
|
160
|
-
version_requirements: *id013
|
161
|
-
- !ruby/object:Gem::Dependency
|
162
|
-
name: rdoc
|
163
169
|
prerelease: false
|
164
|
-
|
170
|
+
version_requirements: *2155368880
|
171
|
+
- !ruby/object:Gem::Dependency
|
172
|
+
name: rdoc
|
173
|
+
requirement: &2155368460 !ruby/object:Gem::Requirement
|
165
174
|
none: false
|
166
|
-
requirements:
|
167
|
-
- -
|
168
|
-
- !ruby/object:Gem::Version
|
169
|
-
version:
|
175
|
+
requirements:
|
176
|
+
- - ! '>='
|
177
|
+
- !ruby/object:Gem::Version
|
178
|
+
version: '0'
|
170
179
|
type: :development
|
171
|
-
version_requirements: *id014
|
172
|
-
- !ruby/object:Gem::Dependency
|
173
|
-
name: rdoc
|
174
180
|
prerelease: false
|
175
|
-
|
181
|
+
version_requirements: *2155368460
|
182
|
+
- !ruby/object:Gem::Dependency
|
183
|
+
name: rdoc
|
184
|
+
requirement: &2155368040 !ruby/object:Gem::Requirement
|
176
185
|
none: false
|
177
|
-
requirements:
|
178
|
-
- -
|
179
|
-
- !ruby/object:Gem::Version
|
180
|
-
version:
|
186
|
+
requirements:
|
187
|
+
- - ! '>='
|
188
|
+
- !ruby/object:Gem::Version
|
189
|
+
version: '0'
|
181
190
|
type: :development
|
182
|
-
version_requirements: *id015
|
183
|
-
- !ruby/object:Gem::Dependency
|
184
|
-
name: rspec
|
185
191
|
prerelease: false
|
186
|
-
|
192
|
+
version_requirements: *2155368040
|
193
|
+
- !ruby/object:Gem::Dependency
|
194
|
+
name: rspec
|
195
|
+
requirement: &2155384000 !ruby/object:Gem::Requirement
|
187
196
|
none: false
|
188
|
-
requirements:
|
189
|
-
- -
|
190
|
-
- !ruby/object:Gem::Version
|
191
|
-
version:
|
197
|
+
requirements:
|
198
|
+
- - ! '>='
|
199
|
+
- !ruby/object:Gem::Version
|
200
|
+
version: '0'
|
192
201
|
type: :development
|
193
|
-
version_requirements: *id016
|
194
|
-
- !ruby/object:Gem::Dependency
|
195
|
-
name: ruby-debug19
|
196
202
|
prerelease: false
|
197
|
-
|
203
|
+
version_requirements: *2155384000
|
204
|
+
- !ruby/object:Gem::Dependency
|
205
|
+
name: sqlite3-ruby
|
206
|
+
requirement: &2155383580 !ruby/object:Gem::Requirement
|
198
207
|
none: false
|
199
|
-
requirements:
|
200
|
-
- -
|
201
|
-
- !ruby/object:Gem::Version
|
202
|
-
version:
|
208
|
+
requirements:
|
209
|
+
- - ! '>='
|
210
|
+
- !ruby/object:Gem::Version
|
211
|
+
version: '0'
|
203
212
|
type: :development
|
204
|
-
version_requirements: *id017
|
205
|
-
- !ruby/object:Gem::Dependency
|
206
|
-
name: sqlite3-ruby
|
207
213
|
prerelease: false
|
208
|
-
|
214
|
+
version_requirements: *2155383580
|
215
|
+
- !ruby/object:Gem::Dependency
|
216
|
+
name: mysql
|
217
|
+
requirement: &2155383160 !ruby/object:Gem::Requirement
|
209
218
|
none: false
|
210
|
-
requirements:
|
211
|
-
- -
|
212
|
-
- !ruby/object:Gem::Version
|
213
|
-
version:
|
219
|
+
requirements:
|
220
|
+
- - ! '>='
|
221
|
+
- !ruby/object:Gem::Version
|
222
|
+
version: '0'
|
214
223
|
type: :development
|
215
|
-
|
224
|
+
prerelease: false
|
225
|
+
version_requirements: *2155383160
|
216
226
|
description: An earth-simulation environment with ActiveRecord models and data
|
217
227
|
email: andy@rossmeissl.net
|
218
|
-
executables:
|
228
|
+
executables:
|
219
229
|
- earth_tester.rb
|
220
230
|
extensions: []
|
221
|
-
|
222
|
-
extra_rdoc_files:
|
231
|
+
extra_rdoc_files:
|
223
232
|
- LICENSE
|
224
233
|
- LICENSE-PREAMBLE
|
225
234
|
- README.markdown
|
226
|
-
files:
|
235
|
+
files:
|
227
236
|
- .document
|
228
237
|
- .gitignore
|
229
238
|
- Gemfile
|
@@ -317,7 +326,6 @@ files:
|
|
317
326
|
- features/support/imports/shipment_mode_bad.csv
|
318
327
|
- features/support/imports/shipment_mode_good.csv
|
319
328
|
- lib/earth.rb
|
320
|
-
- lib/earth/active_record_ext.rb
|
321
329
|
- lib/earth/air.rb
|
322
330
|
- lib/earth/air/aircraft.rb
|
323
331
|
- lib/earth/air/aircraft/data_miner.rb
|
@@ -325,8 +333,6 @@ files:
|
|
325
333
|
- lib/earth/air/aircraft_class/data_miner.rb
|
326
334
|
- lib/earth/air/aircraft_fuel_use_equation.rb
|
327
335
|
- lib/earth/air/aircraft_fuel_use_equation/data_miner.rb
|
328
|
-
- lib/earth/air/aircraft_manufacturer.rb
|
329
|
-
- lib/earth/air/aircraft_manufacturer/data_miner.rb
|
330
336
|
- lib/earth/air/airline.rb
|
331
337
|
- lib/earth/air/airline/data_miner.rb
|
332
338
|
- lib/earth/air/airport.rb
|
@@ -373,7 +379,6 @@ files:
|
|
373
379
|
- lib/earth/automobile/automobile_type_year.rb
|
374
380
|
- lib/earth/automobile/automobile_type_year/data_miner.rb
|
375
381
|
- lib/earth/automobile/data_miner.rb
|
376
|
-
- lib/earth/base.rb
|
377
382
|
- lib/earth/bus.rb
|
378
383
|
- lib/earth/bus/bus_class.rb
|
379
384
|
- lib/earth/bus/bus_class/data_miner.rb
|
@@ -417,6 +422,7 @@ files:
|
|
417
422
|
- lib/earth/hospitality/lodging_class.rb
|
418
423
|
- lib/earth/hospitality/lodging_class/data_miner.rb
|
419
424
|
- lib/earth/industry.rb
|
425
|
+
- lib/earth/industry/data_miner.rb
|
420
426
|
- lib/earth/industry/industry.rb
|
421
427
|
- lib/earth/industry/industry_product.rb
|
422
428
|
- lib/earth/industry/industry_product_line.rb
|
@@ -546,32 +552,30 @@ files:
|
|
546
552
|
has_rdoc: true
|
547
553
|
homepage: https://github.com/brighterplanet/earth
|
548
554
|
licenses: []
|
549
|
-
|
550
555
|
post_install_message:
|
551
|
-
rdoc_options:
|
556
|
+
rdoc_options:
|
552
557
|
- --charset=UTF-8
|
553
|
-
require_paths:
|
558
|
+
require_paths:
|
554
559
|
- lib
|
555
|
-
required_ruby_version: !ruby/object:Gem::Requirement
|
560
|
+
required_ruby_version: !ruby/object:Gem::Requirement
|
556
561
|
none: false
|
557
|
-
requirements:
|
558
|
-
- -
|
559
|
-
- !ruby/object:Gem::Version
|
560
|
-
version:
|
561
|
-
required_rubygems_version: !ruby/object:Gem::Requirement
|
562
|
+
requirements:
|
563
|
+
- - ! '>='
|
564
|
+
- !ruby/object:Gem::Version
|
565
|
+
version: '0'
|
566
|
+
required_rubygems_version: !ruby/object:Gem::Requirement
|
562
567
|
none: false
|
563
|
-
requirements:
|
564
|
-
- -
|
565
|
-
- !ruby/object:Gem::Version
|
566
|
-
version:
|
568
|
+
requirements:
|
569
|
+
- - ! '>='
|
570
|
+
- !ruby/object:Gem::Version
|
571
|
+
version: '0'
|
567
572
|
requirements: []
|
568
|
-
|
569
573
|
rubyforge_project:
|
570
574
|
rubygems_version: 1.6.2
|
571
575
|
signing_key:
|
572
576
|
specification_version: 3
|
573
577
|
summary: Land, sky, and sea
|
574
|
-
test_files:
|
578
|
+
test_files:
|
575
579
|
- features/automobile_fuel.feature
|
576
580
|
- features/automobile_make.feature
|
577
581
|
- features/automobile_make_fleet_year.feature
|
@@ -1,21 +0,0 @@
|
|
1
|
-
AircraftManufacturer.class_eval do
|
2
|
-
data_miner do
|
3
|
-
process "Start from scratch" do
|
4
|
-
connection.drop_table table_name
|
5
|
-
end
|
6
|
-
|
7
|
-
schema Earth.database_options do
|
8
|
-
string 'name'
|
9
|
-
end
|
10
|
-
|
11
|
-
process "Ensure Aircraft is populated" do
|
12
|
-
Aircraft.run_data_miner!
|
13
|
-
end
|
14
|
-
|
15
|
-
process "Derive a list of aircraft manufacturers from aircraft" do
|
16
|
-
INSERT_IGNORE %{INTO aircraft_manufacturers(name)
|
17
|
-
SELECT aircraft.manufacturer_name FROM aircraft WHERE aircraft.manufacturer_name IS NOT NULL
|
18
|
-
}
|
19
|
-
end
|
20
|
-
end
|
21
|
-
end
|