obbistrano 1.1.90 → 1.1.91
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- data/lib/obbistrano.rb +0 -2
- data/lib/obbistrano_tasks.rb +16 -0
- data/obbistrano.gemspec +1 -1
- metadata +2 -2
data/lib/obbistrano.rb
CHANGED
data/lib/obbistrano_tasks.rb
CHANGED
@@ -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
|
data/obbistrano.gemspec
CHANGED
@@ -2,7 +2,7 @@
|
|
2
2
|
|
3
3
|
Gem::Specification.new do |s|
|
4
4
|
s.name = %q{obbistrano}
|
5
|
-
s.version = "1.1.
|
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=
|