Skip to content

Commit 8e3debe

Browse files
committed
Release 6.4.3
1 parent 0f3dbc3 commit 8e3debe

File tree

3 files changed

+50
-47
lines changed

3 files changed

+50
-47
lines changed

Diff for: CHANGELOG.md

+10-9
Original file line numberDiff line numberDiff line change
@@ -10,18 +10,19 @@ and this project adheres to [Semantic Versioning](http://semver.org/spec/v2.0.0.
1010
- Breaking Changes
1111
- None
1212
- Added
13-
- Rubygems MFA requirement for authors added to gemspec.
13+
- None
1414
- Fixed
15-
- [#767](https://github.com/binarylogic/authlogic/pull/767) - Adds support for Rails 7.1
15+
- None
1616

17-
## 6.4.3 (2023-12-13)
17+
## 6.4.3 (2023-12-17)
1818

19-
* Breaking Changes
20-
* None
21-
* Added
22-
* None
23-
* Fixed
24-
* [#769](https://github.com/binarylogic/authlogic/issues/769) - Fixed GH workflow
19+
- Breaking Changes
20+
- None
21+
- Added
22+
- Rubygems MFA requirement for authors added to gemspec.
23+
- Fixed
24+
- [#767](https://github.com/binarylogic/authlogic/pull/767) - Adds support for Rails 7.1
25+
- [#769](https://github.com/binarylogic/authlogic/issues/769) - Fixed GH workflow
2526

2627
## 6.4.2 (2021-12-21)
2728

Diff for: README.md

+39-37
Original file line numberDiff line numberDiff line change
@@ -9,9 +9,9 @@ An unobtrusive ruby authentication library based on ActiveRecord.
99
## Documentation
1010

1111
| Version | Documentation |
12-
|------------|-------------------------------------------------------------------|
12+
| ---------- | ----------------------------------------------------------------- |
1313
| Unreleased | https://github.com/binarylogic/authlogic/blob/master/README.md |
14-
| 6.4.2 | https://github.com/binarylogic/authlogic/blob/v6.4.2/README.md |
14+
| 6.4.3 | https://github.com/binarylogic/authlogic/blob/v6.4.3/README.md |
1515
| 5.2.0 | https://github.com/binarylogic/authlogic/blob/v5.2.0/README.md |
1616
| 4.5.0 | https://github.com/binarylogic/authlogic/blob/v4.5.0/README.md |
1717
| 3.7.0 | https://github.com/binarylogic/authlogic/blob/v3.7.0/README.md |
@@ -77,14 +77,14 @@ The above handles the entire authentication process for you by:
7777

7878
You can also log out (i.e. **destroying** the session):
7979

80-
``` ruby
80+
```ruby
8181
session.destroy
8282
```
8383

8484
After a session has been created, you can persist it (i.e. **finding** the
8585
record) across requests. Thus keeping the user logged in:
8686

87-
``` ruby
87+
```ruby
8888
session = UserSession.find
8989
```
9090

@@ -106,15 +106,15 @@ is all you will need to do.
106106
You may specify how passwords are cryptographically hashed (or encrypted) by
107107
setting the Authlogic::CryptoProvider option:
108108

109-
``` ruby
109+
```ruby
110110
c.crypto_provider = Authlogic::CryptoProviders::BCrypt
111111
```
112112

113113
Also, sessions are automatically maintained. You can switch this on and off with
114114
configuration, but the following will automatically log a user in after a
115115
successful registration:
116116

117-
``` ruby
117+
```ruby
118118
User.create(params[:user])
119119
```
120120

@@ -152,17 +152,17 @@ code is organized.** There are 2 models, your Authlogic model and your
152152
ActiveRecord model:
153153

154154
1. **Authlogic::Session**, your session models that
155-
extend `Authlogic::Session::Base`.
155+
extend `Authlogic::Session::Base`.
156156
2. **Authlogic::ActsAsAuthentic**, which adds in functionality to your
157-
ActiveRecord model when you call `acts_as_authentic`.
157+
ActiveRecord model when you call `acts_as_authentic`.
158158

159159
### 1.c. Installation
160160

161161
To install Authlogic, add this to your Gemfile:
162162

163-
`gem 'authlogic'`
163+
`gem 'authlogic'`
164164

165-
And run `bundle install`.
165+
And run `bundle install`.
166166

167167
## 2. Rails
168168

@@ -173,7 +173,7 @@ Let's walk through a typical rails setup. ([Compatibility](#90-compatibility))
173173
If you want to enable all the features of Authlogic, a migration to create a
174174
`User` model might look like this:
175175

176-
``` ruby
176+
```ruby
177177
class CreateUser < ActiveRecord::Migration
178178
def change
179179
create_table :users do |t|
@@ -344,6 +344,7 @@ end
344344
> Because ActionController::API does not include ActionController::Cookies
345345
> metal and ActionDispatch::Cookies rack module, Therefore, our controller can
346346
> not use the cookies method.
347+
>
347348
> - [#684](https://github.com/binarylogic/authlogic/pull/684).
348349
349350
### 2.c. View
@@ -406,6 +407,7 @@ end
406407
```
407408

408409
### 2.e. SameSite Cookie Attribute
410+
409411
The SameSite attribute tells browsers when and how to fire cookies in first- or third-party situations. SameSite is used by a variety of browsers to identify whether or not to allow a cookie to be accessed.
410412

411413
Up until recently, the standard default value when SameSite was not explicitly defined was to allow cookies in both first- and third-party contexts. However, starting with Chrome 80+, the SameSite attribute will not default to Lax behavior meaning cookies will only be permitted in first-party contexts.
@@ -420,25 +422,25 @@ See [Authlogic::TestCase](https://github.com/binarylogic/authlogic/blob/master/l
420422

421423
## 4. Helpful links
422424

423-
* <b>API Reference:</b> http://www.rubydoc.info/github/binarylogic/authlogic
424-
* <b>Repository:</b> https://github.com/binarylogic/authlogic/tree/master
425-
* <b>Railscasts Screencast:</b> http://railscasts.com/episodes/160-authlogic
426-
* <b>Example repository with tutorial in README:</b> https://github.com/binarylogic/authlogic_example/tree/master
427-
* <b>Tutorial</b>: Rails Authentication with Authlogic https://www.sitepoint.com/rails-authentication-with-authlogic
428-
* <b>Issues:</b> https://github.com/binarylogic/authlogic/issues
429-
* <b>Chrome is not logging out on browser close</b> https://productforums.google.com/forum/#!topic/chrome/9l-gKYIUg50/discussion
425+
- <b>API Reference:</b> http://www.rubydoc.info/github/binarylogic/authlogic
426+
- <b>Repository:</b> https://github.com/binarylogic/authlogic/tree/master
427+
- <b>Railscasts Screencast:</b> http://railscasts.com/episodes/160-authlogic
428+
- <b>Example repository with tutorial in README:</b> https://github.com/binarylogic/authlogic_example/tree/master
429+
- <b>Tutorial</b>: Rails Authentication with Authlogic https://www.sitepoint.com/rails-authentication-with-authlogic
430+
- <b>Issues:</b> https://github.com/binarylogic/authlogic/issues
431+
- <b>Chrome is not logging out on browser close</b> https://productforums.google.com/forum/#!topic/chrome/9l-gKYIUg50/discussion
430432

431433
## 5. Add-ons
432434

433-
* <b>Authlogic OpenID addon:</b> https://github.com/binarylogic/authlogic_openid
434-
* <b>Authlogic LDAP addon:</b> https://github.com/binarylogic/authlogic_ldap
435-
* <b>Authlogic Facebook Connect:</b> https://github.com/kalasjocke/authlogic-facebook-connect
436-
* <b>Authlogic Facebook Connect (New JS API):</b> https://github.com/studybyte/authlogic_facebook_connect
437-
* <b>Authlogic Facebook Shim</b> https://github.com/james2m/authlogic_facebook_shim
438-
* <b>Authlogic OAuth (Twitter):</b> https://github.com/jrallison/authlogic_oauth
439-
* <b>Authlogic Oauth and OpenID:</b> https://github.com/lancejpollard/authlogic-connect
440-
* <b>Authlogic PAM:</b> https://github.com/nbudin/authlogic_pam
441-
* <b>Authlogic x509:</b> https://github.com/auth-scc/authlogic_x509
435+
- <b>Authlogic OpenID addon:</b> https://github.com/binarylogic/authlogic_openid
436+
- <b>Authlogic LDAP addon:</b> https://github.com/binarylogic/authlogic_ldap
437+
- <b>Authlogic Facebook Connect:</b> https://github.com/kalasjocke/authlogic-facebook-connect
438+
- <b>Authlogic Facebook Connect (New JS API):</b> https://github.com/studybyte/authlogic_facebook_connect
439+
- <b>Authlogic Facebook Shim</b> https://github.com/james2m/authlogic_facebook_shim
440+
- <b>Authlogic OAuth (Twitter):</b> https://github.com/jrallison/authlogic_oauth
441+
- <b>Authlogic Oauth and OpenID:</b> https://github.com/lancejpollard/authlogic-connect
442+
- <b>Authlogic PAM:</b> https://github.com/nbudin/authlogic_pam
443+
- <b>Authlogic x509:</b> https://github.com/auth-scc/authlogic_x509
442444

443445
If you create one of your own, please let us know about it so we can add it to
444446
this list. Or just fork the project, add your link, and send us a pull request.
@@ -486,16 +488,16 @@ in `authlogic/session/base.rb`.
486488

487489
## 90. Compatibility
488490

489-
| Version | branch | ruby | activerecord |
490-
| ------- | ------------ | -------- | ------------- |
491-
| 6.4.2 | 6-4-stable | >= 2.4.0 | >= 5.2, < 7.1 |
492-
| 5.2 | 5-2-stable | >= 2.3.0 | >= 5.2, < 6.1 |
493-
| 4.5 | 4-5-stable | >= 2.3.0 | >= 4.2, < 5.3 |
494-
| 4.3 | 4-3-stable | >= 2.3.0 | >= 4.2, < 5.3 |
495-
| 4.2 | 4-2-stable | >= 2.2.0 | >= 4.2, < 5.3 |
496-
| 3 | 3-stable | >= 1.9.3 | >= 3.2, < 5.3 |
497-
| 2 | rails2 | >= 1.9.3 | ~> 2.3.0 |
498-
| 1 | ? | ? | ? |
491+
| Version | branch | ruby | activerecord |
492+
| ------- | ---------- | -------- | ------------- |
493+
| 6.4.3 | 6-4-stable | >= 2.4.0 | >= 5.2, < 7.2 |
494+
| 5.2 | 5-2-stable | >= 2.3.0 | >= 5.2, < 6.1 |
495+
| 4.5 | 4-5-stable | >= 2.3.0 | >= 4.2, < 5.3 |
496+
| 4.3 | 4-3-stable | >= 2.3.0 | >= 4.2, < 5.3 |
497+
| 4.2 | 4-2-stable | >= 2.2.0 | >= 4.2, < 5.3 |
498+
| 3 | 3-stable | >= 1.9.3 | >= 3.2, < 5.3 |
499+
| 2 | rails2 | >= 1.9.3 | ~> 2.3.0 |
500+
| 1 | ? | ? | ? |
499501

500502
Under SemVer, [changes to dependencies][10] do not require a major release.
501503

Diff for: lib/authlogic/version.rb

+1-1
Original file line numberDiff line numberDiff line change
@@ -17,6 +17,6 @@ module Authlogic
1717
#
1818
# @api public
1919
def self.gem_version
20-
::Gem::Version.new("6.4.2")
20+
::Gem::Version.new("6.4.3")
2121
end
2222
end

0 commit comments

Comments
 (0)