Skip to content

Commit

Permalink
WEB-877: Unlock Puma 6 (#5)
Browse files Browse the repository at this point in the history
* Add support for Puma 6

* Update appraisals for Puma 6

* Bump version

* Lock development dependencies into gemspec
  • Loading branch information
bmedenwald committed Jun 28, 2023
1 parent 562435f commit 3d09739
Show file tree
Hide file tree
Showing 4 changed files with 7 additions and 4 deletions.
3 changes: 3 additions & 0 deletions .rubocop.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,9 @@ Bundler/OrderedGems:
Exclude:
- "gemfiles/**/*"

Gemspec/DevelopmentDependencies:
EnforcedStyle: gemspec

Layout/LineLength:
Max: 120

Expand Down
2 changes: 1 addition & 1 deletion Appraisals
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ end

appraise "rails-7-0" do
gem "rails", "~> 7.0.0"
gem "puma", "~> 5.0"
gem "puma", "~> 6.0"
end

appraise "latest" do
Expand Down
2 changes: 1 addition & 1 deletion gemfiles/rails_7_0.gemfile
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,6 @@
source "https://rubygems.org"

gem "rails", "~> 7.0.0"
gem "puma", "~> 5.0"
gem "puma", "~> 6.0"

gemspec path: "../"
4 changes: 2 additions & 2 deletions puma-pool-usage.gemspec
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

Gem::Specification.new do |spec|
spec.name = "puma-pool-usage"
spec.version = "1.0.0"
spec.version = "1.0.1"
spec.authors = ["Brandon Medenwald"]
spec.email = ["brandon@simplymadeapps.com"]

Expand All @@ -25,7 +25,7 @@ Gem::Specification.new do |spec|
end
spec.require_paths = ["lib"]

spec.add_runtime_dependency "puma", ">= 3.12", "< 6.0"
spec.add_runtime_dependency "puma", ">= 3.12", "< 7.0"
spec.add_runtime_dependency "rails", ">= 5.0"

spec.add_development_dependency "appraisal"
Expand Down

0 comments on commit 3d09739

Please sign in to comment.