rack-oauth2 0.9.3 → 0.9.4
Sign up to get free protection for your applications and to get access to all the features.
- data/VERSION +1 -1
- data/lib/rack/oauth2/debugger/request_filter.rb +2 -2
- metadata +2 -58
data/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
0.9.
|
1
|
+
0.9.4
|
@@ -6,7 +6,7 @@ module Rack
|
|
6
6
|
# request:: HTTP::Message
|
7
7
|
def filter_request(request)
|
8
8
|
started = "======= [Rack::OAuth2] HTTP REQUEST STARTED ======="
|
9
|
-
|
9
|
+
OAuth2.logger.info [started, request.dump].join("\n")
|
10
10
|
end
|
11
11
|
|
12
12
|
# Callback called in HTTPClient (after received a response)
|
@@ -14,7 +14,7 @@ module Rack
|
|
14
14
|
# response:: HTTP::Message
|
15
15
|
def filter_response(request, response)
|
16
16
|
finished = "======= [Rack::OAuth2] HTTP REQUEST FINISHED ======="
|
17
|
-
|
17
|
+
OAuth2.logger.info ['-' * 50, response.dump, finished].join("\n")
|
18
18
|
end
|
19
19
|
end
|
20
20
|
end
|
metadata
CHANGED
@@ -1,13 +1,8 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: rack-oauth2
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
hash: 61
|
5
4
|
prerelease:
|
6
|
-
|
7
|
-
- 0
|
8
|
-
- 9
|
9
|
-
- 3
|
10
|
-
version: 0.9.3
|
5
|
+
version: 0.9.4
|
11
6
|
platform: ruby
|
12
7
|
authors:
|
13
8
|
- nov matake
|
@@ -25,10 +20,6 @@ dependencies:
|
|
25
20
|
requirements:
|
26
21
|
- - ">="
|
27
22
|
- !ruby/object:Gem::Version
|
28
|
-
hash: 13
|
29
|
-
segments:
|
30
|
-
- 1
|
31
|
-
- 1
|
32
23
|
version: "1.1"
|
33
24
|
type: :runtime
|
34
25
|
version_requirements: *id001
|
@@ -40,11 +31,6 @@ dependencies:
|
|
40
31
|
requirements:
|
41
32
|
- - ">="
|
42
33
|
- !ruby/object:Gem::Version
|
43
|
-
hash: 1
|
44
|
-
segments:
|
45
|
-
- 1
|
46
|
-
- 4
|
47
|
-
- 3
|
48
34
|
version: 1.4.3
|
49
35
|
type: :runtime
|
50
36
|
version_requirements: *id002
|
@@ -56,12 +42,6 @@ dependencies:
|
|
56
42
|
requirements:
|
57
43
|
- - ">="
|
58
44
|
- !ruby/object:Gem::Version
|
59
|
-
hash: 123
|
60
|
-
segments:
|
61
|
-
- 2
|
62
|
-
- 2
|
63
|
-
- 0
|
64
|
-
- 2
|
65
45
|
version: 2.2.0.2
|
66
46
|
type: :runtime
|
67
47
|
version_requirements: *id003
|
@@ -73,10 +53,6 @@ dependencies:
|
|
73
53
|
requirements:
|
74
54
|
- - ">="
|
75
55
|
- !ruby/object:Gem::Version
|
76
|
-
hash: 5
|
77
|
-
segments:
|
78
|
-
- 2
|
79
|
-
- 3
|
80
56
|
version: "2.3"
|
81
57
|
type: :runtime
|
82
58
|
version_requirements: *id004
|
@@ -88,9 +64,6 @@ dependencies:
|
|
88
64
|
requirements:
|
89
65
|
- - ">="
|
90
66
|
- !ruby/object:Gem::Version
|
91
|
-
hash: 3
|
92
|
-
segments:
|
93
|
-
- 0
|
94
67
|
version: "0"
|
95
68
|
type: :runtime
|
96
69
|
version_requirements: *id005
|
@@ -102,11 +75,6 @@ dependencies:
|
|
102
75
|
requirements:
|
103
76
|
- - ">="
|
104
77
|
- !ruby/object:Gem::Version
|
105
|
-
hash: 25
|
106
|
-
segments:
|
107
|
-
- 0
|
108
|
-
- 0
|
109
|
-
- 3
|
110
78
|
version: 0.0.3
|
111
79
|
type: :runtime
|
112
80
|
version_requirements: *id006
|
@@ -118,10 +86,6 @@ dependencies:
|
|
118
86
|
requirements:
|
119
87
|
- - ">="
|
120
88
|
- !ruby/object:Gem::Version
|
121
|
-
hash: 27
|
122
|
-
segments:
|
123
|
-
- 0
|
124
|
-
- 8
|
125
89
|
version: "0.8"
|
126
90
|
type: :development
|
127
91
|
version_requirements: *id007
|
@@ -133,10 +97,6 @@ dependencies:
|
|
133
97
|
requirements:
|
134
98
|
- - ">="
|
135
99
|
- !ruby/object:Gem::Version
|
136
|
-
hash: 25
|
137
|
-
segments:
|
138
|
-
- 0
|
139
|
-
- 9
|
140
100
|
version: "0.9"
|
141
101
|
type: :development
|
142
102
|
version_requirements: *id008
|
@@ -148,9 +108,6 @@ dependencies:
|
|
148
108
|
requirements:
|
149
109
|
- - ">="
|
150
110
|
- !ruby/object:Gem::Version
|
151
|
-
hash: 7
|
152
|
-
segments:
|
153
|
-
- 2
|
154
111
|
version: "2"
|
155
112
|
type: :development
|
156
113
|
version_requirements: *id009
|
@@ -162,11 +119,6 @@ dependencies:
|
|
162
119
|
requirements:
|
163
120
|
- - ">="
|
164
121
|
- !ruby/object:Gem::Version
|
165
|
-
hash: 11
|
166
|
-
segments:
|
167
|
-
- 1
|
168
|
-
- 6
|
169
|
-
- 2
|
170
122
|
version: 1.6.2
|
171
123
|
type: :development
|
172
124
|
version_requirements: *id010
|
@@ -292,25 +244,17 @@ required_ruby_version: !ruby/object:Gem::Requirement
|
|
292
244
|
requirements:
|
293
245
|
- - ">="
|
294
246
|
- !ruby/object:Gem::Version
|
295
|
-
hash: 3
|
296
|
-
segments:
|
297
|
-
- 0
|
298
247
|
version: "0"
|
299
248
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
300
249
|
none: false
|
301
250
|
requirements:
|
302
251
|
- - ">="
|
303
252
|
- !ruby/object:Gem::Version
|
304
|
-
hash: 23
|
305
|
-
segments:
|
306
|
-
- 1
|
307
|
-
- 3
|
308
|
-
- 6
|
309
253
|
version: 1.3.6
|
310
254
|
requirements: []
|
311
255
|
|
312
256
|
rubyforge_project:
|
313
|
-
rubygems_version: 1.8.
|
257
|
+
rubygems_version: 1.8.10
|
314
258
|
signing_key:
|
315
259
|
specification_version: 3
|
316
260
|
summary: OAuth 2.0 Server & Client Library - Both Bearer and MAC token type are supported
|