thor_nested_subcommand 1.0.4 → 1.0.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: dc68528afc77ef62c89101f0cd0ad21b2fe4e21b16fa40b86b0b02c43a26ef68
4
- data.tar.gz: 27986cb7aa84b3ac21a08101b5ec7275803aa45fff185aa386669c1b906db438
3
+ metadata.gz: f6dcf961d99ea1998135a75e063611a284d914fd6b3e688a55729898a7b5f47b
4
+ data.tar.gz: 10f6a51d257921ed513ae8d2bffc3536da7849d831db9a90d1fe077b78ad4610
5
5
  SHA512:
6
- metadata.gz: b45c1865acc51a2479cb1e715e9d503f659f33f4698d0857e75a7c0ce8538e5e97fa1c5b93a9e5a7d8ff6139730abdb35785286a80903f26a742f6cc54801ce1
7
- data.tar.gz: e0ef3abc8ad945a90534b980f9fe28dd04ef897f090d2f77345892e06d77e7f472234aca125022e5ee2a4fecc386817257fe62a1df3cd0d9b9d41bea9f45f6eb
6
+ metadata.gz: 7218b33afa6e8e1a5e9c10b972cf27e6e94f3af6a0d1d811884e3dedbb3a65c42abc82e1c89b55703cce8b4aa2c2956bcf1739199d8a3d750f403f6599f03d09
7
+ data.tar.gz: 8a19b4e090b6ee8b24af7ac1c4867c669e33b11f8dcc94225c81d99eab72812c59bf22ccfe5ff81abd237a0800bacc5b50d8d6686d8795fd8b7b8ab95b55fbde
data/CHANGELOG.md CHANGED
@@ -1,3 +1,17 @@
1
+ ## [1.0.6] - 2024-01-07
2
+
3
+ Changes
4
+
5
+ -- Relax ruby version requirement to ['>= 3.0.1', '< 4.0']
6
+ - Update ruby gems.
7
+
8
+ ## [1.0.5] - 2023-12-27
9
+
10
+ Changes
11
+
12
+ - Update ruby gems (including thor version).
13
+ - Refactor specs for use with `bundle exec rake` to be used with github actions.
14
+
1
15
  ## [1.0.4] - 2023-12-02
2
16
 
3
17
  Changes
data/Gemfile CHANGED
@@ -5,11 +5,12 @@ source 'https://rubygems.org'
5
5
  # Specify your gem's dependencies in thor_nested_subcommand.gemspec
6
6
  gemspec
7
7
 
8
- gem 'rake', '~> 13.0'
9
- gem 'rspec', '~> 3.12'
10
- gem 'rubocop', '~> 1.58.0'
11
-
12
8
  gem 'pry-byebug', '~> 3.9'
9
+ gem 'rake', '~> 13.0'
13
10
  gem 'reek', '~> 6.1'
11
+ gem 'rspec', '~> 3.12'
12
+ gem 'rubocop', '~> 1.59.0'
13
+ gem 'rubocop-performance', '~> 1.19'
14
+ gem 'rubocop-rspec', '~> 2.23'
14
15
  gem 'simplecov', '~> 0.22.0'
15
- gem 'thor', '~> 1.2'
16
+ gem 'thor', '~> 1.3'
data/Gemfile.lock CHANGED
@@ -1,21 +1,49 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- thor_nested_subcommand (1.0.4)
4
+ thor_nested_subcommand (1.0.6)
5
5
 
6
6
  GEM
7
7
  remote: https://rubygems.org/
8
8
  specs:
9
9
  ast (2.4.2)
10
+ bigdecimal (3.1.5)
10
11
  byebug (11.1.3)
11
12
  coderay (1.1.3)
13
+ concurrent-ruby (1.2.2)
12
14
  diff-lcs (1.5.0)
13
15
  docile (1.4.0)
14
- json (2.7.0)
15
- kwalify (0.7.2)
16
+ dry-configurable (1.1.0)
17
+ dry-core (~> 1.0, < 2)
18
+ zeitwerk (~> 2.6)
19
+ dry-core (1.0.1)
20
+ concurrent-ruby (~> 1.0)
21
+ zeitwerk (~> 2.6)
22
+ dry-inflector (1.0.0)
23
+ dry-initializer (3.1.1)
24
+ dry-logic (1.5.0)
25
+ concurrent-ruby (~> 1.0)
26
+ dry-core (~> 1.0, < 2)
27
+ zeitwerk (~> 2.6)
28
+ dry-schema (1.13.3)
29
+ concurrent-ruby (~> 1.0)
30
+ dry-configurable (~> 1.0, >= 1.0.1)
31
+ dry-core (~> 1.0, < 2)
32
+ dry-initializer (~> 3.0)
33
+ dry-logic (>= 1.4, < 2)
34
+ dry-types (>= 1.7, < 2)
35
+ zeitwerk (~> 2.6)
36
+ dry-types (1.7.2)
37
+ bigdecimal (~> 3.0)
38
+ concurrent-ruby (~> 1.0)
39
+ dry-core (~> 1.0)
40
+ dry-inflector (~> 1.0)
41
+ dry-logic (~> 1.4)
42
+ zeitwerk (~> 2.6)
43
+ json (2.7.1)
16
44
  language_server-protocol (3.17.0.3)
17
45
  method_source (1.0.0)
18
- parallel (1.23.0)
46
+ parallel (1.24.0)
19
47
  parser (3.2.2.4)
20
48
  ast (~> 2.4.1)
21
49
  racc
@@ -28,11 +56,12 @@ GEM
28
56
  racc (1.7.3)
29
57
  rainbow (3.1.1)
30
58
  rake (13.1.0)
31
- reek (6.1.4)
32
- kwalify (~> 0.7.0)
59
+ reek (6.2.0)
60
+ dry-schema (~> 1.13.0)
33
61
  parser (~> 3.2.0)
34
62
  rainbow (>= 2.0, < 4.0)
35
- regexp_parser (2.8.2)
63
+ rexml (~> 3.1)
64
+ regexp_parser (2.8.3)
36
65
  rexml (3.2.6)
37
66
  rspec (3.12.0)
38
67
  rspec-core (~> 3.12.0)
@@ -47,7 +76,7 @@ GEM
47
76
  diff-lcs (>= 1.2.0, < 2.0)
48
77
  rspec-support (~> 3.12.0)
49
78
  rspec-support (3.12.1)
50
- rubocop (1.58.0)
79
+ rubocop (1.59.0)
51
80
  json (~> 2.3)
52
81
  language_server-protocol (>= 3.17.0)
53
82
  parallel (~> 1.10)
@@ -60,6 +89,17 @@ GEM
60
89
  unicode-display_width (>= 2.4.0, < 3.0)
61
90
  rubocop-ast (1.30.0)
62
91
  parser (>= 3.2.1.0)
92
+ rubocop-capybara (2.20.0)
93
+ rubocop (~> 1.41)
94
+ rubocop-factory_bot (2.25.0)
95
+ rubocop (~> 1.33)
96
+ rubocop-performance (1.20.1)
97
+ rubocop (>= 1.48.1, < 2.0)
98
+ rubocop-ast (>= 1.30.0, < 2.0)
99
+ rubocop-rspec (2.26.1)
100
+ rubocop (~> 1.40)
101
+ rubocop-capybara (~> 2.17)
102
+ rubocop-factory_bot (~> 2.22)
63
103
  ruby-progressbar (1.13.0)
64
104
  simplecov (0.22.0)
65
105
  docile (~> 1.1)
@@ -69,6 +109,7 @@ GEM
69
109
  simplecov_json_formatter (0.1.4)
70
110
  thor (1.3.0)
71
111
  unicode-display_width (2.5.0)
112
+ zeitwerk (2.6.12)
72
113
 
73
114
  PLATFORMS
74
115
  x86_64-darwin-19
@@ -80,9 +121,11 @@ DEPENDENCIES
80
121
  rake (~> 13.0)
81
122
  reek (~> 6.1)
82
123
  rspec (~> 3.12)
83
- rubocop (~> 1.58.0)
124
+ rubocop (~> 1.59.0)
125
+ rubocop-performance (~> 1.19)
126
+ rubocop-rspec (~> 2.23)
84
127
  simplecov (~> 0.22.0)
85
- thor (~> 1.2)
128
+ thor (~> 1.3)
86
129
  thor_nested_subcommand!
87
130
 
88
131
  BUNDLED WITH
data/README.md CHANGED
@@ -1,3 +1,11 @@
1
+ [![Ruby](https://github.com/gangelo/thor_nested_subcommand/actions/workflows/ruby.yml/badge.svg?refresh=1)](https://github.com/gangelo/thor_nested_subcommand/actions/workflows/ruby.yml)
2
+ [![GitHub version](http://badge.fury.io/gh/gangelo%2Fthor_nested_subcommand.svg?refresh=2)](https://badge.fury.io/gh/gangelo%2Fthor_nested_subcommand)
3
+ [![Gem Version](https://badge.fury.io/rb/thor_nested_subcommand.svg?refresh=2)](https://badge.fury.io/rb/thor_nested_subcommand)
4
+ [![](http://ruby-gem-downloads-badge.herokuapp.com/thor_nested_subcommand?type=total)](http://www.rubydoc.info/gems/thor_nested_subcommand/)
5
+ [![Documentation](http://img.shields.io/badge/docs-rdoc.info-blue.svg)](http://www.rubydoc.info/gems/thor_nested_subcommand/)
6
+ [![Report Issues](https://img.shields.io/badge/report-issues-red.svg)](https://github.com/gangelo/thor_nested_subcommand/issues)
7
+ [![License](http://img.shields.io/badge/license-MIT-yellowgreen.svg)](#license)
8
+
1
9
  # ThorNestedSubcommand
2
10
 
3
11
  `ThorNestedSubcommand` is a Ruby gem that provides a workaround for the [Thor gem](https://rubygems.org/gems/thor) bug that displays nested subcommand help incorrectly. Simply include the `ThorNestedSubcommand` module in your Thor nested subcommand, and provide a simple class method to return what Thor help shoul be displaying, and that's it.
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module ThorNestedSubcommand
4
- VERSION = '1.0.4'
4
+ VERSION = '1.0.6'
5
5
  end
@@ -22,7 +22,7 @@ module ThorNestedSubcommand
22
22
  # Thor override
23
23
  # rubocop:disable Style/OptionHash
24
24
  def desc(usage, description, options = {})
25
- super "#{base_usage} #{usage} ", description, options
25
+ super("#{base_usage} #{usage} ", description, options)
26
26
  end
27
27
  # rubocop:enable Style/OptionHash
28
28
 
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: thor_nested_subcommand
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.0.4
4
+ version: 1.0.6
5
5
  platform: ruby
6
6
  authors:
7
7
  - Gene M. Angelo, Jr.
8
8
  autorequire:
9
9
  bindir: exe
10
10
  cert_chain: []
11
- date: 2023-12-02 00:00:00.000000000 Z
11
+ date: 2024-01-07 00:00:00.000000000 Z
12
12
  dependencies: []
13
13
  description: |2
14
14
  `ThorNestedSubcommand` is a Ruby gem that provides a workaround for the
@@ -59,6 +59,9 @@ required_ruby_version: !ruby/object:Gem::Requirement
59
59
  - - ">="
60
60
  - !ruby/object:Gem::Version
61
61
  version: 3.0.1
62
+ - - "<"
63
+ - !ruby/object:Gem::Version
64
+ version: '4.0'
62
65
  required_rubygems_version: !ruby/object:Gem::Requirement
63
66
  requirements:
64
67
  - - ">="