rack-cas 0.6.0 → 0.7.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/rack-cas/server.rb +2 -2
- data/lib/rack-cas/version.rb +1 -1
- metadata +1 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: f8b3f4f0aa58877ed7a2d4c3461f29cf61627373
|
4
|
+
data.tar.gz: 1957151a852757147c97e0c8bffcb2d3f9388f44
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: cae156d6cad7408f836e3bdb206b287c26af315d1364d9addba79cad801f2e19347b57be115940d900cf0b572d0340c6bf100fa30175138ea474cd4b1d9bd31f
|
7
|
+
data.tar.gz: f343a2ea383015d349955d4a69278065e0ed03888564bddd837de5352c6b64fe12838001033ccfe7cf5db6ab861f1c010ae77feb9757486f51e62a1d56f846c3
|
data/lib/rack-cas/server.rb
CHANGED
@@ -7,9 +7,9 @@ module RackCAS
|
|
7
7
|
@url = RackCAS::URL.parse(url)
|
8
8
|
end
|
9
9
|
|
10
|
-
def login_url(service_url)
|
10
|
+
def login_url(service_url, params = {})
|
11
11
|
service_url = URL.parse(service_url).to_s
|
12
|
-
@url.dup.append_path('login').add_params(service: service_url)
|
12
|
+
@url.dup.append_path('login').add_params({service: service_url}.merge(params))
|
13
13
|
end
|
14
14
|
|
15
15
|
def logout_url(params = {})
|
data/lib/rack-cas/version.rb
CHANGED