prebundler 0.5.2 → 0.6.0

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.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 7fef6296ee70a89fd5fb40c825ff93e16fdb4f64
4
- data.tar.gz: e53eb914664015ca43522bae09be22ae33f05d98
3
+ metadata.gz: 31148eb5e8213279827dc3dfed03adc81d6f2f7d
4
+ data.tar.gz: 7919552d2b89d1b155f0c8337e97719c16abb9e9
5
5
  SHA512:
6
- metadata.gz: 86d66a0f76ca3df72508894ed3b79f6a94c0635e39efd416ab377800924a2619c2a250f9692d5c517149f2bdfdf4b96cff3d3b2143a9ca327548ca837ed36ad8
7
- data.tar.gz: e33ab27e63e1c50a23d6d955a41153fe2c62dfc7d4966cf5708bb13014d98d807884a496dd89fda22e3f530da656a40554ca638431bd46fbef0aaa4182de0c6a
6
+ metadata.gz: 8e3ecdb76e31103449b7595ed6e27c92617db722e0cb93b626c3b440f61b59a066ea7926d69a39f3b71e61ed6c8980493eb5007cdd2f1665164ba33bc9d19563
7
+ data.tar.gz: '018c6c0ed7ff08369b8b64f199d0620dfdbdf1815ce057504a2bfeb202c2e73e09870795f03cf42b97567fb04c2a7b9f48ffb7d1e80522c7530d23be7d152274'
data/CHANGELOG.md CHANGED
@@ -1,3 +1,7 @@
1
+ 0.6.2
2
+ ===
3
+ - Provide CLI option to generate binstubs.
4
+
1
5
  0.5.2
2
6
  ===
3
7
  - Set `BUNDLE_GEMFILE` during prepare step so bundler doesn't complain when we try to call `Bundler.app_config_path`.
data/bin/prebundle CHANGED
@@ -44,6 +44,10 @@ command :install do |c|
44
44
  c.desc 'A comma-separated list of groups referencing gems to skip during installation.'
45
45
  c.flag :without
46
46
 
47
+ c.desc 'Generate binstubs for installed gems.'
48
+ c.default_value true
49
+ c.switch :binstubs
50
+
47
51
  c.action do |global_options, options, args|
48
52
  raise 'Must specify a non-zero number of jobs' if options[:jobs] < 1
49
53
  Prebundler::Cli::Install.run($out, global_options, options, args)
@@ -109,6 +109,7 @@ module Prebundler
109
109
  end
110
110
 
111
111
  def generate_binstubs
112
+ return unless options[:binstubs]
112
113
  out.puts 'Generating binstubs...'
113
114
 
114
115
  gems_with_executables = gem_list.gems.values.select do |gem_ref|
@@ -138,6 +139,7 @@ module Prebundler
138
139
  args << "--with #{with_groups}" unless with_groups.empty?
139
140
  args << "--without #{without_groups}" unless without_groups.empty?
140
141
  args << "--jobs #{options[:jobs]}"
142
+ args << "--binstubs" if options[:binstubs]
141
143
  end.join(' ')
142
144
  end
143
145
 
@@ -1,3 +1,3 @@
1
1
  module Prebundler
2
- VERSION = '0.5.2'
2
+ VERSION = '0.6.0'
3
3
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: prebundler
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.5.2
4
+ version: 0.6.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Cameron Dutro
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2017-12-14 00:00:00.000000000 Z
11
+ date: 2018-01-04 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: bundler