capistrano-compose 0.0.13 → 0.0.14
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 +5 -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: b440a698f3181714878f1d81120fe33147abf306
|
4
|
+
data.tar.gz: 89cb17c4e6710dfd5421260fec0c1984249a5807
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: d64301efe05b7a35f950695eca8aaed80dc2d394f6ea45ac002279c5c7b8ef5e844ba23848f0fd3f73a8dfe1163ea1a4c60aa45fc1fe568c474f73a428785b78
|
7
|
+
data.tar.gz: 1d8b2cee39d7b643a53d8d5a2de51af7f32c0dea4f8d537828b5e3f482f0609f9bd24141808cf3d44f777857793770c226cb3e8bcfbaa892136a46ab3d1e56af
|
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.14'
|
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}
|
@@ -2,6 +2,7 @@ set :composer_install_flags, '--no-dev --prefer-dist --no-scripts --quiet --opti
|
|
2
2
|
set :composer_roles, :all
|
3
3
|
set :composer_dump_autoload_flags, '--optimize'
|
4
4
|
set :composer_download_url, "https://getcomposer.org/installer"
|
5
|
+
set :composer_filename, "composer"
|
5
6
|
|
6
7
|
namespace :composer do
|
7
8
|
desc <<-DESC
|
@@ -16,10 +17,11 @@ namespace :composer do
|
|
16
17
|
task :install_executable do
|
17
18
|
on roles fetch(:composer_roles) do
|
18
19
|
within fetch(:shared_path) do
|
19
|
-
unless test "[", "-e", "
|
20
|
+
unless test "[", "-e", "#{fetch(:composer_filename)}", "]"
|
20
21
|
composer_version = fetch(:composer_version, nil)
|
21
|
-
composer_version_option = composer_version ? "-- --version=#{composer_version}
|
22
|
-
|
22
|
+
composer_version_option = composer_version ? "-- --version=#{composer_version}" : ""
|
23
|
+
composer_filename_option = " --filename=#{fetch(:composer_filename)}"
|
24
|
+
execute :curl, "-s", fetch(:composer_download_url), "|", :php, composer_version_option, composer_filename_option
|
23
25
|
end
|
24
26
|
end
|
25
27
|
end
|