toys 0.17.2 → 0.18.0
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 +4 -0
- data/core-docs/toys/core.rb +1 -1
- data/core-docs/toys/dsl/tool.rb +4 -2
- 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: 1219a7aaa39a426ad3df4a1206620094d8f23a0080a6f021fdfc008b3bac57e0
|
|
4
|
+
data.tar.gz: 481a4b1ff80f776d04093a74f3e0b0b3946148c584793a5c8258aa9681f11bf8
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 545e3b289191f13b001e5ba0c1e36c23d69b81e533413b3680b672daf9f99a05e944721abc6fcb82a5456588969451ac14f44b833ae610b7eef0abd2de6a805f
|
|
7
|
+
data.tar.gz: '0480a435d1730c3ea06148a7f8d991454b7c5ee96e8732eb30291a0a14637650574ce53ad07e051b6d324193396369e351bf9ee1a6d7ab814c9be5c16f6be798'
|
data/CHANGELOG.md
CHANGED
data/core-docs/toys/core.rb
CHANGED
data/core-docs/toys/dsl/tool.rb
CHANGED
|
@@ -411,7 +411,9 @@ module Toys
|
|
|
411
411
|
# current location.
|
|
412
412
|
#
|
|
413
413
|
# @param name [String] Name of the gem
|
|
414
|
-
# @param
|
|
414
|
+
# @param versions [Array<String>] Version requirements for the gem.
|
|
415
|
+
# @param version [String,Array<String>] An alternate way to specify
|
|
416
|
+
# version requirements for the gem.
|
|
415
417
|
# @param path [String] Optional path within the gem to the file or
|
|
416
418
|
# directory to load. Defaults to the root of the gem's toys directory.
|
|
417
419
|
# @param toys_dir [String] Optional override for the gem's toys
|
|
@@ -420,7 +422,7 @@ module Toys
|
|
|
420
422
|
# @param as [String] Load into the given tool/namespace. If omitted,
|
|
421
423
|
# configuration will be loaded into the current namespace.
|
|
422
424
|
#
|
|
423
|
-
def load_gem(name, version: nil, path: nil, toys_dir: nil, as: nil)
|
|
425
|
+
def load_gem(name, *versions, version: nil, path: nil, toys_dir: nil, as: nil)
|
|
424
426
|
# Source available in the toys-core gem
|
|
425
427
|
end
|
|
426
428
|
|
data/lib/toys/version.rb
CHANGED
metadata
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: toys
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 0.
|
|
4
|
+
version: 0.18.0
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- Daniel Azuma
|
|
@@ -15,14 +15,14 @@ dependencies:
|
|
|
15
15
|
requirements:
|
|
16
16
|
- - '='
|
|
17
17
|
- !ruby/object:Gem::Version
|
|
18
|
-
version: 0.
|
|
18
|
+
version: 0.18.0
|
|
19
19
|
type: :runtime
|
|
20
20
|
prerelease: false
|
|
21
21
|
version_requirements: !ruby/object:Gem::Requirement
|
|
22
22
|
requirements:
|
|
23
23
|
- - '='
|
|
24
24
|
- !ruby/object:Gem::Version
|
|
25
|
-
version: 0.
|
|
25
|
+
version: 0.18.0
|
|
26
26
|
description: Toys is a configurable command line tool. Write commands in Ruby using
|
|
27
27
|
a simple DSL, and Toys will provide the command line executable and take care of
|
|
28
28
|
all the details such as argument parsing, online help, and error reporting. Toys
|
|
@@ -120,10 +120,10 @@ homepage: https://github.com/dazuma/toys
|
|
|
120
120
|
licenses:
|
|
121
121
|
- MIT
|
|
122
122
|
metadata:
|
|
123
|
-
changelog_uri: https://dazuma.github.io/toys/gems/toys/v0.
|
|
123
|
+
changelog_uri: https://dazuma.github.io/toys/gems/toys/v0.18.0/file.CHANGELOG.html
|
|
124
124
|
source_code_uri: https://github.com/dazuma/toys/tree/main/toys
|
|
125
125
|
bug_tracker_uri: https://github.com/dazuma/toys/issues
|
|
126
|
-
documentation_uri: https://dazuma.github.io/toys/gems/toys/v0.
|
|
126
|
+
documentation_uri: https://dazuma.github.io/toys/gems/toys/v0.18.0
|
|
127
127
|
rdoc_options: []
|
|
128
128
|
require_paths:
|
|
129
129
|
- lib
|