Skip to content

Commit

Permalink
Removed support for Ruby < 3.1, Rails < 7, and Mongoid < 8
Browse files Browse the repository at this point in the history
  • Loading branch information
ankane committed Nov 11, 2024
1 parent 753011c commit 08973a3
Show file tree
Hide file tree
Showing 6 changed files with 6 additions and 29 deletions.
5 changes: 0 additions & 5 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,17 +15,12 @@ jobs:
gemfile: gemfiles/actionmailer71.gemfile
- ruby: 3.1
gemfile: gemfiles/actionmailer70.gemfile
- ruby: "3.0"
gemfile: gemfiles/actionmailer61.gemfile
- ruby: 3.3
gemfile: gemfiles/mongoid9.gemfile
mongodb: true
- ruby: 3.1
gemfile: gemfiles/mongoid8.gemfile
mongodb: true
- ruby: "3.0"
gemfile: gemfiles/mongoid7.gemfile
mongodb: true
env:
BUNDLE_GEMFILE: ${{ matrix.gemfile }}
steps:
Expand Down
4 changes: 3 additions & 1 deletion CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,8 @@
## 2.3.2 (unreleased)
## 2.4.0 (unreleased)

- Improved generator for Active Record encryption and MySQL
- Removed support for Ruby < 3.1 and Rails < 7
- Removed support for Mongoid < 8

## 2.3.1 (2024-09-09)

Expand Down
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ rails generate ahoy:messages --encryption=lockbox
rails db:migrate
```

To use Active Record encryption (Rails 7+), run:
To use Active Record encryption, run:

```sh
rails generate ahoy:messages --encryption=activerecord
Expand Down
4 changes: 2 additions & 2 deletions ahoy_email.gemspec
Original file line number Diff line number Diff line change
Expand Up @@ -13,9 +13,9 @@ Gem::Specification.new do |spec|
spec.files = Dir["*.{md,txt}", "{app,config,lib}/**/*"]
spec.require_path = "lib"

spec.required_ruby_version = ">= 3"
spec.required_ruby_version = ">= 3.1"

spec.add_dependency "actionmailer", ">= 6.1"
spec.add_dependency "actionmailer", ">= 7"
spec.add_dependency "addressable", ">= 2.3.2"
spec.add_dependency "nokogiri"
spec.add_dependency "safely_block", ">= 0.4"
Expand Down
11 changes: 0 additions & 11 deletions gemfiles/actionmailer61.gemfile

This file was deleted.

9 changes: 0 additions & 9 deletions gemfiles/mongoid7.gemfile

This file was deleted.

0 comments on commit 08973a3

Please sign in to comment.