command_line_boss 0.2.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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: c18c2eeeebeba00361af947c2349049dcdb7d861358189e4b44be3f257a29d02
4
- data.tar.gz: a52b032947e2aed16266af4374101236df602f9e2422d2aec2522a2dcee22d6f
3
+ metadata.gz: 953b0a8bbd1c3fafad1ceee175d527921b73b8aed717d3bec37eeaa074187165
4
+ data.tar.gz: 07acf7edbce04850432534d1f5a77dcf49eec5259eaba4ef583b09ac0883f68d
5
5
  SHA512:
6
- metadata.gz: 0e57a7351d88aeac40f243fc3f7c595345562afca8a0a43ac989e8b166bed5113a6f38560a8267ee80941ec3a450395a3e0ebf8f30ab2534e7a7d4053fca1c2f
7
- data.tar.gz: 3d4173cc96ce04aec95367795c36e2a3949e6ef2e542bb17f130c18d5912bfdd4ba5666a1a6ff5a77556a1d23077dbabd97546fd0856d69dcf953cfb078bd83f
6
+ metadata.gz: '0953f6521edd9113d7befa0231771d27f0395a6d487df9640e179e5bedaf152b7cb7d0bb4cb2d4dcaa299cdb3689035aa95ee1e4b2c06e4f821a94fac90224b4'
7
+ data.tar.gz: 6dee4f58d3326609537c61af7d4628d1d824c3762afb0facba2e549c039730b10a7d82c1855e7a5555121a5614df1345cd4dc1697681a544972bc10b0c5d1da1
@@ -0,0 +1,3 @@
1
+ {
2
+ ".": "0.2.1"
3
+ }
data/.yardopts CHANGED
@@ -3,6 +3,4 @@
3
3
  --markup-provider=redcarpet
4
4
  --markup markdown
5
5
  - CHANGELOG.md
6
- - CONTRIBUTING.md
7
- - RELEASING.md
8
6
  - LICENSE.txt
data/CHANGELOG.md CHANGED
@@ -5,6 +5,14 @@ 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
+
8
16
  ## v0.2.0 (2024-10-10)
9
17
 
10
18
  [Full Changelog](https://github.com/main-branch/command_line_boss/compare/v0.1.0..v0.2.0)
data/README.md CHANGED
@@ -4,8 +4,6 @@
4
4
  [![Documentation](https://img.shields.io/badge/Documentation-Latest-green)](https://rubydoc.info/gems/command_line_boss/)
5
5
  [![Change Log](https://img.shields.io/badge/CHANGELOG-Latest-green)](https://rubydoc.info/gems/command_line_boss/file/CHANGELOG.md)
6
6
  [![Build Status](https://github.com/main-branch/command_line_boss/actions/workflows/continuous_integration.yml/badge.svg)](https://github.com/main-branch/command_line_boss/actions/workflows/continuous_integration.yml)
7
- [![Maintainability](https://api.codeclimate.com/v1/badges/513b4d8d95a5e3a77ec6/maintainability)](https://codeclimate.com/github/main-branch/command_line_boss/maintainability)
8
- [![Test Coverage](https://api.codeclimate.com/v1/badges/513b4d8d95a5e3a77ec6/test_coverage)](https://codeclimate.com/github/main-branch/command_line_boss/test_coverage)
9
7
  [![Conventional
10
8
  Commits](https://img.shields.io/badge/Conventional%20Commits-1.0.0-%23FE5196?logo=conventionalcommits&logoColor=white)](https://conventionalcommits.org)
11
9
  [![Slack](https://img.shields.io/badge/slack-main--branch/command__line__boss-yellow.svg?logo=slack)](https://main-branch.slack.com/archives/C07MQC0LNKF)
@@ -24,19 +22,19 @@ Other good alternatives also exist.
24
22
 
25
23
  * [Installation](#installation)
26
24
  * [Usage](#usage)
27
- * [Getting started](#getting-started)
28
- * [Design your command line](#design-your-command-line)
29
- * [Start your command line parser class](#start-your-command-line-parser-class)
30
- * [Define options](#define-options)
31
- * [Define additional validations](#define-additional-validations)
32
- * [Process any remaining non-option arguments](#process-any-remaining-non-option-arguments)
33
- * [Optional: define help output](#optional-define-help-output)
34
- * [Use the parser](#use-the-parser)
35
- * [Run the command line](#run-the-command-line)
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)
36
34
  * [Development](#development)
37
35
  * [Contributing](#contributing)
38
- * [Commit message guidelines](#commit-message-guidelines)
39
- * [Pull request guidelines](#pull-request-guidelines)
36
+ * [Commit message guidelines](#commit-message-guidelines)
37
+ * [Pull request guidelines](#pull-request-guidelines)
40
38
  * [License](#license)
41
39
  * [Code of Conduct](#code-of-conduct)
42
40
 
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
 
@@ -2,5 +2,5 @@
2
2
 
3
3
  class CommandLineBoss
4
4
  # Gem version
5
- VERSION = '0.2.0'
5
+ VERSION = '0.2.1'
6
6
  end
@@ -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]
@@ -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,14 +1,13 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: command_line_boss
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.2.0
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: 2024-10-10 00:00:00.000000000 Z
10
+ date: 1980-01-02 00:00:00.000000000 Z
12
11
  dependencies:
13
12
  - !ruby/object:Gem::Dependency
14
13
  name: logger
@@ -253,6 +252,7 @@ files:
253
252
  - ".commitlintrc.yml"
254
253
  - ".husky/commit-msg"
255
254
  - ".markdownlint.yml"
255
+ - ".release-please-manifest.json"
256
256
  - ".rspec"
257
257
  - ".rubocop.yml"
258
258
  - ".yardopts"
@@ -280,6 +280,7 @@ files:
280
280
  - lib/command_line_boss/logger_options.rb
281
281
  - lib/command_line_boss/version.rb
282
282
  - package.json
283
+ - release-please-config.json
283
284
  homepage: https://github.com/main-branch/command_line_boss
284
285
  licenses:
285
286
  - MIT
@@ -287,10 +288,9 @@ metadata:
287
288
  allowed_push_host: https://rubygems.org
288
289
  homepage_uri: https://github.com/main-branch/command_line_boss
289
290
  source_code_uri: https://github.com/main-branch/command_line_boss
290
- documentation_uri: https://rubydoc.info/gems/command_line_boss/0.2.0
291
- changelog_uri: https://rubydoc.info/gems/command_line_boss/0.2.0/file/CHANGELOG.md
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
292
293
  rubygems_mfa_required: 'true'
293
- post_install_message:
294
294
  rdoc_options: []
295
295
  require_paths:
296
296
  - lib
@@ -307,8 +307,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
307
307
  requirements:
308
308
  - 'Platform: Mac, Linux, or Windows'
309
309
  - 'Ruby: MRI 3.1 or later, TruffleRuby 24 or later, or JRuby 9.4 or later'
310
- rubygems_version: 3.5.16
311
- signing_key:
310
+ rubygems_version: 3.6.7
312
311
  specification_version: 4
313
312
  summary: Command Line Boss is a convenience layer over OptionsParser
314
313
  test_files: []