toys 0.15.4 → 0.15.6

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: dde2dacbdd40f393c28b751ae14b40d1b8348e790f36a82e4dec6c5d36b9efec
4
- data.tar.gz: 18ab3366caa4264a3b5ca322f87f095258c5298a423af1d90c6f86c76a979d93
3
+ metadata.gz: f1e8f728ed907ae8549b7d88ea3ef579ba1ef6ff7a143589301a3a7e9bc8e4a2
4
+ data.tar.gz: 1d96498cf47b7810a50fc5500132529242aaa54e3f217e9186c8c989478c05e0
5
5
  SHA512:
6
- metadata.gz: 9524f54ede25c686d56d13e838cca9582bb31d2e2c9533fdf17c70d9ec80459abd897641442cfd5fed03d51078ff2ec17d70b02d7ddccabe27b03ae6ba40ff1c
7
- data.tar.gz: 5c83c1f88969a64ea75f5dd6bff60bb681004221091eb6fc0b6a57e49593d8fabb1fa24f310e09e5779301ac9939387ba5fe51b20cd02d59dd383b953b7417ea
6
+ metadata.gz: 0245075cff19fbd72051a93920ce92f9a42740b169a44cdd849bdca5436d77ad8ca87d7791da5cbc9329317278229768b7641e02bf80b84c9f602ba34bce0179
7
+ data.tar.gz: 889a04f30698c7552e3a06c4aac69a1ebf29b28164de46800e19cf104c12200f9ba34deb02e0c3dbc70c471e1e18510f67892f049bdaa06ed04339e0900ab3bd
data/CHANGELOG.md CHANGED
@@ -1,5 +1,15 @@
1
1
  # Release History
2
2
 
3
+ ### v0.15.6 / 2024-05-15
4
+
5
+ * FIXED: Fixed argument parsing to allow a flag values delimited by "=" to contain newlines
6
+ * FIXED: Fixed minitest version failures in the system test builtin tool
7
+ * FIXED: Fixed crash in the system test builtin tool's minitest-rg integration with minitest-rg 5.3
8
+
9
+ ### v0.15.5 / 2024-01-31
10
+
11
+ * FIXED: Fix for uri version mismatch error in certain bundler integration cases
12
+
3
13
  ### v0.15.4 / 2024-01-04
4
14
 
5
15
  * FIXED: Fix error message when failing assertion of the toys version
@@ -45,12 +45,12 @@ def load_minitest_gems
45
45
  gem "minitest", minitest_version
46
46
  require "minitest"
47
47
  if minitest_focus
48
- minitest_focus = "~> 1.0" if minitest_focus == true
48
+ set :minitest_focus, "~> 1.0" if minitest_focus == true
49
49
  gem "minitest-focus", minitest_focus
50
50
  require "minitest/focus"
51
51
  end
52
52
  if minitest_rg
53
- minitest_rg = "~> 5.0" if minitest_rg == true
53
+ set :minitest_rg, "~> 5.0" if minitest_rg == true
54
54
  gem "minitest-rg", minitest_rg
55
55
  require "minitest/rg"
56
56
  end
@@ -82,14 +82,15 @@ end
82
82
 
83
83
  def ruby_code
84
84
  code = []
85
- code << "gem 'minitest', '= #{::Minitest::VERSION}'"
85
+ code << "gem 'minitest', #{minitest_version.inspect}"
86
86
  code << "require 'minitest/autorun'"
87
87
  if minitest_focus
88
88
  code << "gem 'minitest-focus', '= #{::Minitest::Test::Focus::VERSION}'"
89
89
  code << "require 'minitest/focus'"
90
90
  end
91
91
  if minitest_rg
92
- code << "gem 'minitest-rg', '= #{::MiniTest::RG::VERSION}'"
92
+ version = defined?(::Minitest::RG::VERSION) ? ::Minitest::RG::VERSION : ::MiniTest::RG::VERSION
93
+ code << "gem 'minitest-rg', '= #{version}'"
93
94
  code << "require 'minitest/rg'"
94
95
  end
95
96
  code << "require 'toys'"
@@ -9,6 +9,6 @@ module Toys
9
9
  # Current version of Toys core.
10
10
  # @return [String]
11
11
  #
12
- VERSION = "0.15.4"
12
+ VERSION = "0.15.6"
13
13
  end
14
14
  end
data/lib/toys/version.rb CHANGED
@@ -5,5 +5,5 @@ module Toys
5
5
  # Current version of the Toys command line executable.
6
6
  # @return [String]
7
7
  #
8
- VERSION = "0.15.4"
8
+ VERSION = "0.15.6"
9
9
  end
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
4
+ version: 0.15.6
5
5
  platform: ruby
6
6
  authors:
7
7
  - Daniel Azuma
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2024-01-04 00:00:00.000000000 Z
11
+ date: 2024-05-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.4
19
+ version: 0.15.6
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.4
26
+ version: 0.15.6
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.4/file.CHANGELOG.html
124
+ changelog_uri: https://dazuma.github.io/toys/gems/toys/v0.15.6/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.4
127
+ documentation_uri: https://dazuma.github.io/toys/gems/toys/v0.15.6
128
128
  post_install_message:
129
129
  rdoc_options: []
130
130
  require_paths:
@@ -140,7 +140,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
140
140
  - !ruby/object:Gem::Version
141
141
  version: '0'
142
142
  requirements: []
143
- rubygems_version: 3.5.3
143
+ rubygems_version: 3.5.9
144
144
  signing_key:
145
145
  specification_version: 4
146
146
  summary: A configurable command line tool