saml_camel 0.1.7 → 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 +4 -4
- data/README.md +1 -1
- data/app/controllers/saml_camel/saml_controller.rb +5 -3
- data/lib/saml_camel/version.rb +1 -1
- metadata +3 -3
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 79bb8b7ebdf4fa498fb793514369668f1687f766
|
4
|
+
data.tar.gz: b632ad9653ef4159c3c2a6167ac7a5c4eb428ab3
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 3c6227efb17f0858c4d0904a4d9ecb3328456f2cdff225dfef0df2c088dc7d51c2bd5ec4c69e82c2548bd596e3e9de966ad604ea90194f3e9f68496f4bd31e6b
|
7
|
+
data.tar.gz: 7c2c316ccad705a9e19e1a9663fe31b4580db9a5740f0bc0541dcfb65ad42499cf8ae08a2efae04800df02877c668c583e8157adb1d5cd1b58f267114821dc12
|
data/README.md
CHANGED
@@ -17,7 +17,7 @@ $ bundle
|
|
17
17
|
### IMPORTANT: This step enables security features and is required to use the gem!
|
18
18
|
1. in your environments config (`config/development.rb` for example) ensure that you have caching configured as follows
|
19
19
|
|
20
|
-
**NOTE:** use
|
20
|
+
**NOTE:** use the cache_store most appropriate for your situation. It may make more sense to use a file store, or a redis server
|
21
21
|
```ruby
|
22
22
|
config.action_controller.perform_caching = true
|
23
23
|
config.cache_store = :memory_store
|
@@ -33,9 +33,11 @@ module SamlCamel
|
|
33
33
|
|
34
34
|
redirect_to redirect_path
|
35
35
|
else # otherwise list out the errors in the response
|
36
|
-
|
37
|
-
|
38
|
-
|
36
|
+
if session[:saml_session_id]
|
37
|
+
permit_key = session[:saml_session_id].to_sym
|
38
|
+
Rails.cache.delete(permit_key)
|
39
|
+
session[:saml_session_id] = nil
|
40
|
+
end
|
39
41
|
|
40
42
|
session[:saml_success] = false
|
41
43
|
response.errors
|
data/lib/saml_camel/version.rb
CHANGED
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: saml_camel
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.1.
|
4
|
+
version: 0.1.8
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- 'Danai Adkisson '
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2018-04-
|
11
|
+
date: 2018-04-19 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: rails
|
@@ -97,7 +97,7 @@ files:
|
|
97
97
|
- lib/saml_camel/engine.rb
|
98
98
|
- lib/saml_camel/version.rb
|
99
99
|
- lib/tasks/saml_camel_tasks.rake
|
100
|
-
homepage: https://oit.duke.edu
|
100
|
+
homepage: https://idms-git.oit.duke.edu/da129/saml_camel
|
101
101
|
licenses:
|
102
102
|
- MIT
|
103
103
|
metadata: {}
|