seed_migrations 0.0.3 → 1.4.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +7 -0
- data/README.md +2 -0
- data/Rakefile +1 -0
- data/lib/generators/seed_migrations/templates/seed_migration.rb +1 -1
- data/lib/seed_migrations/seed_migration.rb +46 -42
- data/lib/seed_migrations/version.rb +1 -1
- data/test/dummy/config/application.rb +0 -6
- data/test/dummy/config/environments/development.rb +1 -5
- data/test/dummy/config/environments/production.rb +2 -0
- data/test/dummy/config/environments/test.rb +4 -5
- data/test/dummy/log/test.log +1004 -581
- data/test/dummy/tmp/development_secret.txt +1 -0
- metadata +85 -86
- data/test/dummy/log/development.log +0 -23
@@ -0,0 +1 @@
|
|
1
|
+
7092906e5c30eaed3f51d5d48eb347229ede7c07aadab686cc9ade0ab7e572a29974a18cc59cd28e14dc8e9b84028e5595155fa6214d330627c8c4398e6291c7
|
metadata
CHANGED
@@ -1,8 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: seed_migrations
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version:
|
5
|
-
prerelease:
|
4
|
+
version: 1.4.0
|
6
5
|
platform: ruby
|
7
6
|
authors:
|
8
7
|
- Dustin Eversmann
|
@@ -10,38 +9,40 @@ authors:
|
|
10
9
|
autorequire:
|
11
10
|
bindir: bin
|
12
11
|
cert_chain: []
|
13
|
-
date:
|
12
|
+
date: 2020-12-15 00:00:00.000000000 Z
|
14
13
|
dependencies:
|
15
14
|
- !ruby/object:Gem::Dependency
|
16
15
|
name: rails
|
17
16
|
requirement: !ruby/object:Gem::Requirement
|
18
|
-
none: false
|
19
17
|
requirements:
|
20
|
-
- -
|
18
|
+
- - ">="
|
21
19
|
- !ruby/object:Gem::Version
|
22
|
-
version:
|
20
|
+
version: 6.0.0
|
21
|
+
- - "<"
|
22
|
+
- !ruby/object:Gem::Version
|
23
|
+
version: '6.2'
|
23
24
|
type: :runtime
|
24
25
|
prerelease: false
|
25
26
|
version_requirements: !ruby/object:Gem::Requirement
|
26
|
-
none: false
|
27
27
|
requirements:
|
28
|
-
- -
|
28
|
+
- - ">="
|
29
|
+
- !ruby/object:Gem::Version
|
30
|
+
version: 6.0.0
|
31
|
+
- - "<"
|
29
32
|
- !ruby/object:Gem::Version
|
30
|
-
version: '
|
33
|
+
version: '6.2'
|
31
34
|
- !ruby/object:Gem::Dependency
|
32
35
|
name: sqlite3
|
33
36
|
requirement: !ruby/object:Gem::Requirement
|
34
|
-
none: false
|
35
37
|
requirements:
|
36
|
-
- -
|
38
|
+
- - "~>"
|
37
39
|
- !ruby/object:Gem::Version
|
38
40
|
version: '0'
|
39
41
|
type: :development
|
40
42
|
prerelease: false
|
41
43
|
version_requirements: !ruby/object:Gem::Requirement
|
42
|
-
none: false
|
43
44
|
requirements:
|
44
|
-
- -
|
45
|
+
- - "~>"
|
45
46
|
- !ruby/object:Gem::Version
|
46
47
|
version: '0'
|
47
48
|
description: Handle seeding like migrating
|
@@ -51,120 +52,118 @@ executables: []
|
|
51
52
|
extensions: []
|
52
53
|
extra_rdoc_files: []
|
53
54
|
files:
|
54
|
-
-
|
55
|
+
- MIT-LICENSE
|
56
|
+
- README.md
|
57
|
+
- Rakefile
|
58
|
+
- lib/generators/seed_migrations/seed_migration_generator.rb
|
59
|
+
- lib/generators/seed_migrations/templates/seed_migration.rb
|
55
60
|
- lib/seed_migrations.rb
|
61
|
+
- lib/seed_migrations/railties.rb
|
56
62
|
- lib/seed_migrations/seed_migration.rb
|
57
63
|
- lib/seed_migrations/version.rb
|
58
|
-
- lib/
|
59
|
-
- lib/generators/seed_migrations/templates/seed_migration.rb
|
60
|
-
- lib/generators/seed_migrations/seed_migration_generator.rb
|
61
|
-
- MIT-LICENSE
|
62
|
-
- Rakefile
|
63
|
-
- README.md
|
64
|
-
- test/seed_migration_generator_test.rb
|
64
|
+
- lib/tasks/seed_migrations_tasks.rake
|
65
65
|
- test/dummy/README.rdoc
|
66
|
-
- test/dummy/log/test.log
|
67
|
-
- test/dummy/log/development.log
|
68
66
|
- test/dummy/Rakefile
|
69
|
-
- test/dummy/
|
70
|
-
- test/dummy/
|
71
|
-
- test/dummy/
|
72
|
-
- test/dummy/
|
73
|
-
- test/dummy/db/schema.rb
|
74
|
-
- test/dummy/db/migrate/20120604133203_create_plants.rb
|
75
|
-
- test/dummy/db/development.sqlite3
|
76
|
-
- test/dummy/public/500.html
|
77
|
-
- test/dummy/public/422.html
|
78
|
-
- test/dummy/public/favicon.ico
|
79
|
-
- test/dummy/public/404.html
|
67
|
+
- test/dummy/app/assets/javascripts/application.js
|
68
|
+
- test/dummy/app/assets/stylesheets/application.css
|
69
|
+
- test/dummy/app/controllers/application_controller.rb
|
70
|
+
- test/dummy/app/helpers/application_helper.rb
|
80
71
|
- test/dummy/app/models/plant.rb
|
81
72
|
- test/dummy/app/views/layouts/application.html.erb
|
82
|
-
- test/dummy/
|
83
|
-
- test/dummy/app/controllers/application_controller.rb
|
84
|
-
- test/dummy/app/assets/stylesheets/application.css
|
85
|
-
- test/dummy/app/assets/javascripts/application.js
|
73
|
+
- test/dummy/config.ru
|
86
74
|
- test/dummy/config/application.rb
|
87
|
-
- test/dummy/config/
|
88
|
-
- test/dummy/config/
|
75
|
+
- test/dummy/config/boot.rb
|
76
|
+
- test/dummy/config/database.yml
|
77
|
+
- test/dummy/config/environment.rb
|
89
78
|
- test/dummy/config/environments/development.rb
|
90
79
|
- test/dummy/config/environments/production.rb
|
91
|
-
- test/dummy/config/
|
92
|
-
- test/dummy/config/
|
93
|
-
- test/dummy/config/
|
80
|
+
- test/dummy/config/environments/test.rb
|
81
|
+
- test/dummy/config/initializers/backtrace_silencers.rb
|
82
|
+
- test/dummy/config/initializers/inflections.rb
|
83
|
+
- test/dummy/config/initializers/mime_types.rb
|
94
84
|
- test/dummy/config/initializers/secret_token.rb
|
95
85
|
- test/dummy/config/initializers/session_store.rb
|
96
|
-
- test/dummy/config/initializers/mime_types.rb
|
97
86
|
- test/dummy/config/initializers/wrap_parameters.rb
|
98
|
-
- test/dummy/config/
|
99
|
-
- test/dummy/config/
|
100
|
-
- test/dummy/
|
101
|
-
- test/dummy/
|
87
|
+
- test/dummy/config/locales/en.yml
|
88
|
+
- test/dummy/config/routes.rb
|
89
|
+
- test/dummy/db/development.sqlite3
|
90
|
+
- test/dummy/db/migrate/20120604133203_create_plants.rb
|
91
|
+
- test/dummy/db/schema.rb
|
92
|
+
- test/dummy/db/seed/20120604133720_add_plant.rb
|
93
|
+
- test/dummy/db/seed/20120604133721_add_one_more_plant.rb
|
94
|
+
- test/dummy/db/seed/20120604133722_add_one_more_plant_failing.rb
|
95
|
+
- test/dummy/db/test.sqlite3
|
96
|
+
- test/dummy/log/test.log
|
97
|
+
- test/dummy/public/404.html
|
98
|
+
- test/dummy/public/422.html
|
99
|
+
- test/dummy/public/500.html
|
100
|
+
- test/dummy/public/favicon.ico
|
102
101
|
- test/dummy/script/rails
|
103
|
-
- test/
|
102
|
+
- test/dummy/tmp/development_secret.txt
|
103
|
+
- test/seed_migration_generator_test.rb
|
104
104
|
- test/seed_migrations_test.rb
|
105
|
+
- test/test_helper.rb
|
105
106
|
homepage: http://rubygems.org/gems/seed_migrations
|
106
107
|
licenses: []
|
108
|
+
metadata: {}
|
107
109
|
post_install_message:
|
108
110
|
rdoc_options: []
|
109
111
|
require_paths:
|
110
112
|
- lib
|
111
113
|
required_ruby_version: !ruby/object:Gem::Requirement
|
112
|
-
none: false
|
113
114
|
requirements:
|
114
|
-
- -
|
115
|
+
- - ">="
|
115
116
|
- !ruby/object:Gem::Version
|
116
117
|
version: '0'
|
117
118
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
118
|
-
none: false
|
119
119
|
requirements:
|
120
|
-
- -
|
120
|
+
- - ">="
|
121
121
|
- !ruby/object:Gem::Version
|
122
122
|
version: '0'
|
123
123
|
requirements: []
|
124
|
-
|
125
|
-
rubygems_version: 1.8.23
|
124
|
+
rubygems_version: 3.0.3
|
126
125
|
signing_key:
|
127
|
-
specification_version:
|
126
|
+
specification_version: 4
|
128
127
|
summary: Extension of seed behaviour for rails applications
|
129
128
|
test_files:
|
130
|
-
- test/
|
131
|
-
- test/dummy/
|
132
|
-
- test/dummy/
|
133
|
-
- test/dummy/
|
134
|
-
- test/dummy/Rakefile
|
135
|
-
- test/dummy/db/seed/20120604133722_add_one_more_plant_failing.rb
|
136
|
-
- test/dummy/db/seed/20120604133721_add_one_more_plant.rb
|
137
|
-
- test/dummy/db/seed/20120604133720_add_plant.rb
|
138
|
-
- test/dummy/db/test.sqlite3
|
139
|
-
- test/dummy/db/schema.rb
|
140
|
-
- test/dummy/db/migrate/20120604133203_create_plants.rb
|
141
|
-
- test/dummy/db/development.sqlite3
|
142
|
-
- test/dummy/public/500.html
|
143
|
-
- test/dummy/public/422.html
|
144
|
-
- test/dummy/public/favicon.ico
|
145
|
-
- test/dummy/public/404.html
|
129
|
+
- test/dummy/app/assets/javascripts/application.js
|
130
|
+
- test/dummy/app/assets/stylesheets/application.css
|
131
|
+
- test/dummy/app/controllers/application_controller.rb
|
132
|
+
- test/dummy/app/helpers/application_helper.rb
|
146
133
|
- test/dummy/app/models/plant.rb
|
147
134
|
- test/dummy/app/views/layouts/application.html.erb
|
148
|
-
- test/dummy/app/helpers/application_helper.rb
|
149
|
-
- test/dummy/app/controllers/application_controller.rb
|
150
|
-
- test/dummy/app/assets/stylesheets/application.css
|
151
|
-
- test/dummy/app/assets/javascripts/application.js
|
152
135
|
- test/dummy/config/application.rb
|
153
|
-
- test/dummy/config/
|
154
|
-
- test/dummy/config/
|
136
|
+
- test/dummy/config/boot.rb
|
137
|
+
- test/dummy/config/database.yml
|
138
|
+
- test/dummy/config/environment.rb
|
155
139
|
- test/dummy/config/environments/development.rb
|
156
140
|
- test/dummy/config/environments/production.rb
|
157
|
-
- test/dummy/config/
|
158
|
-
- test/dummy/config/
|
159
|
-
- test/dummy/config/
|
141
|
+
- test/dummy/config/environments/test.rb
|
142
|
+
- test/dummy/config/initializers/backtrace_silencers.rb
|
143
|
+
- test/dummy/config/initializers/inflections.rb
|
144
|
+
- test/dummy/config/initializers/mime_types.rb
|
160
145
|
- test/dummy/config/initializers/secret_token.rb
|
161
146
|
- test/dummy/config/initializers/session_store.rb
|
162
|
-
- test/dummy/config/initializers/mime_types.rb
|
163
147
|
- test/dummy/config/initializers/wrap_parameters.rb
|
164
|
-
- test/dummy/config/
|
165
|
-
- test/dummy/config/
|
166
|
-
- test/dummy/config/database.yml
|
148
|
+
- test/dummy/config/locales/en.yml
|
149
|
+
- test/dummy/config/routes.rb
|
167
150
|
- test/dummy/config.ru
|
151
|
+
- test/dummy/db/development.sqlite3
|
152
|
+
- test/dummy/db/migrate/20120604133203_create_plants.rb
|
153
|
+
- test/dummy/db/schema.rb
|
154
|
+
- test/dummy/db/seed/20120604133720_add_plant.rb
|
155
|
+
- test/dummy/db/seed/20120604133721_add_one_more_plant.rb
|
156
|
+
- test/dummy/db/seed/20120604133722_add_one_more_plant_failing.rb
|
157
|
+
- test/dummy/db/test.sqlite3
|
158
|
+
- test/dummy/log/test.log
|
159
|
+
- test/dummy/public/404.html
|
160
|
+
- test/dummy/public/422.html
|
161
|
+
- test/dummy/public/500.html
|
162
|
+
- test/dummy/public/favicon.ico
|
163
|
+
- test/dummy/Rakefile
|
164
|
+
- test/dummy/README.rdoc
|
168
165
|
- test/dummy/script/rails
|
169
|
-
- test/
|
166
|
+
- test/dummy/tmp/development_secret.txt
|
167
|
+
- test/seed_migration_generator_test.rb
|
170
168
|
- test/seed_migrations_test.rb
|
169
|
+
- test/test_helper.rb
|
@@ -1,23 +0,0 @@
|
|
1
|
-
Connecting to database specified by database.yml
|
2
|
-
[1m[36m (0.1ms)[0m [1mselect sqlite_version(*)[0m
|
3
|
-
[1m[35m (3.1ms)[0m CREATE TABLE "schema_migrations" ("version" varchar(255) NOT NULL)
|
4
|
-
[1m[36m (0.0ms)[0m [1mPRAGMA index_list("schema_migrations")[0m
|
5
|
-
[1m[35m (2.1ms)[0m CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")
|
6
|
-
[1m[36m (0.1ms)[0m [1mSELECT "schema_migrations"."version" FROM "schema_migrations" [0m
|
7
|
-
Migrating to CreatePlants (20120604133203)
|
8
|
-
[1m[35m (0.0ms)[0m begin transaction
|
9
|
-
[1m[36m (0.3ms)[0m [1mCREATE TABLE "plants" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL) [0m
|
10
|
-
[1m[35m (0.1ms)[0m INSERT INTO "schema_migrations" ("version") VALUES ('20120604133203')
|
11
|
-
[1m[36m (2.3ms)[0m [1mcommit transaction[0m
|
12
|
-
[1m[35m (0.2ms)[0m select sqlite_version(*)
|
13
|
-
[1m[36m (0.1ms)[0m [1mSELECT "schema_migrations"."version" FROM "schema_migrations" [0m
|
14
|
-
[1m[35m (0.0ms)[0m PRAGMA index_list("plants")
|
15
|
-
Connecting to database specified by database.yml
|
16
|
-
[1m[36m (0.1ms)[0m [1mSELECT "schema_migrations"."version" FROM "schema_migrations" [0m
|
17
|
-
[1m[35m (0.2ms)[0m select sqlite_version(*)
|
18
|
-
[1m[36m (1.9ms)[0m [1mCREATE TABLE "plants" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL) [0m
|
19
|
-
[1m[35m (2.0ms)[0m CREATE TABLE "schema_migrations" ("version" varchar(255) NOT NULL)
|
20
|
-
[1m[36m (0.0ms)[0m [1mPRAGMA index_list("schema_migrations")[0m
|
21
|
-
[1m[35m (2.4ms)[0m CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")
|
22
|
-
[1m[36m (0.1ms)[0m [1mSELECT version FROM "schema_migrations"[0m
|
23
|
-
[1m[35m (1.7ms)[0m INSERT INTO "schema_migrations" (version) VALUES ('20120604133203')
|