infinum_azure 1.0.0 → 1.1.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CHANGELOG.md +4 -0
- data/Gemfile.lock +1 -1
- data/README.md +1 -1
- data/config/routes.rb +6 -2
- data/lib/infinum_azure/version.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: bccb0f25aa72b0098db31e9ab4506056dba8612b377ff357fccad37c06d4fa61
|
4
|
+
data.tar.gz: 78712899ea5cf67f4873a57ab3131fdf63f631a0b28df303801833df590721df
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: f89d14ae10ecc4b56db75c44fcf39d7bf16676c3e545c5a6630bb0b7346117bbb7e04335cbc0f5caae02051848c5709fa3de5fedb805c2d3cc15a04ce6782c55
|
7
|
+
data.tar.gz: a5f247dd19493b8961f49499f971ceaebe6f3e2a79f42648a06158e4e2db3b39b40b0c2fc5c2844f09f23a4004f79c18fd76cda2baaf4ef6b7f205f1343da86c
|
data/CHANGELOG.md
CHANGED
data/Gemfile.lock
CHANGED
data/README.md
CHANGED
@@ -45,7 +45,7 @@ InfinumAzure.configure do |config|
|
|
45
45
|
:deactivated_at, :provider_groups, :employee]
|
46
46
|
|
47
47
|
config.user_migration_scope = -> { resource_class.where(provider: 'infinum_id') }
|
48
|
-
config.user_migration_operation =
|
48
|
+
config.user_migration_operation = -> (record, resource) {
|
49
49
|
record.update_attribute(:provider, 'infinum_azure')
|
50
50
|
record.update_attribute(:uid, resource['uid'])
|
51
51
|
}
|
data/config/routes.rb
CHANGED
@@ -1,8 +1,12 @@
|
|
1
1
|
# frozen_string_literal: true
|
2
2
|
|
3
3
|
Rails.application.routes.draw do
|
4
|
-
get
|
5
|
-
|
4
|
+
get "/#{InfinumAzure.resource_name.pluralize.underscore}/auth/infinum_azure/logout",
|
5
|
+
to: 'infinum_azure/resources#passthru',
|
6
|
+
as: :infinum_azure_logout
|
7
|
+
get "/#{InfinumAzure.resource_name.pluralize.underscore}/auth/logout",
|
8
|
+
to: 'infinum_azure/resources#destroy',
|
9
|
+
as: :logout
|
6
10
|
|
7
11
|
devise_for InfinumAzure.resource_name.pluralize.underscore, controllers: {
|
8
12
|
omniauth_callbacks: 'infinum_azure/resources/omniauth_callbacks'
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: infinum_azure
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.
|
4
|
+
version: 1.1.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Marko Ćilimković
|
8
8
|
autorequire:
|
9
9
|
bindir: exe
|
10
10
|
cert_chain: []
|
11
|
-
date: 2023-
|
11
|
+
date: 2023-07-10 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: bundler
|