rodauth-omniauth 0.6.1 → 0.6.2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 0453fcafd04b57e1adf926663a9edb8d1f9f72f25aa952d193cf092fc877327f
4
- data.tar.gz: 3a3211e64e8558d3fe5aea563498f79763e3ebed62e9bd964020f52f5be36857
3
+ metadata.gz: 52bd3ee2ba7e43981b2a52bddecbace9e4132bfdc2c8f987b80d073f2cbd3fb0
4
+ data.tar.gz: 55cfa9f8ac35de23046955e6bd9e00559b211829599a48466b8b155d8d16081c
5
5
  SHA512:
6
- metadata.gz: 005c3b00e023b15f033af4782dba58f0e8372b4573c17822d0d770a980568c691a85a8c16422b8d3193ade0e8bdcfdb5ca54a9cd0244465842ef51efb7a69b37
7
- data.tar.gz: 282df1dd1951ce51c41af1622e95e486a925280e699e9e0caa438ff5528efea6954d8d1b20f412f620fa5a41f114872c4773aba110010f32cd19936540abc122
6
+ metadata.gz: 7f344de8c6f2d52f6d8da7470f67b2027064348e286f77874b6ed4d1815dbff19874a98ceabd1e0f4d7d22456c69bf9c798d600965a4041ef5fd7e6d2462956e
7
+ data.tar.gz: 784226f43d2fd9dd686aa00c35263ddbd70b1c72e2d4bfd79165f659a46410a194b16584b552f59f518924d3025b18f40d154d90d82da4e2f0457b09b51564f9
@@ -108,7 +108,7 @@ module Rodauth
108
108
  )
109
109
  builder.configure do |config|
110
110
  [:request_validation_phase, :before_request_phase, :before_callback_phase, :on_failure].each do |hook|
111
- config.send(:"#{hook}=", -> (env) { env["rodauth.omniauth.instance"].send(:"omniauth_#{hook}") })
111
+ config.send(:"#{hook}=", -> (env) { env["rodauth.omniauth.instance"]&.send(:"omniauth_#{hook}") })
112
112
  end
113
113
  end
114
114
  self.class.instance_variable_get(:@omniauth_providers).each do |(provider, *args)|
@@ -1,6 +1,6 @@
1
1
  Gem::Specification.new do |spec|
2
2
  spec.name = "rodauth-omniauth"
3
- spec.version = "0.6.1"
3
+ spec.version = "0.6.2"
4
4
  spec.authors = ["Janko Marohnić"]
5
5
  spec.email = ["janko@hey.com"]
6
6
 
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: rodauth-omniauth
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.6.1
4
+ version: 0.6.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - Janko Marohnić