rconf 0.6.3 → 0.6.4

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.
@@ -21,8 +21,10 @@ module RightConf
21
21
 
22
22
  description 'Installs bundler and runs "bundle install"'
23
23
 
24
- settings :version => 'Version of bundler gem, e.g. "1.0.10"',
25
- :gem_path => 'Path to bundler gem, e.g. "vendor/system_gems/cache"'
24
+ settings :version => 'Version of bundler gem, e.g. "1.0.10"',
25
+ :exclusions => 'Gem groups to be excluded when installing bundle',
26
+ :bundle_path => 'Path where bundle should be installed',
27
+ :gem_path => 'Path to bundler gem, e.g. "vendor/system_gems/cache"'
26
28
 
27
29
  validate_has_settings :version
28
30
 
@@ -37,7 +39,11 @@ module RightConf
37
39
  report_result(success)
38
40
  install_bundler unless success
39
41
  report_check('Installing gems')
40
- res = Command.execute('bundle', 'install', :abort_on_failure => 'Failed to install gems')
42
+ options = [ 'install' ]
43
+ options << "--without=#{exclusions}" unless exclusions.nil?
44
+ options << "--path #{bundle_path}" unless bundle_path.nil?
45
+ options << { :abort_on_failure => 'Failed to install gems' }
46
+ res = Command.execute('bundle', *options)
41
47
  report_success
42
48
  true
43
49
  end
data/lib/rconf/version.rb CHANGED
@@ -13,7 +13,7 @@ module RightConf
13
13
 
14
14
  MAJOR = 0
15
15
  MINOR = 6
16
- BUILD = 3
16
+ BUILD = 4
17
17
 
18
18
  VERSION = [MAJOR, MINOR, BUILD].map(&:to_s).join('.')
19
19
 
metadata CHANGED
@@ -2,7 +2,7 @@
2
2
  name: rconf
3
3
  version: !ruby/object:Gem::Version
4
4
  prerelease:
5
- version: 0.6.3
5
+ version: 0.6.4
6
6
  platform: ruby
7
7
  authors:
8
8
  - Raphael Simon