rubycas-client 2.3.6 → 2.3.7
Sign up to get free protection for your applications and to get access to all the features.
- data/Gemfile +1 -1
- data/Gemfile.lock +1 -1
- data/History.txt +6 -0
- data/VERSION +1 -1
- data/lib/casclient/frameworks/rails/filter.rb +2 -2
- data/lib/casclient/tickets/storage.rb +2 -3
- data/rubycas-client.gemspec +5 -5
- metadata +20 -20
data/Gemfile
CHANGED
data/Gemfile.lock
CHANGED
data/History.txt
CHANGED
@@ -1,5 +1,11 @@
|
|
1
1
|
= RubyCAS-Client Changelog
|
2
2
|
|
3
|
+
== Version 2.3.7 :: 2011-11-29
|
4
|
+
|
5
|
+
* Bug Fixes
|
6
|
+
* Fixed bug in how service_urls with query parameters are handled
|
7
|
+
* Fixed issue with setting correct temp directory under Rails 3.1
|
8
|
+
|
3
9
|
== Version 2.3.6 :: 2011-11-22
|
4
10
|
|
5
11
|
* Bug Fixes
|
data/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
2.3.
|
1
|
+
2.3.7
|
@@ -330,8 +330,8 @@ module CASClient
|
|
330
330
|
end
|
331
331
|
|
332
332
|
params = {}.with_indifferent_access
|
333
|
-
params.
|
334
|
-
params.
|
333
|
+
params.update(controller.request.query_parameters)
|
334
|
+
params.update(controller.request.path_parameters)
|
335
335
|
params.delete(:ticket)
|
336
336
|
service_url = controller.url_for(params)
|
337
337
|
log.debug("Guessed service url: #{service_url.inspect}")
|
@@ -69,11 +69,10 @@ module CASClient
|
|
69
69
|
class LocalDirTicketStore < AbstractTicketStore
|
70
70
|
require 'pstore'
|
71
71
|
|
72
|
-
DEFAULT_TMP_DIR = defined?(Rails.root) ? "#{Rails.root}/tmp" : "#{Dir.pwd}/tmp"
|
73
|
-
|
74
72
|
def initialize(config={})
|
75
73
|
config ||= {}
|
76
|
-
|
74
|
+
default_tmp_dir = defined?(Rails.root) ? "#{Rails.root}/tmp" : "#{Dir.pwd}/tmp"
|
75
|
+
@tmp_dir = config[:storage_dir] || default_tmp_dir
|
77
76
|
@service_session_lookup_dir = config[:service_session_lookup_dir] || "#{@tmp_dir}/sessions"
|
78
77
|
@pgt_store_path = config[:pgt_store_path] || "#{@tmp_dir}/cas_pgt.pstore"
|
79
78
|
end
|
data/rubycas-client.gemspec
CHANGED
@@ -5,11 +5,11 @@
|
|
5
5
|
|
6
6
|
Gem::Specification.new do |s|
|
7
7
|
s.name = "rubycas-client"
|
8
|
-
s.version = "2.3.
|
8
|
+
s.version = "2.3.7"
|
9
9
|
|
10
10
|
s.required_rubygems_version = Gem::Requirement.new(">= 0") if s.respond_to? :required_rubygems_version=
|
11
11
|
s.authors = ["Matt Zukowski", "Matt Walker", "Matt Campbell"]
|
12
|
-
s.date = "2011-11-
|
12
|
+
s.date = "2011-11-30"
|
13
13
|
s.extra_rdoc_files = [
|
14
14
|
"LICENSE.txt",
|
15
15
|
"README.rdoc"
|
@@ -81,7 +81,7 @@ Gem::Specification.new do |s|
|
|
81
81
|
s.add_runtime_dependency(%q<activesupport>, [">= 0"])
|
82
82
|
s.add_development_dependency(%q<json>, ["~> 1.6.1"])
|
83
83
|
s.add_development_dependency(%q<rspec>, ["~> 2.7.0"])
|
84
|
-
s.add_development_dependency(%q<bundler>, [">= 1.
|
84
|
+
s.add_development_dependency(%q<bundler>, [">= 1.0"])
|
85
85
|
s.add_development_dependency(%q<jeweler>, ["~> 1.6.2"])
|
86
86
|
s.add_development_dependency(%q<actionpack>, [">= 0"])
|
87
87
|
s.add_development_dependency(%q<rake>, [">= 0"])
|
@@ -90,7 +90,7 @@ Gem::Specification.new do |s|
|
|
90
90
|
s.add_dependency(%q<activesupport>, [">= 0"])
|
91
91
|
s.add_dependency(%q<json>, ["~> 1.6.1"])
|
92
92
|
s.add_dependency(%q<rspec>, ["~> 2.7.0"])
|
93
|
-
s.add_dependency(%q<bundler>, [">= 1.
|
93
|
+
s.add_dependency(%q<bundler>, [">= 1.0"])
|
94
94
|
s.add_dependency(%q<jeweler>, ["~> 1.6.2"])
|
95
95
|
s.add_dependency(%q<actionpack>, [">= 0"])
|
96
96
|
s.add_dependency(%q<rake>, [">= 0"])
|
@@ -100,7 +100,7 @@ Gem::Specification.new do |s|
|
|
100
100
|
s.add_dependency(%q<activesupport>, [">= 0"])
|
101
101
|
s.add_dependency(%q<json>, ["~> 1.6.1"])
|
102
102
|
s.add_dependency(%q<rspec>, ["~> 2.7.0"])
|
103
|
-
s.add_dependency(%q<bundler>, [">= 1.
|
103
|
+
s.add_dependency(%q<bundler>, [">= 1.0"])
|
104
104
|
s.add_dependency(%q<jeweler>, ["~> 1.6.2"])
|
105
105
|
s.add_dependency(%q<actionpack>, [">= 0"])
|
106
106
|
s.add_dependency(%q<rake>, [">= 0"])
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: rubycas-client
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 2.3.
|
4
|
+
version: 2.3.7
|
5
5
|
prerelease:
|
6
6
|
platform: ruby
|
7
7
|
authors:
|
@@ -11,11 +11,11 @@ authors:
|
|
11
11
|
autorequire:
|
12
12
|
bindir: bin
|
13
13
|
cert_chain: []
|
14
|
-
date: 2011-11-
|
14
|
+
date: 2011-11-30 00:00:00.000000000Z
|
15
15
|
dependencies:
|
16
16
|
- !ruby/object:Gem::Dependency
|
17
17
|
name: activesupport
|
18
|
-
requirement: &
|
18
|
+
requirement: &70156582713280 !ruby/object:Gem::Requirement
|
19
19
|
none: false
|
20
20
|
requirements:
|
21
21
|
- - ! '>='
|
@@ -23,10 +23,10 @@ dependencies:
|
|
23
23
|
version: '0'
|
24
24
|
type: :runtime
|
25
25
|
prerelease: false
|
26
|
-
version_requirements: *
|
26
|
+
version_requirements: *70156582713280
|
27
27
|
- !ruby/object:Gem::Dependency
|
28
28
|
name: json
|
29
|
-
requirement: &
|
29
|
+
requirement: &70156582712380 !ruby/object:Gem::Requirement
|
30
30
|
none: false
|
31
31
|
requirements:
|
32
32
|
- - ~>
|
@@ -34,10 +34,10 @@ dependencies:
|
|
34
34
|
version: 1.6.1
|
35
35
|
type: :development
|
36
36
|
prerelease: false
|
37
|
-
version_requirements: *
|
37
|
+
version_requirements: *70156582712380
|
38
38
|
- !ruby/object:Gem::Dependency
|
39
39
|
name: rspec
|
40
|
-
requirement: &
|
40
|
+
requirement: &70156582711420 !ruby/object:Gem::Requirement
|
41
41
|
none: false
|
42
42
|
requirements:
|
43
43
|
- - ~>
|
@@ -45,21 +45,21 @@ dependencies:
|
|
45
45
|
version: 2.7.0
|
46
46
|
type: :development
|
47
47
|
prerelease: false
|
48
|
-
version_requirements: *
|
48
|
+
version_requirements: *70156582711420
|
49
49
|
- !ruby/object:Gem::Dependency
|
50
50
|
name: bundler
|
51
|
-
requirement: &
|
51
|
+
requirement: &70156582709900 !ruby/object:Gem::Requirement
|
52
52
|
none: false
|
53
53
|
requirements:
|
54
54
|
- - ! '>='
|
55
55
|
- !ruby/object:Gem::Version
|
56
|
-
version: 1.
|
56
|
+
version: '1.0'
|
57
57
|
type: :development
|
58
58
|
prerelease: false
|
59
|
-
version_requirements: *
|
59
|
+
version_requirements: *70156582709900
|
60
60
|
- !ruby/object:Gem::Dependency
|
61
61
|
name: jeweler
|
62
|
-
requirement: &
|
62
|
+
requirement: &70156582708880 !ruby/object:Gem::Requirement
|
63
63
|
none: false
|
64
64
|
requirements:
|
65
65
|
- - ~>
|
@@ -67,10 +67,10 @@ dependencies:
|
|
67
67
|
version: 1.6.2
|
68
68
|
type: :development
|
69
69
|
prerelease: false
|
70
|
-
version_requirements: *
|
70
|
+
version_requirements: *70156582708880
|
71
71
|
- !ruby/object:Gem::Dependency
|
72
72
|
name: actionpack
|
73
|
-
requirement: &
|
73
|
+
requirement: &70156582695320 !ruby/object:Gem::Requirement
|
74
74
|
none: false
|
75
75
|
requirements:
|
76
76
|
- - ! '>='
|
@@ -78,10 +78,10 @@ dependencies:
|
|
78
78
|
version: '0'
|
79
79
|
type: :development
|
80
80
|
prerelease: false
|
81
|
-
version_requirements: *
|
81
|
+
version_requirements: *70156582695320
|
82
82
|
- !ruby/object:Gem::Dependency
|
83
83
|
name: rake
|
84
|
-
requirement: &
|
84
|
+
requirement: &70156582694500 !ruby/object:Gem::Requirement
|
85
85
|
none: false
|
86
86
|
requirements:
|
87
87
|
- - ! '>='
|
@@ -89,10 +89,10 @@ dependencies:
|
|
89
89
|
version: '0'
|
90
90
|
type: :development
|
91
91
|
prerelease: false
|
92
|
-
version_requirements: *
|
92
|
+
version_requirements: *70156582694500
|
93
93
|
- !ruby/object:Gem::Dependency
|
94
94
|
name: rcov
|
95
|
-
requirement: &
|
95
|
+
requirement: &70156582693440 !ruby/object:Gem::Requirement
|
96
96
|
none: false
|
97
97
|
requirements:
|
98
98
|
- - ! '>='
|
@@ -100,7 +100,7 @@ dependencies:
|
|
100
100
|
version: '0'
|
101
101
|
type: :development
|
102
102
|
prerelease: false
|
103
|
-
version_requirements: *
|
103
|
+
version_requirements: *70156582693440
|
104
104
|
description:
|
105
105
|
email:
|
106
106
|
executables: []
|
@@ -177,7 +177,7 @@ required_ruby_version: !ruby/object:Gem::Requirement
|
|
177
177
|
version: '0'
|
178
178
|
segments:
|
179
179
|
- 0
|
180
|
-
hash:
|
180
|
+
hash: 1034418483670907189
|
181
181
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
182
182
|
none: false
|
183
183
|
requirements:
|