prebundler 0.11.1 → 0.11.2
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CHANGELOG.md +5 -0
- data/lib/prebundler/cli/install.rb +12 -10
- data/lib/prebundler/version.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 7b05cab7105a867a900e0110f528c4a7484e410d68595e8110413e6a8c749312
|
4
|
+
data.tar.gz: 3d9b04e09ec3aefa8cea5a3bcc0b3e22fe7cd7febdc8e0ca0ce0b991cb89151e
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: e38816cada1cd3a3f867a93a4dce913b45a991aa895dbc060312975d2104a686edcfdec218b28cb913b2735e5422183ff717b64230f529310825a2f7a02caab7
|
7
|
+
data.tar.gz: f151f57f6ce2a132ed1c6642a0b03e8edd99c25d5054328a1781dcfd37f1b3d6612ae105b2b2174591fa959a42bd49a4ab9239d4e14083e77b0e8f67aeec7498
|
data/CHANGELOG.md
CHANGED
@@ -21,7 +21,8 @@ module Prebundler
|
|
21
21
|
install
|
22
22
|
update_bundle_config
|
23
23
|
generate_binstubs
|
24
|
-
|
24
|
+
# always run `bundle install` just in case
|
25
|
+
bundle_install
|
25
26
|
rescue BundleFailedError => e
|
26
27
|
out.puts e.message
|
27
28
|
exit e.exitstatus
|
@@ -136,18 +137,19 @@ module Prebundler
|
|
136
137
|
out.puts 'Done generating binstubs'
|
137
138
|
end
|
138
139
|
|
139
|
-
def
|
140
|
-
system "bundle
|
140
|
+
def bundle_install
|
141
|
+
system "bundle install #{bundle_install_args}"
|
141
142
|
|
142
143
|
if $?.exitstatus != 0
|
143
|
-
|
144
|
-
|
144
|
+
raise BundleFailedError.new(
|
145
|
+
"bundler exited with status code #{$?.exitstatus}", $?.exitstatus
|
146
|
+
)
|
147
|
+
end
|
145
148
|
|
146
|
-
|
147
|
-
|
148
|
-
|
149
|
-
|
150
|
-
end
|
149
|
+
system "bundle check --gemfile #{gemfile_path}"
|
150
|
+
|
151
|
+
if $?.exitstatus != 0
|
152
|
+
raise BundleFailedError.new('bundle could not be satisfied', $?.exitstatus)
|
151
153
|
end
|
152
154
|
end
|
153
155
|
|
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.11.
|
4
|
+
version: 0.11.2
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Cameron Dutro
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2020-
|
11
|
+
date: 2020-03-13 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: bundler
|