ridgepole-replace_db_task 0.2.0 → 0.3.0
Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: f14de3119a516d59e6b4ccaabd389a9d20021cdee17d35adbbb58aee33d4cd3e
|
4
|
+
data.tar.gz: 210873f810798356311f3a3dbb7679f8714ac9b6c6a3e28bdc3987f5a873f0dd
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: b06c52355f3021aeea3175a0d85e9b43e254a577e2fd8d10b18abd9fb6f61155581f85f47845697cd28a69e1e49acddd1208d8c41a92182d0d0f6e3d9523d4d7
|
7
|
+
data.tar.gz: a027236aa6c6f42b128770ba3e95b58609e4647806438b8f1aa672715d2d835e0eb4597bc1826e5454847ac4a80f4c4c13e3f93a0ee0dabe289038bcf063d855
|
data/lib/tasks/replaced_db.rake
CHANGED
@@ -10,7 +10,7 @@ namespace :db do
|
|
10
10
|
ENV['RAILS_ENV'] ||= 'development'
|
11
11
|
apply(ENV['RAILS_ENV'], '--apply') { |line| puts line }
|
12
12
|
|
13
|
-
if ENV['RAILS_ENV'] == 'development'
|
13
|
+
if ENV['RAILS_ENV'] == 'development' && ::Ridgepole::ReplaceDbTask.config.migrate_with_test_when_development
|
14
14
|
apply('test', '--apply') { |line| puts line }
|
15
15
|
end
|
16
16
|
end
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: ridgepole-replace_db_task
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.
|
4
|
+
version: 0.3.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Takahiro Ooishi
|
8
8
|
autorequire:
|
9
9
|
bindir: exe
|
10
10
|
cert_chain: []
|
11
|
-
date: 2022-02-
|
11
|
+
date: 2022-02-24 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: railties
|