devise_auth_proxy 0.2.4 → 0.2.5

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: 4eee02acab727c5c249dd73a115f2b0b9c99b899e5065137336026925c7bf839
4
- data.tar.gz: e7645975acffcc8586068e5d4576a42563491b7963b366b54a79a64224431d26
3
+ metadata.gz: 54a12786ff44717317afaf03bca8d41aed0b3df36ec491cca13ce34838b5b7c8
4
+ data.tar.gz: 0e23049fd68046dfde43c365fe7134a55aae905c82a6aff25b365a6bbb687777
5
5
  SHA512:
6
- metadata.gz: e47ec1f80c8554d065fdee759dc8e9fd19101d4d51644875b2aa5d0e4b13c6d25652e2f7d414ee0c4c21610667e1692af41b44482d5db610c2b01963c1ea3cac
7
- data.tar.gz: 42a3585e6f77b701732c782664487decd489bc1783931b5f08e99069c8dd8c731ded7b7666262bdbb9a8309ee31bdbc14c52880e96ab86bb757cfcc00588c297
6
+ metadata.gz: 0aaeaf03058722742dc4bd87025a8571fb0951bbca6b150f57d0eacf72e66431ffac3fde17ad8174dd816c3755efe1f790d344c81b548f60f1a72a93b961fd8e
7
+ data.tar.gz: aedc16cf90e583de6dfffe619cd1caec73c3833417b22de1cb9720cf79d80f09ec4509861b4ee70cb431fdc6835d219ecdd0eae4e1876a11404f493e42ee32ef
@@ -1,7 +1,7 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- devise_auth_proxy (0.2.4)
4
+ devise_auth_proxy (0.2.5)
5
5
  devise
6
6
 
7
7
  GEM
@@ -9,7 +9,7 @@ module DeviseAuthProxy
9
9
  unless DeviseAuthProxy.logout_service.nil?
10
10
  case DeviseAuthProxy.logout_service
11
11
  when 'foss_identity'
12
- Service::FossIdentity.logout(DeviseAuthProxy.logout_url, DeviseAuthProxy.http_cookie)
12
+ Service::FossIdentity.sign_out(DeviseAuthProxy.logout_url, DeviseAuthProxy.http_cookie)
13
13
  else
14
14
  # do nothing
15
15
  end
@@ -1,3 +1,3 @@
1
1
  module DeviseAuthProxy
2
- VERSION = "0.2.4"
2
+ VERSION = "0.2.5"
3
3
  end
@@ -2,8 +2,10 @@ require 'net/http'
2
2
  require 'uri'
3
3
 
4
4
  module Service
5
- class FossIdentity
6
- def logout(path, cookie)
5
+ module FossIdentity
6
+ module_function
7
+
8
+ def sign_out(path, cookie)
7
9
  Net::HTTP.post(
8
10
  URI(path),
9
11
  "cookie" => cookie
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: devise_auth_proxy
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.2.4
4
+ version: 0.2.5
5
5
  platform: ruby
6
6
  authors:
7
7
  - QuangTK