earth 0.0.18
Sign up to get free protection for your applications and to get access to all the features.
- data/.document +5 -0
- data/.gitignore +22 -0
- data/.rvmrc +8 -0
- data/Gemfile +5 -0
- data/LICENSE +20 -0
- data/README.markdown +38 -0
- data/Rakefile +71 -0
- data/VERSION +1 -0
- data/earth.gemspec +265 -0
- data/lib/earth.rb +169 -0
- data/lib/earth/air.rb +13 -0
- data/lib/earth/air/aircraft.rb +32 -0
- data/lib/earth/air/aircraft/data_miner.rb +171 -0
- data/lib/earth/air/aircraft_class.rb +10 -0
- data/lib/earth/air/aircraft_class/data_miner.rb +42 -0
- data/lib/earth/air/aircraft_manufacturer.rb +9 -0
- data/lib/earth/air/aircraft_manufacturer/data_miner.rb +20 -0
- data/lib/earth/air/airline.rb +16 -0
- data/lib/earth/air/airline/data_miner.rb +57 -0
- data/lib/earth/air/airport.rb +44 -0
- data/lib/earth/air/airport/data_miner.rb +80 -0
- data/lib/earth/air/data_miner.rb +15 -0
- data/lib/earth/air/flight_configuration.rb +18 -0
- data/lib/earth/air/flight_configuration/data_miner.rb +4 -0
- data/lib/earth/air/flight_distance_class.rb +7 -0
- data/lib/earth/air/flight_distance_class/data_miner.rb +16 -0
- data/lib/earth/air/flight_domesticity.rb +6 -0
- data/lib/earth/air/flight_domesticity/data_miner.rb +57 -0
- data/lib/earth/air/flight_fuel_type.rb +17 -0
- data/lib/earth/air/flight_fuel_type/data_miner.rb +4 -0
- data/lib/earth/air/flight_propulsion.rb +18 -0
- data/lib/earth/air/flight_propulsion/data_miner.rb +4 -0
- data/lib/earth/air/flight_seat_class.rb +12 -0
- data/lib/earth/air/flight_seat_class/data_miner.rb +36 -0
- data/lib/earth/air/flight_segment.rb +38 -0
- data/lib/earth/air/flight_segment/data_miner.rb +334 -0
- data/lib/earth/air/flight_service.rb +18 -0
- data/lib/earth/air/flight_service/data_miner.rb +4 -0
- data/lib/earth/all.rb +10 -0
- data/lib/earth/automobile.rb +8 -0
- data/lib/earth/automobile/automobile_fuel_type.rb +18 -0
- data/lib/earth/automobile/automobile_fuel_type/data_miner.rb +45 -0
- data/lib/earth/automobile/automobile_make.rb +14 -0
- data/lib/earth/automobile/automobile_make/data_miner.rb +68 -0
- data/lib/earth/automobile/automobile_make_fleet_year.rb +15 -0
- data/lib/earth/automobile/automobile_make_fleet_year/data_miner.rb +29 -0
- data/lib/earth/automobile/automobile_make_year.rb +14 -0
- data/lib/earth/automobile/automobile_make_year/data_miner.rb +45 -0
- data/lib/earth/automobile/automobile_model.rb +14 -0
- data/lib/earth/automobile/automobile_model/data_miner.rb +38 -0
- data/lib/earth/automobile/automobile_model_year.rb +15 -0
- data/lib/earth/automobile/automobile_model_year/data_miner.rb +51 -0
- data/lib/earth/automobile/automobile_size_class.rb +14 -0
- data/lib/earth/automobile/automobile_size_class/data_miner.rb +43 -0
- data/lib/earth/automobile/automobile_variant.rb +17 -0
- data/lib/earth/automobile/automobile_variant/data_miner.rb +464 -0
- data/lib/earth/automobile/data_miner.rb +8 -0
- data/lib/earth/bus.rb +1 -0
- data/lib/earth/bus/bus_class.rb +19 -0
- data/lib/earth/bus/bus_class/data_miner.rb +41 -0
- data/lib/earth/bus/data_miner.rb +1 -0
- data/lib/earth/conversions_ext.rb +45 -0
- data/lib/earth/data_miner.rb +10 -0
- data/lib/earth/diet.rb +2 -0
- data/lib/earth/diet/data_miner.rb +2 -0
- data/lib/earth/diet/diet_class.rb +15 -0
- data/lib/earth/diet/diet_class/data_miner.rb +36 -0
- data/lib/earth/diet/food_group.rb +17 -0
- data/lib/earth/diet/food_group/data_miner.rb +26 -0
- data/lib/earth/fuel.rb +2 -0
- data/lib/earth/fuel/data_miner.rb +2 -0
- data/lib/earth/fuel/fuel_price.rb +13 -0
- data/lib/earth/fuel/fuel_price/data_miner.rb +20 -0
- data/lib/earth/fuel/fuel_type.rb +18 -0
- data/lib/earth/fuel/fuel_type/data_miner.rb +37 -0
- data/lib/earth/industry.rb +10 -0
- data/lib/earth/industry/data_miner.rb +2 -0
- data/lib/earth/industry/industries_product_lines.rb +6 -0
- data/lib/earth/industry/industries_sectors.rb +6 -0
- data/lib/earth/industry/industry.rb +12 -0
- data/lib/earth/industry/industry/data_miner.rb +21 -0
- data/lib/earth/industry/merchant.rb +5 -0
- data/lib/earth/industry/merchant_categories_industries.rb +8 -0
- data/lib/earth/industry/merchant_category.rb +6 -0
- data/lib/earth/industry/product_line.rb +10 -0
- data/lib/earth/industry/product_line/data_miner.rb +18 -0
- data/lib/earth/industry/product_lines_sectors.rb +6 -0
- data/lib/earth/industry/sector.rb +3 -0
- data/lib/earth/inflectors.rb +9 -0
- data/lib/earth/locality.rb +10 -0
- data/lib/earth/locality/census_division.rb +17 -0
- data/lib/earth/locality/census_division/data_miner.rb +21 -0
- data/lib/earth/locality/census_region.rb +13 -0
- data/lib/earth/locality/census_region/data_miner.rb +17 -0
- data/lib/earth/locality/climate_division.rb +17 -0
- data/lib/earth/locality/climate_division/data_miner.rb +20 -0
- data/lib/earth/locality/country.rb +13 -0
- data/lib/earth/locality/country/data_miner.rb +19 -0
- data/lib/earth/locality/data_miner.rb +10 -0
- data/lib/earth/locality/egrid_region.rb +15 -0
- data/lib/earth/locality/egrid_region/data_miner.rb +19 -0
- data/lib/earth/locality/egrid_subregion.rb +16 -0
- data/lib/earth/locality/egrid_subregion/data_miner.rb +26 -0
- data/lib/earth/locality/petroleum_administration_for_defense_district.rb +13 -0
- data/lib/earth/locality/petroleum_administration_for_defense_district/data_miner.rb +21 -0
- data/lib/earth/locality/state.rb +22 -0
- data/lib/earth/locality/state/data_miner.rb +37 -0
- data/lib/earth/locality/urbanity.rb +20 -0
- data/lib/earth/locality/urbanity/data_miner.rb +4 -0
- data/lib/earth/locality/zip_code.rb +29 -0
- data/lib/earth/locality/zip_code/data_miner.rb +36 -0
- data/lib/earth/pet.rb +4 -0
- data/lib/earth/pet/breed.rb +15 -0
- data/lib/earth/pet/breed/data_miner.rb +25 -0
- data/lib/earth/pet/breed_gender.rb +14 -0
- data/lib/earth/pet/breed_gender/data_miner.rb +21 -0
- data/lib/earth/pet/data_miner.rb +4 -0
- data/lib/earth/pet/gender.rb +10 -0
- data/lib/earth/pet/gender/data_miner.rb +13 -0
- data/lib/earth/pet/species.rb +40 -0
- data/lib/earth/pet/species/data_miner.rb +42 -0
- data/lib/earth/rail.rb +1 -0
- data/lib/earth/rail/data_miner.rb +1 -0
- data/lib/earth/rail/rail_class.rb +16 -0
- data/lib/earth/rail/rail_class/data_miner.rb +36 -0
- data/lib/earth/residence.rb +8 -0
- data/lib/earth/residence/air_conditioner_use.rb +30 -0
- data/lib/earth/residence/air_conditioner_use/data_miner.rb +4 -0
- data/lib/earth/residence/clothes_machine_use.rb +33 -0
- data/lib/earth/residence/clothes_machine_use/data_miner.rb +4 -0
- data/lib/earth/residence/data_miner.rb +8 -0
- data/lib/earth/residence/dishwasher_use.rb +33 -0
- data/lib/earth/residence/dishwasher_use/data_miner.rb +4 -0
- data/lib/earth/residence/residence_appliance.rb +7 -0
- data/lib/earth/residence/residence_appliance/data_miner.rb +19 -0
- data/lib/earth/residence/residence_class.rb +26 -0
- data/lib/earth/residence/residence_class/data_miner.rb +4 -0
- data/lib/earth/residence/residence_fuel_price.rb +18 -0
- data/lib/earth/residence/residence_fuel_price/data_miner.rb +200 -0
- data/lib/earth/residence/residence_fuel_type.rb +33 -0
- data/lib/earth/residence/residence_fuel_type/data_miner.rb +18 -0
- data/lib/earth/residence/residential_energy_consumption_survey_response.rb +67 -0
- data/lib/earth/residence/residential_energy_consumption_survey_response/data_miner.rb +264 -0
- data/lib/earth/schema.rb +8 -0
- data/spec/lib/earth_spec.rb +25 -0
- data/spec/spec_helper.rb +11 -0
- data/vendor/geokit-rails/CHANGELOG.rdoc +46 -0
- data/vendor/geokit-rails/MIT-LICENSE +20 -0
- data/vendor/geokit-rails/README.markdown +561 -0
- data/vendor/geokit-rails/Rakefile +18 -0
- data/vendor/geokit-rails/about.yml +9 -0
- data/vendor/geokit-rails/assets/api_keys_template +61 -0
- data/vendor/geokit-rails/init.rb +1 -0
- data/vendor/geokit-rails/install.rb +14 -0
- data/vendor/geokit-rails/lib/geokit-rails.rb +24 -0
- data/vendor/geokit-rails/lib/geokit-rails/acts_as_mappable.rb +456 -0
- data/vendor/geokit-rails/lib/geokit-rails/adapters/abstract.rb +31 -0
- data/vendor/geokit-rails/lib/geokit-rails/adapters/mysql.rb +22 -0
- data/vendor/geokit-rails/lib/geokit-rails/adapters/postgresql.rb +22 -0
- data/vendor/geokit-rails/lib/geokit-rails/adapters/sqlserver.rb +43 -0
- data/vendor/geokit-rails/lib/geokit-rails/defaults.rb +22 -0
- data/vendor/geokit-rails/lib/geokit-rails/geocoder_control.rb +16 -0
- data/vendor/geokit-rails/lib/geokit-rails/ip_geocode_lookup.rb +46 -0
- data/vendor/geokit-rails/test/acts_as_mappable_test.rb +474 -0
- data/vendor/geokit-rails/test/boot.rb +25 -0
- data/vendor/geokit-rails/test/database.yml +20 -0
- data/vendor/geokit-rails/test/fixtures/companies.yml +7 -0
- data/vendor/geokit-rails/test/fixtures/custom_locations.yml +54 -0
- data/vendor/geokit-rails/test/fixtures/locations.yml +54 -0
- data/vendor/geokit-rails/test/fixtures/mock_addresses.yml +17 -0
- data/vendor/geokit-rails/test/fixtures/mock_families.yml +2 -0
- data/vendor/geokit-rails/test/fixtures/mock_houses.yml +9 -0
- data/vendor/geokit-rails/test/fixtures/mock_organizations.yml +5 -0
- data/vendor/geokit-rails/test/fixtures/mock_people.yml +5 -0
- data/vendor/geokit-rails/test/fixtures/stores.yml +0 -0
- data/vendor/geokit-rails/test/ip_geocode_lookup_test.rb +77 -0
- data/vendor/geokit-rails/test/models/company.rb +3 -0
- data/vendor/geokit-rails/test/models/custom_location.rb +12 -0
- data/vendor/geokit-rails/test/models/location.rb +4 -0
- data/vendor/geokit-rails/test/models/mock_address.rb +4 -0
- data/vendor/geokit-rails/test/models/mock_family.rb +3 -0
- data/vendor/geokit-rails/test/models/mock_house.rb +3 -0
- data/vendor/geokit-rails/test/models/mock_organization.rb +4 -0
- data/vendor/geokit-rails/test/models/mock_person.rb +4 -0
- data/vendor/geokit-rails/test/models/store.rb +3 -0
- data/vendor/geokit-rails/test/schema.rb +60 -0
- data/vendor/geokit-rails/test/tasks.rake +31 -0
- data/vendor/geokit-rails/test/test_helper.rb +23 -0
- metadata +444 -0
data/.document
ADDED
data/.gitignore
ADDED
data/.rvmrc
ADDED
data/Gemfile
ADDED
data/LICENSE
ADDED
@@ -0,0 +1,20 @@
|
|
1
|
+
Copyright (c) 2009 Andy Rossmeissl
|
2
|
+
|
3
|
+
Permission is hereby granted, free of charge, to any person obtaining
|
4
|
+
a copy of this software and associated documentation files (the
|
5
|
+
"Software"), to deal in the Software without restriction, including
|
6
|
+
without limitation the rights to use, copy, modify, merge, publish,
|
7
|
+
distribute, sublicense, and/or sell copies of the Software, and to
|
8
|
+
permit persons to whom the Software is furnished to do so, subject to
|
9
|
+
the following conditions:
|
10
|
+
|
11
|
+
The above copyright notice and this permission notice shall be
|
12
|
+
included in all copies or substantial portions of the Software.
|
13
|
+
|
14
|
+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
|
15
|
+
EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
|
16
|
+
MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
|
17
|
+
NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE
|
18
|
+
LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION
|
19
|
+
OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION
|
20
|
+
WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
|
data/README.markdown
ADDED
@@ -0,0 +1,38 @@
|
|
1
|
+
# earth
|
2
|
+
|
3
|
+
Earth is a collection of data models that represent various things found here on Earth, such as pet breeds, kinds of rail travel, zip codes, and Petroleum Administration for Defense Districts.
|
4
|
+
|
5
|
+
The data that these models represent can be pulled from http://data.brighterplanet.com
|
6
|
+
|
7
|
+
## Usage
|
8
|
+
|
9
|
+
require 'earth'
|
10
|
+
Earth.init :automobile, :locality
|
11
|
+
ft = AutomobileFuelType.first
|
12
|
+
...
|
13
|
+
|
14
|
+
You can also run data imports via the data_miner gem.
|
15
|
+
|
16
|
+
require 'earth'
|
17
|
+
Earth.init :fuel
|
18
|
+
Earth.taps_server # 'http://user:pass@data.brighterplanet.com'
|
19
|
+
|
20
|
+
DataMiner.run :resource_names #> [FuelPrice]</tt>
|
21
|
+
|
22
|
+
## Collaboration cycle
|
23
|
+
Brighter Planet vigorously encourages collaborative improvement of its emitter libraries. Collaboration requires a (free) GitHub account.
|
24
|
+
|
25
|
+
### You
|
26
|
+
1. Fork the earth repository on GitHub.
|
27
|
+
1. Write a test proving the existing implementation's inadequacy. Ensure that the test fails. Commit the test.
|
28
|
+
1. Improve the code until your new test passes and commit your changes.
|
29
|
+
1. Push your changes to your GitHub fork.
|
30
|
+
1. Submit a pull request to brighterplanet.
|
31
|
+
|
32
|
+
### Brighter Planet
|
33
|
+
1. Receive a pull request.
|
34
|
+
1. Pull changes from forked repository.
|
35
|
+
1. Ensure tests pass.
|
36
|
+
1. Review changes for scientific accuracy.
|
37
|
+
1. Merge changes to master repository and publish.
|
38
|
+
1. Direct production environment to use new emitter version.
|
data/Rakefile
ADDED
@@ -0,0 +1,71 @@
|
|
1
|
+
require 'rubygems'
|
2
|
+
unless ENV['NOBUNDLE']
|
3
|
+
begin
|
4
|
+
require 'bundler'
|
5
|
+
Bundler.setup
|
6
|
+
rescue LoadError
|
7
|
+
puts 'You must `gem install bundler` and `bundle install` to run rake tasks'
|
8
|
+
end
|
9
|
+
end
|
10
|
+
|
11
|
+
|
12
|
+
begin
|
13
|
+
require 'jeweler'
|
14
|
+
Jeweler::Tasks.new do |gem|
|
15
|
+
gem.name = "earth"
|
16
|
+
gem.summary = %Q{Land, sky, and sea}
|
17
|
+
gem.description = %Q{An earth-simulation environment with ActiveRecord models and data}
|
18
|
+
gem.email = 'andy@rossmeissl.net'
|
19
|
+
gem.homepage = 'http://github.com/brighterplanet/earth'
|
20
|
+
gem.authors = ['Seamus Abshere', 'Derek Kastner', "Andy Rossmeissl"]
|
21
|
+
gem.add_dependency 'activerecord', '>= 3.0.0.beta4'
|
22
|
+
gem.add_dependency 'data_miner', '= 0.5.2' unless ENV['LOCAL_DATA_MINER']
|
23
|
+
gem.add_dependency 'falls_back_on', '= 0.0.2'
|
24
|
+
gem.add_dependency 'geokit', '= 1.5.0'
|
25
|
+
gem.add_dependency 'cohort_scope', '= 0.0.6'
|
26
|
+
gem.add_dependency 'conversions', '= 1.4.5'
|
27
|
+
gem.add_development_dependency 'rspec', '= 2.0.0.beta.17'
|
28
|
+
gem.add_development_dependency 'rake'
|
29
|
+
gem.add_development_dependency 'jeweler'
|
30
|
+
gem.add_development_dependency 'rcov'
|
31
|
+
gem.add_development_dependency 'rdoc'
|
32
|
+
gem.add_development_dependency 'sqlite3-ruby', '1.3.0'
|
33
|
+
end
|
34
|
+
Jeweler::GemcutterTasks.new
|
35
|
+
rescue LoadError
|
36
|
+
puts "Jeweler (or a dependency) not available. Install it with: gem install jeweler"
|
37
|
+
end
|
38
|
+
|
39
|
+
require 'rake/testtask'
|
40
|
+
Rake::TestTask.new(:test) do |test|
|
41
|
+
test.libs << 'lib' << 'test'
|
42
|
+
test.pattern = 'test/**/test_*.rb'
|
43
|
+
test.verbose = true
|
44
|
+
end
|
45
|
+
|
46
|
+
begin
|
47
|
+
require 'rcov/rcovtask'
|
48
|
+
Rcov::RcovTask.new do |test|
|
49
|
+
test.libs << 'test'
|
50
|
+
test.pattern = 'test/**/test_*.rb'
|
51
|
+
test.verbose = true
|
52
|
+
end
|
53
|
+
rescue LoadError
|
54
|
+
task :rcov do
|
55
|
+
abort "RCov is not available. In order to run rcov, you must: sudo gem install spicycode-rcov"
|
56
|
+
end
|
57
|
+
end
|
58
|
+
|
59
|
+
task :test => :check_dependencies
|
60
|
+
|
61
|
+
task :default => :test
|
62
|
+
|
63
|
+
require 'rake/rdoctask'
|
64
|
+
Rake::RDocTask.new do |rdoc|
|
65
|
+
version = File.exist?('VERSION') ? File.read('VERSION') : ""
|
66
|
+
|
67
|
+
rdoc.rdoc_dir = 'rdoc'
|
68
|
+
rdoc.title = "earth #{version}"
|
69
|
+
rdoc.rdoc_files.include('README*')
|
70
|
+
rdoc.rdoc_files.include('lib/**/*.rb')
|
71
|
+
end
|
data/VERSION
ADDED
@@ -0,0 +1 @@
|
|
1
|
+
0.0.18
|
data/earth.gemspec
ADDED
@@ -0,0 +1,265 @@
|
|
1
|
+
# Generated by jeweler
|
2
|
+
# DO NOT EDIT THIS FILE DIRECTLY
|
3
|
+
# Instead, edit Jeweler::Tasks in Rakefile, and run the gemspec command
|
4
|
+
# -*- encoding: utf-8 -*-
|
5
|
+
|
6
|
+
Gem::Specification.new do |s|
|
7
|
+
s.name = %q{earth}
|
8
|
+
s.version = "0.0.18"
|
9
|
+
|
10
|
+
s.required_rubygems_version = Gem::Requirement.new(">= 0") if s.respond_to? :required_rubygems_version=
|
11
|
+
s.authors = ["Seamus Abshere", "Derek Kastner", "Andy Rossmeissl"]
|
12
|
+
s.date = %q{2010-08-02}
|
13
|
+
s.description = %q{An earth-simulation environment with ActiveRecord models and data}
|
14
|
+
s.email = %q{andy@rossmeissl.net}
|
15
|
+
s.extra_rdoc_files = [
|
16
|
+
"LICENSE",
|
17
|
+
"README.markdown"
|
18
|
+
]
|
19
|
+
s.files = [
|
20
|
+
".document",
|
21
|
+
".gitignore",
|
22
|
+
".rvmrc",
|
23
|
+
"Gemfile",
|
24
|
+
"LICENSE",
|
25
|
+
"README.markdown",
|
26
|
+
"Rakefile",
|
27
|
+
"VERSION",
|
28
|
+
"earth.gemspec",
|
29
|
+
"lib/earth.rb",
|
30
|
+
"lib/earth/air.rb",
|
31
|
+
"lib/earth/air/aircraft.rb",
|
32
|
+
"lib/earth/air/aircraft/data_miner.rb",
|
33
|
+
"lib/earth/air/aircraft_class.rb",
|
34
|
+
"lib/earth/air/aircraft_class/data_miner.rb",
|
35
|
+
"lib/earth/air/aircraft_manufacturer.rb",
|
36
|
+
"lib/earth/air/aircraft_manufacturer/data_miner.rb",
|
37
|
+
"lib/earth/air/airline.rb",
|
38
|
+
"lib/earth/air/airline/data_miner.rb",
|
39
|
+
"lib/earth/air/airport.rb",
|
40
|
+
"lib/earth/air/airport/data_miner.rb",
|
41
|
+
"lib/earth/air/data_miner.rb",
|
42
|
+
"lib/earth/air/flight_configuration.rb",
|
43
|
+
"lib/earth/air/flight_configuration/data_miner.rb",
|
44
|
+
"lib/earth/air/flight_distance_class.rb",
|
45
|
+
"lib/earth/air/flight_distance_class/data_miner.rb",
|
46
|
+
"lib/earth/air/flight_domesticity.rb",
|
47
|
+
"lib/earth/air/flight_domesticity/data_miner.rb",
|
48
|
+
"lib/earth/air/flight_fuel_type.rb",
|
49
|
+
"lib/earth/air/flight_fuel_type/data_miner.rb",
|
50
|
+
"lib/earth/air/flight_propulsion.rb",
|
51
|
+
"lib/earth/air/flight_propulsion/data_miner.rb",
|
52
|
+
"lib/earth/air/flight_seat_class.rb",
|
53
|
+
"lib/earth/air/flight_seat_class/data_miner.rb",
|
54
|
+
"lib/earth/air/flight_segment.rb",
|
55
|
+
"lib/earth/air/flight_segment/data_miner.rb",
|
56
|
+
"lib/earth/air/flight_service.rb",
|
57
|
+
"lib/earth/air/flight_service/data_miner.rb",
|
58
|
+
"lib/earth/all.rb",
|
59
|
+
"lib/earth/automobile.rb",
|
60
|
+
"lib/earth/automobile/automobile_fuel_type.rb",
|
61
|
+
"lib/earth/automobile/automobile_fuel_type/data_miner.rb",
|
62
|
+
"lib/earth/automobile/automobile_make.rb",
|
63
|
+
"lib/earth/automobile/automobile_make/data_miner.rb",
|
64
|
+
"lib/earth/automobile/automobile_make_fleet_year.rb",
|
65
|
+
"lib/earth/automobile/automobile_make_fleet_year/data_miner.rb",
|
66
|
+
"lib/earth/automobile/automobile_make_year.rb",
|
67
|
+
"lib/earth/automobile/automobile_make_year/data_miner.rb",
|
68
|
+
"lib/earth/automobile/automobile_model.rb",
|
69
|
+
"lib/earth/automobile/automobile_model/data_miner.rb",
|
70
|
+
"lib/earth/automobile/automobile_model_year.rb",
|
71
|
+
"lib/earth/automobile/automobile_model_year/data_miner.rb",
|
72
|
+
"lib/earth/automobile/automobile_size_class.rb",
|
73
|
+
"lib/earth/automobile/automobile_size_class/data_miner.rb",
|
74
|
+
"lib/earth/automobile/automobile_variant.rb",
|
75
|
+
"lib/earth/automobile/automobile_variant/data_miner.rb",
|
76
|
+
"lib/earth/automobile/data_miner.rb",
|
77
|
+
"lib/earth/bus.rb",
|
78
|
+
"lib/earth/bus/bus_class.rb",
|
79
|
+
"lib/earth/bus/bus_class/data_miner.rb",
|
80
|
+
"lib/earth/bus/data_miner.rb",
|
81
|
+
"lib/earth/conversions_ext.rb",
|
82
|
+
"lib/earth/data_miner.rb",
|
83
|
+
"lib/earth/diet.rb",
|
84
|
+
"lib/earth/diet/data_miner.rb",
|
85
|
+
"lib/earth/diet/diet_class.rb",
|
86
|
+
"lib/earth/diet/diet_class/data_miner.rb",
|
87
|
+
"lib/earth/diet/food_group.rb",
|
88
|
+
"lib/earth/diet/food_group/data_miner.rb",
|
89
|
+
"lib/earth/fuel.rb",
|
90
|
+
"lib/earth/fuel/data_miner.rb",
|
91
|
+
"lib/earth/fuel/fuel_price.rb",
|
92
|
+
"lib/earth/fuel/fuel_price/data_miner.rb",
|
93
|
+
"lib/earth/fuel/fuel_type.rb",
|
94
|
+
"lib/earth/fuel/fuel_type/data_miner.rb",
|
95
|
+
"lib/earth/industry.rb",
|
96
|
+
"lib/earth/industry/data_miner.rb",
|
97
|
+
"lib/earth/industry/industries_product_lines.rb",
|
98
|
+
"lib/earth/industry/industries_sectors.rb",
|
99
|
+
"lib/earth/industry/industry.rb",
|
100
|
+
"lib/earth/industry/industry/data_miner.rb",
|
101
|
+
"lib/earth/industry/merchant.rb",
|
102
|
+
"lib/earth/industry/merchant_categories_industries.rb",
|
103
|
+
"lib/earth/industry/merchant_category.rb",
|
104
|
+
"lib/earth/industry/product_line.rb",
|
105
|
+
"lib/earth/industry/product_line/data_miner.rb",
|
106
|
+
"lib/earth/industry/product_lines_sectors.rb",
|
107
|
+
"lib/earth/industry/sector.rb",
|
108
|
+
"lib/earth/inflectors.rb",
|
109
|
+
"lib/earth/locality.rb",
|
110
|
+
"lib/earth/locality/census_division.rb",
|
111
|
+
"lib/earth/locality/census_division/data_miner.rb",
|
112
|
+
"lib/earth/locality/census_region.rb",
|
113
|
+
"lib/earth/locality/census_region/data_miner.rb",
|
114
|
+
"lib/earth/locality/climate_division.rb",
|
115
|
+
"lib/earth/locality/climate_division/data_miner.rb",
|
116
|
+
"lib/earth/locality/country.rb",
|
117
|
+
"lib/earth/locality/country/data_miner.rb",
|
118
|
+
"lib/earth/locality/data_miner.rb",
|
119
|
+
"lib/earth/locality/egrid_region.rb",
|
120
|
+
"lib/earth/locality/egrid_region/data_miner.rb",
|
121
|
+
"lib/earth/locality/egrid_subregion.rb",
|
122
|
+
"lib/earth/locality/egrid_subregion/data_miner.rb",
|
123
|
+
"lib/earth/locality/petroleum_administration_for_defense_district.rb",
|
124
|
+
"lib/earth/locality/petroleum_administration_for_defense_district/data_miner.rb",
|
125
|
+
"lib/earth/locality/state.rb",
|
126
|
+
"lib/earth/locality/state/data_miner.rb",
|
127
|
+
"lib/earth/locality/urbanity.rb",
|
128
|
+
"lib/earth/locality/urbanity/data_miner.rb",
|
129
|
+
"lib/earth/locality/zip_code.rb",
|
130
|
+
"lib/earth/locality/zip_code/data_miner.rb",
|
131
|
+
"lib/earth/pet.rb",
|
132
|
+
"lib/earth/pet/breed.rb",
|
133
|
+
"lib/earth/pet/breed/data_miner.rb",
|
134
|
+
"lib/earth/pet/breed_gender.rb",
|
135
|
+
"lib/earth/pet/breed_gender/data_miner.rb",
|
136
|
+
"lib/earth/pet/data_miner.rb",
|
137
|
+
"lib/earth/pet/gender.rb",
|
138
|
+
"lib/earth/pet/gender/data_miner.rb",
|
139
|
+
"lib/earth/pet/species.rb",
|
140
|
+
"lib/earth/pet/species/data_miner.rb",
|
141
|
+
"lib/earth/rail.rb",
|
142
|
+
"lib/earth/rail/data_miner.rb",
|
143
|
+
"lib/earth/rail/rail_class.rb",
|
144
|
+
"lib/earth/rail/rail_class/data_miner.rb",
|
145
|
+
"lib/earth/residence.rb",
|
146
|
+
"lib/earth/residence/air_conditioner_use.rb",
|
147
|
+
"lib/earth/residence/air_conditioner_use/data_miner.rb",
|
148
|
+
"lib/earth/residence/clothes_machine_use.rb",
|
149
|
+
"lib/earth/residence/clothes_machine_use/data_miner.rb",
|
150
|
+
"lib/earth/residence/data_miner.rb",
|
151
|
+
"lib/earth/residence/dishwasher_use.rb",
|
152
|
+
"lib/earth/residence/dishwasher_use/data_miner.rb",
|
153
|
+
"lib/earth/residence/residence_appliance.rb",
|
154
|
+
"lib/earth/residence/residence_appliance/data_miner.rb",
|
155
|
+
"lib/earth/residence/residence_class.rb",
|
156
|
+
"lib/earth/residence/residence_class/data_miner.rb",
|
157
|
+
"lib/earth/residence/residence_fuel_price.rb",
|
158
|
+
"lib/earth/residence/residence_fuel_price/data_miner.rb",
|
159
|
+
"lib/earth/residence/residence_fuel_type.rb",
|
160
|
+
"lib/earth/residence/residence_fuel_type/data_miner.rb",
|
161
|
+
"lib/earth/residence/residential_energy_consumption_survey_response.rb",
|
162
|
+
"lib/earth/residence/residential_energy_consumption_survey_response/data_miner.rb",
|
163
|
+
"lib/earth/schema.rb",
|
164
|
+
"spec/lib/earth_spec.rb",
|
165
|
+
"spec/spec_helper.rb",
|
166
|
+
"vendor/geokit-rails/CHANGELOG.rdoc",
|
167
|
+
"vendor/geokit-rails/MIT-LICENSE",
|
168
|
+
"vendor/geokit-rails/README.markdown",
|
169
|
+
"vendor/geokit-rails/Rakefile",
|
170
|
+
"vendor/geokit-rails/about.yml",
|
171
|
+
"vendor/geokit-rails/assets/api_keys_template",
|
172
|
+
"vendor/geokit-rails/init.rb",
|
173
|
+
"vendor/geokit-rails/install.rb",
|
174
|
+
"vendor/geokit-rails/lib/geokit-rails.rb",
|
175
|
+
"vendor/geokit-rails/lib/geokit-rails/acts_as_mappable.rb",
|
176
|
+
"vendor/geokit-rails/lib/geokit-rails/adapters/abstract.rb",
|
177
|
+
"vendor/geokit-rails/lib/geokit-rails/adapters/mysql.rb",
|
178
|
+
"vendor/geokit-rails/lib/geokit-rails/adapters/postgresql.rb",
|
179
|
+
"vendor/geokit-rails/lib/geokit-rails/adapters/sqlserver.rb",
|
180
|
+
"vendor/geokit-rails/lib/geokit-rails/defaults.rb",
|
181
|
+
"vendor/geokit-rails/lib/geokit-rails/geocoder_control.rb",
|
182
|
+
"vendor/geokit-rails/lib/geokit-rails/ip_geocode_lookup.rb",
|
183
|
+
"vendor/geokit-rails/test/acts_as_mappable_test.rb",
|
184
|
+
"vendor/geokit-rails/test/boot.rb",
|
185
|
+
"vendor/geokit-rails/test/database.yml",
|
186
|
+
"vendor/geokit-rails/test/fixtures/companies.yml",
|
187
|
+
"vendor/geokit-rails/test/fixtures/custom_locations.yml",
|
188
|
+
"vendor/geokit-rails/test/fixtures/locations.yml",
|
189
|
+
"vendor/geokit-rails/test/fixtures/mock_addresses.yml",
|
190
|
+
"vendor/geokit-rails/test/fixtures/mock_families.yml",
|
191
|
+
"vendor/geokit-rails/test/fixtures/mock_houses.yml",
|
192
|
+
"vendor/geokit-rails/test/fixtures/mock_organizations.yml",
|
193
|
+
"vendor/geokit-rails/test/fixtures/mock_people.yml",
|
194
|
+
"vendor/geokit-rails/test/fixtures/stores.yml",
|
195
|
+
"vendor/geokit-rails/test/ip_geocode_lookup_test.rb",
|
196
|
+
"vendor/geokit-rails/test/models/company.rb",
|
197
|
+
"vendor/geokit-rails/test/models/custom_location.rb",
|
198
|
+
"vendor/geokit-rails/test/models/location.rb",
|
199
|
+
"vendor/geokit-rails/test/models/mock_address.rb",
|
200
|
+
"vendor/geokit-rails/test/models/mock_family.rb",
|
201
|
+
"vendor/geokit-rails/test/models/mock_house.rb",
|
202
|
+
"vendor/geokit-rails/test/models/mock_organization.rb",
|
203
|
+
"vendor/geokit-rails/test/models/mock_person.rb",
|
204
|
+
"vendor/geokit-rails/test/models/store.rb",
|
205
|
+
"vendor/geokit-rails/test/schema.rb",
|
206
|
+
"vendor/geokit-rails/test/tasks.rake",
|
207
|
+
"vendor/geokit-rails/test/test_helper.rb"
|
208
|
+
]
|
209
|
+
s.homepage = %q{http://github.com/brighterplanet/earth}
|
210
|
+
s.rdoc_options = ["--charset=UTF-8"]
|
211
|
+
s.require_paths = ["lib"]
|
212
|
+
s.rubygems_version = %q{1.3.7}
|
213
|
+
s.summary = %q{Land, sky, and sea}
|
214
|
+
s.test_files = [
|
215
|
+
"spec/lib/earth_spec.rb",
|
216
|
+
"spec/spec_helper.rb"
|
217
|
+
]
|
218
|
+
|
219
|
+
if s.respond_to? :specification_version then
|
220
|
+
current_version = Gem::Specification::CURRENT_SPECIFICATION_VERSION
|
221
|
+
s.specification_version = 3
|
222
|
+
|
223
|
+
if Gem::Version.new(Gem::VERSION) >= Gem::Version.new('1.2.0') then
|
224
|
+
s.add_runtime_dependency(%q<activerecord>, [">= 3.0.0.beta4"])
|
225
|
+
s.add_runtime_dependency(%q<data_miner>, ["= 0.5.2"])
|
226
|
+
s.add_runtime_dependency(%q<falls_back_on>, ["= 0.0.2"])
|
227
|
+
s.add_runtime_dependency(%q<geokit>, ["= 1.5.0"])
|
228
|
+
s.add_runtime_dependency(%q<cohort_scope>, ["= 0.0.6"])
|
229
|
+
s.add_runtime_dependency(%q<conversions>, ["= 1.4.5"])
|
230
|
+
s.add_development_dependency(%q<rspec>, ["= 2.0.0.beta.17"])
|
231
|
+
s.add_development_dependency(%q<rake>, [">= 0"])
|
232
|
+
s.add_development_dependency(%q<jeweler>, [">= 0"])
|
233
|
+
s.add_development_dependency(%q<rcov>, [">= 0"])
|
234
|
+
s.add_development_dependency(%q<rdoc>, [">= 0"])
|
235
|
+
s.add_development_dependency(%q<sqlite3-ruby>, ["= 1.3.0"])
|
236
|
+
else
|
237
|
+
s.add_dependency(%q<activerecord>, [">= 3.0.0.beta4"])
|
238
|
+
s.add_dependency(%q<data_miner>, ["= 0.5.2"])
|
239
|
+
s.add_dependency(%q<falls_back_on>, ["= 0.0.2"])
|
240
|
+
s.add_dependency(%q<geokit>, ["= 1.5.0"])
|
241
|
+
s.add_dependency(%q<cohort_scope>, ["= 0.0.6"])
|
242
|
+
s.add_dependency(%q<conversions>, ["= 1.4.5"])
|
243
|
+
s.add_dependency(%q<rspec>, ["= 2.0.0.beta.17"])
|
244
|
+
s.add_dependency(%q<rake>, [">= 0"])
|
245
|
+
s.add_dependency(%q<jeweler>, [">= 0"])
|
246
|
+
s.add_dependency(%q<rcov>, [">= 0"])
|
247
|
+
s.add_dependency(%q<rdoc>, [">= 0"])
|
248
|
+
s.add_dependency(%q<sqlite3-ruby>, ["= 1.3.0"])
|
249
|
+
end
|
250
|
+
else
|
251
|
+
s.add_dependency(%q<activerecord>, [">= 3.0.0.beta4"])
|
252
|
+
s.add_dependency(%q<data_miner>, ["= 0.5.2"])
|
253
|
+
s.add_dependency(%q<falls_back_on>, ["= 0.0.2"])
|
254
|
+
s.add_dependency(%q<geokit>, ["= 1.5.0"])
|
255
|
+
s.add_dependency(%q<cohort_scope>, ["= 0.0.6"])
|
256
|
+
s.add_dependency(%q<conversions>, ["= 1.4.5"])
|
257
|
+
s.add_dependency(%q<rspec>, ["= 2.0.0.beta.17"])
|
258
|
+
s.add_dependency(%q<rake>, [">= 0"])
|
259
|
+
s.add_dependency(%q<jeweler>, [">= 0"])
|
260
|
+
s.add_dependency(%q<rcov>, [">= 0"])
|
261
|
+
s.add_dependency(%q<rdoc>, [">= 0"])
|
262
|
+
s.add_dependency(%q<sqlite3-ruby>, ["= 1.3.0"])
|
263
|
+
end
|
264
|
+
end
|
265
|
+
|