gatleon-rails 0.1.6 → 0.1.8

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: e4b40655779a5b7f2e42532ea4cd4628c32a01af3d162d5f23d65468bb21be2b
4
- data.tar.gz: 5f5369651e7187f520539525b29226243c9eb0d8251afd5e86f7720627443bda
3
+ metadata.gz: d3eea66c082a497538bc85470271f44e68c3bdafdcc2835853d4d8a94f43b7bf
4
+ data.tar.gz: 3b8be6bab2a0db9691d0fb1e9c994242a768d60a84842a9c6069e8afebe2113d
5
5
  SHA512:
6
- metadata.gz: 05aa8f1f5bc99ffb76f2c2684c63b76d3cb07285b8301b59c3d9d10e1b86ea80e35efac4164e151e5e1621d1f59b99733605559f382068aca784477237e0c985
7
- data.tar.gz: 9ecc13a6cacec12cbf7f83d64f309c957a548e3f268ff02427614f4e4e938f61feef56bb6826b127785e7ffec509f8fd3d89fe02772c9b19ea60c009f9104217
6
+ metadata.gz: b02a4c82ffb375be8f0e335d5e08fc4c1e1d0a05e57dc9467b9a38c85f9622ad848034133b231f3e874ad7a562d3345315079fb2fc9726970e9e38f6ce61871b
7
+ data.tar.gz: 728106194b3ffd60855a02539b52ef78112bd8cdbc7a52ba63b5f0b048dc452ec40cf0c1e2f206b37c68916653fc954b1626b8a3d77eb5e859f640d123528065
data/Gemfile.lock CHANGED
@@ -1,7 +1,7 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- gatleon-rails (0.1.6)
4
+ gatleon-rails (0.1.8)
5
5
  faraday
6
6
 
7
7
  GEM
@@ -4,7 +4,7 @@ module Gatleon
4
4
  class Concern < Module
5
5
  def initialize(form_uid:,
6
6
  current_user_method_name: "current_user",
7
- root_url: "https://authform.gatleon.com")
7
+ _authform_base_url: "https://authform.gatleon.com")
8
8
  super() do
9
9
  extend ActiveSupport::Concern
10
10
 
@@ -27,7 +27,7 @@ module Gatleon
27
27
  define_method :_exchange_user_voucher_for_user do
28
28
  if params[:_authformForm] == form_uid && params[:_authformUserVoucher]
29
29
  # TODO: headers for api verification
30
- response = Faraday.get("#{root_url}/v1/exchangeUserVoucherForUser/#{params[:_authformUserVoucher]}")
30
+ response = Faraday.get("#{authform_base_url}/v1/exchangeUserVoucherForUser/#{params[:_authformUserVoucher]}")
31
31
 
32
32
  if response.status == 200
33
33
  cookies[_authform_user_cookie_key] = {
@@ -1,5 +1,5 @@
1
1
  module Gatleon
2
2
  module Rails
3
- VERSION = "0.1.6"
3
+ VERSION = "0.1.8"
4
4
  end
5
5
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: gatleon-rails
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.6
4
+ version: 0.1.8
5
5
  platform: ruby
6
6
  authors:
7
7
  - gatleon