capistrano-conditional 0.0.1 → 0.0.2
Sign up to get free protection for your applications and to get access to all the features.
@@ -16,7 +16,7 @@ class ConditionalDeploy
|
|
16
16
|
if ARGV.any?{|v| v['deploy:migrations']} # If running deploy:migrations
|
17
17
|
# If there weren't any changes to migrations or the schema file, then abort the deploy
|
18
18
|
ConditionalDeploy.register :unneeded_migrations, :none_match => ['db/schema.rb', 'db/migrate'] do
|
19
|
-
context.abort "You're running migrations, but it doesn't look like you need to!"
|
19
|
+
context.send :abort, "You're running migrations, but it doesn't look like you need to!"
|
20
20
|
end
|
21
21
|
else # If NOT running deploy:migrations
|
22
22
|
# If there were changes to migration files, run migrations as part of the deployment
|
metadata
CHANGED
@@ -1,13 +1,13 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: capistrano-conditional
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
hash:
|
4
|
+
hash: 27
|
5
5
|
prerelease:
|
6
6
|
segments:
|
7
7
|
- 0
|
8
8
|
- 0
|
9
|
-
-
|
10
|
-
version: 0.0.
|
9
|
+
- 2
|
10
|
+
version: 0.0.2
|
11
11
|
platform: ruby
|
12
12
|
authors:
|
13
13
|
- Kali Donovan
|