caploy 0.1.9 → 0.1.10
Sign up to get free protection for your applications and to get access to all the features.
- data/lib/caploy/recipes/defaults.rb +5 -0
- data/lib/caploy/version.rb +1 -1
- metadata +2 -2
@@ -42,6 +42,10 @@ Capistrano::Configuration.instance.load do
|
|
42
42
|
run "cd #{release_path} && echo \"#{branch}\" > CURRENT_BRANCH"
|
43
43
|
end
|
44
44
|
|
45
|
+
task :set_staging_release_test_info_file, :roles => :app do
|
46
|
+
run "cd #{release_path} && echo \"#{branch}\" > RELEASE_TEST" if branch == 'master' and ENV['RELEASE_TEST']
|
47
|
+
end
|
48
|
+
|
45
49
|
desc "build missing paperclip styles"
|
46
50
|
task :build_missing_paperclip_styles, :roles => :app do
|
47
51
|
run "cd #{current_path}; RAILS_ENV=#{rails_env} bundle exec rake paperclip:refresh:missing_styles"
|
@@ -52,6 +56,7 @@ Capistrano::Configuration.instance.load do
|
|
52
56
|
run "cat #{current_path}/REVISION"
|
53
57
|
end
|
54
58
|
|
59
|
+
after 'deploy:finalize_update', 'deploy:set_branch_info_file'
|
55
60
|
end
|
56
61
|
|
57
62
|
task :test_and_prepare_cap_env do
|
data/lib/caploy/version.rb
CHANGED
metadata
CHANGED
@@ -2,14 +2,14 @@
|
|
2
2
|
name: caploy
|
3
3
|
version: !ruby/object:Gem::Version
|
4
4
|
prerelease:
|
5
|
-
version: 0.1.
|
5
|
+
version: 0.1.10
|
6
6
|
platform: ruby
|
7
7
|
authors:
|
8
8
|
- Michael Schiller
|
9
9
|
autorequire:
|
10
10
|
bindir: bin
|
11
11
|
cert_chain: []
|
12
|
-
date: 2013-02-
|
12
|
+
date: 2013-02-17 00:00:00.000000000 Z
|
13
13
|
dependencies:
|
14
14
|
- !ruby/object:Gem::Dependency
|
15
15
|
name: gemcutter
|