rconf 0.7.0 → 0.7.1
Sign up to get free protection for your applications and to get access to all the features.
@@ -22,7 +22,7 @@ module RightConf
|
|
22
22
|
description 'Installs bundler and runs "bundle install"'
|
23
23
|
|
24
24
|
settings :version => 'Version of bundler gem, e.g. "1.0.10"',
|
25
|
-
:exclusions => '
|
25
|
+
:exclusions => 'Comma separated list of gem groups to be excluded when installing bundle',
|
26
26
|
:bundle_path => 'Path where bundle should be installed',
|
27
27
|
:gem_path => 'Path to bundler gem, e.g. "vendor/system_gems/cache"'
|
28
28
|
|
@@ -40,8 +40,8 @@ module RightConf
|
|
40
40
|
install_bundler unless success
|
41
41
|
report_check('Installing gems')
|
42
42
|
options = [ "_#{version}_", 'install' ]
|
43
|
-
options << "--without=#{exclusions}" unless exclusions.nil?
|
44
|
-
options
|
43
|
+
options << "--without=#{exclusions.delete(' ')}" unless exclusions.nil?
|
44
|
+
options += [ '--path', bundle_path ] unless bundle_path.nil?
|
45
45
|
options << { :abort_on_failure => 'Failed to install gems' }
|
46
46
|
res = Command.execute_in_ruby('bundle', *options)
|
47
47
|
report_success
|
data/lib/rconf/version.rb
CHANGED
metadata
CHANGED
@@ -2,7 +2,7 @@
|
|
2
2
|
name: rconf
|
3
3
|
version: !ruby/object:Gem::Version
|
4
4
|
prerelease:
|
5
|
-
version: 0.7.
|
5
|
+
version: 0.7.1
|
6
6
|
platform: ruby
|
7
7
|
authors:
|
8
8
|
- Raphael Simon
|
@@ -10,7 +10,7 @@ autorequire:
|
|
10
10
|
bindir: bin
|
11
11
|
cert_chain: []
|
12
12
|
|
13
|
-
date: 2011-03-
|
13
|
+
date: 2011-03-22 00:00:00 -07:00
|
14
14
|
default_executable:
|
15
15
|
dependencies:
|
16
16
|
- !ruby/object:Gem::Dependency
|