earth 0.0.19 → 0.0.20

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/VERSION CHANGED
@@ -1 +1 @@
1
- 0.0.19
1
+ 0.0.20
data/earth.gemspec CHANGED
@@ -5,11 +5,11 @@
5
5
 
6
6
  Gem::Specification.new do |s|
7
7
  s.name = %q{earth}
8
- s.version = "0.0.19"
8
+ s.version = "0.0.20"
9
9
 
10
10
  s.required_rubygems_version = Gem::Requirement.new(">= 0") if s.respond_to? :required_rubygems_version=
11
11
  s.authors = ["Seamus Abshere", "Derek Kastner", "Andy Rossmeissl"]
12
- s.date = %q{2010-08-02}
12
+ s.date = %q{2010-08-06}
13
13
  s.description = %q{An earth-simulation environment with ActiveRecord models and data}
14
14
  s.email = %q{andy@rossmeissl.net}
15
15
  s.extra_rdoc_files = [
@@ -5,6 +5,8 @@ class Industry < ActiveRecord::Base
5
5
  has_many :product_lines, :through => :industries_product_lines
6
6
  has_many :industries_sectors, :foreign_key => 'naics_code'
7
7
  has_many :sectors, :through => :industries_sectors
8
+ has_many :merchant_categories_industries, :foreign_key => 'naics_code',
9
+ :class_name => 'MerchantCategoriesIndustries'
8
10
 
9
11
  data_miner do
10
12
  tap "Brighter Planet's industry data", Earth.taps_server
@@ -1,6 +1,8 @@
1
1
  class Sector < ActiveRecord::Base
2
2
  set_primary_key :io_code
3
3
 
4
+ has_many :product_lines_sectors, :class_name => 'ProductLinesSectors', :foreign_key => 'io_code'
5
+
4
6
  data_miner do
5
7
  schema Earth.database_options do
6
8
  string 'io_code'
metadata CHANGED
@@ -1,13 +1,13 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: earth
3
3
  version: !ruby/object:Gem::Version
4
- hash: 57
4
+ hash: 55
5
5
  prerelease: false
6
6
  segments:
7
7
  - 0
8
8
  - 0
9
- - 19
10
- version: 0.0.19
9
+ - 20
10
+ version: 0.0.20
11
11
  platform: ruby
12
12
  authors:
13
13
  - Seamus Abshere
@@ -17,7 +17,7 @@ autorequire:
17
17
  bindir: bin
18
18
  cert_chain: []
19
19
 
20
- date: 2010-08-02 00:00:00 -04:00
20
+ date: 2010-08-06 00:00:00 -05:00
21
21
  default_executable:
22
22
  dependencies:
23
23
  - !ruby/object:Gem::Dependency