capistrano-af83 0.4.5 → 0.4.6

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: b191c3f12e94f4103163ea3ed5c79729bc964555
4
- data.tar.gz: b47f79d2a95fe9a76ba02ae31c407fc974240afe
3
+ metadata.gz: c2377e05c1f9b44829175fc1f515d675d71ab5a2
4
+ data.tar.gz: 1a3810d81ee177f9b4eadd1facceeb087ed34a35
5
5
  SHA512:
6
- metadata.gz: 7f497535958c5412b7e28e31c009d4b3ba4428f8b0d8d929d0f841c3700c8464a1134270c61e428d085157bd538e421fb0640ade50d370a391f4f3520889f748
7
- data.tar.gz: 1130059c19859d5ea10b5ed557fdd682dca88a4851294837be1558b8dc466b0499576d6e1d76bbcbca449852b29c64e9b0824200acc3dc7e8c2bd439c40a953e
6
+ metadata.gz: d313d79e90f5278d18a3f0b85290b2f372e0caddfd5a509e7a4623b2b07dd643dd87670dfcb8109ac405c68af7e4baf79b9e7407215a8fe66656696f5674ef8a
7
+ data.tar.gz: 9987a0383d895f3eb4bbf1eb6398231622ad376450cecfc1bc7f8ad7723d80a1c7915b38d150c03d0f5853e8784c663658c48a92252a331a6ae65ab8d8cf99e7
@@ -0,0 +1,13 @@
1
+ # encoding: UTF-8
2
+ namespace :ruby_env do
3
+ desc "Copy ruby-env"
4
+ task :copy do
5
+ src = "admin/ruby-env/#{rails_env}"
6
+ if File.exists? src
7
+ upload src, "ruby-env", via: :scp
8
+ else
9
+ logger.info "ruby-env for #{rails_env} doesn't exists, expected path: #{src}."
10
+ end
11
+ end
12
+ end
13
+ before 'deploy', 'ruby_env:copy'
@@ -9,7 +9,7 @@ namespace :deploy do
9
9
  end
10
10
 
11
11
  desc 'Stop thin'
12
- task :stop, :rules => :app do
12
+ task :stop, :roles => :app do
13
13
  run "cd #{current_path} && #{bundle_cmd} exec thin stop -C #{shared_path}/thin.yml"
14
14
  end
15
15
 
@@ -1,5 +1,5 @@
1
1
  module Capistrano
2
2
  module AF83
3
- VERSION = "0.4.5"
3
+ VERSION = "0.4.6"
4
4
  end
5
5
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: capistrano-af83
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.4.5
4
+ version: 0.4.6
5
5
  platform: ruby
6
6
  authors:
7
7
  - Bruno Michel
@@ -9,7 +9,7 @@ authors:
9
9
  autorequire:
10
10
  bindir: bin
11
11
  cert_chain: []
12
- date: 2013-10-24 00:00:00.000000000 Z
12
+ date: 2014-01-24 00:00:00.000000000 Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: capistrano
@@ -108,6 +108,7 @@ files:
108
108
  - lib/capistrano/af83/nginx.rb
109
109
  - lib/capistrano/af83/rails_goodies.rb
110
110
  - lib/capistrano/af83/resque.rb
111
+ - lib/capistrano/af83/ruby_env.rb
111
112
  - lib/capistrano/af83/sphinx.rb
112
113
  - lib/capistrano/af83/stages.rb
113
114
  - lib/capistrano/af83/thin.rb
@@ -133,7 +134,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
133
134
  version: '0'
134
135
  requirements: []
135
136
  rubyforge_project:
136
- rubygems_version: 2.2.0.preview.1
137
+ rubygems_version: 2.2.0
137
138
  signing_key:
138
139
  specification_version: 4
139
140
  summary: Capistrano recipes for af83