earth 0.2.2 → 0.2.3
Sign up to get free protection for your applications and to get access to all the features.
@@ -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:
|
4
|
+
hash: 17
|
5
5
|
prerelease: false
|
6
6
|
segments:
|
7
7
|
- 0
|
8
8
|
- 2
|
9
|
-
-
|
10
|
-
version: 0.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-
|
20
|
+
date: 2010-09-24 00:00:00 -07:00
|
21
21
|
default_executable:
|
22
22
|
dependencies:
|
23
23
|
- !ruby/object:Gem::Dependency
|