omniauth-cas 0.0.2 → 0.0.3
Sign up to get free protection for your applications and to get access to all the features.
data/lib/omniauth/cas/version.rb
CHANGED
@@ -140,35 +140,6 @@ module OmniAuth
|
|
140
140
|
end
|
141
141
|
end
|
142
142
|
|
143
|
-
# def cas_url( path )
|
144
|
-
# "#{cas_protocol}://#{@options.host}#{@options.port}#{path}"
|
145
|
-
# end
|
146
|
-
#
|
147
|
-
# def cas_protocol
|
148
|
-
# @options.ssl ? "https" : "http"
|
149
|
-
# end
|
150
|
-
|
151
|
-
# uid do
|
152
|
-
# ap "UID"
|
153
|
-
# # request.params[options.uid_field.to_s]
|
154
|
-
# end
|
155
|
-
|
156
|
-
# info do
|
157
|
-
# ap "INFO"
|
158
|
-
# # options.fields.inject({}) do |hash, field|
|
159
|
-
# # hash[field] = request.params[field.to_s]
|
160
|
-
# # hash
|
161
|
-
# # end
|
162
|
-
# end
|
163
|
-
|
164
|
-
# extra do
|
165
|
-
# ap "EXTRA"
|
166
|
-
# end
|
167
|
-
|
168
|
-
# credentials do
|
169
|
-
# ap "CREDENTIALS"
|
170
|
-
# end
|
171
|
-
|
172
143
|
def return_url
|
173
144
|
# If the request already has a `url` parameter, then it will already be appended to the callback URL.
|
174
145
|
if request.params and request.params['url']
|
data/omniauth-cas.gemspec
CHANGED
@@ -22,7 +22,7 @@ Gem::Specification.new do |gem|
|
|
22
22
|
gem.add_development_dependency 'rake', '~> 0.9'
|
23
23
|
gem.add_development_dependency 'webmock', '~> 1.7'
|
24
24
|
gem.add_development_dependency 'simplecov', '~> 0.5.4'
|
25
|
-
gem.add_development_dependency 'rspec', '~> 2.
|
25
|
+
gem.add_development_dependency 'rspec', '~> 2.8'
|
26
26
|
gem.add_development_dependency 'rack-test', '~> 0.6'
|
27
27
|
|
28
28
|
gem.add_development_dependency 'awesome_print'
|
data/spec/spec_helper.rb
CHANGED
@@ -1,9 +1,12 @@
|
|
1
1
|
require 'bundler/setup'
|
2
2
|
|
3
|
+
RSpec.configure do |c|
|
4
|
+
c.treat_symbols_as_metadata_keys_with_true_values = true
|
5
|
+
end
|
6
|
+
|
3
7
|
require 'simplecov'
|
4
8
|
SimpleCov.start
|
5
9
|
|
6
10
|
require 'rack/test'
|
7
11
|
require 'webmock/rspec'
|
8
|
-
require 'awesome_print'
|
9
12
|
require 'omniauth-cas'
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: omniauth-cas
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.0.
|
4
|
+
version: 0.0.3
|
5
5
|
prerelease:
|
6
6
|
platform: ruby
|
7
7
|
authors:
|
@@ -9,11 +9,11 @@ authors:
|
|
9
9
|
autorequire:
|
10
10
|
bindir: bin
|
11
11
|
cert_chain: []
|
12
|
-
date: 2012-01-
|
12
|
+
date: 2012-01-12 00:00:00.000000000Z
|
13
13
|
dependencies:
|
14
14
|
- !ruby/object:Gem::Dependency
|
15
15
|
name: omniauth
|
16
|
-
requirement: &
|
16
|
+
requirement: &2164568380 !ruby/object:Gem::Requirement
|
17
17
|
none: false
|
18
18
|
requirements:
|
19
19
|
- - ~>
|
@@ -21,10 +21,10 @@ dependencies:
|
|
21
21
|
version: '1.0'
|
22
22
|
type: :runtime
|
23
23
|
prerelease: false
|
24
|
-
version_requirements: *
|
24
|
+
version_requirements: *2164568380
|
25
25
|
- !ruby/object:Gem::Dependency
|
26
26
|
name: nokogiri
|
27
|
-
requirement: &
|
27
|
+
requirement: &2164567820 !ruby/object:Gem::Requirement
|
28
28
|
none: false
|
29
29
|
requirements:
|
30
30
|
- - ~>
|
@@ -32,10 +32,10 @@ dependencies:
|
|
32
32
|
version: '1.5'
|
33
33
|
type: :runtime
|
34
34
|
prerelease: false
|
35
|
-
version_requirements: *
|
35
|
+
version_requirements: *2164567820
|
36
36
|
- !ruby/object:Gem::Dependency
|
37
37
|
name: addressable
|
38
|
-
requirement: &
|
38
|
+
requirement: &2164567200 !ruby/object:Gem::Requirement
|
39
39
|
none: false
|
40
40
|
requirements:
|
41
41
|
- - ~>
|
@@ -43,10 +43,10 @@ dependencies:
|
|
43
43
|
version: '2.2'
|
44
44
|
type: :runtime
|
45
45
|
prerelease: false
|
46
|
-
version_requirements: *
|
46
|
+
version_requirements: *2164567200
|
47
47
|
- !ruby/object:Gem::Dependency
|
48
48
|
name: rake
|
49
|
-
requirement: &
|
49
|
+
requirement: &2164566640 !ruby/object:Gem::Requirement
|
50
50
|
none: false
|
51
51
|
requirements:
|
52
52
|
- - ~>
|
@@ -54,10 +54,10 @@ dependencies:
|
|
54
54
|
version: '0.9'
|
55
55
|
type: :development
|
56
56
|
prerelease: false
|
57
|
-
version_requirements: *
|
57
|
+
version_requirements: *2164566640
|
58
58
|
- !ruby/object:Gem::Dependency
|
59
59
|
name: webmock
|
60
|
-
requirement: &
|
60
|
+
requirement: &2164566040 !ruby/object:Gem::Requirement
|
61
61
|
none: false
|
62
62
|
requirements:
|
63
63
|
- - ~>
|
@@ -65,10 +65,10 @@ dependencies:
|
|
65
65
|
version: '1.7'
|
66
66
|
type: :development
|
67
67
|
prerelease: false
|
68
|
-
version_requirements: *
|
68
|
+
version_requirements: *2164566040
|
69
69
|
- !ruby/object:Gem::Dependency
|
70
70
|
name: simplecov
|
71
|
-
requirement: &
|
71
|
+
requirement: &2164565280 !ruby/object:Gem::Requirement
|
72
72
|
none: false
|
73
73
|
requirements:
|
74
74
|
- - ~>
|
@@ -76,21 +76,21 @@ dependencies:
|
|
76
76
|
version: 0.5.4
|
77
77
|
type: :development
|
78
78
|
prerelease: false
|
79
|
-
version_requirements: *
|
79
|
+
version_requirements: *2164565280
|
80
80
|
- !ruby/object:Gem::Dependency
|
81
81
|
name: rspec
|
82
|
-
requirement: &
|
82
|
+
requirement: &2164563940 !ruby/object:Gem::Requirement
|
83
83
|
none: false
|
84
84
|
requirements:
|
85
85
|
- - ~>
|
86
86
|
- !ruby/object:Gem::Version
|
87
|
-
version: '2.
|
87
|
+
version: '2.8'
|
88
88
|
type: :development
|
89
89
|
prerelease: false
|
90
|
-
version_requirements: *
|
90
|
+
version_requirements: *2164563940
|
91
91
|
- !ruby/object:Gem::Dependency
|
92
92
|
name: rack-test
|
93
|
-
requirement: &
|
93
|
+
requirement: &2164563340 !ruby/object:Gem::Requirement
|
94
94
|
none: false
|
95
95
|
requirements:
|
96
96
|
- - ~>
|
@@ -98,10 +98,10 @@ dependencies:
|
|
98
98
|
version: '0.6'
|
99
99
|
type: :development
|
100
100
|
prerelease: false
|
101
|
-
version_requirements: *
|
101
|
+
version_requirements: *2164563340
|
102
102
|
- !ruby/object:Gem::Dependency
|
103
103
|
name: awesome_print
|
104
|
-
requirement: &
|
104
|
+
requirement: &2164562920 !ruby/object:Gem::Requirement
|
105
105
|
none: false
|
106
106
|
requirements:
|
107
107
|
- - ! '>='
|
@@ -109,7 +109,7 @@ dependencies:
|
|
109
109
|
version: '0'
|
110
110
|
type: :development
|
111
111
|
prerelease: false
|
112
|
-
version_requirements: *
|
112
|
+
version_requirements: *2164562920
|
113
113
|
description:
|
114
114
|
email:
|
115
115
|
- dlindahl@customink.com
|