create_github_release 2.1.4 → 2.1.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: 70ab67da02ae0d00e54118b932594c3444fc125232fb2a94bcce0f99e0d20d25
4
- data.tar.gz: 4da82f324f987cb3fa63f2eed4bd64966d587564666868bd2594509cf000889f
3
+ metadata.gz: '099b71eefbbcdffbc33313a98aee782e190514c8d508cb9fbbbd28d84f5daece'
4
+ data.tar.gz: 17f488332848e7f934429abb363fbc81c3278c441761ced61b9e23b923ea26f6
5
5
  SHA512:
6
- metadata.gz: 4b6cdf93c00eb851f261c9d107cb736e928de0eeffa04024c9fe4ae11517ed5c4e622bf9f85ab92fd0603ef570c445e02ef7f7daefa91575a2c12136a239ece2
7
- data.tar.gz: d665a23ee9b7023d00f726f1462d586ed0465249a51bce49bd2c70b063b475ac2539ef99a42ffc9155e9185d906403d70ba4b70b71d0add187036e150ae28d24
6
+ metadata.gz: 2957fac857c30126571c9281606671c6c967993ecd02579289ba1a487574007f74b91928bb8f1fe3833e8810ae071ff77439bfa7853bf6993b8efa406c4f5968
7
+ data.tar.gz: b9ce0e44bc55bad8d7e34e25223ee9a40e242d2ed23447e4c6a8df5c00ad6bbad029edf283f595e1e9d8898edb4e7cb13ec65c58c9b4809e5e9acf58727a84e2
data/.commitlintrc.yml CHANGED
@@ -4,13 +4,34 @@ extends: '@commitlint/config-conventional'
4
4
  rules:
5
5
  # See: https://commitlint.js.org/reference/rules.html
6
6
  #
7
- # Rules are made up by a name and a configuration array. The configuration array contains:
7
+ # Rules are made up by a name and a configuration array. The configuration
8
+ # array contains:
8
9
  #
9
- # * Severity [0..2]: 0 disable rule, 1 warning if violated, or 2 error if violated
10
+ # * Severity [0..2]: 0 disable rule, 1 warning if violated, or 2 error if
11
+ # violated
10
12
  # * Applicability [always|never]: never inverts the rule
11
- # * Value: value to use for this rule
13
+ # * Value: value to use for this rule (if applicable)
12
14
  #
13
- # Run `npx commitlint --print-config` to see the current setting for all rules.
15
+ # Run `npx commitlint --print-config` to see the current setting for all
16
+ # rules.
14
17
  #
15
- body-leading-blank: [2, 'always']
16
- footer-leading-blank: [2, 'always']
18
+ header-max-length: [2, always, 100] # Header can not exceed 100 chars
19
+
20
+ type-case: [2, always, lower-case] # Type must be lower case
21
+ type-empty: [2, never] # Type must not be empty
22
+
23
+ # Supported conventional commit types
24
+ type-enum: [2, always, [build, ci, chore, docs, feat, fix, perf, refactor, revert, style, test]]
25
+
26
+ scope-case: [2, always, lower-case] # Scope must be lower case
27
+
28
+ # Error if subject is one of these cases (encourages lower-case)
29
+ subject-case: [2, never, [sentence-case, start-case, pascal-case, upper-case]]
30
+ subject-empty: [2, never] # Subject must not be empty
31
+ subject-full-stop: [2, never, "."] # Subject must not end with a period
32
+
33
+ body-leading-blank: [2, always] # Body must have a blank line before it
34
+ body-max-line-length: [2, always, 100] # Body lines can not exceed 100 chars
35
+
36
+ footer-leading-blank: [2, always] # Footer must have a blank line before it
37
+ footer-max-line-length: [2, always, 100] # Footer lines can not exceed 100 chars
@@ -1,3 +1,3 @@
1
1
  {
2
- ".": "2.1.4"
2
+ ".": "2.1.6"
3
3
  }
data/CHANGELOG.md CHANGED
@@ -5,6 +5,21 @@ 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
+ ## [2.1.6](https://github.com/main-branch/create_github_release/compare/v2.1.5...v2.1.6) (2026-04-24)
9
+
10
+
11
+ ### Other Changes
12
+
13
+ * **dependencies:** Update dependencies for all GitHub Actions workflows ([8acc8f4](https://github.com/main-branch/create_github_release/commit/8acc8f4baa6be0bffad6cd09d1370076ee7c0f68))
14
+ * **rubocop:** Fix rubocop offenses from new cops ([9d22002](https://github.com/main-branch/create_github_release/commit/9d2200280b9249abce81c1c4d7f8efe0aa5fc92f))
15
+
16
+ ## [2.1.5](https://github.com/main-branch/create_github_release/compare/v2.1.4...v2.1.5) (2025-04-18)
17
+
18
+
19
+ ### Other Changes
20
+
21
+ * Configure release-please to includes all changes in the CHANGELOG ([bc141c7](https://github.com/main-branch/create_github_release/commit/bc141c73399eaaad89a69608cee887f580e5f11a))
22
+
8
23
  ## [2.1.4](https://github.com/main-branch/create_github_release/compare/v2.1.3...v2.1.4) (2025-04-17)
9
24
 
10
25
 
@@ -24,7 +24,7 @@ class Options
24
24
  end
25
25
 
26
26
  # Parse the command line options for this script
27
- class Parser
27
+ class Parser # rubocop:disable Style/OneClassPerFile
28
28
  # Create a new command line parser
29
29
  #
30
30
  # @example
@@ -108,7 +108,7 @@ module CreateGithubRelease
108
108
  def front_matter
109
109
  return '' if front_matter_start == front_matter_end
110
110
 
111
- lines[front_matter_start..front_matter_end - 1].join("\n")
111
+ lines[front_matter_start..(front_matter_end - 1)].join("\n")
112
112
  end
113
113
 
114
114
  # The body of the existing changelog
@@ -168,7 +168,7 @@ module CreateGithubRelease
168
168
  def body
169
169
  return '' if body_start == body_end
170
170
 
171
- lines[body_start..body_end - 1].join("\n")
171
+ lines[body_start..(body_end - 1)].join("\n")
172
172
  end
173
173
 
174
174
  # The changelog before the new release is added
@@ -139,6 +139,7 @@ module CreateGithubRelease
139
139
  end
140
140
 
141
141
  extend Forwardable
142
+
142
143
  def_delegators :@validator, :valid?, :errors
143
144
 
144
145
  private
@@ -2,5 +2,5 @@
2
2
 
3
3
  module CreateGithubRelease
4
4
  # The version of this gem
5
- VERSION = '2.1.4'
5
+ VERSION = '2.1.6'
6
6
  end
@@ -10,7 +10,21 @@
10
10
  "bump-patch-for-minor-pre-major": true,
11
11
  "draft": false,
12
12
  "prerelease": false,
13
- "include-component-in-tag": false
13
+ "include-component-in-tag": false,
14
+ "pull-request-title-pattern": "chore: release v${version}",
15
+ "changelog-sections": [
16
+ { "type": "feat", "section": "Features", "hidden": false },
17
+ { "type": "fix", "section": "Bug Fixes", "hidden": false },
18
+ { "type": "build", "section": "Other Changes", "hidden": false },
19
+ { "type": "chore", "section": "Other Changes", "hidden": false },
20
+ { "type": "ci", "section": "Other Changes", "hidden": false },
21
+ { "type": "docs", "section": "Other Changes", "hidden": false },
22
+ { "type": "perf", "section": "Other Changes", "hidden": false },
23
+ { "type": "refactor", "section": "Other Changes", "hidden": false },
24
+ { "type": "revert", "section": "Other Changes", "hidden": false },
25
+ { "type": "style", "section": "Other Changes", "hidden": false },
26
+ { "type": "test", "section": "Other Changes", "hidden": false }
27
+ ]
14
28
  }
15
29
  },
16
30
  "plugins": [
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: create_github_release
3
3
  version: !ruby/object:Gem::Version
4
- version: 2.1.4
4
+ version: 2.1.6
5
5
  platform: ruby
6
6
  authors:
7
7
  - James
@@ -316,8 +316,8 @@ metadata:
316
316
  allowed_push_host: https://rubygems.org
317
317
  homepage_uri: https://github.com/main-branch/create_github_release
318
318
  source_code_uri: https://github.com/main-branch/create_github_release
319
- documentation_uri: https://rubydoc.info/gems/create_github_release/2.1.4
320
- changelog_uri: https://rubydoc.info/gems/create_github_release/2.1.4/file/CHANGELOG.md
319
+ documentation_uri: https://rubydoc.info/gems/create_github_release/2.1.6
320
+ changelog_uri: https://rubydoc.info/gems/create_github_release/2.1.6/file/CHANGELOG.md
321
321
  rubygems_mfa_required: 'true'
322
322
  rdoc_options: []
323
323
  require_paths:
@@ -335,7 +335,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
335
335
  requirements:
336
336
  - 'Platform: Mac, Linux, or Windows'
337
337
  - 'Ruby: MRI 3.1 or later, TruffleRuby 24 or later, or JRuby 9.4 or later'
338
- rubygems_version: 3.6.7
338
+ rubygems_version: 4.0.6
339
339
  specification_version: 4
340
340
  summary: A script to create a GitHub release for a Ruby Gem
341
341
  test_files: []