toys 0.10.0 → 0.10.5
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CHANGELOG.md +25 -0
- data/README.md +1 -1
- data/bin/toys +3 -1
- data/lib/toys.rb +5 -1
- data/lib/toys/version.rb +1 -1
- metadata +6 -160
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: d4d27fd4743feddadec86f143f5d0a9d5afff98cf3b10afd18732d29f495db38
|
4
|
+
data.tar.gz: bdc935b5876b1a1c7779a3fefc59ea9b6c506cf1f0eba67c54ff05a5e1e46013
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 9e8bcf630b41f3fe9a3c906460e5f40008b1a9190becf38ce3700308193240a9f5ec60c6ecec2dfd03bcf6eb8dafd77171c5039fa9dd239770d7f7251a6cf90f
|
7
|
+
data.tar.gz: a5d4cc200823a52c4586d2109fb89e1ebd17737d191cea509b53e344a9868fddc1ccb05cb735b796c662fd297bb75a7d7078d2065df9ffb7799d78d122c6de3b
|
data/CHANGELOG.md
CHANGED
@@ -1,5 +1,30 @@
|
|
1
1
|
# Release History
|
2
2
|
|
3
|
+
### 0.10.5 / 2020-07-18
|
4
|
+
|
5
|
+
* IMPROVED: The bundler mixin silences bundler output during bundle setup.
|
6
|
+
* IMPROVED: The bundler mixin allows toys and toys-core to be in the Gemfile. It checks their version requirements against the running Toys version, and either adds the corret version to the bundle or raises IncompatibleToysError.
|
7
|
+
* IMPROVED: The bundler mixin utomatically updates the bundle if install fails (typically because a transitive dependency has been explicitly updated.)
|
8
|
+
* FIXED: Some cases of transitive dependency handling by the bundler mixin.
|
9
|
+
* FIXED: Fixed a crash when computing suggestions, when running with a bundle on Ruby 2.6 or earlier.
|
10
|
+
|
11
|
+
### 0.10.4 / 2020-07-11
|
12
|
+
|
13
|
+
* IMPROVED: Bundler integration can now handle Toys itself being in the bundle, as long as the version requirements cover the running Toys version.
|
14
|
+
* IMPROVED: Passing `static: true` to the `:bundler` mixin installs the bundle at definition rather than execution time.
|
15
|
+
|
16
|
+
### 0.10.3 / 2020-07-04
|
17
|
+
|
18
|
+
* FIXED: The `exec_separate_tool` method in the `:exec` mixin no longer throws ENOEXEC on Windows.
|
19
|
+
|
20
|
+
### 0.10.2 / 2020-07-03
|
21
|
+
|
22
|
+
* FIXED: The load path no longer loses the toys and toys-core directories after a bundle install.
|
23
|
+
|
24
|
+
### 0.10.1 / 2020-03-07
|
25
|
+
|
26
|
+
* FIXED: Setting `:exit_on_nonzero_status` explicitly to false now works as expected.
|
27
|
+
|
3
28
|
### 0.10.0 / 2020-02-24
|
4
29
|
|
5
30
|
* ADDED: `:bundler` mixin that installs and sets up a bundle for the tool
|
data/README.md
CHANGED
@@ -252,7 +252,7 @@ than Rake does.
|
|
252
252
|
But you also might find Toys a more natural way to *write* tasks, and indeed
|
253
253
|
you can often rewrite an entire Rakefile as a Toys file and get quite a bit of
|
254
254
|
benefit in readability and maintainability. For an example, see the
|
255
|
-
[Toys file for the Toys repo itself](https://github.com/dazuma/toys/blob/
|
255
|
+
[Toys file for the Toys repo itself](https://github.com/dazuma/toys/blob/main/toys/.toys.rb).
|
256
256
|
It contains the Toys scripts that I use to develop, test, and release Toys
|
257
257
|
itself. Yes, Toys is self-hosted. You'll notice most of this Toys file consists
|
258
258
|
of template expansions. Toys provides templates for a lot of common build,
|
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.5
|
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-
|
11
|
+
date: 2020-07-19 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: toys-core
|
@@ -16,168 +16,14 @@ dependencies:
|
|
16
16
|
requirements:
|
17
17
|
- - '='
|
18
18
|
- !ruby/object:Gem::Version
|
19
|
-
version: 0.10.
|
19
|
+
version: 0.10.5
|
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.
|
27
|
-
- !ruby/object:Gem::Dependency
|
28
|
-
name: did_you_mean
|
29
|
-
requirement: !ruby/object:Gem::Requirement
|
30
|
-
requirements:
|
31
|
-
- - "~>"
|
32
|
-
- !ruby/object:Gem::Version
|
33
|
-
version: '1.0'
|
34
|
-
type: :development
|
35
|
-
prerelease: false
|
36
|
-
version_requirements: !ruby/object:Gem::Requirement
|
37
|
-
requirements:
|
38
|
-
- - "~>"
|
39
|
-
- !ruby/object:Gem::Version
|
40
|
-
version: '1.0'
|
41
|
-
- !ruby/object:Gem::Dependency
|
42
|
-
name: highline
|
43
|
-
requirement: !ruby/object:Gem::Requirement
|
44
|
-
requirements:
|
45
|
-
- - "~>"
|
46
|
-
- !ruby/object:Gem::Version
|
47
|
-
version: '2.0'
|
48
|
-
type: :development
|
49
|
-
prerelease: false
|
50
|
-
version_requirements: !ruby/object:Gem::Requirement
|
51
|
-
requirements:
|
52
|
-
- - "~>"
|
53
|
-
- !ruby/object:Gem::Version
|
54
|
-
version: '2.0'
|
55
|
-
- !ruby/object:Gem::Dependency
|
56
|
-
name: minitest
|
57
|
-
requirement: !ruby/object:Gem::Requirement
|
58
|
-
requirements:
|
59
|
-
- - "~>"
|
60
|
-
- !ruby/object:Gem::Version
|
61
|
-
version: '5.14'
|
62
|
-
type: :development
|
63
|
-
prerelease: false
|
64
|
-
version_requirements: !ruby/object:Gem::Requirement
|
65
|
-
requirements:
|
66
|
-
- - "~>"
|
67
|
-
- !ruby/object:Gem::Version
|
68
|
-
version: '5.14'
|
69
|
-
- !ruby/object:Gem::Dependency
|
70
|
-
name: minitest-focus
|
71
|
-
requirement: !ruby/object:Gem::Requirement
|
72
|
-
requirements:
|
73
|
-
- - "~>"
|
74
|
-
- !ruby/object:Gem::Version
|
75
|
-
version: '1.1'
|
76
|
-
type: :development
|
77
|
-
prerelease: false
|
78
|
-
version_requirements: !ruby/object:Gem::Requirement
|
79
|
-
requirements:
|
80
|
-
- - "~>"
|
81
|
-
- !ruby/object:Gem::Version
|
82
|
-
version: '1.1'
|
83
|
-
- !ruby/object:Gem::Dependency
|
84
|
-
name: minitest-rg
|
85
|
-
requirement: !ruby/object:Gem::Requirement
|
86
|
-
requirements:
|
87
|
-
- - "~>"
|
88
|
-
- !ruby/object:Gem::Version
|
89
|
-
version: '5.2'
|
90
|
-
type: :development
|
91
|
-
prerelease: false
|
92
|
-
version_requirements: !ruby/object:Gem::Requirement
|
93
|
-
requirements:
|
94
|
-
- - "~>"
|
95
|
-
- !ruby/object:Gem::Version
|
96
|
-
version: '5.2'
|
97
|
-
- !ruby/object:Gem::Dependency
|
98
|
-
name: rake
|
99
|
-
requirement: !ruby/object:Gem::Requirement
|
100
|
-
requirements:
|
101
|
-
- - "~>"
|
102
|
-
- !ruby/object:Gem::Version
|
103
|
-
version: '13.0'
|
104
|
-
type: :development
|
105
|
-
prerelease: false
|
106
|
-
version_requirements: !ruby/object:Gem::Requirement
|
107
|
-
requirements:
|
108
|
-
- - "~>"
|
109
|
-
- !ruby/object:Gem::Version
|
110
|
-
version: '13.0'
|
111
|
-
- !ruby/object:Gem::Dependency
|
112
|
-
name: rdoc
|
113
|
-
requirement: !ruby/object:Gem::Requirement
|
114
|
-
requirements:
|
115
|
-
- - "~>"
|
116
|
-
- !ruby/object:Gem::Version
|
117
|
-
version: 6.1.2
|
118
|
-
type: :development
|
119
|
-
prerelease: false
|
120
|
-
version_requirements: !ruby/object:Gem::Requirement
|
121
|
-
requirements:
|
122
|
-
- - "~>"
|
123
|
-
- !ruby/object:Gem::Version
|
124
|
-
version: 6.1.2
|
125
|
-
- !ruby/object:Gem::Dependency
|
126
|
-
name: redcarpet
|
127
|
-
requirement: !ruby/object:Gem::Requirement
|
128
|
-
requirements:
|
129
|
-
- - "~>"
|
130
|
-
- !ruby/object:Gem::Version
|
131
|
-
version: '3.5'
|
132
|
-
type: :development
|
133
|
-
prerelease: false
|
134
|
-
version_requirements: !ruby/object:Gem::Requirement
|
135
|
-
requirements:
|
136
|
-
- - "~>"
|
137
|
-
- !ruby/object:Gem::Version
|
138
|
-
version: '3.5'
|
139
|
-
- !ruby/object:Gem::Dependency
|
140
|
-
name: rspec
|
141
|
-
requirement: !ruby/object:Gem::Requirement
|
142
|
-
requirements:
|
143
|
-
- - "~>"
|
144
|
-
- !ruby/object:Gem::Version
|
145
|
-
version: '3.9'
|
146
|
-
type: :development
|
147
|
-
prerelease: false
|
148
|
-
version_requirements: !ruby/object:Gem::Requirement
|
149
|
-
requirements:
|
150
|
-
- - "~>"
|
151
|
-
- !ruby/object:Gem::Version
|
152
|
-
version: '3.9'
|
153
|
-
- !ruby/object:Gem::Dependency
|
154
|
-
name: rubocop
|
155
|
-
requirement: !ruby/object:Gem::Requirement
|
156
|
-
requirements:
|
157
|
-
- - "~>"
|
158
|
-
- !ruby/object:Gem::Version
|
159
|
-
version: 0.79.0
|
160
|
-
type: :development
|
161
|
-
prerelease: false
|
162
|
-
version_requirements: !ruby/object:Gem::Requirement
|
163
|
-
requirements:
|
164
|
-
- - "~>"
|
165
|
-
- !ruby/object:Gem::Version
|
166
|
-
version: 0.79.0
|
167
|
-
- !ruby/object:Gem::Dependency
|
168
|
-
name: yard
|
169
|
-
requirement: !ruby/object:Gem::Requirement
|
170
|
-
requirements:
|
171
|
-
- - "~>"
|
172
|
-
- !ruby/object:Gem::Version
|
173
|
-
version: 0.9.24
|
174
|
-
type: :development
|
175
|
-
prerelease: false
|
176
|
-
version_requirements: !ruby/object:Gem::Requirement
|
177
|
-
requirements:
|
178
|
-
- - "~>"
|
179
|
-
- !ruby/object:Gem::Version
|
180
|
-
version: 0.9.24
|
26
|
+
version: 0.10.5
|
181
27
|
description: Toys is a configurable command line tool. Write commands in Ruby using
|
182
28
|
a simple DSL, and Toys will provide the command line executable and take care of
|
183
29
|
all the details such as argument parsing, online help, and error reporting. Toys
|
@@ -217,10 +63,10 @@ homepage: https://github.com/dazuma/toys
|
|
217
63
|
licenses:
|
218
64
|
- MIT
|
219
65
|
metadata:
|
220
|
-
changelog_uri: https://github.
|
66
|
+
changelog_uri: https://dazuma.github.io/toys/gems/toys/v0.10.5/file.CHANGELOG.html
|
221
67
|
source_code_uri: https://github.com/dazuma/toys
|
222
68
|
bug_tracker_uri: https://github.com/dazuma/toys/issues
|
223
|
-
documentation_uri: https://dazuma.github.io/toys/gems/toys/v0.10.
|
69
|
+
documentation_uri: https://dazuma.github.io/toys/gems/toys/v0.10.5
|
224
70
|
post_install_message:
|
225
71
|
rdoc_options: []
|
226
72
|
require_paths:
|