saml_camel 0.1.7 → 0.1.8

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: f5ae86d2afccc6e4f06cecbce01cb9c8e7b26340
4
- data.tar.gz: 200725807b56d5a93dd488edd9ac18bdd1a5006b
3
+ metadata.gz: 79bb8b7ebdf4fa498fb793514369668f1687f766
4
+ data.tar.gz: b632ad9653ef4159c3c2a6167ac7a5c4eb428ab3
5
5
  SHA512:
6
- metadata.gz: 1b665b05d63a9f28fa45f79b48067de8e18daebb9f530223174b48195e676ebd08abf984a853a11c7fc1c61cd0db354098bba25a9db47da0b49136c70b55ebcb
7
- data.tar.gz: e13b5b41e5d628f99a75da7be03b06d2671ea60d26e3fc5280aa07be80b43245ae9dc63303878bffbdcedc90183c19e43650caa667ae209955bcd240adeb1f6d
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 ths cache_store most appropriate for your situation. It may make more sense to use a file store, or a redis server
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
- permit_key = session[:saml_session_id].to_sym
37
- Rails.cache.delete(permit_key)
38
- session[:saml_session_id] = nil
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
@@ -1,3 +1,3 @@
1
1
  module SamlCamel
2
- VERSION = '0.1.7'
2
+ VERSION = '0.1.8'
3
3
  end
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.7
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-18 00:00:00.000000000 Z
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: {}