toys 0.15.0 → 0.15.1
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/core-docs/toys/core.rb +1 -1
- data/core-docs/toys/loader.rb +1 -1
- data/core-docs/toys/tool_definition.rb +1 -1
- data/lib/toys/templates/rake.rb +3 -3
- data/lib/toys/version.rb +1 -1
- metadata +6 -6
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: d18a73fddd4b4c4de686cadd776da8c6a70c425863382ce8ca33d4a68b0dd1ec
|
4
|
+
data.tar.gz: 5aca86d6e4a359c002b2a996ee6456ee4152bafcb7e981e315a0c26f338c49b8
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 4d1160317e3f7005729afef9faefe364e96cfa44afe6aaad984ab0f00369e51ad3d40bd8643a13cbb711efa23cc5b86f03f94c63ad826ffae1b790293e051027
|
7
|
+
data.tar.gz: 0f913098f67b499d42376052ec24f1104d6085f388acd8dc579dbbe4e5b022a85300b6b7a7112a8e97b6e9fdd50533561fb8dd9764b41693d10440b7c17d9e36
|
data/CHANGELOG.md
CHANGED
@@ -1,5 +1,9 @@
|
|
1
1
|
# Release History
|
2
2
|
|
3
|
+
### v0.15.1 / 2023-10-15
|
4
|
+
|
5
|
+
* FIXED: Clean up some internal requires, which may improve performance with built-in gems.
|
6
|
+
|
3
7
|
### v0.15.0 / 2023-10-12
|
4
8
|
|
5
9
|
Toys 0.15.0 is a major release that adds arbitrary signal handling, cleans up some warts around entrypoint and method definition, and fixes a few long-standing issues.
|
data/core-docs/toys/core.rb
CHANGED
data/core-docs/toys/loader.rb
CHANGED
data/lib/toys/templates/rake.rb
CHANGED
@@ -164,12 +164,12 @@ module Toys
|
|
164
164
|
gem "rake", *template.gem_version
|
165
165
|
require "rake"
|
166
166
|
|
167
|
-
rakefile_path = Templates::Rake.find_rakefile(
|
167
|
+
rakefile_path = ::Toys::Templates::Rake.find_rakefile(
|
168
168
|
template.rakefile_path, template.context_directory || context_directory
|
169
169
|
)
|
170
170
|
raise "Cannot find #{template.rakefile_path}" unless rakefile_path
|
171
171
|
rake_context_dir = ::File.dirname(rakefile_path)
|
172
|
-
rake = Templates::Rake.prepare_rake(rakefile_path, rake_context_dir)
|
172
|
+
rake = ::Toys::Templates::Rake.prepare_rake(rakefile_path, rake_context_dir)
|
173
173
|
|
174
174
|
rake.tasks.each do |task|
|
175
175
|
comments = task.full_comment.to_s.split("\n")
|
@@ -190,7 +190,7 @@ module Toys
|
|
190
190
|
|
191
191
|
if template.use_flags
|
192
192
|
task.arg_names.each do |arg|
|
193
|
-
specs = Templates::Rake.flag_specs(arg)
|
193
|
+
specs = ::Toys::Templates::Rake.flag_specs(arg)
|
194
194
|
flag(arg, *specs) unless specs.empty?
|
195
195
|
end
|
196
196
|
|
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.15.
|
4
|
+
version: 0.15.1
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Daniel Azuma
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2023-10-
|
11
|
+
date: 2023-10-15 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.15.
|
19
|
+
version: 0.15.1
|
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.15.
|
26
|
+
version: 0.15.1
|
27
27
|
description: Toys is a configurable command line tool. Write commands in Ruby using
|
28
28
|
a simple DSL, and Toys will provide the command line executable and take care of
|
29
29
|
all the details such as argument parsing, online help, and error reporting. Toys
|
@@ -121,10 +121,10 @@ homepage: https://github.com/dazuma/toys
|
|
121
121
|
licenses:
|
122
122
|
- MIT
|
123
123
|
metadata:
|
124
|
-
changelog_uri: https://dazuma.github.io/toys/gems/toys/v0.15.
|
124
|
+
changelog_uri: https://dazuma.github.io/toys/gems/toys/v0.15.1/file.CHANGELOG.html
|
125
125
|
source_code_uri: https://github.com/dazuma/toys/tree/main/toys
|
126
126
|
bug_tracker_uri: https://github.com/dazuma/toys/issues
|
127
|
-
documentation_uri: https://dazuma.github.io/toys/gems/toys/v0.15.
|
127
|
+
documentation_uri: https://dazuma.github.io/toys/gems/toys/v0.15.1
|
128
128
|
post_install_message:
|
129
129
|
rdoc_options: []
|
130
130
|
require_paths:
|