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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 17b2eb28b1316218061aa196765ebd91eed4165f
4
- data.tar.gz: 6bcd8a9a58677c3244c560094e50ac7ae5e14813
3
+ metadata.gz: f8b3f4f0aa58877ed7a2d4c3461f29cf61627373
4
+ data.tar.gz: 1957151a852757147c97e0c8bffcb2d3f9388f44
5
5
  SHA512:
6
- metadata.gz: 0167e45bc8b7d7f770ee602d06c3fac2fc3b5567a531bea595b7d08e34a7a1d254a02095bf31297cc785f034912c5093f0a1ea7ae27523679572be7ada3a51ac
7
- data.tar.gz: 50e6a879ecbbbcce0bb5b66a2bcdafb5281643dee09238d1106db5b47cf0de6bbf2dc8fb3b7e2b85933b92e405d8577dfdeaa637bd404e65d7ef0a6dbe0d82b0
6
+ metadata.gz: cae156d6cad7408f836e3bdb206b287c26af315d1364d9addba79cad801f2e19347b57be115940d900cf0b572d0340c6bf100fa30175138ea474cd4b1d9bd31f
7
+ data.tar.gz: f343a2ea383015d349955d4a69278065e0ed03888564bddd837de5352c6b64fe12838001033ccfe7cf5db6ab861f1c010ae77feb9757486f51e62a1d56f846c3
@@ -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 = {})
@@ -1,3 +1,3 @@
1
1
  module RackCAS
2
- VERSION = '0.6.0'
2
+ VERSION = '0.7.0'
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: rack-cas
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.6.0
4
+ version: 0.7.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Adam Crownoble