Skip to content

Commit

Permalink
Drop old Rubies/Rails
Browse files Browse the repository at this point in the history
  • Loading branch information
stevenharman committed May 13, 2024
1 parent b2a214d commit 7d10b4a
Show file tree
Hide file tree
Showing 4 changed files with 16 additions and 9 deletions.
2 changes: 0 additions & 2 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,8 +13,6 @@ jobs:
strategy:
matrix:
ruby-version:
- "2.7"
- "3.0"
- "3.1"
- "3.2"
- "3.3"
Expand Down
5 changes: 4 additions & 1 deletion .rubocop.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ inherit_from: .rubocop_todo.yml

AllCops:
NewCops: enable
TargetRubyVersion: 2.7
TargetRubyVersion: 3.1
Exclude:
- "spec/dummy/bin/**/*"
- "tmp/**/*"
Expand All @@ -15,3 +15,6 @@ Metrics/BlockLength:

Layout/LineLength:
Max: 120

Style/HashSyntax:
EnforcedShorthandSyntax: either
10 changes: 8 additions & 2 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,9 +1,15 @@
## [Unreleased](https://github.com/fgrehm/letter_opener_web/compare/v2.0.0...master)

- Add dark mode. [#119](https://github.com/fgrehm/letter_opener_web/pull/119)
- Allow dot (`.`) character in attachment file names. [#131](https://github.com/fgrehm/letter_opener_web/pull/131)
### Breaking
- Drop EoL'd Rubies and Rails - now requires Ruby 3.1+ and Rails 6.1+.

### Changes
- Reliably strip Attachment links from the sidebar. [#132](https://github.com/fgrehm/letter_opener_web/pull/134)

### Additions
- Allow dot (`.`) character in attachment file names. [#131](https://github.com/fgrehm/letter_opener_web/pull/131)
- Add dark mode. [#119](https://github.com/fgrehm/letter_opener_web/pull/119)

## [v2.0.0](https://github.com/fgrehm/letter_opener_web/compare/v1.4.1...v2.0.0)

- Require Rails >= 5.2, run tests against Rails 6.1 [#113](https://github.com/fgrehm/letter_opener_web/pull/113)
Expand Down
8 changes: 4 additions & 4 deletions letter_opener_web.gemspec
Original file line number Diff line number Diff line change
Expand Up @@ -13,15 +13,15 @@ Gem::Specification.new do |gem|
gem.summary = gem.description
gem.homepage = 'https://github.com/fgrehm/letter_opener_web'
gem.license = 'MIT'
gem.required_ruby_version = '>= 2.7'
gem.required_ruby_version = '>= 3.1'

gem.files = `git ls-files`.split($INPUT_RECORD_SEPARATOR)
gem.executables = gem.files.grep(%r{^exe/}).map { |f| File.basename(f) }
gem.require_paths = ['lib']

gem.add_dependency 'actionmailer', '>= 5.2'
gem.add_dependency 'letter_opener', '~> 1.7'
gem.add_dependency 'railties', '>= 5.2'
gem.add_dependency 'actionmailer', '>= 6.1'
gem.add_dependency 'letter_opener', '~> 1.9'
gem.add_dependency 'railties', '>= 6.1'
gem.add_dependency 'rexml'

gem.metadata['rubygems_mfa_required'] = 'true'
Expand Down

0 comments on commit 7d10b4a

Please sign in to comment.