capistrano-cookbook 0.2.0 → 0.2.1
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
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 4f162871e5691b88542a956397a7b4df77c2271c
|
4
|
+
data.tar.gz: 9952c146e703099ad3c7010c6bd33e99e20be20e
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 486676444621788abd40123422b1cf26eb729191b338295c3372d276c35811b7f7b1e3e8be5e723481728fd46c3fd7c803077bf5ca5c6657b0a388de2df63856
|
7
|
+
data.tar.gz: 446e750c72872ec6f84a9b52e7fddb5158673e552c221503d8d93844864cfcbbfa8dcde01fc9aee69f581825d9fa0615309cb28aea33c055a1fb008a8b4af46b
|
data/README.md
CHANGED
@@ -2,7 +2,7 @@ namespace :deploy do
|
|
2
2
|
desc "Runs test before deploying, can't deploy unless they pass"
|
3
3
|
task :run_tests do
|
4
4
|
test_log = "log/capistrano.test.log"
|
5
|
-
tests = fetch(:tests)
|
5
|
+
tests = fetch(:tests, [])
|
6
6
|
tests.each do |test|
|
7
7
|
puts "--> Running tests: '#{test}', please wait ..."
|
8
8
|
unless system "bundle exec rspec #{test} > #{test_log} 2>&1"
|
@@ -16,3 +16,5 @@ namespace :deploy do
|
|
16
16
|
system "rm #{test_log}"
|
17
17
|
end
|
18
18
|
end
|
19
|
+
|
20
|
+
before 'deploy', 'deploy:run_tests'
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: capistrano-cookbook
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.2.
|
4
|
+
version: 0.2.1
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Ben Dixon
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2014-
|
11
|
+
date: 2014-12-08 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: capistrano
|