Skip to content

Commit 808c835

Browse files
committed
Pin Ruby 2.3 compatible gitmoji regex
1 parent dfb6258 commit 808c835

4 files changed

Lines changed: 10 additions & 4 deletions

File tree

.rubocop_gradual.lock

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -110,10 +110,10 @@
110110
[571, 48, 1, "Style/TrailingCommaInArguments: Avoid comma after the last parameter of a method call.", 177545],
111111
[573, 21, 1, "Style/TrailingCommaInArguments: Avoid comma after the last parameter of a method call.", 177545]
112112
],
113-
"oauth2.gemspec:3554116155": [
113+
"oauth2.gemspec:1987188337": [
114114
[81, 5, 36, "Style/TrailingCommaInArrayLiteral: Put a comma after the last item of a multiline array.", 3227795012],
115115
[106, 5, 9, "Style/TrailingCommaInArrayLiteral: Put a comma after the last item of a multiline array.", 1146747705],
116-
[186, 3, 68, "Gemspec/OrderedDependencies: Dependencies should be sorted in an alphabetical order within their section of the gemspec. Dependency `backports` should appear before `rexml`.", 4213155631]
116+
[190, 3, 68, "Gemspec/OrderedDependencies: Dependencies should be sorted in an alphabetical order within their section of the gemspec. Dependency `backports` should appear before `rexml`.", 4213155631]
117117
],
118118
"spec/examples/google_spec.rb:2278649676": [
119119
[17, 35, 1, "Style/TrailingCommaInArguments: Avoid comma after the last parameter of a method call.", 177545]

CHANGELOG.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -30,6 +30,7 @@ Please file a bug if you notice a violation of semantic versioning.
3030

3131
- Updated CI workflow maintenance: QLTY uploads now use OIDC, harden-runner is pinned to v2.19.4, and Caboose dependency installation logs are visible on failure.
3232
- Restored Ruby 2.3 Caboose CI bundle resolution by using the last compatible kettle development/test toolchain on that EOL runtime.
33+
- Kept Ruby 2.3 Caboose CI on the last compatible `gitmoji-regex` release.
3334
- Replaced stale platform CI `rake magic` commands with portable spec commands.
3435
- Pinned `multi_xml` below 0.9 for TruffleRuby compatibility.
3536
- Marked EOL TruffleRuby 22.3, 23.0, and 23.1 CI as experimental because they can crash inside the interpreter during Bundler setup.

docs/file.CHANGELOG.html

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -85,6 +85,7 @@ <h3 id="fixed">Fixed</h3>
8585
<ul>
8686
<li>Updated CI workflow maintenance: QLTY uploads now use OIDC, harden-runner is pinned to v2.19.4, and Caboose dependency installation logs are visible on failure.</li>
8787
<li>Restored Ruby 2.3 Caboose CI bundle resolution by using the last compatible kettle development/test toolchain on that EOL runtime.</li>
88+
<li>Kept Ruby 2.3 Caboose CI on the last compatible <code>gitmoji-regex</code> release.</li>
8889
<li>Replaced stale platform CI <code>rake magic</code> commands with portable spec commands.</li>
8990
<li>Pinned <code>multi_xml</code> below 0.9 for TruffleRuby compatibility.</li>
9091
<li>Marked EOL TruffleRuby 22.3, 23.0, and 23.1 CI as experimental because they can crash inside the interpreter during Bundler setup.</li>
@@ -1406,7 +1407,7 @@ <h2 id="001---2010-04-22">
14061407
</div></div>
14071408

14081409
<div id="footer">
1409-
Generated on Wed Jun 3 19:07:25 2026 by
1410+
Generated on Wed Jun 3 19:15:43 2026 by
14101411
<a href="https://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
14111412
0.9.44 (ruby-4.0.4).
14121413
</div>

oauth2.gemspec

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -172,7 +172,11 @@ Gem::Specification.new do |spec|
172172
# This means we have no choice but to use the erb that shipped with Ruby 2.3
173173
# /opt/hostedtoolcache/Ruby/2.3.8/x64/lib/ruby/gems/2.3.0/gems/erb-2.2.2/lib/erb.rb:670:in `prepare_trim_mode': undefined method `match?' for "-":String (NoMethodError)
174174
# spec.add_development_dependency("erb", ">= 2.2") # ruby >= 2.3.0, not SemVer, old rubies get dropped in a patch.
175-
spec.add_development_dependency("gitmoji-regex", "~> 2.0", ">= 2.0.1") # ruby >= 2.4
175+
if Gem.ruby_version < Gem::Version.new("2.4")
176+
spec.add_development_dependency("gitmoji-regex", "~> 1.0", ">= 1.0.3") # ruby >= 2.3.0
177+
else
178+
spec.add_development_dependency("gitmoji-regex", "~> 2.0", ">= 2.0.1") # ruby >= 2.4
179+
end
176180

177181
# HTTP recording for deterministic specs
178182
# In Ruby 3.5 (HEAD) the CGI library has been pared down, so we also need to depend on gem "cgi" for ruby@head

0 commit comments

Comments
 (0)