toys-core 0.15.5 → 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: ebfb8fda8d9f4aa9fab8169a1b928897d2f99345a9f3b180106b7f17ce2cc882
4
- data.tar.gz: 79dba27ffa72f6ebb312688840805e28c8f732c612e19336c5462b7fcbba9d06
3
+ metadata.gz: 7afb8f468a42a9d5eb626646212238c656e9be93d7a29601631f4e3059975eaf
4
+ data.tar.gz: d1b66149b911a8f4a9eab94c459f15cc7400ee871f8f3db1f473d7eddbd2ba61
5
5
  SHA512:
6
- metadata.gz: a7cbff222f7311375a89f042a00ef8ffa3f5eb5b05d89923241ced59e0604e11c823952b704c271eecd7723e6511abc9c0d1fcf86b03a94f4f5b4062fa359a8c
7
- data.tar.gz: 72d2bfeffe4de765ff480ec23acab92e63a777c10db6c0b9ff3ce2379b5c84f96ed253f6aeaa7d4732637a962be94b79f4b77a43f12f14a8e91986c1343c07d8
6
+ metadata.gz: ec09f204706004b5d6a914c1b2b1eabaaa0bd3d7accbbde8fe9e5d00aae3fba389676400b54abff33fb7cb79f5cb530577d099d0095838523ce9165b6659c52a
7
+ data.tar.gz: f47170aecd0ffe9072a6c022a9def134e88114d52c8d8f57fdc4b11aeae68971bb7ee0ad7234ddc7df8f41d2c788e2f723a241f4fb0f0dd67c62281e3a2a6da4
data/CHANGELOG.md CHANGED
@@ -1,5 +1,9 @@
1
1
  # Release History
2
2
 
3
+ ### v0.15.6 / 2024-05-15
4
+
5
+ * FIXED: Fixed argument parsing to allow a flag value with a newline delimited by =
6
+
3
7
  ### v0.15.5 / 2024-01-31
4
8
 
5
9
  * FIXED: Fix for uri version mismatch error in certain bundler integration cases
@@ -451,7 +451,7 @@ module Toys
451
451
  case arg
452
452
  when "--"
453
453
  @flags_allowed = false
454
- when /\A(--\w[?\w-]*)=(.*)\z/
454
+ when /\A(--\w[?\w-]*)=(.*)\z/m
455
455
  handle_valued_flag(::Regexp.last_match(1), ::Regexp.last_match(2))
456
456
  when /\A--.+\z/
457
457
  handle_plain_flag(arg)
data/lib/toys/core.rb CHANGED
@@ -9,7 +9,7 @@ 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
 
15
15
  ##
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: toys-core
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
  description: Toys-Core is the command line tool framework underlying Toys. It can
14
14
  be used to create command line executables using the Toys DSL and classes.
@@ -79,10 +79,10 @@ homepage: https://github.com/dazuma/toys
79
79
  licenses:
80
80
  - MIT
81
81
  metadata:
82
- changelog_uri: https://dazuma.github.io/toys/gems/toys-core/v0.15.5/file.CHANGELOG.html
82
+ changelog_uri: https://dazuma.github.io/toys/gems/toys-core/v0.15.6/file.CHANGELOG.html
83
83
  source_code_uri: https://github.com/dazuma/toys/tree/main/toys-core
84
84
  bug_tracker_uri: https://github.com/dazuma/toys/issues
85
- documentation_uri: https://dazuma.github.io/toys/gems/toys-core/v0.15.5
85
+ documentation_uri: https://dazuma.github.io/toys/gems/toys-core/v0.15.6
86
86
  post_install_message:
87
87
  rdoc_options: []
88
88
  require_paths:
@@ -98,7 +98,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
98
98
  - !ruby/object:Gem::Version
99
99
  version: '0'
100
100
  requirements: []
101
- rubygems_version: 3.5.3
101
+ rubygems_version: 3.5.9
102
102
  signing_key:
103
103
  specification_version: 4
104
104
  summary: Framework for creating command line executables