plus2_seeder 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/plus2_seeder/seeder/spreadsheet.rb +1 -1
- data/lib/plus2_seeder/version.rb +1 -1
- metadata +19 -39
@@ -49,7 +49,7 @@ module Plus2Seeder
|
|
49
49
|
# Opens the spreadsheet and calls import for each row
|
50
50
|
def seed
|
51
51
|
self.class.source.each do |source|
|
52
|
-
book = ::Spreadsheet.open
|
52
|
+
book = ::Spreadsheet.open source
|
53
53
|
|
54
54
|
sheet = book.worksheet self.class.sheet
|
55
55
|
|
data/lib/plus2_seeder/version.rb
CHANGED
metadata
CHANGED
@@ -1,33 +1,23 @@
|
|
1
|
-
--- !ruby/object:Gem::Specification
|
1
|
+
--- !ruby/object:Gem::Specification
|
2
2
|
name: plus2_seeder
|
3
|
-
version: !ruby/object:Gem::Version
|
4
|
-
|
3
|
+
version: !ruby/object:Gem::Version
|
4
|
+
version: 0.0.4
|
5
5
|
prerelease:
|
6
|
-
segments:
|
7
|
-
- 0
|
8
|
-
- 0
|
9
|
-
- 3
|
10
|
-
version: 0.0.3
|
11
6
|
platform: ruby
|
12
|
-
authors:
|
7
|
+
authors:
|
13
8
|
- Ben Askins
|
14
9
|
autorequire:
|
15
10
|
bindir: bin
|
16
11
|
cert_chain: []
|
17
|
-
|
18
|
-
date: 2012-04-24 00:00:00 Z
|
12
|
+
date: 2012-07-07 00:00:00.000000000 Z
|
19
13
|
dependencies: []
|
20
|
-
|
21
14
|
description: database seeder
|
22
|
-
email:
|
15
|
+
email:
|
23
16
|
- ben.askins@gmail.com
|
24
17
|
executables: []
|
25
|
-
|
26
18
|
extensions: []
|
27
|
-
|
28
19
|
extra_rdoc_files: []
|
29
|
-
|
30
|
-
files:
|
20
|
+
files:
|
31
21
|
- .gitignore
|
32
22
|
- Gemfile
|
33
23
|
- LICENSE
|
@@ -40,38 +30,28 @@ files:
|
|
40
30
|
- lib/plus2_seeder/tasks.rb
|
41
31
|
- lib/plus2_seeder/version.rb
|
42
32
|
- plus2_seeder.gemspec
|
43
|
-
homepage:
|
33
|
+
homepage: ''
|
44
34
|
licenses: []
|
45
|
-
|
46
35
|
post_install_message:
|
47
36
|
rdoc_options: []
|
48
|
-
|
49
|
-
require_paths:
|
37
|
+
require_paths:
|
50
38
|
- lib
|
51
|
-
required_ruby_version: !ruby/object:Gem::Requirement
|
39
|
+
required_ruby_version: !ruby/object:Gem::Requirement
|
52
40
|
none: false
|
53
|
-
requirements:
|
54
|
-
- -
|
55
|
-
- !ruby/object:Gem::Version
|
56
|
-
|
57
|
-
|
58
|
-
- 0
|
59
|
-
version: "0"
|
60
|
-
required_rubygems_version: !ruby/object:Gem::Requirement
|
41
|
+
requirements:
|
42
|
+
- - ! '>='
|
43
|
+
- !ruby/object:Gem::Version
|
44
|
+
version: '0'
|
45
|
+
required_rubygems_version: !ruby/object:Gem::Requirement
|
61
46
|
none: false
|
62
|
-
requirements:
|
63
|
-
- -
|
64
|
-
- !ruby/object:Gem::Version
|
65
|
-
|
66
|
-
segments:
|
67
|
-
- 0
|
68
|
-
version: "0"
|
47
|
+
requirements:
|
48
|
+
- - ! '>='
|
49
|
+
- !ruby/object:Gem::Version
|
50
|
+
version: '0'
|
69
51
|
requirements: []
|
70
|
-
|
71
52
|
rubyforge_project:
|
72
53
|
rubygems_version: 1.8.10
|
73
54
|
signing_key:
|
74
55
|
specification_version: 3
|
75
56
|
summary: database seeder
|
76
57
|
test_files: []
|
77
|
-
|