Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
11 changes: 10 additions & 1 deletion CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,14 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0

### Added

### Fixed

### Removed

## [v4.3.0]

### Added

- Add optional `on_login_success` callback (#90)

### Fixed
Expand Down Expand Up @@ -164,7 +172,8 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
- rails model concern to allow host app to add auth behaviour to a model
- callback, logout and failure routes to handle auth

[Unreleased]: https://github.com/RaspberryPiFoundation/rpi-auth/compare/v4.2.1...HEAD
[Unreleased]: https://github.com/RaspberryPiFoundation/rpi-auth/compare/v4.3.0...HEAD
[v4.3.0]: https://github.com/RaspberryPiFoundation/rpi-auth/releases/tag/v4.3.0
[v4.2.1]: https://github.com/RaspberryPiFoundation/rpi-auth/releases/tag/v4.2.1
[v4.2.0]: https://github.com/RaspberryPiFoundation/rpi-auth/releases/tag/v4.2.0
[v4.1.1]: https://github.com/RaspberryPiFoundation/rpi-auth/releases/tag/v4.1.1
Expand Down
29 changes: 15 additions & 14 deletions gemfiles/rails_6.1.gemfile.lock
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
PATH
remote: ..
specs:
rpi_auth (4.2.1)
rpi_auth (4.3.0)
oauth2
omniauth-rails_csrf_protection (~> 1.0.0)
omniauth_openid_connect (~> 0.7.1)
Expand Down Expand Up @@ -100,13 +100,13 @@ GEM
email_validator (2.2.4)
activemodel
erubi (1.13.1)
faraday (2.13.0)
faraday (2.13.4)
faraday-net_http (>= 2.0, < 3.5)
json
logger
faraday-follow_redirects (0.3.0)
faraday (>= 1, < 3)
faraday-net_http (3.4.0)
faraday-net_http (3.4.1)
net-http (>= 0.5.0)
ffi (1.17.1)
globalid (1.2.1)
Expand All @@ -116,14 +116,14 @@ GEM
i18n (1.14.7)
concurrent-ruby (~> 1.0)
json (2.10.2)
json-jwt (1.16.7)
json-jwt (1.17.0)
activesupport (>= 4.2)
aes_key_wrap
base64
bindata
faraday (~> 2.0)
faraday-follow_redirects
jwt (2.10.1)
jwt (3.1.2)
base64
language_server-protocol (3.17.0.4)
lint_roller (1.1.0)
Expand Down Expand Up @@ -162,13 +162,14 @@ GEM
nokogiri (1.18.7)
mini_portile2 (~> 2.8.2)
racc (~> 1.4)
oauth2 (2.0.9)
faraday (>= 0.17.3, < 3.0)
jwt (>= 1.0, < 3.0)
oauth2 (2.0.12)
faraday (>= 0.17.3, < 4.0)
jwt (>= 1.0, < 4.0)
logger (~> 1.2)
multi_xml (~> 0.5)
rack (>= 1.2, < 4)
snaky_hash (~> 2.0)
version_gem (~> 1.1)
snaky_hash (~> 2.0, >= 2.0.3)
version_gem (>= 1.1.8, < 3)
omniauth (2.1.3)
hashie (>= 3.4.6)
rack (>= 2.2.3)
Expand Down Expand Up @@ -308,9 +309,9 @@ GEM
simplecov_json_formatter (~> 0.1)
simplecov-html (0.13.1)
simplecov_json_formatter (0.1.4)
snaky_hash (2.0.1)
hashie
version_gem (~> 1.1, >= 1.1.1)
snaky_hash (2.0.3)
hashie (>= 0.1.0, < 6)
version_gem (>= 1.1.8, < 3)
sprockets (4.2.1)
concurrent-ruby (~> 1.0)
rack (>= 2.2.4, < 4)
Expand All @@ -334,7 +335,7 @@ GEM
validate_url (1.0.15)
activemodel (>= 3.0.0)
public_suffix
version_gem (1.1.7)
version_gem (1.1.8)
webfinger (2.1.3)
activesupport
faraday (~> 2.0)
Expand Down
29 changes: 15 additions & 14 deletions gemfiles/rails_7.0.gemfile.lock
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
PATH
remote: ..
specs:
rpi_auth (4.2.1)
rpi_auth (4.3.0)
oauth2
omniauth-rails_csrf_protection (~> 1.0.0)
omniauth_openid_connect (~> 0.7.1)
Expand Down Expand Up @@ -106,13 +106,13 @@ GEM
email_validator (2.2.4)
activemodel
erubi (1.13.1)
faraday (2.13.0)
faraday (2.13.4)
faraday-net_http (>= 2.0, < 3.5)
json
logger
faraday-follow_redirects (0.3.0)
faraday (>= 1, < 3)
faraday-net_http (3.4.0)
faraday-net_http (3.4.1)
net-http (>= 0.5.0)
ffi (1.17.1)
globalid (1.2.1)
Expand All @@ -122,14 +122,14 @@ GEM
i18n (1.14.7)
concurrent-ruby (~> 1.0)
json (2.10.2)
json-jwt (1.16.7)
json-jwt (1.17.0)
activesupport (>= 4.2)
aes_key_wrap
base64
bindata
faraday (~> 2.0)
faraday-follow_redirects
jwt (2.10.1)
jwt (3.1.2)
base64
language_server-protocol (3.17.0.4)
lint_roller (1.1.0)
Expand Down Expand Up @@ -168,13 +168,14 @@ GEM
nokogiri (1.18.7)
mini_portile2 (~> 2.8.2)
racc (~> 1.4)
oauth2 (2.0.9)
faraday (>= 0.17.3, < 3.0)
jwt (>= 1.0, < 3.0)
oauth2 (2.0.12)
faraday (>= 0.17.3, < 4.0)
jwt (>= 1.0, < 4.0)
logger (~> 1.2)
multi_xml (~> 0.5)
rack (>= 1.2, < 4)
snaky_hash (~> 2.0)
version_gem (~> 1.1)
snaky_hash (~> 2.0, >= 2.0.3)
version_gem (>= 1.1.8, < 3)
omniauth (2.1.3)
hashie (>= 3.4.6)
rack (>= 2.2.3)
Expand Down Expand Up @@ -314,9 +315,9 @@ GEM
simplecov_json_formatter (~> 0.1)
simplecov-html (0.13.1)
simplecov_json_formatter (0.1.4)
snaky_hash (2.0.1)
hashie
version_gem (~> 1.1, >= 1.1.1)
snaky_hash (2.0.3)
hashie (>= 0.1.0, < 6)
version_gem (>= 1.1.8, < 3)
swd (2.0.3)
activesupport (>= 3)
attr_required (>= 0.0.5)
Expand All @@ -333,7 +334,7 @@ GEM
validate_url (1.0.15)
activemodel (>= 3.0.0)
public_suffix
version_gem (1.1.7)
version_gem (1.1.8)
webfinger (2.1.3)
activesupport
faraday (~> 2.0)
Expand Down
29 changes: 15 additions & 14 deletions gemfiles/rails_7.1.gemfile.lock
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
PATH
remote: ..
specs:
rpi_auth (4.2.1)
rpi_auth (4.3.0)
oauth2
omniauth-rails_csrf_protection (~> 1.0.0)
omniauth_openid_connect (~> 0.7.1)
Expand Down Expand Up @@ -121,13 +121,13 @@ GEM
email_validator (2.2.4)
activemodel
erubi (1.13.1)
faraday (2.13.0)
faraday (2.13.4)
faraday-net_http (>= 2.0, < 3.5)
json
logger
faraday-follow_redirects (0.3.0)
faraday (>= 1, < 3)
faraday-net_http (3.4.0)
faraday-net_http (3.4.1)
net-http (>= 0.5.0)
ffi (1.17.1)
globalid (1.2.1)
Expand All @@ -142,14 +142,14 @@ GEM
rdoc (>= 4.0.0)
reline (>= 0.4.2)
json (2.10.2)
json-jwt (1.16.7)
json-jwt (1.17.0)
activesupport (>= 4.2)
aes_key_wrap
base64
bindata
faraday (~> 2.0)
faraday-follow_redirects
jwt (2.10.1)
jwt (3.1.2)
base64
language_server-protocol (3.17.0.4)
lint_roller (1.1.0)
Expand Down Expand Up @@ -189,13 +189,14 @@ GEM
nokogiri (1.18.7)
mini_portile2 (~> 2.8.2)
racc (~> 1.4)
oauth2 (2.0.9)
faraday (>= 0.17.3, < 3.0)
jwt (>= 1.0, < 3.0)
oauth2 (2.0.12)
faraday (>= 0.17.3, < 4.0)
jwt (>= 1.0, < 4.0)
logger (~> 1.2)
multi_xml (~> 0.5)
rack (>= 1.2, < 4)
snaky_hash (~> 2.0)
version_gem (~> 1.1)
snaky_hash (~> 2.0, >= 2.0.3)
version_gem (>= 1.1.8, < 3)
omniauth (2.1.3)
hashie (>= 3.4.6)
rack (>= 2.2.3)
Expand Down Expand Up @@ -353,9 +354,9 @@ GEM
simplecov_json_formatter (~> 0.1)
simplecov-html (0.13.1)
simplecov_json_formatter (0.1.4)
snaky_hash (2.0.1)
hashie
version_gem (~> 1.1, >= 1.1.1)
snaky_hash (2.0.3)
hashie (>= 0.1.0, < 6)
version_gem (>= 1.1.8, < 3)
stringio (3.1.6)
swd (2.0.3)
activesupport (>= 3)
Expand All @@ -373,7 +374,7 @@ GEM
validate_url (1.0.15)
activemodel (>= 3.0.0)
public_suffix
version_gem (1.1.7)
version_gem (1.1.8)
webfinger (2.1.3)
activesupport
faraday (~> 2.0)
Expand Down
29 changes: 15 additions & 14 deletions gemfiles/rails_7.2.gemfile.lock
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
PATH
remote: ..
specs:
rpi_auth (4.2.1)
rpi_auth (4.3.0)
oauth2
omniauth-rails_csrf_protection (~> 1.0.0)
omniauth_openid_connect (~> 0.7.1)
Expand Down Expand Up @@ -115,13 +115,13 @@ GEM
email_validator (2.2.4)
activemodel
erubi (1.13.1)
faraday (2.13.0)
faraday (2.13.4)
faraday-net_http (>= 2.0, < 3.5)
json
logger
faraday-follow_redirects (0.3.0)
faraday (>= 1, < 3)
faraday-net_http (3.4.0)
faraday-net_http (3.4.1)
net-http (>= 0.5.0)
ffi (1.17.1-aarch64-linux-gnu)
ffi (1.17.1-aarch64-linux-musl)
Expand All @@ -143,14 +143,14 @@ GEM
rdoc (>= 4.0.0)
reline (>= 0.4.2)
json (2.10.2)
json-jwt (1.16.7)
json-jwt (1.17.0)
activesupport (>= 4.2)
aes_key_wrap
base64
bindata
faraday (~> 2.0)
faraday-follow_redirects
jwt (2.10.1)
jwt (3.1.2)
base64
language_server-protocol (3.17.0.4)
lint_roller (1.1.0)
Expand Down Expand Up @@ -201,13 +201,14 @@ GEM
racc (~> 1.4)
nokogiri (1.18.7-x86_64-linux-musl)
racc (~> 1.4)
oauth2 (2.0.9)
faraday (>= 0.17.3, < 3.0)
jwt (>= 1.0, < 3.0)
oauth2 (2.0.12)
faraday (>= 0.17.3, < 4.0)
jwt (>= 1.0, < 4.0)
logger (~> 1.2)
multi_xml (~> 0.5)
rack (>= 1.2, < 4)
snaky_hash (~> 2.0)
version_gem (~> 1.1)
snaky_hash (~> 2.0, >= 2.0.3)
version_gem (>= 1.1.8, < 3)
omniauth (2.1.3)
hashie (>= 3.4.6)
rack (>= 2.2.3)
Expand Down Expand Up @@ -365,9 +366,9 @@ GEM
simplecov_json_formatter (~> 0.1)
simplecov-html (0.13.1)
simplecov_json_formatter (0.1.4)
snaky_hash (2.0.1)
hashie
version_gem (~> 1.1, >= 1.1.1)
snaky_hash (2.0.3)
hashie (>= 0.1.0, < 6)
version_gem (>= 1.1.8, < 3)
stringio (3.1.6)
swd (2.0.3)
activesupport (>= 3)
Expand All @@ -386,7 +387,7 @@ GEM
validate_url (1.0.15)
activemodel (>= 3.0.0)
public_suffix
version_gem (1.1.7)
version_gem (1.1.8)
webfinger (2.1.3)
activesupport
faraday (~> 2.0)
Expand Down
2 changes: 1 addition & 1 deletion lib/rpi_auth/version.rb
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
# frozen_string_literal: true

module RpiAuth
VERSION = '4.2.1'
VERSION = '4.3.0'
end