toys-core 0.17.1 → 0.17.2
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/README.md +7 -7
- data/lib/toys/core.rb +1 -1
- data/lib/toys/utils/gems.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: 51968b2b3ef449788b6d6aa3feae3872599a7216c6d7a71504d89babbd96abac
|
|
4
|
+
data.tar.gz: 269baef5874f35cdb88de125eb9344f24655b5cc530567a50b161e0ef5e5734c
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 46bb7164cfb1669100beab456ab0c11b97ec5c871649d1f632c53ce1819f1c6dc03a8214ae331c329dec8d66e757c1cf31b538898f07a88f3e22625381a67034
|
|
7
|
+
data.tar.gz: 5bf005ff05aa1fe267cdd271b4b660e009040f8b98d07f0ae5c3fa100ad89b6329ca20f27dd3cd0ad0125829e08ab312a9624862ebec36c11c547943d52c15a7
|
data/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,10 @@
|
|
|
1
1
|
# Release History
|
|
2
2
|
|
|
3
|
+
### v0.17.2 / 2025-11-30
|
|
4
|
+
|
|
5
|
+
* FIXED: Minor formatting fix in the gem install prompt
|
|
6
|
+
* DOCS: Fixed minor typos in readme files
|
|
7
|
+
|
|
3
8
|
### v0.17.1 / 2025-11-07
|
|
4
9
|
|
|
5
10
|
* FIXED: Rolled back dependency on the logger gem because it is causing some issues with bundler integration
|
data/README.md
CHANGED
|
@@ -22,7 +22,7 @@ executable using Toys-Core.
|
|
|
22
22
|
It assumes basic familiarity with Toys, so, if you have not done so, I
|
|
23
23
|
recommend first walking through the tutorial in the
|
|
24
24
|
[Toys README](https://dazuma.github.io/toys/gems/toys/latest). It also assumes
|
|
25
|
-
you are running a
|
|
25
|
+
you are running a Unix-like system such as Linux or macOS. Some commands might
|
|
26
26
|
need to be modified if you're running on Windows.
|
|
27
27
|
|
|
28
28
|
### Install Toys-Core
|
|
@@ -37,7 +37,7 @@ dependency.
|
|
|
37
37
|
### Create a new executable
|
|
38
38
|
|
|
39
39
|
We'll start by creating an executable Ruby script. Using your favorite text
|
|
40
|
-
editor, create new
|
|
40
|
+
editor, create a new file called `mycmd` with the following contents:
|
|
41
41
|
|
|
42
42
|
#!/usr/bin/env ruby
|
|
43
43
|
|
|
@@ -237,8 +237,8 @@ no longer present.
|
|
|
237
237
|
|
|
238
238
|
We've also omitted the middleware that provides default execution behavior
|
|
239
239
|
(i.e. displaying the help screen) when there is no `run` method. Now, since we
|
|
240
|
-
haven't defined a
|
|
241
|
-
tool will cause an error:
|
|
240
|
+
haven't defined a top-level `run` method in this last example, invoking the
|
|
241
|
+
root tool will cause an error:
|
|
242
242
|
|
|
243
243
|
$ ./mycmd
|
|
244
244
|
|
|
@@ -276,7 +276,7 @@ directory, run:
|
|
|
276
276
|
$ toys install
|
|
277
277
|
|
|
278
278
|
Once the gem has successfully installed, you can run the executable, which
|
|
279
|
-
|
|
279
|
+
RubyGems should have added to your path. (Note: if you are using a ruby
|
|
280
280
|
installation manager, you may need to "rehash" or "reshim" to gain access to
|
|
281
281
|
the executable.)
|
|
282
282
|
|
|
@@ -308,7 +308,7 @@ Try it out now. From the `examples/multi-file-gem` directory, run:
|
|
|
308
308
|
$ toys install
|
|
309
309
|
|
|
310
310
|
Once the gem has successfully installed, you can run the executable, which
|
|
311
|
-
|
|
311
|
+
RubyGems should have added to your path. (Note: if you are using a ruby
|
|
312
312
|
installation manager, you may need to "rehash" or "reshim" to gain access to
|
|
313
313
|
the executable.)
|
|
314
314
|
|
|
@@ -334,7 +334,7 @@ templates, and middleware, in the
|
|
|
334
334
|
[Toys-Core User Guide](https://dazuma.github.io/toys/gems/toys-core/latest/file.guide.html).
|
|
335
335
|
|
|
336
336
|
Detailed usage information can be found in the
|
|
337
|
-
[class reference documentation](https://dazuma.github.io/toys/gems/toys-core/
|
|
337
|
+
[class reference documentation](https://dazuma.github.io/toys/gems/toys-core/latest/Toys.html)
|
|
338
338
|
|
|
339
339
|
## System requirements
|
|
340
340
|
|
data/lib/toys/core.rb
CHANGED
data/lib/toys/utils/gems.rb
CHANGED
|
@@ -250,7 +250,7 @@ module Toys
|
|
|
250
250
|
end
|
|
251
251
|
|
|
252
252
|
def gem_requirements_text(name, requirements)
|
|
253
|
-
|
|
253
|
+
([name] + requirements).map(&:inspect).join(", ")
|
|
254
254
|
end
|
|
255
255
|
|
|
256
256
|
def confirm_and_install_gem(name, requirements)
|
metadata
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: toys-core
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 0.17.
|
|
4
|
+
version: 0.17.2
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- Daniel Azuma
|
|
@@ -78,10 +78,10 @@ homepage: https://github.com/dazuma/toys
|
|
|
78
78
|
licenses:
|
|
79
79
|
- MIT
|
|
80
80
|
metadata:
|
|
81
|
-
changelog_uri: https://dazuma.github.io/toys/gems/toys-core/v0.17.
|
|
81
|
+
changelog_uri: https://dazuma.github.io/toys/gems/toys-core/v0.17.2/file.CHANGELOG.html
|
|
82
82
|
source_code_uri: https://github.com/dazuma/toys/tree/main/toys-core
|
|
83
83
|
bug_tracker_uri: https://github.com/dazuma/toys/issues
|
|
84
|
-
documentation_uri: https://dazuma.github.io/toys/gems/toys-core/v0.17.
|
|
84
|
+
documentation_uri: https://dazuma.github.io/toys/gems/toys-core/v0.17.2
|
|
85
85
|
rdoc_options: []
|
|
86
86
|
require_paths:
|
|
87
87
|
- lib
|