capistrano-compose 0.0.8 → 0.0.10
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/capistrano-composer.gemspec +1 -1
- data/lib/capistrano/tasks/composer.rake +3 -3
- metadata +1 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 99fb437094aec77b39b03d63710eb892d06fcef7
|
4
|
+
data.tar.gz: a48b3475a2d3feaf3d1dc8ef0491132ae2d6dc8b
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 4722cbd4b78248df8b9f7c798f6c3af21ac7db4d53eda6a47ff825bccca01fff02c42ab845120b1a76b91f5159fd34d2431ef3c069b7d28e7ba157954099a9e0
|
7
|
+
data.tar.gz: d5c1b78d6bb690561dba81d57932b27a271f38e99991aa1fc37dbf45d7ac457c8a22815fd22fffa7ce79f0416634ebcf57c9cd65670a7528abf205578df8bcb2
|
data/capistrano-composer.gemspec
CHANGED
@@ -4,7 +4,7 @@ $LOAD_PATH.unshift(lib) unless $LOAD_PATH.include?(lib)
|
|
4
4
|
|
5
5
|
Gem::Specification.new do |spec|
|
6
6
|
spec.name = 'capistrano-compose'
|
7
|
-
spec.version = '0.0.
|
7
|
+
spec.version = '0.0.10'
|
8
8
|
spec.authors = ['Scott Walkinshaw', 'Peter Mitchell', "Ross Riley"]
|
9
9
|
spec.email = ['scott.walkinshaw@gmail.com', 'peterjmit@gmail.com', "riley.ross@gmail.com"]
|
10
10
|
spec.description = %q{Composer support for Capistrano 3.x}
|
@@ -7,7 +7,7 @@ namespace :composer do
|
|
7
7
|
desc <<-DESC
|
8
8
|
Installs composer.phar to the shared directory
|
9
9
|
In order to use the .phar file, the composer command needs to be mapped:
|
10
|
-
SSHKit.config.command_map[:composer] = "\#{
|
10
|
+
SSHKit.config.command_map[:composer] = "\#{shared_path.join("composer.phar")}"
|
11
11
|
This is best used before deploy:starting:
|
12
12
|
namespace :deploy do
|
13
13
|
before :starting, 'composer:install_executable'
|
@@ -15,7 +15,7 @@ namespace :composer do
|
|
15
15
|
DESC
|
16
16
|
task :install_executable do
|
17
17
|
on roles fetch(:composer_roles) do
|
18
|
-
within shared_path do
|
18
|
+
within fetch(:shared_path) do
|
19
19
|
unless test "[", "-e", "composer.phar", "]"
|
20
20
|
composer_version = fetch(:composer_version, nil)
|
21
21
|
composer_version_option = composer_version ? "-- --version=#{composer_version}" : ""
|
@@ -28,7 +28,7 @@ namespace :composer do
|
|
28
28
|
task :run, :command do |t, args|
|
29
29
|
args.with_defaults(:command => :list)
|
30
30
|
on roles fetch(:composer_roles) do
|
31
|
-
within release_path do
|
31
|
+
within fetch(:release_path) do
|
32
32
|
execute :composer, args[:command], *args.extras
|
33
33
|
end
|
34
34
|
end
|