seed_scatter 0.0.3 → 0.0.4
Sign up to get free protection for your applications and to get access to all the features.
data/lib/seed_scatter/harvest.rb
CHANGED
@@ -11,10 +11,12 @@ module SeedScatter
|
|
11
11
|
[model.camelize.constantize]
|
12
12
|
end
|
13
13
|
models.each do |m|
|
14
|
-
|
15
|
-
|
16
|
-
|
17
|
-
|
14
|
+
if m < ActiveRecord::Base
|
15
|
+
@model = m
|
16
|
+
puts "Harvesting seeds for #{class_name}"
|
17
|
+
@harvest_data = []
|
18
|
+
dump_model(m)
|
19
|
+
end
|
18
20
|
end
|
19
21
|
end
|
20
22
|
|
data/lib/seed_scatter/version.rb
CHANGED
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: seed_scatter
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.0.
|
4
|
+
version: 0.0.4
|
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: 2013-08-
|
12
|
+
date: 2013-08-15 00:00:00.000000000 Z
|
13
13
|
dependencies:
|
14
14
|
- !ruby/object:Gem::Dependency
|
15
15
|
name: rails
|