capistrano-compose 0.0.14 → 0.0.15

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: b440a698f3181714878f1d81120fe33147abf306
4
- data.tar.gz: 89cb17c4e6710dfd5421260fec0c1984249a5807
3
+ metadata.gz: 23815bf1903b14bc44fb78e56de5ec9515d3576d
4
+ data.tar.gz: bd4a387ae677407f7b1ca9c4f0c7f741ca852190
5
5
  SHA512:
6
- metadata.gz: d64301efe05b7a35f950695eca8aaed80dc2d394f6ea45ac002279c5c7b8ef5e844ba23848f0fd3f73a8dfe1163ea1a4c60aa45fc1fe568c474f73a428785b78
7
- data.tar.gz: 1d8b2cee39d7b643a53d8d5a2de51af7f32c0dea4f8d537828b5e3f482f0609f9bd24141808cf3d44f777857793770c226cb3e8bcfbaa892136a46ab3d1e56af
6
+ metadata.gz: 88364cba370e907005c6b0bd6b0f7b7132f2af937943200979d5764cc666e82963703e87d067c3aa4f87f2ca318affa00cd74106186c69120971242bfec1658b
7
+ data.tar.gz: 63b008135ae9080f6d573dd91567e116e779bb1794c33b6a76fab752867d938dce051bd9ddcf43e5f3d237bb2a1744bc2cf6f87cc434fc73e05d8e7e453a370b
@@ -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.14'
7
+ spec.version = '0.0.15'
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}
@@ -5,22 +5,14 @@ set :composer_download_url, "https://getcomposer.org/installer"
5
5
  set :composer_filename, "composer"
6
6
 
7
7
  namespace :composer do
8
- desc <<-DESC
9
- Installs composer.phar to the shared directory
10
- In order to use the .phar file, the composer command needs to be mapped:
11
- SSHKit.config.command_map[:composer] = "\#{shared_path.join("composer.phar")}"
12
- This is best used before deploy:starting:
13
- namespace :deploy do
14
- before :starting, 'composer:install_executable'
15
- end
16
- DESC
8
+ desc "Installs composer to the shared directory"
17
9
  task :install_executable do
18
10
  on roles fetch(:composer_roles) do
19
11
  within fetch(:shared_path) do
20
12
  unless test "[", "-e", "#{fetch(:composer_filename)}", "]"
21
13
  composer_version = fetch(:composer_version, nil)
22
14
  composer_version_option = composer_version ? "-- --version=#{composer_version}" : ""
23
- composer_filename_option = " --filename=#{fetch(:composer_filename)}"
15
+ composer_filename_option = "-- --filename=#{fetch(:composer_filename)}"
24
16
  execute :curl, "-s", fetch(:composer_download_url), "|", :php, composer_version_option, composer_filename_option
25
17
  end
26
18
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: capistrano-compose
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.14
4
+ version: 0.0.15
5
5
  platform: ruby
6
6
  authors:
7
7
  - Scott Walkinshaw