Skip to content

Commit

Permalink
Drop support for ruby 2.3
Browse files Browse the repository at this point in the history
(reached EOL on 2019-04-01)
  • Loading branch information
jaredbeck committed Mar 24, 2020
1 parent b451455 commit f2f9954
Show file tree
Hide file tree
Showing 5 changed files with 14 additions and 5 deletions.
2 changes: 1 addition & 1 deletion .rubocop.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ AllCops:
# file, we wouldn't have to specify this (https://bit.ly/2vNTsue), but we
# don't commit that file because that would interfere with testing multiple
# rubies on CI.
TargetRubyVersion: 2.3
TargetRubyVersion: 2.4

# Please use normal indentation when aligning parameters.
#
Expand Down
7 changes: 7 additions & 0 deletions .rubocop_todo.yml
Original file line number Diff line number Diff line change
Expand Up @@ -31,3 +31,10 @@ Style/MissingRespondToMissing:
Style/TrivialAccessors:
Exclude:
- 'lib/authlogic/session/base.rb'

Style/UnpackFirst:
Exclude:
- lib/authlogic/crypto_providers/md5/v2.rb
- lib/authlogic/crypto_providers/sha1/v2.rb
- lib/authlogic/crypto_providers/sha256/v2.rb
- lib/authlogic/crypto_providers/sha512/v2.rb
6 changes: 3 additions & 3 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -25,8 +25,8 @@ env:
# We only test the oldest and the newest ruby versions that we support. We
# do not test intermediate versions.
rvm:
- 2.3.8
- 2.6.1
- 2.4.9
- 2.7.0

# We only test living versions of rails, per the [rails maintenance
# policy](http://guides.rubyonrails.org/maintenance_policy.html)
Expand All @@ -37,7 +37,7 @@ gemfile:
matrix:
exclude:
# rails 6 requires ruby >= 2.5.0
- rvm: 2.3.8
- rvm: 2.4.9
gemfile: gemfiles/rails_6.0.rb
fast_finish: true

Expand Down
2 changes: 2 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -35,6 +35,8 @@ and this project adheres to [Semantic Versioning](http://semver.org/spec/v2.0.0.
* [#697](https://github.com/binarylogic/authlogic/issues/697) - Add V2
CryptoProviders for MD5 and SHA schemes that fix key stretching by hashing
the byte digests instead of the hex strings representing those digests
* Dependencies
* Drop support for ruby 2.3 (reached EOL on 2019-04-01)

## Previous major version

Expand Down
2 changes: 1 addition & 1 deletion authlogic.gemspec
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ require "authlogic/version"
s.summary = "An unobtrusive ruby authentication library based on ActiveRecord."
s.license = "MIT"

s.required_ruby_version = ">= 2.3.0"
s.required_ruby_version = ">= 2.4.0"

# See doc/rails_support_in_authlogic_5.0.md
s.add_dependency "activemodel", [">= 5.2", "< 6.1"]
Expand Down

0 comments on commit f2f9954

Please sign in to comment.