Skip to content

Commit

Permalink
Merge pull request #20 from brucek/sinatra_4_support
Browse files Browse the repository at this point in the history
Sinatra 4 support
  • Loading branch information
jkowens committed Feb 7, 2024
2 parents f2e4b75 + a80ec44 commit d3ec423
Show file tree
Hide file tree
Showing 4 changed files with 12 additions and 2 deletions.
2 changes: 1 addition & 1 deletion CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ Breaking Changes

Added

- None
- Support for Sinatra 4

Fixed

Expand Down
5 changes: 5 additions & 0 deletions gemfiles/pt13_sinatra4.rb
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
source "https://rubygems.org"
gemspec(path: "..")
gem "activesupport", "~> 7.0"
gem "paper_trail", "~> 13.0"
gem "sinatra", "~> 4.0.0"
5 changes: 5 additions & 0 deletions gemfiles/pt15_sinatra4.rb
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
source "https://rubygems.org"
gemspec(path: "..")
gem "activesupport", "~> 7.0"
gem "paper_trail", "~> 15.0"
gem "sinatra", "~> 4.0.0"
2 changes: 1 addition & 1 deletion paper_trail-sinatra.gemspec
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ Gem::Specification.new do |spec|
# `::PaperTrail::Sinatra`.
spec.add_dependency "paper_trail", ">= 9"

spec.add_dependency "sinatra", [">= 1.0.0", "< 4"]
spec.add_dependency "sinatra", [">= 1.0.0", "< 5"]
spec.add_development_dependency "bundler", [">= 1.13", "< 3"]
spec.add_development_dependency "rack-test", "~> 0.6"
spec.add_development_dependency "rspec", "~> 3.7"
Expand Down

0 comments on commit d3ec423

Please sign in to comment.