toys-core 0.10.1 → 0.10.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 +4 -0
- data/lib/toys-core.rb +3 -0
- data/lib/toys/core.rb +1 -1
- data/lib/toys/utils/gems.rb +7 -0
- metadata +3 -3
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: c5ae179649a0653db765b024bf25809d9e2cac6eb97aa3f1058be9ac59e9837c
|
4
|
+
data.tar.gz: eabbdaf0d81b86ab64674fbda0728ca361d66e9d69cfcd3ce76670f44b828d9b
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: e1312418f9bd568f880580faed87e55100800def6bb34cf159e26e342949fefceec6a73584af62569775a29921d923618a8cbc05f113d1797103c0133c1b7b2d
|
7
|
+
data.tar.gz: 335c0424407723fc242d9ea3ee0153bc9213b1b86e36a347106a96262aeb423c2aaa91cc71dcce72b4179eba5c40df1da112c87982c1543af337276db85bfb86
|
data/CHANGELOG.md
CHANGED
@@ -1,5 +1,9 @@
|
|
1
1
|
# Release History
|
2
2
|
|
3
|
+
### 0.10.2 / 2020-07-03
|
4
|
+
|
5
|
+
* FIXED: The load path no longer loses the toys and toys-core directories after a bundle install.
|
6
|
+
|
3
7
|
### 0.10.1 / 2020-03-07
|
4
8
|
|
5
9
|
* FIXED: Setting `:exit_on_nonzero_status` explicitly to false now works as expected.
|
data/lib/toys-core.rb
CHANGED
data/lib/toys/core.rb
CHANGED
data/lib/toys/utils/gems.rb
CHANGED
@@ -251,10 +251,17 @@ module Toys
|
|
251
251
|
begin
|
252
252
|
::Bundler.setup(*groups)
|
253
253
|
rescue ::Bundler::GemNotFound
|
254
|
+
restore_toys_libs
|
254
255
|
install_bundle(gemfile_path)
|
255
256
|
::Bundler.reset!
|
256
257
|
::Bundler.setup(*groups)
|
257
258
|
end
|
259
|
+
restore_toys_libs
|
260
|
+
end
|
261
|
+
|
262
|
+
def restore_toys_libs
|
263
|
+
$LOAD_PATH.unshift(::Toys::CORE_LIB_PATH)
|
264
|
+
$LOAD_PATH.unshift(::Toys::LIB_PATH) if ::Toys.const_defined?(:LIB_PATH)
|
258
265
|
end
|
259
266
|
|
260
267
|
def permission_to_bundle?
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: toys-core
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.10.
|
4
|
+
version: 0.10.2
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Daniel Azuma
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2020-03
|
11
|
+
date: 2020-07-03 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: did_you_mean
|
@@ -198,7 +198,7 @@ metadata:
|
|
198
198
|
changelog_uri: https://github.com/dazuma/toys/blob/master/toys-core/CHANGELOG.md
|
199
199
|
source_code_uri: https://github.com/dazuma/toys
|
200
200
|
bug_tracker_uri: https://github.com/dazuma/toys/issues
|
201
|
-
documentation_uri: https://dazuma.github.io/toys/gems/toys-core/v0.10.
|
201
|
+
documentation_uri: https://dazuma.github.io/toys/gems/toys-core/v0.10.2
|
202
202
|
post_install_message:
|
203
203
|
rdoc_options: []
|
204
204
|
require_paths:
|