earth 0.0.23 → 0.0.24
Sign up to get free protection for your applications and to get access to all the features.
- data/Gemfile.lock +7 -7
- data/lib/earth/industry/merchant_category.rb +4 -2
- metadata +3 -3
data/Gemfile.lock
CHANGED
@@ -112,14 +112,14 @@ PLATFORMS
|
|
112
112
|
|
113
113
|
DEPENDENCIES
|
114
114
|
activerecord (>= 3.0.0.beta4)
|
115
|
-
cohort_scope (
|
116
|
-
conversions (
|
117
|
-
data_miner (
|
118
|
-
falls_back_on (
|
119
|
-
geokit (
|
115
|
+
cohort_scope (>= 0.0.6)
|
116
|
+
conversions (>= 1.4.5)
|
117
|
+
data_miner (>= 0.5.2)
|
118
|
+
falls_back_on (>= 0.0.2)
|
119
|
+
geokit (>= 1.5.0)
|
120
120
|
jeweler
|
121
121
|
rake
|
122
122
|
rcov
|
123
123
|
rdoc
|
124
|
-
rspec (
|
125
|
-
sqlite3-ruby (
|
124
|
+
rspec (>= 2.0.0.beta.17)
|
125
|
+
sqlite3-ruby (>= 1.3.0)
|
@@ -1,11 +1,13 @@
|
|
1
1
|
class MerchantCategory < ActiveRecord::Base
|
2
2
|
set_primary_key :mcc
|
3
3
|
|
4
|
-
alias :description, :name
|
5
|
-
|
6
4
|
has_many :merchant_categories_industries, :foreign_key => 'mcc', :class_name => 'MerchantCategoriesIndustries'
|
7
5
|
has_many :industries, :through => :merchant_categories_industries
|
8
6
|
|
7
|
+
def name
|
8
|
+
description
|
9
|
+
end
|
10
|
+
|
9
11
|
data_miner do
|
10
12
|
schema Earth.database_options do
|
11
13
|
string 'mcc'
|
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: 47
|
5
5
|
prerelease: false
|
6
6
|
segments:
|
7
7
|
- 0
|
8
8
|
- 0
|
9
|
-
-
|
10
|
-
version: 0.0.
|
9
|
+
- 24
|
10
|
+
version: 0.0.24
|
11
11
|
platform: ruby
|
12
12
|
authors:
|
13
13
|
- Seamus Abshere
|