swissmatch-rails 0.0.2 → 0.0.3
Sign up to get free protection for your applications and to get access to all the features.
- data/lib/swissmatch/activerecord.rb +2 -2
- data/swissmatch-rails.gemspec +1 -1
- metadata +2 -2
@@ -51,7 +51,7 @@ module SwissMatch
|
|
51
51
|
io.flush
|
52
52
|
end
|
53
53
|
|
54
|
-
def self.seed(data_source=SwissMatch.data)
|
54
|
+
def self.seed(data_source=SwissMatch::Location.data)
|
55
55
|
canton2id = {}
|
56
56
|
total = data_source.cantons.size +
|
57
57
|
data_source.communities.size +
|
@@ -117,7 +117,7 @@ module SwissMatch
|
|
117
117
|
puts "","Done"
|
118
118
|
end
|
119
119
|
|
120
|
-
def self.update(data_source=SwissMatch.data)
|
120
|
+
def self.update(data_source=SwissMatch::Location.data)
|
121
121
|
end
|
122
122
|
|
123
123
|
class Migration < ::ActiveRecord::Migration
|
data/swissmatch-rails.gemspec
CHANGED
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: swissmatch-rails
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.0.
|
4
|
+
version: 0.0.3
|
5
5
|
prerelease:
|
6
6
|
platform: ruby
|
7
7
|
authors:
|
@@ -9,7 +9,7 @@ authors:
|
|
9
9
|
autorequire:
|
10
10
|
bindir: bin
|
11
11
|
cert_chain: []
|
12
|
-
date: 2012-
|
12
|
+
date: 2012-09-11 00:00:00.000000000 Z
|
13
13
|
dependencies: []
|
14
14
|
description: Adds ActiveRecord models and javascript assets for rails to swissmatch.
|
15
15
|
email: stefan.rusterholz@gmail.com
|