obbistrano 1.1.138 → 1.1.139

Sign up to get free protection for your applications and to get access to all the features.
@@ -41,6 +41,9 @@ Capistrano::Configuration.instance(:must_exist).load do
41
41
  #### Variable defaults
42
42
  set :php_bin, "php"
43
43
 
44
+ # Flags an app to install composer - false by default
45
+ set :use_composer, false
46
+
44
47
  # If set to false download/install composer
45
48
  set :composer_bin, false
46
49
 
@@ -87,6 +90,7 @@ Capistrano::Configuration.instance(:must_exist).load do
87
90
  task :deploy, :roles =>[:web] do
88
91
  host.config_check
89
92
  deploy_check
93
+ composer.install if use_composer
90
94
  bundle.css
91
95
  bundle.js
92
96
  end
@@ -2,7 +2,7 @@
2
2
 
3
3
  Gem::Specification.new do |s|
4
4
  s.name = %q{obbistrano}
5
- s.version = "1.1.138"
5
+ s.version = "1.1.139"
6
6
  s.authors = ["Ross Riley", "One Black Bear"]
7
7
  s.date = Time.now
8
8
  s.required_rubygems_version = Gem::Requirement.new(">= 0") if s.respond_to? :required_rubygems_version=
metadata CHANGED
@@ -5,8 +5,8 @@ version: !ruby/object:Gem::Version
5
5
  segments:
6
6
  - 1
7
7
  - 1
8
- - 138
9
- version: 1.1.138
8
+ - 139
9
+ version: 1.1.139
10
10
  platform: ruby
11
11
  authors:
12
12
  - Ross Riley
@@ -15,7 +15,7 @@ autorequire:
15
15
  bindir: bin
16
16
  cert_chain: []
17
17
 
18
- date: 2013-01-07 00:00:00 +00:00
18
+ date: 2013-01-08 00:00:00 +00:00
19
19
  default_executable:
20
20
  dependencies:
21
21
  - !ruby/object:Gem::Dependency