toys 0.15.5 → 0.15.6

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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: ae3169177d9ed4bb476a290dd4519d69f175bc70d77330237d5091edf6719f28
4
- data.tar.gz: cbb74e67ca8141e42bafe3fc7f3f27843166ae2ec021316b6bfaa18367f086c2
3
+ metadata.gz: f1e8f728ed907ae8549b7d88ea3ef579ba1ef6ff7a143589301a3a7e9bc8e4a2
4
+ data.tar.gz: 1d96498cf47b7810a50fc5500132529242aaa54e3f217e9186c8c989478c05e0
5
5
  SHA512:
6
- metadata.gz: 60dc839c46110b7cad9bf51d206611f68a930f4884612384d95707390de831c3e4ee45ce4d5daef0068e3601a949085aadf553e1a1cfae4c2fbd98d726860e34
7
- data.tar.gz: 725498c71164fb03221741c116788494cfaab52a4d985a5dcbed714724d3bdf5402688b2ad57fefa911e8553d0cf0135834c9be1ef48ad825935df06fcea25a0
6
+ metadata.gz: 0245075cff19fbd72051a93920ce92f9a42740b169a44cdd849bdca5436d77ad8ca87d7791da5cbc9329317278229768b7641e02bf80b84c9f602ba34bce0179
7
+ data.tar.gz: 889a04f30698c7552e3a06c4aac69a1ebf29b28164de46800e19cf104c12200f9ba34deb02e0c3dbc70c471e1e18510f67892f049bdaa06ed04339e0900ab3bd
data/CHANGELOG.md CHANGED
@@ -1,5 +1,11 @@
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
+
3
9
  ### v0.15.5 / 2024-01-31
4
10
 
5
11
  * FIXED: Fix for uri version mismatch error in certain bundler integration cases
@@ -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.5"
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.5"
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.5
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-31 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.5
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.5
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.5/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.5
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