command_line_boss 0.1.0 → 0.2.1
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 +4 -4
- data/.commitlintrc.yml +16 -0
- data/.husky/commit-msg +1 -0
- data/.markdownlint.yml +25 -0
- data/.release-please-manifest.json +3 -0
- data/.rubocop.yml +5 -32
- data/.yardopts +6 -1
- data/CHANGELOG.md +30 -0
- data/README.md +81 -28
- data/Rakefile +9 -9
- data/examples/create_spreadsheet/Rakefile +1 -10
- data/lib/command_line_boss/version.rb +1 -1
- data/lib/command_line_boss.rb +4 -2
- data/package.json +11 -0
- data/release-please-config.json +22 -0
- metadata +60 -13
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 953b0a8bbd1c3fafad1ceee175d527921b73b8aed717d3bec37eeaa074187165
|
4
|
+
data.tar.gz: 07acf7edbce04850432534d1f5a77dcf49eec5259eaba4ef583b09ac0883f68d
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: '0953f6521edd9113d7befa0231771d27f0395a6d487df9640e179e5bedaf152b7cb7d0bb4cb2d4dcaa299cdb3689035aa95ee1e4b2c06e4f821a94fac90224b4'
|
7
|
+
data.tar.gz: 6dee4f58d3326609537c61af7d4628d1d824c3762afb0facba2e549c039730b10a7d82c1855e7a5555121a5614df1345cd4dc1697681a544972bc10b0c5d1da1
|
data/.commitlintrc.yml
ADDED
@@ -0,0 +1,16 @@
|
|
1
|
+
---
|
2
|
+
extends: '@commitlint/config-conventional'
|
3
|
+
|
4
|
+
rules:
|
5
|
+
# See: https://commitlint.js.org/reference/rules.html
|
6
|
+
#
|
7
|
+
# Rules are made up by a name and a configuration array. The configuration array contains:
|
8
|
+
#
|
9
|
+
# * Severity [0..2]: 0 disable rule, 1 warning if violated, or 2 error if violated
|
10
|
+
# * Applicability [always|never]: never inverts the rule
|
11
|
+
# * Value: value to use for this rule
|
12
|
+
#
|
13
|
+
# Run `npx commitlint --print-config` to see the current setting for all rules.
|
14
|
+
#
|
15
|
+
body-leading-blank: [2, 'always']
|
16
|
+
footer-leading-blank: [2, 'always']
|
data/.husky/commit-msg
ADDED
@@ -0,0 +1 @@
|
|
1
|
+
npx --no-install commitlint --edit "$1"
|
data/.markdownlint.yml
ADDED
@@ -0,0 +1,25 @@
|
|
1
|
+
default: true
|
2
|
+
|
3
|
+
# Unordered list indentation
|
4
|
+
MD007: { indent: 2 }
|
5
|
+
|
6
|
+
# Line length
|
7
|
+
MD013: { line_length: 90, tables: false, code_blocks: false }
|
8
|
+
|
9
|
+
# Heading duplication is allowed for non-sibling headings
|
10
|
+
MD024: { siblings_only: true }
|
11
|
+
|
12
|
+
# Do not allow the specified trailing punctuation in a header
|
13
|
+
MD026: { punctuation: '.,;:' }
|
14
|
+
|
15
|
+
# Order list items must have a prefix that increases in numerical order
|
16
|
+
MD029: { style: 'ordered' }
|
17
|
+
|
18
|
+
# Lists do not need to be surrounded by blank lines
|
19
|
+
MD032: false
|
20
|
+
|
21
|
+
# Allow raw HTML in Markdown
|
22
|
+
MD033: false
|
23
|
+
|
24
|
+
# Allow emphasis to be used instead of a heading
|
25
|
+
MD036: false
|
data/.rubocop.yml
CHANGED
@@ -1,34 +1,7 @@
|
|
1
|
-
|
2
|
-
|
3
|
-
SuggestExtensions: false
|
4
|
-
DefaultFormatter: fuubar
|
5
|
-
|
6
|
-
# Output extra information for each offense to make it easier to diagnose:
|
7
|
-
DisplayCopNames: true
|
8
|
-
DisplayStyleGuide: true
|
9
|
-
ExtraDetails: true
|
1
|
+
inherit_gem:
|
2
|
+
main_branch_shared_rubocop_config: config/rubocop.yml
|
10
3
|
|
11
|
-
|
12
|
-
#
|
4
|
+
AllCops:
|
5
|
+
# Pin this project to Ruby 3.1 in case the shared config above is upgraded to 3.2
|
6
|
+
# or later.
|
13
7
|
TargetRubyVersion: 3.1
|
14
|
-
|
15
|
-
Gemspec/DevelopmentDependencies:
|
16
|
-
Enabled: false
|
17
|
-
|
18
|
-
Layout/LineLength:
|
19
|
-
Max: 120
|
20
|
-
|
21
|
-
# The DSL for RSpec and the gemspec file make it very hard to limit block length
|
22
|
-
Metrics/BlockLength:
|
23
|
-
Exclude:
|
24
|
-
- '**/*_spec.rb'
|
25
|
-
- '*.gemspec'
|
26
|
-
|
27
|
-
Metrics/ModuleLength:
|
28
|
-
CountAsOne: ['hash']
|
29
|
-
|
30
|
-
Metrics/ClassLength:
|
31
|
-
CountAsOne: ['hash']
|
32
|
-
|
33
|
-
Style/AsciiComments:
|
34
|
-
Enabled: false
|
data/.yardopts
CHANGED
data/CHANGELOG.md
CHANGED
@@ -5,6 +5,36 @@ All notable changes to this project will be documented in this file.
|
|
5
5
|
The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/)
|
6
6
|
and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).
|
7
7
|
|
8
|
+
## [0.2.1](https://github.com/main-branch/command_line_boss/compare/v0.2.0...v0.2.1) (2025-04-16)
|
9
|
+
|
10
|
+
|
11
|
+
### Bug Fixes
|
12
|
+
|
13
|
+
* Automate commit-to-publish workflow ([4dbc694](https://github.com/main-branch/command_line_boss/commit/4dbc6946860cc9d8934287226adea335ae78deea))
|
14
|
+
* Move constants from private to public ([a93685b](https://github.com/main-branch/command_line_boss/commit/a93685b167eaca8be60c57861af1168f033687d4))
|
15
|
+
|
16
|
+
## v0.2.0 (2024-10-10)
|
17
|
+
|
18
|
+
[Full Changelog](https://github.com/main-branch/command_line_boss/compare/v0.1.0..v0.2.0)
|
19
|
+
|
20
|
+
Changes since v0.1.0:
|
21
|
+
|
22
|
+
* 4a6ace7 build: remove semver pr label check
|
23
|
+
* 05918a3 build: enforce conventional commit message formatting
|
24
|
+
* e5f91d1 Clarify purpose of the gem in the README
|
25
|
+
* ca16af0 Fix TargetRubyVersion Comment
|
26
|
+
* 30eef5d Use shared Rubocop config
|
27
|
+
* bbe9fe2 Update links in gemspec
|
28
|
+
* c167adc Add Slack badge for this project in README
|
29
|
+
* c442a80 Update yardopts with new standard options
|
30
|
+
* f9be39f Standardize YARD and Markdown Lint configurations
|
31
|
+
* bc7b9ae Update CODEOWNERS file
|
32
|
+
* 3879f0a Set JRuby —debug option when running tests in GitHub Actions workflows
|
33
|
+
* af10f27 Integrate simplecov-rspec into the project
|
34
|
+
* 22b1364 Update continuous integration and experimental ruby builds
|
35
|
+
* 2e2fa87 Enforce the use of semver tags on PRs
|
36
|
+
* 4464e2c Fix CHANGELOG.md
|
37
|
+
|
8
38
|
## v0.1.0 (2024-07-03)
|
9
39
|
|
10
40
|
[Full Changelog](https://github.com/main-branch/command_line_boss/compare/6cafbd0..v0.1.0)
|
data/README.md
CHANGED
@@ -1,44 +1,62 @@
|
|
1
|
-
#
|
1
|
+
# The `command_line_boss` gem
|
2
2
|
|
3
3
|
[](https://badge.fury.io/rb/command_line_boss)
|
4
4
|
[](https://rubydoc.info/gems/command_line_boss/)
|
5
5
|
[](https://rubydoc.info/gems/command_line_boss/file/CHANGELOG.md)
|
6
6
|
[](https://github.com/main-branch/command_line_boss/actions/workflows/continuous_integration.yml)
|
7
|
-
[](https://conventionalcommits.org)
|
9
|
+
[](https://main-branch.slack.com/archives/C07MQC0LNKF)
|
9
10
|
|
10
|
-
|
11
|
+
`command_line_boss` makes it easy to build, test, and maintain complex command line
|
12
|
+
interfaces. It is built on top of Ruby's `OptionParser` class and works best for
|
13
|
+
traditional options-based command-line interfaces that you would build with
|
14
|
+
`OptionParser`.
|
11
15
|
|
12
|
-
|
16
|
+
To use `command_line_boss` you are expected to already know how to define options
|
17
|
+
with `OptionParser`.
|
13
18
|
|
14
|
-
|
15
|
-
|
16
|
-
|
19
|
+
For defining command-line interfaces with multiple commands and subcommands (aka a
|
20
|
+
git-like interface), we recommend using a gem like [thor](http://whatisthor.com).
|
21
|
+
Other good alternatives also exist.
|
17
22
|
|
18
23
|
* [Installation](#installation)
|
19
24
|
* [Usage](#usage)
|
20
|
-
|
21
|
-
|
22
|
-
|
23
|
-
|
24
|
-
|
25
|
-
|
26
|
-
|
27
|
-
|
28
|
-
|
25
|
+
* [Getting started](#getting-started)
|
26
|
+
* [Design your command line](#design-your-command-line)
|
27
|
+
* [Start your command line parser class](#start-your-command-line-parser-class)
|
28
|
+
* [Define options](#define-options)
|
29
|
+
* [Define additional validations](#define-additional-validations)
|
30
|
+
* [Process any remaining non-option arguments](#process-any-remaining-non-option-arguments)
|
31
|
+
* [Optional: define help output](#optional-define-help-output)
|
32
|
+
* [Use the parser](#use-the-parser)
|
33
|
+
* [Run the command line](#run-the-command-line)
|
29
34
|
* [Development](#development)
|
30
35
|
* [Contributing](#contributing)
|
36
|
+
* [Commit message guidelines](#commit-message-guidelines)
|
37
|
+
* [Pull request guidelines](#pull-request-guidelines)
|
31
38
|
* [License](#license)
|
32
39
|
* [Code of Conduct](#code-of-conduct)
|
33
40
|
|
34
41
|
## Installation
|
35
42
|
|
36
|
-
|
43
|
+
To install this gem, add to the following line to your application's gemspec OR
|
44
|
+
Gemfile:
|
37
45
|
|
38
|
-
|
39
|
-
|
46
|
+
gemspec:
|
47
|
+
|
48
|
+
```ruby
|
49
|
+
spec.add_development_dependency "command_line_boss", '~> 0.1'
|
50
|
+
```
|
51
|
+
|
52
|
+
Gemfile:
|
53
|
+
|
54
|
+
```ruby
|
55
|
+
gem "command_line_boss", "~> 0.1", groups: [:development, :test]
|
40
56
|
```
|
41
57
|
|
58
|
+
and then run `bundle install`.
|
59
|
+
|
42
60
|
If bundler is not being used to manage dependencies, install the gem by executing:
|
43
61
|
|
44
62
|
```shell
|
@@ -75,10 +93,11 @@ Make sure you have the `command_line_boss` gem installed.
|
|
75
93
|
|
76
94
|
### Design your command line
|
77
95
|
|
78
|
-
Design the command line following the
|
79
|
-
|
96
|
+
Design the command line following the [Google developer documentation style guide for
|
97
|
+
command line syntax](https://developers.google.com/style/code-syntax).
|
80
98
|
|
81
|
-
Here is what a simple example might look like that creates a spreadsheet with named
|
99
|
+
Here is what a simple example might look like that creates a spreadsheet with named
|
100
|
+
sheets:
|
82
101
|
|
83
102
|
```Text
|
84
103
|
Usage:
|
@@ -165,7 +184,7 @@ class CreateSpreadsheetCli < CommandLineBoss
|
|
165
184
|
end
|
166
185
|
```
|
167
186
|
|
168
|
-
### Process
|
187
|
+
### Process any remaining non-option arguments
|
169
188
|
|
170
189
|
Implement `parse_arguments` to deal the remaining non-option arguments from the
|
171
190
|
command line. Within this method, the `args` method returns the remaining
|
@@ -323,18 +342,52 @@ $
|
|
323
342
|
|
324
343
|
## Development
|
325
344
|
|
326
|
-
After checking out the repo, run `bin/setup` to install dependencies. Then, run `rake
|
345
|
+
After checking out the repo, run `bin/setup` to install dependencies. Then, run `rake
|
346
|
+
spec` to run the tests. You can also run `bin/console` for an interactive prompt that
|
347
|
+
will allow you to experiment.
|
327
348
|
|
328
349
|
To install this gem onto your local machine, run `bundle exec rake install`.
|
329
350
|
|
330
351
|
## Contributing
|
331
352
|
|
332
|
-
Bug reports and pull requests are welcome on GitHub at
|
353
|
+
Bug reports and pull requests are welcome on GitHub at
|
354
|
+
https://github.com/main_branch/command_line_boss. This project is intended to be a
|
355
|
+
safe, welcoming space for collaboration, and contributors are expected to adhere to
|
356
|
+
the [code of
|
357
|
+
conduct](https://github.com/main_branch/command_line_boss/blob/main/CODE_OF_CONDUCT.md).
|
358
|
+
|
359
|
+
### Commit message guidelines
|
360
|
+
|
361
|
+
All commit messages must follow the [Conventional Commits
|
362
|
+
standard](https://www.conventionalcommits.org/en/v1.0.0/). This helps us maintain a
|
363
|
+
clear and structured commit history, automate versioning, and generate changelogs
|
364
|
+
effectively.
|
365
|
+
|
366
|
+
To ensure compliance, this project includes:
|
367
|
+
|
368
|
+
* A git commit-msg hook that validates your commit messages before they are accepted.
|
369
|
+
|
370
|
+
To activate the hook, you must have node installed and run `npm install`.
|
371
|
+
|
372
|
+
* A GitHub Actions workflow that will enforce the Conventional Commit standard as
|
373
|
+
part of the continuous integration pipeline.
|
374
|
+
|
375
|
+
Any commit message that does not conform to the Conventional Commits standard will
|
376
|
+
cause the workflow to fail and not allow the PR to be merged.
|
377
|
+
|
378
|
+
### Pull request guidelines
|
379
|
+
|
380
|
+
All pull requests must be merged using rebase merges. This ensures that commit
|
381
|
+
messages from the feature branch are preserved in the release branch, keeping the
|
382
|
+
history clean and meaningful.
|
333
383
|
|
334
384
|
## License
|
335
385
|
|
336
|
-
The gem is available as open source under the terms of the [MIT
|
386
|
+
The gem is available as open source under the terms of the [MIT
|
387
|
+
License](https://opensource.org/licenses/MIT).
|
337
388
|
|
338
389
|
## Code of Conduct
|
339
390
|
|
340
|
-
Everyone interacting in the CommandLineBoss project's codebases, issue trackers, chat
|
391
|
+
Everyone interacting in the CommandLineBoss project's codebases, issue trackers, chat
|
392
|
+
rooms and mailing lists is expected to follow the [code of
|
393
|
+
conduct](https://github.com/[USERNAME]/command_line_boss/blob/main/CODE_OF_CONDUCT.md).
|
data/Rakefile
CHANGED
@@ -25,6 +25,13 @@ rescue Bundler::BundlerError => e
|
|
25
25
|
exit e.status_code
|
26
26
|
end
|
27
27
|
|
28
|
+
# Make it so that calling `rake release` just calls `rake release:rubygems_push` to
|
29
|
+
# avoid creating and pushing a new tag.
|
30
|
+
|
31
|
+
Rake::Task['release'].clear
|
32
|
+
desc 'Customized release task to avoid creating a new tag'
|
33
|
+
task release: 'release:rubygem_push'
|
34
|
+
|
28
35
|
CLEAN << 'pkg'
|
29
36
|
CLOBBER << 'Gemfile.lock'
|
30
37
|
|
@@ -44,16 +51,9 @@ CLEAN << 'rspec-report.xml'
|
|
44
51
|
|
45
52
|
require 'rubocop/rake_task'
|
46
53
|
|
47
|
-
RuboCop::RakeTask.new
|
48
|
-
t.options = %w[
|
49
|
-
--format fuubar
|
50
|
-
--format json --out rubocop-report.json
|
51
|
-
--display-cop-names
|
52
|
-
--config .rubocop.yml
|
53
|
-
]
|
54
|
-
end
|
54
|
+
RuboCop::RakeTask.new
|
55
55
|
|
56
|
-
|
56
|
+
# YARD
|
57
57
|
|
58
58
|
unless RUBY_PLATFORM == 'java'
|
59
59
|
# yard:build
|
@@ -38,13 +38,4 @@ CLOBBER << 'Gemfile.lock'
|
|
38
38
|
|
39
39
|
require 'rubocop/rake_task'
|
40
40
|
|
41
|
-
RuboCop::RakeTask.new
|
42
|
-
t.options = %w[
|
43
|
-
--format fuubar
|
44
|
-
--format json --out rubocop-report.json
|
45
|
-
--display-cop-names
|
46
|
-
--config .rubocop.yml
|
47
|
-
]
|
48
|
-
end
|
49
|
-
|
50
|
-
CLEAN << 'rubocop-report.json'
|
41
|
+
RuboCop::RakeTask.new
|
data/lib/command_line_boss.rb
CHANGED
@@ -205,6 +205,7 @@ class CommandLineBoss
|
|
205
205
|
def parse_arguments; end
|
206
206
|
|
207
207
|
VALIDATION_METHOD_REGEXP = /^validate_(.+)$/
|
208
|
+
private_constant :VALIDATION_METHOD_REGEXP
|
208
209
|
|
209
210
|
# Validate the command line options and remaining arguments
|
210
211
|
#
|
@@ -222,6 +223,9 @@ class CommandLineBoss
|
|
222
223
|
private_methods.select { |m| m.to_s.match?(VALIDATION_METHOD_REGEXP) }.each { |m| send(m) }
|
223
224
|
end
|
224
225
|
|
226
|
+
DEFINITION_METHOD_REGEXP = /^define_(.+)_option$/
|
227
|
+
private_constant :DEFINITION_METHOD_REGEXP
|
228
|
+
|
225
229
|
# Set the default values for the command line options
|
226
230
|
#
|
227
231
|
# @return [void]
|
@@ -230,8 +234,6 @@ class CommandLineBoss
|
|
230
234
|
#
|
231
235
|
# def set_defaults; end
|
232
236
|
|
233
|
-
DEFINITION_METHOD_REGEXP = /^define_(.+)_option$/
|
234
|
-
|
235
237
|
# Define the command line options
|
236
238
|
#
|
237
239
|
# @return [void]
|
data/package.json
ADDED
@@ -0,0 +1,22 @@
|
|
1
|
+
{
|
2
|
+
"bootstrap-sha": "706448971a266f6cf5222661ab8e0f46f88086bd",
|
3
|
+
"packages": {
|
4
|
+
".": {
|
5
|
+
"release-type": "ruby",
|
6
|
+
"package-name": "command_line_boss",
|
7
|
+
"changelog-path": "CHANGELOG.md",
|
8
|
+
"version-file": "lib/command_line_boss/version.rb",
|
9
|
+
"bump-minor-pre-major": true,
|
10
|
+
"bump-patch-for-minor-pre-major": true,
|
11
|
+
"draft": false,
|
12
|
+
"prerelease": false,
|
13
|
+
"include-component-in-tag": false
|
14
|
+
}
|
15
|
+
},
|
16
|
+
"plugins": [
|
17
|
+
{
|
18
|
+
"type": "sentence-case"
|
19
|
+
}
|
20
|
+
],
|
21
|
+
"$schema": "https://raw.githubusercontent.com/googleapis/release-please/main/schemas/config.json"
|
22
|
+
}
|
metadata
CHANGED
@@ -1,15 +1,28 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: command_line_boss
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.1
|
4
|
+
version: 0.2.1
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- James Couball
|
8
|
-
autorequire:
|
9
8
|
bindir: exe
|
10
9
|
cert_chain: []
|
11
|
-
date:
|
10
|
+
date: 1980-01-02 00:00:00.000000000 Z
|
12
11
|
dependencies:
|
12
|
+
- !ruby/object:Gem::Dependency
|
13
|
+
name: logger
|
14
|
+
requirement: !ruby/object:Gem::Requirement
|
15
|
+
requirements:
|
16
|
+
- - "~>"
|
17
|
+
- !ruby/object:Gem::Version
|
18
|
+
version: '1.6'
|
19
|
+
type: :runtime
|
20
|
+
prerelease: false
|
21
|
+
version_requirements: !ruby/object:Gem::Requirement
|
22
|
+
requirements:
|
23
|
+
- - "~>"
|
24
|
+
- !ruby/object:Gem::Version
|
25
|
+
version: '1.6'
|
13
26
|
- !ruby/object:Gem::Dependency
|
14
27
|
name: bundler-audit
|
15
28
|
requirement: !ruby/object:Gem::Requirement
|
@@ -30,14 +43,14 @@ dependencies:
|
|
30
43
|
requirements:
|
31
44
|
- - "~>"
|
32
45
|
- !ruby/object:Gem::Version
|
33
|
-
version: '1
|
46
|
+
version: '2.1'
|
34
47
|
type: :development
|
35
48
|
prerelease: false
|
36
49
|
version_requirements: !ruby/object:Gem::Requirement
|
37
50
|
requirements:
|
38
51
|
- - "~>"
|
39
52
|
- !ruby/object:Gem::Version
|
40
|
-
version: '1
|
53
|
+
version: '2.1'
|
41
54
|
- !ruby/object:Gem::Dependency
|
42
55
|
name: csv
|
43
56
|
requirement: !ruby/object:Gem::Requirement
|
@@ -66,6 +79,20 @@ dependencies:
|
|
66
79
|
- - "~>"
|
67
80
|
- !ruby/object:Gem::Version
|
68
81
|
version: '2.5'
|
82
|
+
- !ruby/object:Gem::Dependency
|
83
|
+
name: main_branch_shared_rubocop_config
|
84
|
+
requirement: !ruby/object:Gem::Requirement
|
85
|
+
requirements:
|
86
|
+
- - "~>"
|
87
|
+
- !ruby/object:Gem::Version
|
88
|
+
version: '0.1'
|
89
|
+
type: :development
|
90
|
+
prerelease: false
|
91
|
+
version_requirements: !ruby/object:Gem::Requirement
|
92
|
+
requirements:
|
93
|
+
- - "~>"
|
94
|
+
- !ruby/object:Gem::Version
|
95
|
+
version: '0.1'
|
69
96
|
- !ruby/object:Gem::Dependency
|
70
97
|
name: rake
|
71
98
|
requirement: !ruby/object:Gem::Requirement
|
@@ -100,14 +127,14 @@ dependencies:
|
|
100
127
|
requirements:
|
101
128
|
- - "~>"
|
102
129
|
- !ruby/object:Gem::Version
|
103
|
-
version: '1.
|
130
|
+
version: '1.66'
|
104
131
|
type: :development
|
105
132
|
prerelease: false
|
106
133
|
version_requirements: !ruby/object:Gem::Requirement
|
107
134
|
requirements:
|
108
135
|
- - "~>"
|
109
136
|
- !ruby/object:Gem::Version
|
110
|
-
version: '1.
|
137
|
+
version: '1.66'
|
111
138
|
- !ruby/object:Gem::Dependency
|
112
139
|
name: simplecov
|
113
140
|
requirement: !ruby/object:Gem::Requirement
|
@@ -136,6 +163,20 @@ dependencies:
|
|
136
163
|
- - "~>"
|
137
164
|
- !ruby/object:Gem::Version
|
138
165
|
version: '0.8'
|
166
|
+
- !ruby/object:Gem::Dependency
|
167
|
+
name: simplecov-rspec
|
168
|
+
requirement: !ruby/object:Gem::Requirement
|
169
|
+
requirements:
|
170
|
+
- - "~>"
|
171
|
+
- !ruby/object:Gem::Version
|
172
|
+
version: '0.3'
|
173
|
+
type: :development
|
174
|
+
prerelease: false
|
175
|
+
version_requirements: !ruby/object:Gem::Requirement
|
176
|
+
requirements:
|
177
|
+
- - "~>"
|
178
|
+
- !ruby/object:Gem::Version
|
179
|
+
version: '0.3'
|
139
180
|
- !ruby/object:Gem::Dependency
|
140
181
|
name: turnip
|
141
182
|
requirement: !ruby/object:Gem::Requirement
|
@@ -208,6 +249,10 @@ executables: []
|
|
208
249
|
extensions: []
|
209
250
|
extra_rdoc_files: []
|
210
251
|
files:
|
252
|
+
- ".commitlintrc.yml"
|
253
|
+
- ".husky/commit-msg"
|
254
|
+
- ".markdownlint.yml"
|
255
|
+
- ".release-please-manifest.json"
|
211
256
|
- ".rspec"
|
212
257
|
- ".rubocop.yml"
|
213
258
|
- ".yardopts"
|
@@ -234,6 +279,8 @@ files:
|
|
234
279
|
- lib/command_line_boss/help_option.rb
|
235
280
|
- lib/command_line_boss/logger_options.rb
|
236
281
|
- lib/command_line_boss/version.rb
|
282
|
+
- package.json
|
283
|
+
- release-please-config.json
|
237
284
|
homepage: https://github.com/main-branch/command_line_boss
|
238
285
|
licenses:
|
239
286
|
- MIT
|
@@ -241,10 +288,9 @@ metadata:
|
|
241
288
|
allowed_push_host: https://rubygems.org
|
242
289
|
homepage_uri: https://github.com/main-branch/command_line_boss
|
243
290
|
source_code_uri: https://github.com/main-branch/command_line_boss
|
244
|
-
|
245
|
-
|
291
|
+
documentation_uri: https://rubydoc.info/gems/command_line_boss/0.2.1
|
292
|
+
changelog_uri: https://rubydoc.info/gems/command_line_boss/0.2.1/file/CHANGELOG.md
|
246
293
|
rubygems_mfa_required: 'true'
|
247
|
-
post_install_message:
|
248
294
|
rdoc_options: []
|
249
295
|
require_paths:
|
250
296
|
- lib
|
@@ -258,9 +304,10 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
258
304
|
- - ">="
|
259
305
|
- !ruby/object:Gem::Version
|
260
306
|
version: '0'
|
261
|
-
requirements:
|
262
|
-
|
263
|
-
|
307
|
+
requirements:
|
308
|
+
- 'Platform: Mac, Linux, or Windows'
|
309
|
+
- 'Ruby: MRI 3.1 or later, TruffleRuby 24 or later, or JRuby 9.4 or later'
|
310
|
+
rubygems_version: 3.6.7
|
264
311
|
specification_version: 4
|
265
312
|
summary: Command Line Boss is a convenience layer over OptionsParser
|
266
313
|
test_files: []
|