earth 0.2.2 → 0.2.3

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.
@@ -11,6 +11,7 @@ class IndustryProduct < ActiveRecord::Base
11
11
  string 'naics_product_code'
12
12
  string 'description'
13
13
  float 'value'
14
+ string 'value_units'
14
15
  string 'naics_code'
15
16
  end
16
17
  end
@@ -2,11 +2,14 @@ class Sector < ActiveRecord::Base
2
2
  extend Earth::Base
3
3
  set_primary_key :io_code
4
4
 
5
+ has_many :industry_sectors, :foreign_key => 'io_code'
6
+
5
7
  def self.schema_definition
6
8
  lambda do
7
9
  string 'io_code'
8
10
  string 'description'
9
11
  float 'value'
12
+ string 'value_units'
10
13
  end
11
14
  end
12
15
 
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: 19
4
+ hash: 17
5
5
  prerelease: false
6
6
  segments:
7
7
  - 0
8
8
  - 2
9
- - 2
10
- version: 0.2.2
9
+ - 3
10
+ version: 0.2.3
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-09-22 00:00:00 -04:00
20
+ date: 2010-09-24 00:00:00 -07:00
21
21
  default_executable:
22
22
  dependencies:
23
23
  - !ruby/object:Gem::Dependency