gin 1.1.2 → 1.2.0
Sign up to get free protection for your applications and to get access to all the features.
- data/History.rdoc +22 -1
- data/Manifest.txt +7 -0
- data/TODO.rdoc +45 -0
- data/bin/gin +105 -35
- data/lib/gin.rb +7 -1
- data/lib/gin/app.rb +328 -59
- data/lib/gin/asset_manifest.rb +178 -0
- data/lib/gin/asset_pipeline.rb +235 -0
- data/lib/gin/cache.rb +36 -0
- data/lib/gin/config.rb +3 -1
- data/lib/gin/constants.rb +6 -1
- data/lib/gin/controller.rb +180 -17
- data/lib/gin/core_ext/float.rb +10 -0
- data/lib/gin/core_ext/time.rb +41 -0
- data/lib/gin/filterable.rb +5 -5
- data/lib/gin/mountable.rb +100 -0
- data/lib/gin/request.rb +4 -12
- data/lib/gin/response.rb +4 -2
- data/lib/gin/router.rb +110 -37
- data/lib/gin/strict_hash.rb +33 -0
- data/lib/gin/test.rb +8 -4
- data/lib/gin/worker.rb +49 -0
- data/test/mock_app.rb +7 -7
- data/test/test_app.rb +266 -17
- data/test/test_cache.rb +73 -5
- data/test/test_config.rb +4 -4
- data/test/test_controller.rb +158 -32
- data/test/test_filterable.rb +16 -1
- data/test/test_gin.rb +7 -6
- data/test/test_request.rb +6 -1
- data/test/test_response.rb +1 -1
- data/test/test_router.rb +156 -34
- data/test/test_test.rb +51 -45
- metadata +42 -14
- checksums.yaml +0 -7
metadata
CHANGED
@@ -1,18 +1,20 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: gin
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.
|
4
|
+
version: 1.2.0
|
5
|
+
prerelease:
|
5
6
|
platform: ruby
|
6
7
|
authors:
|
7
8
|
- Jeremie Castagna
|
8
9
|
autorequire:
|
9
10
|
bindir: bin
|
10
11
|
cert_chain: []
|
11
|
-
date: 2013-
|
12
|
+
date: 2013-11-19 00:00:00.000000000 Z
|
12
13
|
dependencies:
|
13
14
|
- !ruby/object:Gem::Dependency
|
14
15
|
name: rack
|
15
16
|
requirement: !ruby/object:Gem::Requirement
|
17
|
+
none: false
|
16
18
|
requirements:
|
17
19
|
- - ~>
|
18
20
|
- !ruby/object:Gem::Version
|
@@ -20,6 +22,7 @@ dependencies:
|
|
20
22
|
type: :runtime
|
21
23
|
prerelease: false
|
22
24
|
version_requirements: !ruby/object:Gem::Requirement
|
25
|
+
none: false
|
23
26
|
requirements:
|
24
27
|
- - ~>
|
25
28
|
- !ruby/object:Gem::Version
|
@@ -27,6 +30,7 @@ dependencies:
|
|
27
30
|
- !ruby/object:Gem::Dependency
|
28
31
|
name: rack-protection
|
29
32
|
requirement: !ruby/object:Gem::Requirement
|
33
|
+
none: false
|
30
34
|
requirements:
|
31
35
|
- - ~>
|
32
36
|
- !ruby/object:Gem::Version
|
@@ -34,6 +38,7 @@ dependencies:
|
|
34
38
|
type: :runtime
|
35
39
|
prerelease: false
|
36
40
|
version_requirements: !ruby/object:Gem::Requirement
|
41
|
+
none: false
|
37
42
|
requirements:
|
38
43
|
- - ~>
|
39
44
|
- !ruby/object:Gem::Version
|
@@ -41,6 +46,7 @@ dependencies:
|
|
41
46
|
- !ruby/object:Gem::Dependency
|
42
47
|
name: tilt
|
43
48
|
requirement: !ruby/object:Gem::Requirement
|
49
|
+
none: false
|
44
50
|
requirements:
|
45
51
|
- - ~>
|
46
52
|
- !ruby/object:Gem::Version
|
@@ -48,6 +54,7 @@ dependencies:
|
|
48
54
|
type: :runtime
|
49
55
|
prerelease: false
|
50
56
|
version_requirements: !ruby/object:Gem::Requirement
|
57
|
+
none: false
|
51
58
|
requirements:
|
52
59
|
- - ~>
|
53
60
|
- !ruby/object:Gem::Version
|
@@ -55,20 +62,23 @@ dependencies:
|
|
55
62
|
- !ruby/object:Gem::Dependency
|
56
63
|
name: rdoc
|
57
64
|
requirement: !ruby/object:Gem::Requirement
|
65
|
+
none: false
|
58
66
|
requirements:
|
59
67
|
- - ~>
|
60
68
|
- !ruby/object:Gem::Version
|
61
|
-
version: '
|
69
|
+
version: '3.10'
|
62
70
|
type: :development
|
63
71
|
prerelease: false
|
64
72
|
version_requirements: !ruby/object:Gem::Requirement
|
73
|
+
none: false
|
65
74
|
requirements:
|
66
75
|
- - ~>
|
67
76
|
- !ruby/object:Gem::Version
|
68
|
-
version: '
|
77
|
+
version: '3.10'
|
69
78
|
- !ruby/object:Gem::Dependency
|
70
79
|
name: nokogiri
|
71
80
|
requirement: !ruby/object:Gem::Requirement
|
81
|
+
none: false
|
72
82
|
requirements:
|
73
83
|
- - ~>
|
74
84
|
- !ruby/object:Gem::Version
|
@@ -76,6 +86,7 @@ dependencies:
|
|
76
86
|
type: :development
|
77
87
|
prerelease: false
|
78
88
|
version_requirements: !ruby/object:Gem::Requirement
|
89
|
+
none: false
|
79
90
|
requirements:
|
80
91
|
- - ~>
|
81
92
|
- !ruby/object:Gem::Version
|
@@ -83,6 +94,7 @@ dependencies:
|
|
83
94
|
- !ruby/object:Gem::Dependency
|
84
95
|
name: plist
|
85
96
|
requirement: !ruby/object:Gem::Requirement
|
97
|
+
none: false
|
86
98
|
requirements:
|
87
99
|
- - ~>
|
88
100
|
- !ruby/object:Gem::Version
|
@@ -90,6 +102,7 @@ dependencies:
|
|
90
102
|
type: :development
|
91
103
|
prerelease: false
|
92
104
|
version_requirements: !ruby/object:Gem::Requirement
|
105
|
+
none: false
|
93
106
|
requirements:
|
94
107
|
- - ~>
|
95
108
|
- !ruby/object:Gem::Version
|
@@ -97,6 +110,7 @@ dependencies:
|
|
97
110
|
- !ruby/object:Gem::Dependency
|
98
111
|
name: bson
|
99
112
|
requirement: !ruby/object:Gem::Requirement
|
113
|
+
none: false
|
100
114
|
requirements:
|
101
115
|
- - ~>
|
102
116
|
- !ruby/object:Gem::Version
|
@@ -104,6 +118,7 @@ dependencies:
|
|
104
118
|
type: :development
|
105
119
|
prerelease: false
|
106
120
|
version_requirements: !ruby/object:Gem::Requirement
|
121
|
+
none: false
|
107
122
|
requirements:
|
108
123
|
- - ~>
|
109
124
|
- !ruby/object:Gem::Version
|
@@ -111,20 +126,22 @@ dependencies:
|
|
111
126
|
- !ruby/object:Gem::Dependency
|
112
127
|
name: hoe
|
113
128
|
requirement: !ruby/object:Gem::Requirement
|
129
|
+
none: false
|
114
130
|
requirements:
|
115
131
|
- - ~>
|
116
132
|
- !ruby/object:Gem::Version
|
117
|
-
version: '3.
|
133
|
+
version: '3.5'
|
118
134
|
type: :development
|
119
135
|
prerelease: false
|
120
136
|
version_requirements: !ruby/object:Gem::Requirement
|
137
|
+
none: false
|
121
138
|
requirements:
|
122
139
|
- - ~>
|
123
140
|
- !ruby/object:Gem::Version
|
124
|
-
version: '3.
|
125
|
-
description:
|
126
|
-
|
127
|
-
Sinatra expressiveness, and targets larger applications.
|
141
|
+
version: '3.5'
|
142
|
+
description: ! 'Gin is a small Ruby web framework, built on Rack, which borrows from
|
143
|
+
|
144
|
+
Sinatra expressiveness, and targets larger applications.'
|
128
145
|
email:
|
129
146
|
- yaksnrainbows@gmail.com
|
130
147
|
executables:
|
@@ -143,22 +160,29 @@ files:
|
|
143
160
|
- bin/gin
|
144
161
|
- lib/gin.rb
|
145
162
|
- lib/gin/app.rb
|
163
|
+
- lib/gin/asset_manifest.rb
|
164
|
+
- lib/gin/asset_pipeline.rb
|
146
165
|
- lib/gin/cache.rb
|
147
166
|
- lib/gin/config.rb
|
148
167
|
- lib/gin/constants.rb
|
149
168
|
- lib/gin/controller.rb
|
150
169
|
- lib/gin/core_ext/cgi.rb
|
170
|
+
- lib/gin/core_ext/float.rb
|
151
171
|
- lib/gin/core_ext/gin_class.rb
|
152
172
|
- lib/gin/core_ext/rack_commonlogger.rb
|
173
|
+
- lib/gin/core_ext/time.rb
|
153
174
|
- lib/gin/errorable.rb
|
154
175
|
- lib/gin/filterable.rb
|
176
|
+
- lib/gin/mountable.rb
|
155
177
|
- lib/gin/reloadable.rb
|
156
178
|
- lib/gin/request.rb
|
157
179
|
- lib/gin/response.rb
|
158
180
|
- lib/gin/router.rb
|
159
181
|
- lib/gin/rw_lock.rb
|
160
182
|
- lib/gin/stream.rb
|
183
|
+
- lib/gin/strict_hash.rb
|
161
184
|
- lib/gin/test.rb
|
185
|
+
- lib/gin/worker.rb
|
162
186
|
- public/400.html
|
163
187
|
- public/404.html
|
164
188
|
- public/500.html
|
@@ -194,7 +218,6 @@ files:
|
|
194
218
|
- .gemtest
|
195
219
|
homepage: http://yaks.me/gin
|
196
220
|
licenses: []
|
197
|
-
metadata: {}
|
198
221
|
post_install_message:
|
199
222
|
rdoc_options:
|
200
223
|
- --main
|
@@ -202,20 +225,25 @@ rdoc_options:
|
|
202
225
|
require_paths:
|
203
226
|
- lib
|
204
227
|
required_ruby_version: !ruby/object:Gem::Requirement
|
228
|
+
none: false
|
205
229
|
requirements:
|
206
|
-
- - '>='
|
230
|
+
- - ! '>='
|
207
231
|
- !ruby/object:Gem::Version
|
208
232
|
version: '0'
|
233
|
+
segments:
|
234
|
+
- 0
|
235
|
+
hash: -366786020832610929
|
209
236
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
237
|
+
none: false
|
210
238
|
requirements:
|
211
|
-
- - '>='
|
239
|
+
- - ! '>='
|
212
240
|
- !ruby/object:Gem::Version
|
213
241
|
version: '0'
|
214
242
|
requirements: []
|
215
243
|
rubyforge_project: gin
|
216
|
-
rubygems_version:
|
244
|
+
rubygems_version: 1.8.24
|
217
245
|
signing_key:
|
218
|
-
specification_version:
|
246
|
+
specification_version: 3
|
219
247
|
summary: Gin is a small Ruby web framework, built on Rack, which borrows from Sinatra
|
220
248
|
expressiveness, and targets larger applications.
|
221
249
|
test_files:
|
checksums.yaml
DELETED
@@ -1,7 +0,0 @@
|
|
1
|
-
---
|
2
|
-
SHA1:
|
3
|
-
metadata.gz: e20fe42824dc7458a51fe9ea96b09f99c679529a
|
4
|
-
data.tar.gz: f44971595636a3b44b0a5d0c8c53b29b85b10506
|
5
|
-
SHA512:
|
6
|
-
metadata.gz: bf9d2e7fd479e59041b0ff4da58526b5e6e9ea95d9b2ab93eb2a824f99a2bcf87894d030d8e2fc382e21961bf2b154309793ced6afca92881d209a5c672423b6
|
7
|
-
data.tar.gz: 6ce807b68799d40b56c41c3ca4fa4681e6271dcca623e3fbf22b47533492cd82def91f95139b6ed2cc93e9442f4e1ec94b854884be1e35668fbbb4d9d1a11dca
|