capistrano-compose 0.0.20 → 0.0.21
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/.gitignore +1 -0
- data/capistrano-composer.gemspec +1 -1
- data/lib/capistrano/tasks/composer.rake +8 -8
- data/lib/capistrano-compose.rb +0 -9
- metadata +11 -11
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: d4d1484542becbffa6344f0e6cf8ac247bd423f6
|
4
|
+
data.tar.gz: d75a25be6192b4911d54ab37808b01030a385e85
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 05e3a8a5aed2f6a73d76d35e48efbdbdb12d273868d1d167b1aaa00ea83135e38464b764d253bfd86cf9ecf1d55dd3bb82bfeb2144850c921f01e19c3ea96c89
|
7
|
+
data.tar.gz: 4f98b43ab2f59955ac1d28b5cadd5ff52e0e9c03765a4a688a26b5586784392b51d48f33b29ca4d44db54cc0f445f8adbddba342a7679a957dd7ffd94dea2b66
|
data/.gitignore
CHANGED
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.21'
|
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,14 +2,14 @@ namespace :composer do
|
|
2
2
|
desc "Installs composer to the shared directory"
|
3
3
|
task :install_executable do
|
4
4
|
on roles fetch(:composer_roles) do
|
5
|
-
|
6
|
-
|
7
|
-
|
8
|
-
|
9
|
-
|
10
|
-
|
5
|
+
within fetch(:release_path) do
|
6
|
+
unless test "[", "-e", "#{fetch(:composer_filename)}", "]"
|
7
|
+
composer_version = fetch(:composer_version, nil)
|
8
|
+
composer_version_option = composer_version ? "-- --version=#{composer_version}" : ""
|
9
|
+
composer_filename_option = "-- --filename=#{fetch(:composer_filename)}"
|
10
|
+
execute :curl, "-s", fetch(:composer_download_url), "|", :php, composer_version_option, composer_filename_option
|
11
|
+
end
|
11
12
|
end
|
12
|
-
end
|
13
13
|
end
|
14
14
|
end
|
15
15
|
|
@@ -17,7 +17,7 @@ namespace :composer do
|
|
17
17
|
args.with_defaults(:command => :list)
|
18
18
|
on roles fetch(:composer_roles) do
|
19
19
|
within fetch(:release_path) do
|
20
|
-
execute "
|
20
|
+
execute "#{fetch(:composer_filename)}", args[:command], *args.extras
|
21
21
|
end
|
22
22
|
end
|
23
23
|
end
|
data/lib/capistrano-compose.rb
CHANGED
@@ -1,9 +0,0 @@
|
|
1
|
-
namespace :load do
|
2
|
-
task :defaults do
|
3
|
-
set :composer_install_flags, '--no-dev --prefer-dist --no-scripts --optimize-autoloader'
|
4
|
-
set :composer_roles, :all
|
5
|
-
set :composer_dump_autoload_flags, '--optimize'
|
6
|
-
set :composer_download_url, "https://getcomposer.org/installer"
|
7
|
-
set :composer_filename, "composer"
|
8
|
-
end
|
9
|
-
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.
|
4
|
+
version: 0.0.21
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Scott Walkinshaw
|
@@ -10,48 +10,48 @@ authors:
|
|
10
10
|
autorequire:
|
11
11
|
bindir: bin
|
12
12
|
cert_chain: []
|
13
|
-
date:
|
13
|
+
date: 2015-08-19 00:00:00.000000000 Z
|
14
14
|
dependencies:
|
15
15
|
- !ruby/object:Gem::Dependency
|
16
16
|
name: capistrano
|
17
17
|
requirement: !ruby/object:Gem::Requirement
|
18
18
|
requirements:
|
19
|
-
- -
|
19
|
+
- - ">="
|
20
20
|
- !ruby/object:Gem::Version
|
21
21
|
version: '3.1'
|
22
22
|
type: :runtime
|
23
23
|
prerelease: false
|
24
24
|
version_requirements: !ruby/object:Gem::Requirement
|
25
25
|
requirements:
|
26
|
-
- -
|
26
|
+
- - ">="
|
27
27
|
- !ruby/object:Gem::Version
|
28
28
|
version: '3.1'
|
29
29
|
- !ruby/object:Gem::Dependency
|
30
30
|
name: bundler
|
31
31
|
requirement: !ruby/object:Gem::Requirement
|
32
32
|
requirements:
|
33
|
-
- - ~>
|
33
|
+
- - "~>"
|
34
34
|
- !ruby/object:Gem::Version
|
35
35
|
version: '1.3'
|
36
36
|
type: :development
|
37
37
|
prerelease: false
|
38
38
|
version_requirements: !ruby/object:Gem::Requirement
|
39
39
|
requirements:
|
40
|
-
- - ~>
|
40
|
+
- - "~>"
|
41
41
|
- !ruby/object:Gem::Version
|
42
42
|
version: '1.3'
|
43
43
|
- !ruby/object:Gem::Dependency
|
44
44
|
name: rake
|
45
45
|
requirement: !ruby/object:Gem::Requirement
|
46
46
|
requirements:
|
47
|
-
- -
|
47
|
+
- - ">="
|
48
48
|
- !ruby/object:Gem::Version
|
49
49
|
version: '0'
|
50
50
|
type: :development
|
51
51
|
prerelease: false
|
52
52
|
version_requirements: !ruby/object:Gem::Requirement
|
53
53
|
requirements:
|
54
|
-
- -
|
54
|
+
- - ">="
|
55
55
|
- !ruby/object:Gem::Version
|
56
56
|
version: '0'
|
57
57
|
description: Composer support for Capistrano 3.x
|
@@ -63,7 +63,7 @@ executables: []
|
|
63
63
|
extensions: []
|
64
64
|
extra_rdoc_files: []
|
65
65
|
files:
|
66
|
-
- .gitignore
|
66
|
+
- ".gitignore"
|
67
67
|
- Gemfile
|
68
68
|
- LICENSE
|
69
69
|
- LICENSE.txt
|
@@ -83,12 +83,12 @@ require_paths:
|
|
83
83
|
- lib
|
84
84
|
required_ruby_version: !ruby/object:Gem::Requirement
|
85
85
|
requirements:
|
86
|
-
- -
|
86
|
+
- - ">="
|
87
87
|
- !ruby/object:Gem::Version
|
88
88
|
version: '0'
|
89
89
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
90
90
|
requirements:
|
91
|
-
- -
|
91
|
+
- - ">="
|
92
92
|
- !ruby/object:Gem::Version
|
93
93
|
version: '0'
|
94
94
|
requirements: []
|