sinatra-contrib 1.4.1 → 1.4.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +6 -14
- data/lib/sinatra/contrib/version.rb +1 -1
- data/lib/sinatra/reloader.rb +14 -0
- data/sinatra-contrib.gemspec +26 -22
- metadata +43 -41
checksums.yaml
CHANGED
@@ -1,15 +1,7 @@
|
|
1
1
|
---
|
2
|
-
|
3
|
-
metadata.gz:
|
4
|
-
|
5
|
-
|
6
|
-
|
7
|
-
|
8
|
-
metadata.gz: !binary |-
|
9
|
-
MDM5ZTk2MmE0ZWZkZWFkMzc1N2IwMjRlNzlmZThlMWIwYTllNmU3MDMzY2I3
|
10
|
-
YTkzNWJjMmI5NzU0MTg1NzhlOGIxMjk0MzAzOGNlZmM5N2FmOTJlZDA0Mzgw
|
11
|
-
MGVmOWQ4M2QwMzYzMWM4OTM3NGQyZmQzM2U0ZDZjNmYwODFlNDk=
|
12
|
-
data.tar.gz: !binary |-
|
13
|
-
MGQ3YzllNGE0M2I5MDc5ZWVlM2JjODU0NWE4MjEyOWJlNDJmNjIyNmY4Y2Y1
|
14
|
-
ODgyOGZjMTk0MmNmOWRkZWM5ZDNhNjNiMWY5ZTNjYTlkZGY0YTg4NWUyOGJk
|
15
|
-
N2MwOGNiNjQ2MDFjNWY3MWQ0MWExZDk2Y2U3ZTM1MmVkM2MyZTA=
|
2
|
+
SHA1:
|
3
|
+
metadata.gz: f89a241902ac4cbe6b66947850f41b59c8ec4df0
|
4
|
+
data.tar.gz: f3eabb61ed63b18eba33dc07fc3dc88681bb91da
|
5
|
+
SHA512:
|
6
|
+
metadata.gz: 6918bd27ea9e20c5dc3841b623e862aa4894cc42baea4b9497f416ccd99d844d557c23451794168345f7759b3d074d794bd87b2a5e4827e1a720508474c9f660
|
7
|
+
data.tar.gz: 426d596d464fc3865916a65de23ca3effeab6a14da81f0bd11e84fd8d16aeb3a2f0becebb2971551bd561326fbec6864673898f647b5efce9da6bea63e67f84a
|
data/lib/sinatra/reloader.rb
CHANGED
@@ -37,6 +37,20 @@ module Sinatra
|
|
37
37
|
# # Your modular application code goes here...
|
38
38
|
# end
|
39
39
|
#
|
40
|
+
# == Using the Reloader in Other Environments
|
41
|
+
#
|
42
|
+
# By default, the reloader is only enabled for the development
|
43
|
+
# environment. Similar to registering the reloader in a modular
|
44
|
+
# application, a classic application requires manually enabling the
|
45
|
+
# extension for it to be available in a non-development environment.
|
46
|
+
#
|
47
|
+
# require "sinatra"
|
48
|
+
# require "sinatra/reloader"
|
49
|
+
#
|
50
|
+
# configure :production do
|
51
|
+
# enable :reloader
|
52
|
+
# end
|
53
|
+
#
|
40
54
|
# == Changing the Reloading Policy
|
41
55
|
#
|
42
56
|
# You can refine the reloading policy with +also_reload+ and
|
data/sinatra-contrib.gemspec
CHANGED
@@ -1,3 +1,5 @@
|
|
1
|
+
# -*- encoding: utf-8 -*-
|
2
|
+
|
1
3
|
# Run `rake sinatra-contrib.gemspec` to update the gemspec.
|
2
4
|
require File.expand_path('../lib/sinatra/contrib/version', __FILE__)
|
3
5
|
Gem::Specification.new do |s|
|
@@ -15,23 +17,15 @@ Gem::Specification.new do |s|
|
|
15
17
|
"Zachary Scott",
|
16
18
|
"Katrina Owen",
|
17
19
|
"Nicolas Sanguinetti",
|
20
|
+
"Hrvoje Šimić",
|
18
21
|
"Masahiro Fujiwara",
|
19
22
|
"Rafael Magana",
|
20
|
-
"Hrvoje Šimić",
|
21
23
|
"Jack Chu",
|
22
|
-
"Sumeet Singh",
|
23
24
|
"Ilya Shindyapin",
|
24
|
-
"lest",
|
25
25
|
"Kashyap",
|
26
|
-
"
|
27
|
-
"
|
28
|
-
"Reed Lipman",
|
29
|
-
"Samy Dindane",
|
30
|
-
"Thibaut Sacreste",
|
31
|
-
"Uchio KONDO",
|
32
|
-
"Will Bailey",
|
26
|
+
"Sumeet Singh",
|
27
|
+
"lest",
|
33
28
|
"Adrian Pacała",
|
34
|
-
"undr",
|
35
29
|
"Aish",
|
36
30
|
"Andrew Crump",
|
37
31
|
"David Asabina",
|
@@ -42,9 +36,18 @@ Gem::Specification.new do |s|
|
|
42
36
|
"Jamie Hodge",
|
43
37
|
"Kyle Lacy",
|
44
38
|
"Martin Frost",
|
39
|
+
"Mathieu Allaire",
|
45
40
|
"Matt Lyon",
|
46
41
|
"Matthew Conway",
|
47
|
-
"Meck"
|
42
|
+
"Meck",
|
43
|
+
"Michi Huber",
|
44
|
+
"Patricio Mac Adden",
|
45
|
+
"Reed Lipman",
|
46
|
+
"Samy Dindane",
|
47
|
+
"Thibaut Sacreste",
|
48
|
+
"Uchio KONDO",
|
49
|
+
"Will Bailey",
|
50
|
+
"undr"
|
48
51
|
]
|
49
52
|
|
50
53
|
# generated from git shortlog -sne
|
@@ -55,23 +58,17 @@ Gem::Specification.new do |s|
|
|
55
58
|
"zachary@zacharyscott.net",
|
56
59
|
"katrina.owen@gmail.com",
|
57
60
|
"contacto@nicolassanguinetti.info",
|
61
|
+
"shime.ferovac@gmail.com",
|
58
62
|
"m-fujiwara@axsh.net",
|
59
63
|
"raf.magana@gmail.com",
|
60
|
-
"shime.ferovac@gmail.com",
|
61
|
-
"konstantin.haase@gmail.com",
|
62
64
|
"jack@jackchu.com",
|
65
|
+
"konstantin.haase@gmail.com",
|
63
66
|
"ilya@shindyapin.com",
|
64
|
-
"ortuna@gmail.com",
|
65
67
|
"kashyap.kmbc@gmail.com",
|
68
|
+
"ortuna@gmail.com",
|
66
69
|
"e@zzak.io",
|
67
70
|
"just.lest@gmail.com",
|
68
|
-
"rmlipman@gmail.com",
|
69
|
-
"samy@dindane.com",
|
70
|
-
"thibaut.sacreste@gmail.com",
|
71
|
-
"udzura@udzura.jp",
|
72
|
-
"will.bailey@gmail.com",
|
73
71
|
"altpacala@gmail.com",
|
74
|
-
"undr@yandex.ru",
|
75
72
|
"aisha.fenton@visfleet.com",
|
76
73
|
"andrew.crump@ieee.org",
|
77
74
|
"david@supr.nu",
|
@@ -82,11 +79,18 @@ Gem::Specification.new do |s|
|
|
82
79
|
"jamiehodge@me.com",
|
83
80
|
"kylewlacy@me.com",
|
84
81
|
"blame@kth.se",
|
82
|
+
"mathieuallaire@gmail.com",
|
85
83
|
"matt@flowerpowered.com",
|
86
84
|
"himself@mattonrails.com",
|
87
85
|
"yesmeck@gmail.com",
|
88
86
|
"michi.huber@gmail.com",
|
89
|
-
"patriciomacadden@gmail.com"
|
87
|
+
"patriciomacadden@gmail.com",
|
88
|
+
"rmlipman@gmail.com",
|
89
|
+
"samy@dindane.com",
|
90
|
+
"thibaut.sacreste@gmail.com",
|
91
|
+
"udzura@udzura.jp",
|
92
|
+
"will.bailey@gmail.com",
|
93
|
+
"undr@yandex.ru"
|
90
94
|
]
|
91
95
|
|
92
96
|
# generated from git ls-files
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: sinatra-contrib
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.4.
|
4
|
+
version: 1.4.2
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Konstantin Haase
|
@@ -10,23 +10,15 @@ authors:
|
|
10
10
|
- Zachary Scott
|
11
11
|
- Katrina Owen
|
12
12
|
- Nicolas Sanguinetti
|
13
|
+
- Hrvoje Šimić
|
13
14
|
- Masahiro Fujiwara
|
14
15
|
- Rafael Magana
|
15
|
-
- Hrvoje Šimić
|
16
16
|
- Jack Chu
|
17
|
-
- Sumeet Singh
|
18
17
|
- Ilya Shindyapin
|
19
|
-
- lest
|
20
18
|
- Kashyap
|
21
|
-
-
|
22
|
-
-
|
23
|
-
- Reed Lipman
|
24
|
-
- Samy Dindane
|
25
|
-
- Thibaut Sacreste
|
26
|
-
- Uchio KONDO
|
27
|
-
- Will Bailey
|
19
|
+
- Sumeet Singh
|
20
|
+
- lest
|
28
21
|
- Adrian Pacała
|
29
|
-
- undr
|
30
22
|
- Aish
|
31
23
|
- Andrew Crump
|
32
24
|
- David Asabina
|
@@ -37,13 +29,22 @@ authors:
|
|
37
29
|
- Jamie Hodge
|
38
30
|
- Kyle Lacy
|
39
31
|
- Martin Frost
|
32
|
+
- Mathieu Allaire
|
40
33
|
- Matt Lyon
|
41
34
|
- Matthew Conway
|
42
35
|
- Meck
|
36
|
+
- Michi Huber
|
37
|
+
- Patricio Mac Adden
|
38
|
+
- Reed Lipman
|
39
|
+
- Samy Dindane
|
40
|
+
- Thibaut Sacreste
|
41
|
+
- Uchio KONDO
|
42
|
+
- Will Bailey
|
43
|
+
- undr
|
43
44
|
autorequire:
|
44
45
|
bindir: bin
|
45
46
|
cert_chain: []
|
46
|
-
date: 2013-
|
47
|
+
date: 2013-12-01 00:00:00.000000000 Z
|
47
48
|
dependencies:
|
48
49
|
- !ruby/object:Gem::Dependency
|
49
50
|
name: sinatra
|
@@ -63,14 +64,14 @@ dependencies:
|
|
63
64
|
name: backports
|
64
65
|
requirement: !ruby/object:Gem::Requirement
|
65
66
|
requirements:
|
66
|
-
- -
|
67
|
+
- - '>='
|
67
68
|
- !ruby/object:Gem::Version
|
68
69
|
version: '2.0'
|
69
70
|
type: :runtime
|
70
71
|
prerelease: false
|
71
72
|
version_requirements: !ruby/object:Gem::Requirement
|
72
73
|
requirements:
|
73
|
-
- -
|
74
|
+
- - '>='
|
74
75
|
- !ruby/object:Gem::Version
|
75
76
|
version: '2.0'
|
76
77
|
- !ruby/object:Gem::Dependency
|
@@ -91,42 +92,42 @@ dependencies:
|
|
91
92
|
name: rack-test
|
92
93
|
requirement: !ruby/object:Gem::Requirement
|
93
94
|
requirements:
|
94
|
-
- -
|
95
|
+
- - '>='
|
95
96
|
- !ruby/object:Gem::Version
|
96
97
|
version: '0'
|
97
98
|
type: :runtime
|
98
99
|
prerelease: false
|
99
100
|
version_requirements: !ruby/object:Gem::Requirement
|
100
101
|
requirements:
|
101
|
-
- -
|
102
|
+
- - '>='
|
102
103
|
- !ruby/object:Gem::Version
|
103
104
|
version: '0'
|
104
105
|
- !ruby/object:Gem::Dependency
|
105
106
|
name: rack-protection
|
106
107
|
requirement: !ruby/object:Gem::Requirement
|
107
108
|
requirements:
|
108
|
-
- -
|
109
|
+
- - '>='
|
109
110
|
- !ruby/object:Gem::Version
|
110
111
|
version: '0'
|
111
112
|
type: :runtime
|
112
113
|
prerelease: false
|
113
114
|
version_requirements: !ruby/object:Gem::Requirement
|
114
115
|
requirements:
|
115
|
-
- -
|
116
|
+
- - '>='
|
116
117
|
- !ruby/object:Gem::Version
|
117
118
|
version: '0'
|
118
119
|
- !ruby/object:Gem::Dependency
|
119
120
|
name: multi_json
|
120
121
|
requirement: !ruby/object:Gem::Requirement
|
121
122
|
requirements:
|
122
|
-
- -
|
123
|
+
- - '>='
|
123
124
|
- !ruby/object:Gem::Version
|
124
125
|
version: '0'
|
125
126
|
type: :runtime
|
126
127
|
prerelease: false
|
127
128
|
version_requirements: !ruby/object:Gem::Requirement
|
128
129
|
requirements:
|
129
|
-
- -
|
130
|
+
- - '>='
|
130
131
|
- !ruby/object:Gem::Version
|
131
132
|
version: '0'
|
132
133
|
- !ruby/object:Gem::Dependency
|
@@ -147,56 +148,56 @@ dependencies:
|
|
147
148
|
name: haml
|
148
149
|
requirement: !ruby/object:Gem::Requirement
|
149
150
|
requirements:
|
150
|
-
- -
|
151
|
+
- - '>='
|
151
152
|
- !ruby/object:Gem::Version
|
152
153
|
version: '0'
|
153
154
|
type: :development
|
154
155
|
prerelease: false
|
155
156
|
version_requirements: !ruby/object:Gem::Requirement
|
156
157
|
requirements:
|
157
|
-
- -
|
158
|
+
- - '>='
|
158
159
|
- !ruby/object:Gem::Version
|
159
160
|
version: '0'
|
160
161
|
- !ruby/object:Gem::Dependency
|
161
162
|
name: erubis
|
162
163
|
requirement: !ruby/object:Gem::Requirement
|
163
164
|
requirements:
|
164
|
-
- -
|
165
|
+
- - '>='
|
165
166
|
- !ruby/object:Gem::Version
|
166
167
|
version: '0'
|
167
168
|
type: :development
|
168
169
|
prerelease: false
|
169
170
|
version_requirements: !ruby/object:Gem::Requirement
|
170
171
|
requirements:
|
171
|
-
- -
|
172
|
+
- - '>='
|
172
173
|
- !ruby/object:Gem::Version
|
173
174
|
version: '0'
|
174
175
|
- !ruby/object:Gem::Dependency
|
175
176
|
name: slim
|
176
177
|
requirement: !ruby/object:Gem::Requirement
|
177
178
|
requirements:
|
178
|
-
- -
|
179
|
+
- - '>='
|
179
180
|
- !ruby/object:Gem::Version
|
180
181
|
version: '0'
|
181
182
|
type: :development
|
182
183
|
prerelease: false
|
183
184
|
version_requirements: !ruby/object:Gem::Requirement
|
184
185
|
requirements:
|
185
|
-
- -
|
186
|
+
- - '>='
|
186
187
|
- !ruby/object:Gem::Version
|
187
188
|
version: '0'
|
188
189
|
- !ruby/object:Gem::Dependency
|
189
190
|
name: rake
|
190
191
|
requirement: !ruby/object:Gem::Requirement
|
191
192
|
requirements:
|
192
|
-
- -
|
193
|
+
- - '>='
|
193
194
|
- !ruby/object:Gem::Version
|
194
195
|
version: '0'
|
195
196
|
type: :development
|
196
197
|
prerelease: false
|
197
198
|
version_requirements: !ruby/object:Gem::Requirement
|
198
199
|
requirements:
|
199
|
-
- -
|
200
|
+
- - '>='
|
200
201
|
- !ruby/object:Gem::Version
|
201
202
|
version: '0'
|
202
203
|
description: Collection of useful Sinatra extensions
|
@@ -207,23 +208,17 @@ email:
|
|
207
208
|
- zachary@zacharyscott.net
|
208
209
|
- katrina.owen@gmail.com
|
209
210
|
- contacto@nicolassanguinetti.info
|
211
|
+
- shime.ferovac@gmail.com
|
210
212
|
- m-fujiwara@axsh.net
|
211
213
|
- raf.magana@gmail.com
|
212
|
-
- shime.ferovac@gmail.com
|
213
|
-
- konstantin.haase@gmail.com
|
214
214
|
- jack@jackchu.com
|
215
|
+
- konstantin.haase@gmail.com
|
215
216
|
- ilya@shindyapin.com
|
216
|
-
- ortuna@gmail.com
|
217
217
|
- kashyap.kmbc@gmail.com
|
218
|
+
- ortuna@gmail.com
|
218
219
|
- e@zzak.io
|
219
220
|
- just.lest@gmail.com
|
220
|
-
- rmlipman@gmail.com
|
221
|
-
- samy@dindane.com
|
222
|
-
- thibaut.sacreste@gmail.com
|
223
|
-
- udzura@udzura.jp
|
224
|
-
- will.bailey@gmail.com
|
225
221
|
- altpacala@gmail.com
|
226
|
-
- undr@yandex.ru
|
227
222
|
- aisha.fenton@visfleet.com
|
228
223
|
- andrew.crump@ieee.org
|
229
224
|
- david@supr.nu
|
@@ -234,11 +229,18 @@ email:
|
|
234
229
|
- jamiehodge@me.com
|
235
230
|
- kylewlacy@me.com
|
236
231
|
- blame@kth.se
|
232
|
+
- mathieuallaire@gmail.com
|
237
233
|
- matt@flowerpowered.com
|
238
234
|
- himself@mattonrails.com
|
239
235
|
- yesmeck@gmail.com
|
240
236
|
- michi.huber@gmail.com
|
241
237
|
- patriciomacadden@gmail.com
|
238
|
+
- rmlipman@gmail.com
|
239
|
+
- samy@dindane.com
|
240
|
+
- thibaut.sacreste@gmail.com
|
241
|
+
- udzura@udzura.jp
|
242
|
+
- will.bailey@gmail.com
|
243
|
+
- undr@yandex.ru
|
242
244
|
executables: []
|
243
245
|
extensions: []
|
244
246
|
extra_rdoc_files: []
|
@@ -337,17 +339,17 @@ require_paths:
|
|
337
339
|
- lib
|
338
340
|
required_ruby_version: !ruby/object:Gem::Requirement
|
339
341
|
requirements:
|
340
|
-
- -
|
342
|
+
- - '>='
|
341
343
|
- !ruby/object:Gem::Version
|
342
344
|
version: '0'
|
343
345
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
344
346
|
requirements:
|
345
|
-
- -
|
347
|
+
- - '>='
|
346
348
|
- !ruby/object:Gem::Version
|
347
349
|
version: '0'
|
348
350
|
requirements: []
|
349
351
|
rubyforge_project:
|
350
|
-
rubygems_version: 2.0.
|
352
|
+
rubygems_version: 2.0.6
|
351
353
|
signing_key:
|
352
354
|
specification_version: 4
|
353
355
|
summary: Collection of useful Sinatra extensions
|