devise_aaf_rc_authenticatable 0.0.4 → 0.0.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
  SHA1:
3
- metadata.gz: cd3eea3cae32907556130a314312537010b56c7d
4
- data.tar.gz: c37399e823354ad1ac1ce9be7443ece05c84d775
3
+ metadata.gz: a889c3fef0e85f25b268196ebbd9bad66c169f47
4
+ data.tar.gz: b0659483edf87dc286876d446bd4e04d9da8b7d8
5
5
  SHA512:
6
- metadata.gz: bdd5e25f25b7de9c642c44b23e58e70ede0c3b3b7c0daff78085a4bd4d4bf75f97b17620a1029ada70d8e3061f4c278ba3aa3fc72522079581caea0e8caa5197
7
- data.tar.gz: ddc1597f78875cdcd8934ce35dd699784942045fa82fc35181dfb3904cf92497272b56ddcbb4e79cc0ad32b0e2e8338f2db277147b244d3b6313961ff2ffdea2
6
+ metadata.gz: e53774873e8a916863c0f3cd7abc6fa8579cc4f1c0c93321baa351e2af12f23eebdd708c2601caca8ed912d31991ddecec0e5842ee4f5dc63548ca1bf501f59b
7
+ data.tar.gz: 3b39ee609f5e912affdd8f202f6760336d5def15e3a400506c3e696d0018db176720b959229f521d7d98a0dfdf82e1a2dc9d42a44dbc21ffdd86e49f573afc2d
data/Rakefile CHANGED
@@ -33,7 +33,7 @@ begin
33
33
  gemspec.homepage = "http://github.com/IntersectAustralia/devise_aaf_rc_authenticatable"
34
34
  gemspec.authors = ["Gabriel Gasser Noblia", "Shuqian Hon", "Daniel Theodosius", "Jake Farrell"]
35
35
  gemspec.add_runtime_dependency "devise", ">= 2.2.4"
36
- gemspec.version = "0.0.4"
36
+ gemspec.version = "0.0.5"
37
37
  end
38
38
  Jeweler::GemcutterTasks.new
39
39
  rescue LoadError
data/VERSION CHANGED
@@ -1 +1 @@
1
- 0.0.4
1
+ 0.0.5
@@ -2,16 +2,16 @@
2
2
  # DO NOT EDIT THIS FILE DIRECTLY
3
3
  # Instead, edit Jeweler::Tasks in Rakefile, and run 'rake gemspec'
4
4
  # -*- encoding: utf-8 -*-
5
- # stub: devise_aaf_rc_authenticatable 0.0.4 ruby lib
5
+ # stub: devise_aaf_rc_authenticatable 0.0.5 ruby lib
6
6
 
7
7
  Gem::Specification.new do |s|
8
8
  s.name = "devise_aaf_rc_authenticatable"
9
- s.version = "0.0.4"
9
+ s.version = "0.0.5"
10
10
 
11
11
  s.required_rubygems_version = Gem::Requirement.new(">= 0") if s.respond_to? :required_rubygems_version=
12
12
  s.require_paths = ["lib"]
13
13
  s.authors = ["Gabriel Gasser Noblia", "Shuqian Hon", "Daniel Theodosius", "Jake Farrell"]
14
- s.date = "2014-08-01"
14
+ s.date = "2014-10-16"
15
15
  s.description = "Devise AAF Rapid Connect Authenticatable is an authentication strategy for the Devise[http://github.com/plataformatec/devise] authentication framework."
16
16
  s.email = ["gabriel@intersect.org.au", "shuqian@intersect.org.au", "danielt@intersect.org.au", "jake@intersect.org.au"]
17
17
  s.extra_rdoc_files = [
@@ -33,15 +33,15 @@ module Devise
33
33
  session[:attributes] = jwt['https://aaf.edu.au/attributes']
34
34
  session[:jwt] = jwt
35
35
  else
36
- logger.error(" Timing is invalid. #{current_time} out of range of #{Time.at(jwt['nbf'])} to #{Time.at(jwt['exp'])}")
36
+ Rails.logger.error(" Timing is invalid. #{current_time} out of range of #{Time.at(jwt['nbf'])} to #{Time.at(jwt['exp'])}")
37
37
  return fail(:invalid_timing)
38
38
  end
39
39
  else
40
- logger.error(" Audience is invalid. #{jwt['aud']} vs #{config['hostname']}")
40
+ Rails.logger.error(" Audience is invalid. #{jwt['aud']} vs #{config['hostname']}")
41
41
  return fail(:invalid_audience)
42
42
  end
43
43
  rescue Exception => e
44
- logger.error(" Signature was invalid or JWT was otherwise erroneous. #{e.message}")
44
+ Rails.logger.error(" Signature was invalid or JWT was otherwise erroneous. #{e.message}")
45
45
  return fail(:invalid_jwt)
46
46
  end
47
47
  end
@@ -1,4 +1,4 @@
1
1
  module DeviseAafRcAuthenticatable
2
- VERSION = "0.0.4"
2
+ VERSION = "0.0.5"
3
3
  end
4
4
 
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: devise_aaf_rc_authenticatable
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.4
4
+ version: 0.0.5
5
5
  platform: ruby
6
6
  authors:
7
7
  - Gabriel Gasser Noblia
@@ -11,7 +11,7 @@ authors:
11
11
  autorequire:
12
12
  bindir: bin
13
13
  cert_chain: []
14
- date: 2014-08-01 00:00:00.000000000 Z
14
+ date: 2014-10-16 00:00:00.000000000 Z
15
15
  dependencies:
16
16
  - !ruby/object:Gem::Dependency
17
17
  name: json-jwt