bsm-sso-client 0.5.1 → 0.6.0
Sign up to get free protection for your applications and to get access to all the features.
- data/lib/bsm/sso/client.rb +1 -0
- data/lib/bsm/sso/client/strategies/http_auth.rb +1 -1
- metadata +24 -33
data/lib/bsm/sso/client.rb
CHANGED
@@ -15,7 +15,7 @@ class Bsm::Sso::Client::Strategies::HttpAuth < Bsm::Sso::Client::Strategies::Bas
|
|
15
15
|
|
16
16
|
def token
|
17
17
|
return nil unless request.authorization && request.authorization =~ /^Basic (.*)/m
|
18
|
-
@token ||=
|
18
|
+
@token ||= Base64.decode64($1).split(/:/, 2).first
|
19
19
|
end
|
20
20
|
|
21
21
|
Warden::Strategies.add :sso_http_auth, self
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: bsm-sso-client
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.
|
4
|
+
version: 0.6.0
|
5
5
|
prerelease:
|
6
6
|
platform: ruby
|
7
7
|
authors:
|
@@ -9,53 +9,44 @@ authors:
|
|
9
9
|
autorequire:
|
10
10
|
bindir: bin
|
11
11
|
cert_chain: []
|
12
|
-
date: 2012-01-
|
12
|
+
date: 2012-01-23 00:00:00.000000000Z
|
13
13
|
dependencies:
|
14
14
|
- !ruby/object:Gem::Dependency
|
15
15
|
name: activeresource
|
16
|
-
requirement: &
|
16
|
+
requirement: &9431320 !ruby/object:Gem::Requirement
|
17
17
|
none: false
|
18
18
|
requirements:
|
19
19
|
- - ! '>='
|
20
20
|
- !ruby/object:Gem::Version
|
21
21
|
version: 3.1.0
|
22
|
-
- - <
|
23
|
-
- !ruby/object:Gem::Version
|
24
|
-
version: 3.2.0
|
25
22
|
type: :runtime
|
26
23
|
prerelease: false
|
27
|
-
version_requirements: *
|
24
|
+
version_requirements: *9431320
|
28
25
|
- !ruby/object:Gem::Dependency
|
29
26
|
name: actionpack
|
30
|
-
requirement: &
|
27
|
+
requirement: &9430860 !ruby/object:Gem::Requirement
|
31
28
|
none: false
|
32
29
|
requirements:
|
33
30
|
- - ! '>='
|
34
31
|
- !ruby/object:Gem::Version
|
35
32
|
version: 3.1.0
|
36
|
-
- - <
|
37
|
-
- !ruby/object:Gem::Version
|
38
|
-
version: 3.2.0
|
39
33
|
type: :runtime
|
40
34
|
prerelease: false
|
41
|
-
version_requirements: *
|
35
|
+
version_requirements: *9430860
|
42
36
|
- !ruby/object:Gem::Dependency
|
43
37
|
name: railties
|
44
|
-
requirement: &
|
38
|
+
requirement: &9430400 !ruby/object:Gem::Requirement
|
45
39
|
none: false
|
46
40
|
requirements:
|
47
41
|
- - ! '>='
|
48
42
|
- !ruby/object:Gem::Version
|
49
43
|
version: 3.1.0
|
50
|
-
- - <
|
51
|
-
- !ruby/object:Gem::Version
|
52
|
-
version: 3.2.0
|
53
44
|
type: :runtime
|
54
45
|
prerelease: false
|
55
|
-
version_requirements: *
|
46
|
+
version_requirements: *9430400
|
56
47
|
- !ruby/object:Gem::Dependency
|
57
48
|
name: rails_warden
|
58
|
-
requirement: &
|
49
|
+
requirement: &9429900 !ruby/object:Gem::Requirement
|
59
50
|
none: false
|
60
51
|
requirements:
|
61
52
|
- - ~>
|
@@ -63,10 +54,10 @@ dependencies:
|
|
63
54
|
version: 0.5.0
|
64
55
|
type: :runtime
|
65
56
|
prerelease: false
|
66
|
-
version_requirements: *
|
57
|
+
version_requirements: *9429900
|
67
58
|
- !ruby/object:Gem::Dependency
|
68
59
|
name: activerecord
|
69
|
-
requirement: &
|
60
|
+
requirement: &9429520 !ruby/object:Gem::Requirement
|
70
61
|
none: false
|
71
62
|
requirements:
|
72
63
|
- - ! '>='
|
@@ -74,10 +65,10 @@ dependencies:
|
|
74
65
|
version: '0'
|
75
66
|
type: :development
|
76
67
|
prerelease: false
|
77
|
-
version_requirements: *
|
68
|
+
version_requirements: *9429520
|
78
69
|
- !ruby/object:Gem::Dependency
|
79
70
|
name: rake
|
80
|
-
requirement: &
|
71
|
+
requirement: &9429000 !ruby/object:Gem::Requirement
|
81
72
|
none: false
|
82
73
|
requirements:
|
83
74
|
- - ! '>='
|
@@ -85,10 +76,10 @@ dependencies:
|
|
85
76
|
version: '0'
|
86
77
|
type: :development
|
87
78
|
prerelease: false
|
88
|
-
version_requirements: *
|
79
|
+
version_requirements: *9429000
|
89
80
|
- !ruby/object:Gem::Dependency
|
90
81
|
name: rack-test
|
91
|
-
requirement: &
|
82
|
+
requirement: &9428520 !ruby/object:Gem::Requirement
|
92
83
|
none: false
|
93
84
|
requirements:
|
94
85
|
- - ! '>='
|
@@ -96,10 +87,10 @@ dependencies:
|
|
96
87
|
version: '0'
|
97
88
|
type: :development
|
98
89
|
prerelease: false
|
99
|
-
version_requirements: *
|
90
|
+
version_requirements: *9428520
|
100
91
|
- !ruby/object:Gem::Dependency
|
101
92
|
name: rspec
|
102
|
-
requirement: &
|
93
|
+
requirement: &9428000 !ruby/object:Gem::Requirement
|
103
94
|
none: false
|
104
95
|
requirements:
|
105
96
|
- - ! '>='
|
@@ -107,10 +98,10 @@ dependencies:
|
|
107
98
|
version: '0'
|
108
99
|
type: :development
|
109
100
|
prerelease: false
|
110
|
-
version_requirements: *
|
101
|
+
version_requirements: *9428000
|
111
102
|
- !ruby/object:Gem::Dependency
|
112
103
|
name: shoulda-matchers
|
113
|
-
requirement: &
|
104
|
+
requirement: &9427440 !ruby/object:Gem::Requirement
|
114
105
|
none: false
|
115
106
|
requirements:
|
116
107
|
- - ! '>='
|
@@ -118,10 +109,10 @@ dependencies:
|
|
118
109
|
version: '0'
|
119
110
|
type: :development
|
120
111
|
prerelease: false
|
121
|
-
version_requirements: *
|
112
|
+
version_requirements: *9427440
|
122
113
|
- !ruby/object:Gem::Dependency
|
123
114
|
name: webmock
|
124
|
-
requirement: &
|
115
|
+
requirement: &9426680 !ruby/object:Gem::Requirement
|
125
116
|
none: false
|
126
117
|
requirements:
|
127
118
|
- - ! '>='
|
@@ -129,10 +120,10 @@ dependencies:
|
|
129
120
|
version: '0'
|
130
121
|
type: :development
|
131
122
|
prerelease: false
|
132
|
-
version_requirements: *
|
123
|
+
version_requirements: *9426680
|
133
124
|
- !ruby/object:Gem::Dependency
|
134
125
|
name: sqlite3-ruby
|
135
|
-
requirement: &
|
126
|
+
requirement: &9426100 !ruby/object:Gem::Requirement
|
136
127
|
none: false
|
137
128
|
requirements:
|
138
129
|
- - ! '>='
|
@@ -140,7 +131,7 @@ dependencies:
|
|
140
131
|
version: '0'
|
141
132
|
type: :development
|
142
133
|
prerelease: false
|
143
|
-
version_requirements: *
|
134
|
+
version_requirements: *9426100
|
144
135
|
description: ''
|
145
136
|
email: dimitrij@blacksquaremedia.com
|
146
137
|
executables: []
|