capistrano-toolbox 0.0.7 → 0.0.8
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.
- data/lib/capistrano-toolbox/check.rb +2 -2
- metadata +2 -2
|
@@ -40,8 +40,8 @@ Capistrano::Configuration.instance(:must_exist).load do
|
|
|
40
40
|
unless @ignore_checks
|
|
41
41
|
rails_env = fetch(:rails_env, "production")
|
|
42
42
|
# If there are pending migrations, there will be a message on STDERR which is enough to abort.
|
|
43
|
-
run "cd #{release_path};
|
|
43
|
+
run "cd #{release_path}; #{bundle_cmd} exec rake -s RAILS_ENV=#{rails_env} db:abort_if_pending_migrations"
|
|
44
44
|
end
|
|
45
45
|
end
|
|
46
46
|
end
|
|
47
|
-
end
|
|
47
|
+
end
|
metadata
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: capistrano-toolbox
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 0.0.
|
|
4
|
+
version: 0.0.8
|
|
5
5
|
prerelease:
|
|
6
6
|
platform: ruby
|
|
7
7
|
authors:
|
|
@@ -11,7 +11,7 @@ authors:
|
|
|
11
11
|
autorequire:
|
|
12
12
|
bindir: bin
|
|
13
13
|
cert_chain: []
|
|
14
|
-
date:
|
|
14
|
+
date: 2013-03-13 00:00:00.000000000 Z
|
|
15
15
|
dependencies:
|
|
16
16
|
- !ruby/object:Gem::Dependency
|
|
17
17
|
name: capistrano
|