From 323adf45fbef5dadf14c48190e5d9345bde7c2da Mon Sep 17 00:00:00 2001 From: denisahearn Date: Thu, 6 Mar 2025 09:19:51 -0600 Subject: [PATCH 1/2] Rails 8 support --- lib/twitter/bootstrap/rails/version.rb | 2 +- twitter-bootstrap-rails.gemspec | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/lib/twitter/bootstrap/rails/version.rb b/lib/twitter/bootstrap/rails/version.rb index 6778857d..76ea20ce 100644 --- a/lib/twitter/bootstrap/rails/version.rb +++ b/lib/twitter/bootstrap/rails/version.rb @@ -1,7 +1,7 @@ module Twitter module Bootstrap module Rails - VERSION = "5.0.0" + VERSION = "5.1.0" end end end diff --git a/twitter-bootstrap-rails.gemspec b/twitter-bootstrap-rails.gemspec index 5a7f2f45..46781467 100644 --- a/twitter-bootstrap-rails.gemspec +++ b/twitter-bootstrap-rails.gemspec @@ -18,8 +18,8 @@ Gem::Specification.new do |s| s.executables = `git ls-files -- bin/*`.split("\n").map{ |f| File.basename(f) } s.require_paths = ["lib"] - s.add_dependency 'railties', '>= 5.0', '< 8.0' - s.add_dependency 'actionpack', '>= 5.0', '< 8.0' + s.add_dependency 'railties', '>= 5.0', '<= 8.0' + s.add_dependency 'actionpack', '>= 5.0', '<= 8.0' s.add_dependency 'less-rails', '>= 3.0', '< 5.0' s.add_runtime_dependency 'execjs', '~> 2.7' From 85402e37a670d7ac20eef73c1e175db34542e0d9 Mon Sep 17 00:00:00 2001 From: denisahearn Date: Thu, 6 Mar 2025 09:30:09 -0600 Subject: [PATCH 2/2] Use < 9.0 constraint --- twitter-bootstrap-rails.gemspec | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/twitter-bootstrap-rails.gemspec b/twitter-bootstrap-rails.gemspec index 46781467..9c67fc41 100644 --- a/twitter-bootstrap-rails.gemspec +++ b/twitter-bootstrap-rails.gemspec @@ -18,8 +18,8 @@ Gem::Specification.new do |s| s.executables = `git ls-files -- bin/*`.split("\n").map{ |f| File.basename(f) } s.require_paths = ["lib"] - s.add_dependency 'railties', '>= 5.0', '<= 8.0' - s.add_dependency 'actionpack', '>= 5.0', '<= 8.0' + s.add_dependency 'railties', '>= 5.0', '< 9.0' + s.add_dependency 'actionpack', '>= 5.0', '< 9.0' s.add_dependency 'less-rails', '>= 3.0', '< 5.0' s.add_runtime_dependency 'execjs', '~> 2.7'