authpds 0.2.8 → 0.2.9

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,15 +1,15 @@
1
1
  ---
2
2
  !binary "U0hBMQ==":
3
3
  metadata.gz: !binary |-
4
- NTRhMmU3OWUwMjM4Y2NmNDk4MzJkNzk0NjI3M2Q4NGJlOTAwMDViNg==
4
+ ZjFlODczYmRlNDhhMzI0NTY1NzkwNDk2ZWUxZjFjYWQ3YTQwNzgwZQ==
5
5
  data.tar.gz: !binary |-
6
- YWVlNTk1MWEwNmM2MTFhZWMzZGRjOGMzNTUyMmEzNmUxYzg0ZjU3Nw==
6
+ NmYzMTUyOWU1MDVmZmIwMzIwYjY2MzhhNmVmZjdiMTkwMDQzYWU1NA==
7
7
  !binary "U0hBNTEy":
8
8
  metadata.gz: !binary |-
9
- MjcxNDY1ZGQ1NWQ4Y2RlOTc5ODYwMmZlZjdiMDVjMWE4MjIwNmJhNjg3Yjc0
10
- ZmUxM2FiNGZkNDQ4MmUwNzM1ZDQyMzU3YWYwYzZhMjk5NzEyNjJiMGM1NDFh
11
- OTQ3ZTk3NWZiYTAzZjMxZmU4MmJkM2EzYTVmNWFhY2Q2MGM2Yzc=
9
+ ZjhiOTUxYzI0M2Y1NDZlMDFkYmQ5NmE4MmYwMjcxODVkNDQzOTYxYmRhZGM3
10
+ OWZjOGRhNzRhNGEwOTQyNmFjMjk5MjBhOGEwMmQ2NjBkYTY4MTkxMWZhZWUw
11
+ ZWYwY2VjZTBkNDA3OGJmYjQ2ZWQ1ZmE5ZDdlOWI0ZDRiNjQ0NWU=
12
12
  data.tar.gz: !binary |-
13
- OTVmOTkwNDI1NGJmNzQ0MjhiMDc2OGRjMDI4YTAwMmUwZDJkMmZkMzlhNjYw
14
- YzJmNjU5NjMyMzAzZTY1MmIzZDkyNzk1ZDJkYzIyNmNhNTdiODRlMDNmY2U2
15
- OWU5YzhjMzQzZDFhZjIwNDBhMzkwM2M1OGIyYWJjMjM1MGU3Mjk=
13
+ Y2U3MWY1MjhhMjU1MzY0OTY0YmY2MTg2MDZhZGIzMWYwZDZlZmRiMWNmNjM4
14
+ ZDQ5YzkxZjlhZWFlMTBiNDBkNGVjMjM4M2IyZTQxYTIzZTBjYjljYmIwYmJm
15
+ Y2VjYjU1MTE5YjIzYThiODQwYzVjOTQ2Y2UyMzRiMDUzMDhmMGU=
@@ -11,7 +11,8 @@ module Authpds
11
11
 
12
12
  # GET /validate
13
13
  def validate
14
- @user_session = UserSession.create(params[:user_session])
14
+ # Only create a new one if it doesn't exist
15
+ @user_session ||= UserSession.create(params[:user_session])
15
16
  redirect_to (params[:return_url].nil?) ? root_url : params[:return_url]
16
17
  end
17
18
 
@@ -1,3 +1,3 @@
1
1
  module Authpds
2
- VERSION = "0.2.8"
2
+ VERSION = "0.2.9"
3
3
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: authpds
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.2.8
4
+ version: 0.2.9
5
5
  platform: ruby
6
6
  authors:
7
7
  - Scot Dalton
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2013-03-29 00:00:00.000000000 Z
11
+ date: 2013-07-23 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: require_all
@@ -38,6 +38,34 @@ dependencies:
38
38
  - - ~>
39
39
  - !ruby/object:Gem::Version
40
40
  version: 3.1.3
41
+ - !ruby/object:Gem::Dependency
42
+ name: activerecord
43
+ requirement: !ruby/object:Gem::Requirement
44
+ requirements:
45
+ - - ~>
46
+ - !ruby/object:Gem::Version
47
+ version: '3.2'
48
+ type: :runtime
49
+ prerelease: false
50
+ version_requirements: !ruby/object:Gem::Requirement
51
+ requirements:
52
+ - - ~>
53
+ - !ruby/object:Gem::Version
54
+ version: '3.2'
55
+ - !ruby/object:Gem::Dependency
56
+ name: activesupport
57
+ requirement: !ruby/object:Gem::Requirement
58
+ requirements:
59
+ - - ~>
60
+ - !ruby/object:Gem::Version
61
+ version: '3.2'
62
+ type: :runtime
63
+ prerelease: false
64
+ version_requirements: !ruby/object:Gem::Requirement
65
+ requirements:
66
+ - - ~>
67
+ - !ruby/object:Gem::Version
68
+ version: '3.2'
41
69
  - !ruby/object:Gem::Dependency
42
70
  name: nokogiri
43
71
  requirement: !ruby/object:Gem::Requirement