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 +4 -4
- data/CHANGELOG.md +4 -0
- data/bin/prebundle +4 -0
- data/lib/prebundler/cli/install.rb +2 -0
- data/lib/prebundler/version.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA1:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 31148eb5e8213279827dc3dfed03adc81d6f2f7d
|
|
4
|
+
data.tar.gz: 7919552d2b89d1b155f0c8337e97719c16abb9e9
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 8e3ecdb76e31103449b7595ed6e27c92617db722e0cb93b626c3b440f61b59a066ea7926d69a39f3b71e61ed6c8980493eb5007cdd2f1665164ba33bc9d19563
|
|
7
|
+
data.tar.gz: '018c6c0ed7ff08369b8b64f199d0620dfdbdf1815ce057504a2bfeb202c2e73e09870795f03cf42b97567fb04c2a7b9f48ffb7d1e80522c7530d23be7d152274'
|
data/CHANGELOG.md
CHANGED
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
|
|
data/lib/prebundler/version.rb
CHANGED
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.
|
|
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:
|
|
11
|
+
date: 2018-01-04 00:00:00.000000000 Z
|
|
12
12
|
dependencies:
|
|
13
13
|
- !ruby/object:Gem::Dependency
|
|
14
14
|
name: bundler
|