Skip to content

Business intelligence made simple

Dropped support for Ruby < 3.2 and Rails < 7.1

Andrew Kaned4f419fcac6a
diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml
index fc93e239..d4311d47 100644
--- a/.github/workflows/build.yml
+++ b/.github/workflows/build.yml
@@ -13,8 +13,6 @@ jobs:
gemfile: gemfiles/rails72.gemfile
- ruby: 3.2
gemfile: gemfiles/rails71.gemfile
- - ruby: 3.1
- gemfile: gemfiles/rails70.gemfile
env:
BUNDLE_GEMFILE: ${{ matrix.gemfile }}
TEST_PROPHET: 1
diff --git a/CHANGELOG.md b/CHANGELOG.md
index 81062e69..8ead9f58 100644
--- a/CHANGELOG.md
+++ b/CHANGELOG.md
@@ -1,6 +1,7 @@
-## 3.2.2 (unreleased)
+## 3.3.0 (unreleased)
- Fixed error with forecasting with Rails 7.2+
+- Dropped support for Ruby < 3.2 and Rails < 7.1
## 3.2.1 (2025-03-21)
diff --git a/blazer.gemspec b/blazer.gemspec
index 48ab5ab4..00975ac5 100644
--- a/blazer.gemspec
+++ b/blazer.gemspec
@@ -13,10 +13,10 @@ Gem::Specification.new do |spec|
spec.files = Dir["*.{md,txt}", "{app,config,lib,licenses}/**/*"]
spec.require_path = "lib"
- spec.required_ruby_version = ">= 3.1"
+ spec.required_ruby_version = ">= 3.2"
- spec.add_dependency "railties", ">= 7"
- spec.add_dependency "activerecord", ">= 7"
+ spec.add_dependency "railties", ">= 7.1"
+ spec.add_dependency "activerecord", ">= 7.1"
spec.add_dependency "chartkick", ">= 5"
spec.add_dependency "safely_block", ">= 0.4"
spec.add_dependency "csv"
diff --git a/test/test_helper.rb b/test/test_helper.rb
index 7a257415..00b5a637 100644
--- a/test/test_helper.rb
+++ b/test/test_helper.rb
@@ -1,5 +1,4 @@
require "bundler/setup"
-require "logger" # for Rails < 7.1
require "combustion"
Bundler.require(:default)
require "minitest/autorun"
@@ -17,9 +16,7 @@ Combustion.initialize! :active_record, :action_controller, :action_mailer, :acti
config.cache_store = :memory_store
# fixes warning with adapter tests
- if Rails::VERSION::STRING.to_f >= 7.1
- config.action_dispatch.show_exceptions = :none
- end
+ config.action_dispatch.show_exceptions = :none
end
Rails.cache.logger = logger