Empact-authlogic_rpx 1.1.8 → 2.0.0
Sign up to get free protection for your applications and to get access to all the features.
- data/Empact-authlogic_rpx.gemspec +46 -68
- data/VERSION +1 -1
- data/lib/authlogic_rpx.rb +3 -2
- data/lib/authlogic_rpx/acts_as_authentic.rb +251 -255
- data/lib/authlogic_rpx/helper.rb +33 -33
- data/lib/authlogic_rpx/railtie.rb +9 -0
- data/lib/authlogic_rpx/rpx_identifier.rb +2 -2
- data/lib/authlogic_rpx/session.rb +236 -236
- data/test/unit/verify_rpx_mock_test.rb +4 -4
- metadata +40 -86
- data/.gitignore +0 -1
@@ -7,7 +7,7 @@ class VerifyRpxMockTest < ActiveSupport::TestCase
|
|
7
7
|
assert_not_nil rpx_data
|
8
8
|
assert_not_nil rpx_data[:identifier]
|
9
9
|
rpx_id = rpx_data[:identifier]
|
10
|
-
|
10
|
+
assert_false rpx_id.blank?
|
11
11
|
end
|
12
12
|
|
13
13
|
must "get a validated response from RPXNow raw mode" do
|
@@ -15,9 +15,9 @@ class VerifyRpxMockTest < ActiveSupport::TestCase
|
|
15
15
|
assert_not_nil rpx_data
|
16
16
|
assert_not_nil rpx_data['profile']
|
17
17
|
rpx_id = rpx_data['profile']['identifier']
|
18
|
-
|
19
|
-
|
20
|
-
|
18
|
+
assert_false rpx_id.blank?
|
19
|
+
rpx_provider_name = rpx_data['profile']['providerName']
|
20
|
+
assert_false rpx_provider_name.blank?
|
21
21
|
end
|
22
22
|
|
23
23
|
must "get nil response from RPXNow if invalid request" do
|
metadata
CHANGED
@@ -1,65 +1,46 @@
|
|
1
|
-
--- !ruby/object:Gem::Specification
|
1
|
+
--- !ruby/object:Gem::Specification
|
2
2
|
name: Empact-authlogic_rpx
|
3
|
-
version: !ruby/object:Gem::Version
|
4
|
-
|
5
|
-
prerelease:
|
6
|
-
segments:
|
7
|
-
- 1
|
8
|
-
- 1
|
9
|
-
- 8
|
10
|
-
version: 1.1.8
|
3
|
+
version: !ruby/object:Gem::Version
|
4
|
+
version: 2.0.0
|
5
|
+
prerelease:
|
11
6
|
platform: ruby
|
12
|
-
authors:
|
7
|
+
authors:
|
13
8
|
- Paul Gallagher / tardate
|
14
9
|
autorequire:
|
15
10
|
bindir: bin
|
16
11
|
cert_chain: []
|
17
|
-
|
18
|
-
|
19
|
-
|
20
|
-
dependencies:
|
21
|
-
- !ruby/object:Gem::Dependency
|
12
|
+
date: 2011-09-12 00:00:00.000000000Z
|
13
|
+
dependencies:
|
14
|
+
- !ruby/object:Gem::Dependency
|
22
15
|
name: Empact-authlogic
|
23
|
-
|
24
|
-
requirement: &id001 !ruby/object:Gem::Requirement
|
16
|
+
requirement: &2156380780 !ruby/object:Gem::Requirement
|
25
17
|
none: false
|
26
|
-
requirements:
|
27
|
-
- -
|
28
|
-
- !ruby/object:Gem::Version
|
29
|
-
hash: 13
|
30
|
-
segments:
|
31
|
-
- 2
|
32
|
-
- 1
|
33
|
-
- 3
|
18
|
+
requirements:
|
19
|
+
- - ! '>='
|
20
|
+
- !ruby/object:Gem::Version
|
34
21
|
version: 2.1.3
|
35
22
|
type: :runtime
|
36
|
-
version_requirements: *id001
|
37
|
-
- !ruby/object:Gem::Dependency
|
38
|
-
name: Empact-rpx_now
|
39
23
|
prerelease: false
|
40
|
-
|
24
|
+
version_requirements: *2156380780
|
25
|
+
- !ruby/object:Gem::Dependency
|
26
|
+
name: Empact-rpx_now
|
27
|
+
requirement: &2156380160 !ruby/object:Gem::Requirement
|
41
28
|
none: false
|
42
|
-
requirements:
|
43
|
-
- -
|
44
|
-
- !ruby/object:Gem::Version
|
45
|
-
hash: 31
|
46
|
-
segments:
|
47
|
-
- 0
|
48
|
-
- 6
|
49
|
-
- 12
|
29
|
+
requirements:
|
30
|
+
- - ! '>='
|
31
|
+
- !ruby/object:Gem::Version
|
50
32
|
version: 0.6.12
|
51
33
|
type: :runtime
|
52
|
-
|
53
|
-
|
34
|
+
prerelease: false
|
35
|
+
version_requirements: *2156380160
|
36
|
+
description: Authlogic extension/plugin that provides RPX (rpxnow.com) authentication
|
37
|
+
support
|
54
38
|
email: gallagher.paul@gmail.com
|
55
39
|
executables: []
|
56
|
-
|
57
40
|
extensions: []
|
58
|
-
|
59
|
-
extra_rdoc_files:
|
41
|
+
extra_rdoc_files:
|
60
42
|
- README.rdoc
|
61
|
-
files:
|
62
|
-
- .gitignore
|
43
|
+
files:
|
63
44
|
- CHANGELOG.rdoc
|
64
45
|
- Empact-authlogic_rpx.gemspec
|
65
46
|
- MIT-LICENSE
|
@@ -74,6 +55,7 @@ files:
|
|
74
55
|
- lib/authlogic_rpx.rb
|
75
56
|
- lib/authlogic_rpx/acts_as_authentic.rb
|
76
57
|
- lib/authlogic_rpx/helper.rb
|
58
|
+
- lib/authlogic_rpx/railtie.rb
|
77
59
|
- lib/authlogic_rpx/rpx_identifier.rb
|
78
60
|
- lib/authlogic_rpx/session.rb
|
79
61
|
- lib/authlogic_rpx/session/validation.rb
|
@@ -99,56 +81,28 @@ files:
|
|
99
81
|
- test/unit/session_settings_test.rb
|
100
82
|
- test/unit/session_validation_test.rb
|
101
83
|
- test/unit/verify_rpx_mock_test.rb
|
102
|
-
has_rdoc: true
|
103
84
|
homepage: http://github.com/tardate/authlogic_rpx
|
104
85
|
licenses: []
|
105
|
-
|
106
86
|
post_install_message:
|
107
|
-
rdoc_options:
|
108
|
-
|
109
|
-
require_paths:
|
87
|
+
rdoc_options: []
|
88
|
+
require_paths:
|
110
89
|
- lib
|
111
|
-
required_ruby_version: !ruby/object:Gem::Requirement
|
90
|
+
required_ruby_version: !ruby/object:Gem::Requirement
|
112
91
|
none: false
|
113
|
-
requirements:
|
114
|
-
- -
|
115
|
-
- !ruby/object:Gem::Version
|
116
|
-
|
117
|
-
|
118
|
-
- 0
|
119
|
-
version: "0"
|
120
|
-
required_rubygems_version: !ruby/object:Gem::Requirement
|
92
|
+
requirements:
|
93
|
+
- - ! '>='
|
94
|
+
- !ruby/object:Gem::Version
|
95
|
+
version: '0'
|
96
|
+
required_rubygems_version: !ruby/object:Gem::Requirement
|
121
97
|
none: false
|
122
|
-
requirements:
|
123
|
-
- -
|
124
|
-
- !ruby/object:Gem::Version
|
125
|
-
|
126
|
-
segments:
|
127
|
-
- 0
|
128
|
-
version: "0"
|
98
|
+
requirements:
|
99
|
+
- - ! '>='
|
100
|
+
- !ruby/object:Gem::Version
|
101
|
+
version: '0'
|
129
102
|
requirements: []
|
130
|
-
|
131
103
|
rubyforge_project:
|
132
|
-
rubygems_version: 1.
|
104
|
+
rubygems_version: 1.8.8
|
133
105
|
signing_key:
|
134
106
|
specification_version: 3
|
135
107
|
summary: Authlogic plug-in for RPX support
|
136
|
-
test_files:
|
137
|
-
- test/integration/basic_authentication_and_registration_test.rb
|
138
|
-
- test/integration/internal_mapping/basic_authentication_and_registration_test.rb
|
139
|
-
- test/integration/internal_mapping/settings_test.rb
|
140
|
-
- test/integration/no_mapping/basic_authentication_and_registration_test.rb
|
141
|
-
- test/integration/no_mapping/settings_test.rb
|
142
|
-
- test/libs/ext_test_unit.rb
|
143
|
-
- test/libs/mock_rpx_now.rb
|
144
|
-
- test/libs/rails_trickery.rb
|
145
|
-
- test/libs/rpxresponse.rb
|
146
|
-
- test/libs/user.rb
|
147
|
-
- test/libs/user_session.rb
|
148
|
-
- test/test_helper.rb
|
149
|
-
- test/test_internal_mapping_helper.rb
|
150
|
-
- test/unit/acts_as_authentic_settings_test.rb
|
151
|
-
- test/unit/helpers_test.rb
|
152
|
-
- test/unit/session_settings_test.rb
|
153
|
-
- test/unit/session_validation_test.rb
|
154
|
-
- test/unit/verify_rpx_mock_test.rb
|
108
|
+
test_files: []
|
data/.gitignore
DELETED
@@ -1 +0,0 @@
|
|
1
|
-
pkg/
|