toys 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/bin/toys +3 -1
- data/lib/toys.rb +5 -1
- data/lib/toys/version.rb +1 -1
- metadata +5 -5
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 82fdaa52273dc684b712f6912d6819fb04fe0d6318b5850c91afe4a2f731b8c4
|
4
|
+
data.tar.gz: 9993d58721d8c289a6d0c5897a6abbb0184268ea306d5ca560320897c6da0c79
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 9bbc65bd24e1e76607768d70e2361527113db9e5b0d4edef00185230ac81d23048ca698f36ed6569f3037d9888c4d7629a871dd483146fbc0a1b3649257ef60f
|
7
|
+
data.tar.gz: 02e66995d3e2b2f05dea4646163e7a44cca3408c5700f05769db23d7147392e1b0e69c83ddcdc54bbf127bc73e601fb1aa75a6e3c9133e1133195978150a7eeb
|
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/bin/toys
CHANGED
@@ -2,8 +2,10 @@
|
|
2
2
|
# frozen_string_literal: true
|
3
3
|
|
4
4
|
::ENV["TOYS_BIN_PATH"] ||= ::File.absolute_path(__FILE__)
|
5
|
+
::ENV["TOYS_LIB_PATH"] ||= ::File.absolute_path(::File.join(::File.dirname(__dir__), "lib"))
|
5
6
|
|
6
|
-
$LOAD_PATH.
|
7
|
+
$LOAD_PATH.delete(::ENV["TOYS_LIB_PATH"])
|
8
|
+
$LOAD_PATH.unshift(::ENV["TOYS_LIB_PATH"])
|
7
9
|
require "toys"
|
8
10
|
|
9
11
|
exit(::Toys::StandardCLI.new.run(::ARGV))
|
data/lib/toys.rb
CHANGED
@@ -16,8 +16,9 @@ require "toys/version"
|
|
16
16
|
abort "Unable to find toys-core gem!" unless path && ::File.directory?(path)
|
17
17
|
path
|
18
18
|
end
|
19
|
-
$LOAD_PATH.unshift(::ENV["TOYS_CORE_LIB_PATH"])
|
20
19
|
|
20
|
+
$LOAD_PATH.delete(::ENV["TOYS_CORE_LIB_PATH"])
|
21
|
+
$LOAD_PATH.unshift(::ENV["TOYS_CORE_LIB_PATH"])
|
21
22
|
require "toys-core"
|
22
23
|
|
23
24
|
##
|
@@ -38,6 +39,9 @@ module Toys
|
|
38
39
|
#
|
39
40
|
EXECUTABLE_PATH = ::ENV["TOYS_BIN_PATH"]
|
40
41
|
|
42
|
+
# @private
|
43
|
+
LIB_PATH = __dir__
|
44
|
+
|
41
45
|
##
|
42
46
|
# Namespace for standard template classes.
|
43
47
|
#
|
data/lib/toys/version.rb
CHANGED
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: toys
|
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: toys-core
|
@@ -16,14 +16,14 @@ dependencies:
|
|
16
16
|
requirements:
|
17
17
|
- - '='
|
18
18
|
- !ruby/object:Gem::Version
|
19
|
-
version: 0.10.
|
19
|
+
version: 0.10.2
|
20
20
|
type: :runtime
|
21
21
|
prerelease: false
|
22
22
|
version_requirements: !ruby/object:Gem::Requirement
|
23
23
|
requirements:
|
24
24
|
- - '='
|
25
25
|
- !ruby/object:Gem::Version
|
26
|
-
version: 0.10.
|
26
|
+
version: 0.10.2
|
27
27
|
- !ruby/object:Gem::Dependency
|
28
28
|
name: did_you_mean
|
29
29
|
requirement: !ruby/object:Gem::Requirement
|
@@ -220,7 +220,7 @@ metadata:
|
|
220
220
|
changelog_uri: https://github.com/dazuma/toys/blob/master/toys/CHANGELOG.md
|
221
221
|
source_code_uri: https://github.com/dazuma/toys
|
222
222
|
bug_tracker_uri: https://github.com/dazuma/toys/issues
|
223
|
-
documentation_uri: https://dazuma.github.io/toys/gems/toys/v0.10.
|
223
|
+
documentation_uri: https://dazuma.github.io/toys/gems/toys/v0.10.2
|
224
224
|
post_install_message:
|
225
225
|
rdoc_options: []
|
226
226
|
require_paths:
|