rack-ssl-enforcer 0.2.2 → 0.2.3
Sign up to get free protection for your applications and to get access to all the features.
- data/README.rdoc +19 -6
- data/lib/rack/ssl-enforcer.rb +42 -24
- data/lib/rack/ssl-enforcer.rbc +3679 -0
- data/lib/rack/ssl-enforcer/version.rb +1 -1
- data/lib/rack/ssl-enforcer/version.rbc +204 -0
- metadata +54 -120
@@ -0,0 +1,204 @@
|
|
1
|
+
!RBIX
|
2
|
+
10937318184790222022
|
3
|
+
x
|
4
|
+
M
|
5
|
+
1
|
6
|
+
n
|
7
|
+
n
|
8
|
+
x
|
9
|
+
10
|
10
|
+
__script__
|
11
|
+
i
|
12
|
+
28
|
13
|
+
99
|
14
|
+
7
|
15
|
+
0
|
16
|
+
65
|
17
|
+
49
|
18
|
+
1
|
19
|
+
2
|
20
|
+
13
|
21
|
+
99
|
22
|
+
12
|
23
|
+
7
|
24
|
+
2
|
25
|
+
12
|
26
|
+
7
|
27
|
+
3
|
28
|
+
12
|
29
|
+
65
|
30
|
+
12
|
31
|
+
49
|
32
|
+
4
|
33
|
+
4
|
34
|
+
15
|
35
|
+
49
|
36
|
+
2
|
37
|
+
0
|
38
|
+
15
|
39
|
+
2
|
40
|
+
11
|
41
|
+
I
|
42
|
+
6
|
43
|
+
I
|
44
|
+
0
|
45
|
+
I
|
46
|
+
0
|
47
|
+
I
|
48
|
+
0
|
49
|
+
n
|
50
|
+
p
|
51
|
+
5
|
52
|
+
x
|
53
|
+
4
|
54
|
+
Rack
|
55
|
+
x
|
56
|
+
11
|
57
|
+
open_module
|
58
|
+
x
|
59
|
+
15
|
60
|
+
__module_init__
|
61
|
+
M
|
62
|
+
1
|
63
|
+
n
|
64
|
+
n
|
65
|
+
x
|
66
|
+
4
|
67
|
+
Rack
|
68
|
+
i
|
69
|
+
29
|
70
|
+
5
|
71
|
+
66
|
72
|
+
99
|
73
|
+
7
|
74
|
+
0
|
75
|
+
1
|
76
|
+
65
|
77
|
+
49
|
78
|
+
1
|
79
|
+
3
|
80
|
+
13
|
81
|
+
99
|
82
|
+
12
|
83
|
+
7
|
84
|
+
2
|
85
|
+
12
|
86
|
+
7
|
87
|
+
3
|
88
|
+
12
|
89
|
+
65
|
90
|
+
12
|
91
|
+
49
|
92
|
+
4
|
93
|
+
4
|
94
|
+
15
|
95
|
+
49
|
96
|
+
2
|
97
|
+
0
|
98
|
+
11
|
99
|
+
I
|
100
|
+
6
|
101
|
+
I
|
102
|
+
0
|
103
|
+
I
|
104
|
+
0
|
105
|
+
I
|
106
|
+
0
|
107
|
+
n
|
108
|
+
p
|
109
|
+
5
|
110
|
+
x
|
111
|
+
11
|
112
|
+
SslEnforcer
|
113
|
+
x
|
114
|
+
10
|
115
|
+
open_class
|
116
|
+
x
|
117
|
+
14
|
118
|
+
__class_init__
|
119
|
+
M
|
120
|
+
1
|
121
|
+
n
|
122
|
+
n
|
123
|
+
x
|
124
|
+
11
|
125
|
+
SslEnforcer
|
126
|
+
i
|
127
|
+
12
|
128
|
+
5
|
129
|
+
66
|
130
|
+
65
|
131
|
+
7
|
132
|
+
0
|
133
|
+
7
|
134
|
+
1
|
135
|
+
64
|
136
|
+
49
|
137
|
+
2
|
138
|
+
2
|
139
|
+
11
|
140
|
+
I
|
141
|
+
3
|
142
|
+
I
|
143
|
+
0
|
144
|
+
I
|
145
|
+
0
|
146
|
+
I
|
147
|
+
0
|
148
|
+
n
|
149
|
+
p
|
150
|
+
3
|
151
|
+
x
|
152
|
+
7
|
153
|
+
VERSION
|
154
|
+
s
|
155
|
+
5
|
156
|
+
0.2.2
|
157
|
+
x
|
158
|
+
9
|
159
|
+
const_set
|
160
|
+
p
|
161
|
+
3
|
162
|
+
I
|
163
|
+
2
|
164
|
+
I
|
165
|
+
3
|
166
|
+
I
|
167
|
+
c
|
168
|
+
x
|
169
|
+
93
|
170
|
+
/Users/remy/Development/Ruby/Gems/tobmatth/rack-ssl-enforcer/lib/rack/ssl-enforcer/version.rb
|
171
|
+
p
|
172
|
+
0
|
173
|
+
x
|
174
|
+
13
|
175
|
+
attach_method
|
176
|
+
p
|
177
|
+
3
|
178
|
+
I
|
179
|
+
2
|
180
|
+
I
|
181
|
+
2
|
182
|
+
I
|
183
|
+
1d
|
184
|
+
x
|
185
|
+
93
|
186
|
+
/Users/remy/Development/Ruby/Gems/tobmatth/rack-ssl-enforcer/lib/rack/ssl-enforcer/version.rb
|
187
|
+
p
|
188
|
+
0
|
189
|
+
x
|
190
|
+
13
|
191
|
+
attach_method
|
192
|
+
p
|
193
|
+
3
|
194
|
+
I
|
195
|
+
0
|
196
|
+
I
|
197
|
+
1
|
198
|
+
I
|
199
|
+
1c
|
200
|
+
x
|
201
|
+
93
|
202
|
+
/Users/remy/Development/Ruby/Gems/tobmatth/rack-ssl-enforcer/lib/rack/ssl-enforcer/version.rb
|
203
|
+
p
|
204
|
+
0
|
metadata
CHANGED
@@ -1,177 +1,111 @@
|
|
1
|
-
--- !ruby/object:Gem::Specification
|
1
|
+
--- !ruby/object:Gem::Specification
|
2
2
|
name: rack-ssl-enforcer
|
3
|
-
version: !ruby/object:Gem::Version
|
4
|
-
|
5
|
-
|
6
|
-
- 0
|
7
|
-
- 2
|
8
|
-
- 2
|
9
|
-
version: 0.2.2
|
3
|
+
version: !ruby/object:Gem::Version
|
4
|
+
version: 0.2.3
|
5
|
+
prerelease:
|
10
6
|
platform: ruby
|
11
|
-
authors:
|
7
|
+
authors:
|
12
8
|
- Tobias Matthies
|
13
9
|
- Thibaud Guillaume-Gentil
|
14
10
|
autorequire:
|
15
11
|
bindir: bin
|
16
12
|
cert_chain: []
|
17
|
-
|
18
|
-
date: 2011-03-13 00:00:00 +01:00
|
13
|
+
date: 2011-08-04 00:00:00.000000000 +02:00
|
19
14
|
default_executable:
|
20
|
-
dependencies:
|
21
|
-
- !ruby/object:Gem::Dependency
|
22
|
-
name: guard
|
23
|
-
prerelease: false
|
24
|
-
requirement: &id001 !ruby/object:Gem::Requirement
|
25
|
-
none: false
|
26
|
-
requirements:
|
27
|
-
- - ~>
|
28
|
-
- !ruby/object:Gem::Version
|
29
|
-
segments:
|
30
|
-
- 0
|
31
|
-
- 3
|
32
|
-
- 0
|
33
|
-
version: 0.3.0
|
34
|
-
type: :development
|
35
|
-
version_requirements: *id001
|
36
|
-
- !ruby/object:Gem::Dependency
|
37
|
-
name: guard-test
|
38
|
-
prerelease: false
|
39
|
-
requirement: &id002 !ruby/object:Gem::Requirement
|
40
|
-
none: false
|
41
|
-
requirements:
|
42
|
-
- - ~>
|
43
|
-
- !ruby/object:Gem::Version
|
44
|
-
segments:
|
45
|
-
- 0
|
46
|
-
- 1
|
47
|
-
- 6
|
48
|
-
version: 0.1.6
|
49
|
-
type: :development
|
50
|
-
version_requirements: *id002
|
51
|
-
- !ruby/object:Gem::Dependency
|
15
|
+
dependencies:
|
16
|
+
- !ruby/object:Gem::Dependency
|
52
17
|
name: bundler
|
53
|
-
|
54
|
-
requirement: &id003 !ruby/object:Gem::Requirement
|
18
|
+
requirement: &2158112100 !ruby/object:Gem::Requirement
|
55
19
|
none: false
|
56
|
-
requirements:
|
20
|
+
requirements:
|
57
21
|
- - ~>
|
58
|
-
- !ruby/object:Gem::Version
|
59
|
-
|
60
|
-
- 1
|
61
|
-
- 0
|
62
|
-
- 10
|
63
|
-
version: 1.0.10
|
22
|
+
- !ruby/object:Gem::Version
|
23
|
+
version: '1.0'
|
64
24
|
type: :development
|
65
|
-
version_requirements: *id003
|
66
|
-
- !ruby/object:Gem::Dependency
|
67
|
-
name: test-unit
|
68
25
|
prerelease: false
|
69
|
-
|
26
|
+
version_requirements: *2158112100
|
27
|
+
- !ruby/object:Gem::Dependency
|
28
|
+
name: test-unit
|
29
|
+
requirement: &2158111640 !ruby/object:Gem::Requirement
|
70
30
|
none: false
|
71
|
-
requirements:
|
31
|
+
requirements:
|
72
32
|
- - ~>
|
73
|
-
- !ruby/object:Gem::Version
|
74
|
-
|
75
|
-
- 2
|
76
|
-
- 1
|
77
|
-
- 1
|
78
|
-
version: 2.1.1
|
33
|
+
- !ruby/object:Gem::Version
|
34
|
+
version: '2.3'
|
79
35
|
type: :development
|
80
|
-
version_requirements: *id004
|
81
|
-
- !ruby/object:Gem::Dependency
|
82
|
-
name: shoulda
|
83
36
|
prerelease: false
|
84
|
-
|
37
|
+
version_requirements: *2158111640
|
38
|
+
- !ruby/object:Gem::Dependency
|
39
|
+
name: shoulda
|
40
|
+
requirement: &2158111180 !ruby/object:Gem::Requirement
|
85
41
|
none: false
|
86
|
-
requirements:
|
42
|
+
requirements:
|
87
43
|
- - ~>
|
88
|
-
- !ruby/object:Gem::Version
|
89
|
-
segments:
|
90
|
-
- 2
|
91
|
-
- 11
|
92
|
-
- 3
|
44
|
+
- !ruby/object:Gem::Version
|
93
45
|
version: 2.11.3
|
94
46
|
type: :development
|
95
|
-
version_requirements: *id005
|
96
|
-
- !ruby/object:Gem::Dependency
|
97
|
-
name: rack
|
98
47
|
prerelease: false
|
99
|
-
|
48
|
+
version_requirements: *2158111180
|
49
|
+
- !ruby/object:Gem::Dependency
|
50
|
+
name: rack
|
51
|
+
requirement: &2158110720 !ruby/object:Gem::Requirement
|
100
52
|
none: false
|
101
|
-
requirements:
|
53
|
+
requirements:
|
102
54
|
- - ~>
|
103
|
-
- !ruby/object:Gem::Version
|
104
|
-
segments:
|
105
|
-
- 1
|
106
|
-
- 2
|
107
|
-
- 0
|
55
|
+
- !ruby/object:Gem::Version
|
108
56
|
version: 1.2.0
|
109
57
|
type: :development
|
110
|
-
version_requirements: *id006
|
111
|
-
- !ruby/object:Gem::Dependency
|
112
|
-
name: rack-test
|
113
58
|
prerelease: false
|
114
|
-
|
59
|
+
version_requirements: *2158110720
|
60
|
+
- !ruby/object:Gem::Dependency
|
61
|
+
name: rack-test
|
62
|
+
requirement: &2158110260 !ruby/object:Gem::Requirement
|
115
63
|
none: false
|
116
|
-
requirements:
|
64
|
+
requirements:
|
117
65
|
- - ~>
|
118
|
-
- !ruby/object:Gem::Version
|
119
|
-
segments:
|
120
|
-
- 0
|
121
|
-
- 5
|
122
|
-
- 4
|
66
|
+
- !ruby/object:Gem::Version
|
123
67
|
version: 0.5.4
|
124
68
|
type: :development
|
125
|
-
|
69
|
+
prerelease: false
|
70
|
+
version_requirements: *2158110260
|
126
71
|
description: Rack::SslEnforcer is a simple Rack middleware to enforce ssl connections
|
127
|
-
email:
|
72
|
+
email:
|
128
73
|
- tm@mit2m.de
|
129
74
|
- thibaud@thibaud.me
|
130
75
|
executables: []
|
131
|
-
|
132
76
|
extensions: []
|
133
|
-
|
134
77
|
extra_rdoc_files: []
|
135
|
-
|
136
|
-
files:
|
78
|
+
files:
|
137
79
|
- lib/rack/ssl-enforcer/version.rb
|
80
|
+
- lib/rack/ssl-enforcer/version.rbc
|
138
81
|
- lib/rack/ssl-enforcer.rb
|
82
|
+
- lib/rack/ssl-enforcer.rbc
|
139
83
|
- lib/rack-ssl-enforcer.rb
|
140
84
|
- LICENSE
|
141
85
|
- README.rdoc
|
142
86
|
has_rdoc: true
|
143
87
|
homepage: http://github.com/tobmatth/rack-ssl-enforcer
|
144
88
|
licenses: []
|
145
|
-
|
146
89
|
post_install_message:
|
147
90
|
rdoc_options: []
|
148
|
-
|
149
|
-
require_paths:
|
91
|
+
require_paths:
|
150
92
|
- lib
|
151
|
-
required_ruby_version: !ruby/object:Gem::Requirement
|
93
|
+
required_ruby_version: !ruby/object:Gem::Requirement
|
152
94
|
none: false
|
153
|
-
requirements:
|
154
|
-
- -
|
155
|
-
- !ruby/object:Gem::Version
|
156
|
-
|
157
|
-
|
158
|
-
version: "0"
|
159
|
-
required_rubygems_version: !ruby/object:Gem::Requirement
|
95
|
+
requirements:
|
96
|
+
- - ! '>='
|
97
|
+
- !ruby/object:Gem::Version
|
98
|
+
version: '0'
|
99
|
+
required_rubygems_version: !ruby/object:Gem::Requirement
|
160
100
|
none: false
|
161
|
-
requirements:
|
162
|
-
- -
|
163
|
-
- !ruby/object:Gem::Version
|
164
|
-
segments:
|
165
|
-
- 1
|
166
|
-
- 3
|
167
|
-
- 6
|
101
|
+
requirements:
|
102
|
+
- - ! '>='
|
103
|
+
- !ruby/object:Gem::Version
|
168
104
|
version: 1.3.6
|
169
105
|
requirements: []
|
170
|
-
|
171
106
|
rubyforge_project: rack-ssl-enforcer
|
172
|
-
rubygems_version: 1.
|
107
|
+
rubygems_version: 1.6.2
|
173
108
|
signing_key:
|
174
109
|
specification_version: 3
|
175
110
|
summary: A simple Rack middleware to enforce SSL
|
176
111
|
test_files: []
|
177
|
-
|