obbistrano 1.1.90 → 1.1.91

Sign up to get free protection for your applications and to get access to all the features.
@@ -2,5 +2,3 @@ require 'colored'
2
2
  require 'fileutils'
3
3
  require 'inifile'
4
4
  require "obbistrano_tasks"
5
-
6
- set :php_bin, "php"
@@ -49,7 +49,23 @@ Capistrano::Configuration.instance(:must_exist).load do
49
49
  def remote_command_exists?(command)
50
50
  'true' == capture("if [ -x \"$(which #{command})\" ]; then echo 'true'; fi").strip
51
51
  end
52
+
53
+ #### Variable defaults
54
+ set :php_bin, "php"
55
+
56
+ # If set to false download/install composer
57
+ set :composer_bin, false
58
+
59
+ # Options to pass to composer when installing/updating
60
+ set :composer_options, "--no-scripts --verbose --prefer-dist"
52
61
 
62
+ # Whether to update vendors using the configured dependency manager (composer or bin/vendors)
63
+ set :update_vendors, false
64
+
65
+ # run bin/vendors script in mode (upgrade, install (faster if shared /vendor folder) or reinstall)
66
+ set :vendors_mode, "reinstall"
67
+
68
+
53
69
 
54
70
  #### Performs the initial setup for tasks ####
55
71
  task :config_setup do
@@ -2,7 +2,7 @@
2
2
 
3
3
  Gem::Specification.new do |s|
4
4
  s.name = %q{obbistrano}
5
- s.version = "1.1.90"
5
+ s.version = "1.1.91"
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
- - 90
9
- version: 1.1.90
8
+ - 91
9
+ version: 1.1.91
10
10
  platform: ruby
11
11
  authors:
12
12
  - Ross Riley