toys-core 0.9.2 → 0.9.3
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 +5 -0
- data/lib/toys/core.rb +1 -1
- data/lib/toys/dsl/tool.rb +1 -0
- data/lib/toys/errors.rb +1 -1
- 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: 8e61131a1ea87e576b41f751b62532221d3d11db00b995e714f87f90f52b5708
|
|
4
|
+
data.tar.gz: da189bb3ea44c701f9997907078c9ed95b32890e7a1e8a19071e68f780e6c18f
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 5f6d78364b4a006216ddc467bbc2cb61e4ccc0f87bdd78507ec150303708496b50c77788c4702b63f257bb6c80bbf2f6695f63bb7c0dbffa9371c03b099580e8
|
|
7
|
+
data.tar.gz: 575efed8d0a1d170a24e04cbe9a75166402b8387950dc4684cf13e3079dcfadda9d011f2430b0f7c531d551d7e3f80fb25bbf71c57b6d19c0fd3df0fcdcc48cc
|
data/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,10 @@
|
|
|
1
1
|
# Release History
|
|
2
2
|
|
|
3
|
+
### 0.9.3 / 2020-01-05
|
|
4
|
+
|
|
5
|
+
* FIXED: `delegate_to` directive could crash if an overriding tool has already been defined.
|
|
6
|
+
* FIXED: A Ruby 2.7 warning when reporting a Toys file syntax error.
|
|
7
|
+
|
|
3
8
|
### 0.9.2 / 2020-01-03
|
|
4
9
|
|
|
5
10
|
* IMPROVED: Mixins can now take real keyword arguments, and will pass them on properly to `on_initialize` and `on_include` blocks.
|
data/lib/toys/core.rb
CHANGED
data/lib/toys/dsl/tool.rb
CHANGED
data/lib/toys/errors.rb
CHANGED
|
@@ -96,7 +96,7 @@ module Toys
|
|
|
96
96
|
rescue ::SyntaxError => e
|
|
97
97
|
if (match = /#{::Regexp.escape(path)}:(\d+)/.match(e.message))
|
|
98
98
|
opts = opts.merge(config_path: path, config_line: match[1].to_i)
|
|
99
|
-
e = ContextualError.new(e, banner, opts)
|
|
99
|
+
e = ContextualError.new(e, banner, **opts)
|
|
100
100
|
end
|
|
101
101
|
raise e
|
|
102
102
|
rescue ::ScriptError, ::StandardError => e
|
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.9.
|
|
4
|
+
version: 0.9.3
|
|
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-01-
|
|
11
|
+
date: 2020-01-06 00:00:00.000000000 Z
|
|
12
12
|
dependencies:
|
|
13
13
|
- !ruby/object:Gem::Dependency
|
|
14
14
|
name: highline
|
|
@@ -182,7 +182,7 @@ metadata:
|
|
|
182
182
|
changelog_uri: https://github.com/dazuma/toys/blob/master/toys-core/CHANGELOG.md
|
|
183
183
|
source_code_uri: https://github.com/dazuma/toys
|
|
184
184
|
bug_tracker_uri: https://github.com/dazuma/toys/issues
|
|
185
|
-
documentation_uri: https://dazuma.github.io/toys/gems/toys-core/v0.9.
|
|
185
|
+
documentation_uri: https://dazuma.github.io/toys/gems/toys-core/v0.9.3
|
|
186
186
|
post_install_message:
|
|
187
187
|
rdoc_options: []
|
|
188
188
|
require_paths:
|