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.
@@ -1,5 +1,5 @@
1
1
  module Omniauth
2
2
  module Cas
3
- VERSION = "0.0.2"
3
+ VERSION = "0.0.3"
4
4
  end
5
5
  end
@@ -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']
@@ -1,5 +1,3 @@
1
- require 'awesome_print'
2
-
3
1
  module OmniAuth
4
2
  module Strategies
5
3
  class CAS
@@ -1,7 +1,6 @@
1
1
  require 'net/http'
2
2
  require 'net/https'
3
3
  require 'nokogiri'
4
- require 'awesome_print'
5
4
 
6
5
  module OmniAuth
7
6
  module Strategies
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.7'
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.2
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-03 00:00:00.000000000Z
12
+ date: 2012-01-12 00:00:00.000000000Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: omniauth
16
- requirement: &2156670480 !ruby/object:Gem::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: *2156670480
24
+ version_requirements: *2164568380
25
25
  - !ruby/object:Gem::Dependency
26
26
  name: nokogiri
27
- requirement: &2156669980 !ruby/object:Gem::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: *2156669980
35
+ version_requirements: *2164567820
36
36
  - !ruby/object:Gem::Dependency
37
37
  name: addressable
38
- requirement: &2156669460 !ruby/object:Gem::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: *2156669460
46
+ version_requirements: *2164567200
47
47
  - !ruby/object:Gem::Dependency
48
48
  name: rake
49
- requirement: &2156668920 !ruby/object:Gem::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: *2156668920
57
+ version_requirements: *2164566640
58
58
  - !ruby/object:Gem::Dependency
59
59
  name: webmock
60
- requirement: &2156668300 !ruby/object:Gem::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: *2156668300
68
+ version_requirements: *2164566040
69
69
  - !ruby/object:Gem::Dependency
70
70
  name: simplecov
71
- requirement: &2156667620 !ruby/object:Gem::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: *2156667620
79
+ version_requirements: *2164565280
80
80
  - !ruby/object:Gem::Dependency
81
81
  name: rspec
82
- requirement: &2156666940 !ruby/object:Gem::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.7'
87
+ version: '2.8'
88
88
  type: :development
89
89
  prerelease: false
90
- version_requirements: *2156666940
90
+ version_requirements: *2164563940
91
91
  - !ruby/object:Gem::Dependency
92
92
  name: rack-test
93
- requirement: &2156666480 !ruby/object:Gem::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: *2156666480
101
+ version_requirements: *2164563340
102
102
  - !ruby/object:Gem::Dependency
103
103
  name: awesome_print
104
- requirement: &2156666080 !ruby/object:Gem::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: *2156666080
112
+ version_requirements: *2164562920
113
113
  description:
114
114
  email:
115
115
  - dlindahl@customink.com