Skip to content

Commit 5005480

Browse files
committed
Add racc dependency because it will be bundled
Ruby 3.3.0 is going to start warning for racc not being specififed as a dependency, and Ruby 3.4.0 will raise if it is not specified. This commit prevents those issues by adding racc to the Action Pack gemspec, since `racc/parser` is a runtime dependency of the Journey parser.
1 parent 00dfa10 commit 5005480

File tree

3 files changed

+5
-0
lines changed

3 files changed

+5
-0
lines changed

Gemfile.lock

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -50,6 +50,7 @@ PATH
5050
actionview (= 7.2.0.alpha)
5151
activesupport (= 7.2.0.alpha)
5252
nokogiri (>= 1.8.5)
53+
racc
5354
rack (>= 2.2.4)
5455
rack-session (>= 1.0.1)
5556
rack-test (>= 0.6.3)

actionpack/CHANGELOG.md

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,5 @@
1+
* Add `racc` as a dependency since it will become a bundled gem in Ruby 3.4.0
2+
3+
*Hartley McGuire*
14

25
Please check [7-1-stable](https://github.com/rails/rails/blob/7-1-stable/actionpack/CHANGELOG.md) for previous changes.

actionpack/actionpack.gemspec

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -36,6 +36,7 @@ Gem::Specification.new do |s|
3636
s.add_dependency "activesupport", version
3737

3838
s.add_dependency "nokogiri", ">= 1.8.5"
39+
s.add_dependency "racc"
3940
s.add_dependency "rack", ">= 2.2.4"
4041
s.add_dependency "rack-session", ">= 1.0.1"
4142
s.add_dependency "rack-test", ">= 0.6.3"

0 commit comments

Comments
 (0)