data_seeder 0.0.4 → 0.0.5
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/data_seeder/loader/csv.rb +3 -4
- data/lib/data_seeder/loader.rb +11 -5
- data/lib/data_seeder/version.rb +1 -1
- data/test/dummy/log/test.log +28905 -0
- data/test/dummy/tmp/db.seed.test.use_line_number_as_id.5816/states.cfg +1 -0
- data/test/dummy/tmp/db.seed.test.use_line_number_as_id.5816/states.csv +1 -0
- data/test/dummy/tmp/db.seed.test.use_line_number_as_id.5907/states.cfg +1 -0
- data/test/dummy/tmp/db.seed.test.use_line_number_as_id.5907/states.csv +51 -0
- data/test/dummy/tmp/db.seed.test.use_line_number_as_id.7662/states.cfg +1 -0
- data/test/dummy/tmp/db.seed.test.use_line_number_as_id.7662/states.csv +51 -0
- data/test/dummy/tmp/db.seed.test.use_line_number_as_id.7690/states.cfg +1 -0
- data/test/dummy/tmp/db.seed.test.use_line_number_as_id.7690/states.csv +51 -0
- metadata +18 -2
@@ -0,0 +1 @@
|
|
1
|
+
{ use_line_number_as_id: true }
|
@@ -0,0 +1 @@
|
|
1
|
+
code,name
|
@@ -0,0 +1 @@
|
|
1
|
+
{ use_line_number_as_id: true }
|
@@ -0,0 +1,51 @@
|
|
1
|
+
code,name
|
2
|
+
AK,Alaska
|
3
|
+
AL,Alabama
|
4
|
+
AR,Arkansas
|
5
|
+
AZ,Arizona
|
6
|
+
CA,California
|
7
|
+
CO,Colorado
|
8
|
+
CT,Connecticut
|
9
|
+
DE,Delaware
|
10
|
+
FL,Florida
|
11
|
+
GA,Georgia
|
12
|
+
HI,Hawaii
|
13
|
+
IA,Iowa
|
14
|
+
ID,Idaho
|
15
|
+
IL,Illinois
|
16
|
+
IN,Indiana
|
17
|
+
KS,Kansas
|
18
|
+
KY,Kentucky
|
19
|
+
LA,Louisiana
|
20
|
+
MA,Massachusetts
|
21
|
+
MD,Maryland
|
22
|
+
ME,Maine
|
23
|
+
MI,Michigan
|
24
|
+
MN,Minnesota
|
25
|
+
MO,Missouri
|
26
|
+
MS,Mississippi
|
27
|
+
MT,Montana
|
28
|
+
NC,North Carolina
|
29
|
+
ND,North Dakota
|
30
|
+
NE,Nebraska
|
31
|
+
NH,New Hampshire
|
32
|
+
NJ,New Jersey
|
33
|
+
NM,New Mexico
|
34
|
+
NV,Nevada
|
35
|
+
NY,New York
|
36
|
+
OH,Ohio
|
37
|
+
OK,Oklahoma
|
38
|
+
OR,Oregon
|
39
|
+
PA,Pennsylvania
|
40
|
+
RI,Rhode Island
|
41
|
+
SC,South Carolina
|
42
|
+
SD,South Dakota
|
43
|
+
TN,Tennessee
|
44
|
+
TX,Texas
|
45
|
+
UT,Utah
|
46
|
+
VA,Virginia
|
47
|
+
VT,Vermont
|
48
|
+
WA,Washington
|
49
|
+
WI,Wisconsin
|
50
|
+
WV,West Virginia
|
51
|
+
WY,Wyoming
|
@@ -0,0 +1 @@
|
|
1
|
+
{ use_line_number_as_id: true }
|
@@ -0,0 +1,51 @@
|
|
1
|
+
code,name
|
2
|
+
AK,Alaska
|
3
|
+
AL,Alabama
|
4
|
+
AR,Arkansas
|
5
|
+
AZ,Arizona
|
6
|
+
CA,California
|
7
|
+
CO,Colorado
|
8
|
+
CT,Connecticut
|
9
|
+
DE,Delaware
|
10
|
+
FL,Florida
|
11
|
+
GA,Georgia
|
12
|
+
HI,Hawaii
|
13
|
+
IA,Iowa
|
14
|
+
ID,Idaho
|
15
|
+
IL,Illinois
|
16
|
+
IN,Indiana
|
17
|
+
KS,Kansas
|
18
|
+
KY,Kentucky
|
19
|
+
LA,Louisiana
|
20
|
+
MA,Massachusetts
|
21
|
+
MD,Maryland
|
22
|
+
ME,Maine
|
23
|
+
MI,Michigan
|
24
|
+
MN,Minnesota
|
25
|
+
MO,Missouri
|
26
|
+
MS,Mississippi
|
27
|
+
MT,Montana
|
28
|
+
NC,North Carolina
|
29
|
+
ND,North Dakota
|
30
|
+
NE,Nebraska
|
31
|
+
NH,New Hampshire
|
32
|
+
NJ,New Jersey
|
33
|
+
NM,New Mexico
|
34
|
+
NV,Nevada
|
35
|
+
NY,New York
|
36
|
+
OH,Ohio
|
37
|
+
OK,Oklahoma
|
38
|
+
OR,Oregon
|
39
|
+
PA,Pennsylvania
|
40
|
+
RI,Rhode Island
|
41
|
+
SC,South Carolina
|
42
|
+
SD,South Dakota
|
43
|
+
TN,Tennessee
|
44
|
+
TX,Texas
|
45
|
+
UT,Utah
|
46
|
+
VA,Virginia
|
47
|
+
VT,Vermont
|
48
|
+
WA,Washington
|
49
|
+
WI,Wisconsin
|
50
|
+
WV,West Virginia
|
51
|
+
WY,Wyoming
|
@@ -0,0 +1 @@
|
|
1
|
+
{ use_line_number_as_id: true }
|
@@ -0,0 +1,51 @@
|
|
1
|
+
code,name
|
2
|
+
AK,Alaska
|
3
|
+
AL,Alabama
|
4
|
+
AR,Arkansas
|
5
|
+
AZ,Arizona
|
6
|
+
CA,California
|
7
|
+
CO,Colorado
|
8
|
+
CT,Connecticut
|
9
|
+
DE,Delaware
|
10
|
+
FL,Florida
|
11
|
+
GA,Georgia
|
12
|
+
HI,Hawaii
|
13
|
+
IA,Iowa
|
14
|
+
ID,Idaho
|
15
|
+
IL,Illinois
|
16
|
+
IN,Indiana
|
17
|
+
KS,Kansas
|
18
|
+
KY,Kentucky
|
19
|
+
LA,Louisiana
|
20
|
+
MA,Massachusetts
|
21
|
+
MD,Maryland
|
22
|
+
ME,Maine
|
23
|
+
MI,Michigan
|
24
|
+
MN,Minnesota
|
25
|
+
MO,Missouri
|
26
|
+
MS,Mississippi
|
27
|
+
MT,Montana
|
28
|
+
NC,North Carolina
|
29
|
+
ND,North Dakota
|
30
|
+
NE,Nebraska
|
31
|
+
NH,New Hampshire
|
32
|
+
NJ,New Jersey
|
33
|
+
NM,New Mexico
|
34
|
+
NV,Nevada
|
35
|
+
NY,New York
|
36
|
+
OH,Ohio
|
37
|
+
OK,Oklahoma
|
38
|
+
OR,Oregon
|
39
|
+
PA,Pennsylvania
|
40
|
+
RI,Rhode Island
|
41
|
+
SC,South Carolina
|
42
|
+
SD,South Dakota
|
43
|
+
TN,Tennessee
|
44
|
+
TX,Texas
|
45
|
+
UT,Utah
|
46
|
+
VA,Virginia
|
47
|
+
VT,Vermont
|
48
|
+
WA,Washington
|
49
|
+
WI,Wisconsin
|
50
|
+
WV,West Virginia
|
51
|
+
WY,Wyoming
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: data_seeder
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.0.
|
4
|
+
version: 0.0.5
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Brad Pardee
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2015-
|
11
|
+
date: 2015-10-27 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: rails
|
@@ -79,6 +79,14 @@ files:
|
|
79
79
|
- test/dummy/db/test.sqlite3
|
80
80
|
- test/dummy/log/development.log
|
81
81
|
- test/dummy/log/test.log
|
82
|
+
- test/dummy/tmp/db.seed.test.use_line_number_as_id.5816/states.cfg
|
83
|
+
- test/dummy/tmp/db.seed.test.use_line_number_as_id.5816/states.csv
|
84
|
+
- test/dummy/tmp/db.seed.test.use_line_number_as_id.5907/states.cfg
|
85
|
+
- test/dummy/tmp/db.seed.test.use_line_number_as_id.5907/states.csv
|
86
|
+
- test/dummy/tmp/db.seed.test.use_line_number_as_id.7662/states.cfg
|
87
|
+
- test/dummy/tmp/db.seed.test.use_line_number_as_id.7662/states.csv
|
88
|
+
- test/dummy/tmp/db.seed.test.use_line_number_as_id.7690/states.cfg
|
89
|
+
- test/dummy/tmp/db.seed.test.use_line_number_as_id.7690/states.csv
|
82
90
|
- test/models/data_seeder_test.rb
|
83
91
|
- test/test_helper.rb
|
84
92
|
homepage: http://github.com/bpardee/data_seeder
|
@@ -140,6 +148,14 @@ test_files:
|
|
140
148
|
- test/dummy/log/development.log
|
141
149
|
- test/dummy/log/test.log
|
142
150
|
- test/dummy/Rakefile
|
151
|
+
- test/dummy/tmp/db.seed.test.use_line_number_as_id.5816/states.cfg
|
152
|
+
- test/dummy/tmp/db.seed.test.use_line_number_as_id.5816/states.csv
|
153
|
+
- test/dummy/tmp/db.seed.test.use_line_number_as_id.5907/states.cfg
|
154
|
+
- test/dummy/tmp/db.seed.test.use_line_number_as_id.5907/states.csv
|
155
|
+
- test/dummy/tmp/db.seed.test.use_line_number_as_id.7662/states.cfg
|
156
|
+
- test/dummy/tmp/db.seed.test.use_line_number_as_id.7662/states.csv
|
157
|
+
- test/dummy/tmp/db.seed.test.use_line_number_as_id.7690/states.cfg
|
158
|
+
- test/dummy/tmp/db.seed.test.use_line_number_as_id.7690/states.csv
|
143
159
|
- test/models/data_seeder_test.rb
|
144
160
|
- test/test_helper.rb
|
145
161
|
has_rdoc:
|