sinatra-contrib 1.4.0 → 1.4.1

Sign up to get free protection for your applications and to get access to all the features.
@@ -0,0 +1,15 @@
1
+ ---
2
+ !binary "U0hBMQ==":
3
+ metadata.gz: !binary |-
4
+ NDFlYmNlNDNmMGJjMWE5Yjk4NjZiMDk2ZTQ3YWIyNTBhYjYzZWRkMg==
5
+ data.tar.gz: !binary |-
6
+ OGUyYjcwNTM5MzdmNDVmMmNiMWQ3ZjY5Yjk3YmRkMTJlOTk4NmIyMw==
7
+ !binary "U0hBNTEy":
8
+ metadata.gz: !binary |-
9
+ MDM5ZTk2MmE0ZWZkZWFkMzc1N2IwMjRlNzlmZThlMWIwYTllNmU3MDMzY2I3
10
+ YTkzNWJjMmI5NzU0MTg1NzhlOGIxMjk0MzAzOGNlZmM5N2FmOTJlZDA0Mzgw
11
+ MGVmOWQ4M2QwMzYzMWM4OTM3NGQyZmQzM2U0ZDZjNmYwODFlNDk=
12
+ data.tar.gz: !binary |-
13
+ MGQ3YzllNGE0M2I5MDc5ZWVlM2JjODU0NWE4MjEyOWJlNDJmNjIyNmY4Y2Y1
14
+ ODgyOGZjMTk0MmNmOWRkZWM5ZDNhNjNiMWY5ZTNjYTlkZGY0YTg4NWUyOGJk
15
+ N2MwOGNiNjQ2MDFjNWY3MWQ0MWExZDk2Y2U3ZTM1MmVkM2MyZTA=
data/README.md CHANGED
@@ -134,3 +134,8 @@ class MyApp < Sinatra::Base
134
134
  register Sinatra::Contrib
135
135
  end
136
136
  ```
137
+
138
+ ## Documentation
139
+
140
+ For more info check the [official docs](http://www.sinatrarb.com/contrib/) and
141
+ [api docs](http://rubydoc.info/gems/sinatra-contrib/1.4.0/frames).
data/Rakefile CHANGED
@@ -44,7 +44,6 @@ task 'sinatra-contrib.gemspec' do
44
44
  content.sub!(/ s\.#{field} = \[\n( .*\n)* \]/, updated)
45
45
  end
46
46
 
47
- content.sub! /(s\.version.*=\s+).*/, "\\1\"#{Sinatra::Contrib::VERSION}\""
48
47
  File.open('sinatra-contrib.gemspec', 'w') { |f| f << content }
49
48
  end
50
49
 
@@ -4,7 +4,7 @@ module Sinatra
4
4
  VERSION
5
5
  end
6
6
 
7
- SIGNATURE = [1, 3, 1]
7
+ SIGNATURE = [1, 4, 1]
8
8
  VERSION = SIGNATURE.join('.')
9
9
 
10
10
  VERSION.extend Comparable
@@ -1,5 +1,5 @@
1
1
  require 'sinatra/base'
2
-
2
+ require 'multi_json'
3
3
  module Sinatra
4
4
 
5
5
  # = Sinatra::JSON
@@ -32,7 +32,6 @@ module Sinatra
32
32
  # require "sinatra/json"
33
33
  #
34
34
  # class MyApp < Sinatra::Base
35
- # helpers Sinatra::JSON
36
35
  #
37
36
  # # define a route that uses the helper
38
37
  # get '/' do
@@ -126,5 +125,7 @@ module Sinatra
126
125
  end
127
126
 
128
127
  Base.set :json_content_type, :json
129
- helpers JSON
128
+
129
+ # Load the JSON helpers in modular style automatically
130
+ Base.helpers JSON
130
131
  end
@@ -14,7 +14,7 @@ module Sinatra
14
14
  # get '/' do
15
15
  # data = { :name => 'example' }
16
16
  # request.accept.each do |type|
17
- # case type
17
+ # case type.to_s
18
18
  # when 'text/html'
19
19
  # halt haml(:index, :locals => data)
20
20
  # when 'text/json'
@@ -184,8 +184,6 @@ module Sinatra
184
184
  end
185
185
  end
186
186
 
187
- attr_accessor :ext_map
188
-
189
187
  def remap_extensions
190
188
  ext_map.clear
191
189
  Rack::Mime::MIME_TYPES.each { |e,t| ext_map[t] << e[1..-1].to_sym }
@@ -237,7 +235,7 @@ module Sinatra
237
235
  ENGINES.default = []
238
236
 
239
237
  def self.registered(base)
240
- base.ext_map = Hash.new { |h,k| h[k] = [] }
238
+ base.set :ext_map, Hash.new { |h,k| h[k] = [] }
241
239
  base.set :template_engines, ENGINES.dup
242
240
  base.remap_extensions
243
241
  base.helpers Helpers
@@ -1,5 +1,4 @@
1
1
  require 'sinatra/base'
2
- require 'eventmachine'
3
2
  require 'backports'
4
3
 
5
4
  module Sinatra
@@ -25,23 +24,6 @@ module Sinatra
25
24
  # end
26
25
  # end
27
26
  #
28
- # == Proper Deferrable
29
- #
30
- # Handy when using EventMachine.
31
- #
32
- # list = []
33
- #
34
- # get '/' do
35
- # stream(:keep_open) do |out|
36
- # list << out
37
- # out.callback { list.delete out }
38
- # out.errback do
39
- # logger.warn "lost connection"
40
- # list.delete out
41
- # end
42
- # end
43
- # end
44
- #
45
27
  # == Better Middleware Handling
46
28
  #
47
29
  # Blocks passed to #map! or #map will actually be applied when streaming
@@ -103,7 +85,6 @@ module Sinatra
103
85
  end
104
86
 
105
87
  module Stream
106
- include EventMachine::Deferrable
107
88
 
108
89
  attr_accessor :app, :lineno, :pos, :transformer, :closed
109
90
  alias tell pos
@@ -169,11 +150,6 @@ module Sinatra
169
150
  nil
170
151
  end
171
152
 
172
- def close
173
- @scheduler.schedule { succeed }
174
- nil
175
- end
176
-
177
153
  def close_read
178
154
  raise IOError, "closing non-duplex IO for reading"
179
155
  end
@@ -1,7 +1,8 @@
1
1
  # Run `rake sinatra-contrib.gemspec` to update the gemspec.
2
+ require File.expand_path('../lib/sinatra/contrib/version', __FILE__)
2
3
  Gem::Specification.new do |s|
3
4
  s.name = "sinatra-contrib"
4
- s.version = "1.4.0"
5
+ s.version = Sinatra::Contrib::VERSION
5
6
  s.description = "Collection of useful Sinatra extensions"
6
7
  s.homepage = "http://github.com/sinatra/sinatra-contrib"
7
8
  s.summary = s.description
@@ -10,22 +11,82 @@ Gem::Specification.new do |s|
10
11
  s.authors = [
11
12
  "Konstantin Haase",
12
13
  "Gabriel Andretta",
14
+ "Trevor Bramble",
15
+ "Zachary Scott",
16
+ "Katrina Owen",
13
17
  "Nicolas Sanguinetti",
14
- "Eliot Shepard",
18
+ "Masahiro Fujiwara",
19
+ "Rafael Magana",
20
+ "Hrvoje Šimić",
21
+ "Jack Chu",
22
+ "Sumeet Singh",
23
+ "Ilya Shindyapin",
24
+ "lest",
25
+ "Kashyap",
26
+ "Michi Huber",
27
+ "Patricio Mac Adden",
28
+ "Reed Lipman",
29
+ "Samy Dindane",
30
+ "Thibaut Sacreste",
31
+ "Uchio KONDO",
32
+ "Will Bailey",
33
+ "Adrian Pacała",
34
+ "undr",
35
+ "Aish",
15
36
  "Andrew Crump",
37
+ "David Asabina",
38
+ "Eliot Shepard",
39
+ "Eric Marden",
40
+ "Gray Manley",
41
+ "Guillaume Bouteille",
42
+ "Jamie Hodge",
43
+ "Kyle Lacy",
44
+ "Martin Frost",
16
45
  "Matt Lyon",
17
- "undr"
46
+ "Matthew Conway",
47
+ "Meck"
18
48
  ]
19
49
 
20
50
  # generated from git shortlog -sne
21
51
  s.email = [
22
52
  "konstantin.mailinglists@googlemail.com",
23
53
  "ohhgabriel@gmail.com",
54
+ "inbox@trevorbramble.com",
55
+ "zachary@zacharyscott.net",
56
+ "katrina.owen@gmail.com",
24
57
  "contacto@nicolassanguinetti.info",
25
- "eshepard@slower.net",
58
+ "m-fujiwara@axsh.net",
59
+ "raf.magana@gmail.com",
60
+ "shime.ferovac@gmail.com",
61
+ "konstantin.haase@gmail.com",
62
+ "jack@jackchu.com",
63
+ "ilya@shindyapin.com",
64
+ "ortuna@gmail.com",
65
+ "kashyap.kmbc@gmail.com",
66
+ "e@zzak.io",
67
+ "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
+ "altpacala@gmail.com",
74
+ "undr@yandex.ru",
75
+ "aisha.fenton@visfleet.com",
26
76
  "andrew.crump@ieee.org",
77
+ "david@supr.nu",
78
+ "eshepard@slower.net",
79
+ "eric.marden@gmail.com",
80
+ "g.manley@tukaiz.com",
81
+ "duffman@via.ecp.fr",
82
+ "jamiehodge@me.com",
83
+ "kylewlacy@me.com",
84
+ "blame@kth.se",
27
85
  "matt@flowerpowered.com",
28
- "undr@yandex.ru"
86
+ "himself@mattonrails.com",
87
+ "yesmeck@gmail.com",
88
+ "michi.huber@gmail.com",
89
+ "patriciomacadden@gmail.com"
29
90
  ]
30
91
 
31
92
  # generated from git ls-files
@@ -66,6 +127,10 @@ Gem::Specification.new do |s|
66
127
  "spec/content_for/different_key.erubis",
67
128
  "spec/content_for/different_key.haml",
68
129
  "spec/content_for/different_key.slim",
130
+ "spec/content_for/footer.erb",
131
+ "spec/content_for/footer.erubis",
132
+ "spec/content_for/footer.haml",
133
+ "spec/content_for/footer.slim",
69
134
  "spec/content_for/layout.erb",
70
135
  "spec/content_for/layout.erubis",
71
136
  "spec/content_for/layout.haml",
@@ -105,6 +170,7 @@ Gem::Specification.new do |s|
105
170
  "spec/reloader_spec.rb",
106
171
  "spec/respond_with/bar.erb",
107
172
  "spec/respond_with/bar.json.erb",
173
+ "spec/respond_with/baz.yajl",
108
174
  "spec/respond_with/foo.html.erb",
109
175
  "spec/respond_with/not_html.sass",
110
176
  "spec/respond_with_spec.rb",
@@ -112,12 +178,12 @@ Gem::Specification.new do |s|
112
178
  "spec/streaming_spec.rb"
113
179
  ]
114
180
 
115
- s.add_dependency "sinatra", "~> 1.4.2"
181
+ s.add_dependency "sinatra", "~> 1.4.0"
116
182
  s.add_dependency "backports", ">= 2.0"
117
183
  s.add_dependency "tilt", "~> 1.3"
118
184
  s.add_dependency "rack-test"
119
185
  s.add_dependency "rack-protection"
120
- s.add_dependency "eventmachine"
186
+ s.add_dependency "multi_json"
121
187
 
122
188
  s.add_development_dependency "rspec", "~> 2.3"
123
189
  s.add_development_dependency "haml"
@@ -0,0 +1,3 @@
1
+ <% if content_for? :foo %>
2
+ <%= yield_content :foo %>
3
+ <% end %>
@@ -0,0 +1,3 @@
1
+ <% if content_for? :foo %>
2
+ <%= yield_content :foo %>
3
+ <% end %>
@@ -0,0 +1,2 @@
1
+ - if content_for? :foo
2
+ = yield_content :foo
@@ -0,0 +1,2 @@
1
+ - if content_for? :foo
2
+ = yield_content :foo
@@ -33,7 +33,6 @@ end
33
33
  describe Sinatra::JSON do
34
34
  def mock_app(&block)
35
35
  super do
36
- helpers Sinatra::JSON
37
36
  class_eval(&block)
38
37
  end
39
38
  end
@@ -0,0 +1 @@
1
+ json = "yajl!"
@@ -257,6 +257,23 @@ describe Sinatra::RespondWith do
257
257
  body.should == "generic!"
258
258
  end
259
259
  end
260
+
261
+ describe "inherited" do
262
+ it "registers RespondWith in an inherited app" do
263
+ app = Sinatra.new do
264
+ set :app_file, __FILE__
265
+ set :views, root + '/respond_with'
266
+ register Sinatra::RespondWith
267
+
268
+ get '/a' do
269
+ respond_with :json
270
+ end
271
+ end
272
+
273
+ self.app = Sinatra.new(app)
274
+ req('/a', :json).should_not be_ok
275
+ end
276
+ end
260
277
  end
261
278
 
262
279
  describe :respond_to do
@@ -2,6 +2,6 @@ ENV['RACK_ENV'] = 'test'
2
2
  require 'sinatra/contrib'
3
3
 
4
4
  RSpec.configure do |config|
5
- config.expect_with :rspec, :stdlib
5
+ config.expect_with :rspec#, :stdlib
6
6
  config.include Sinatra::TestHelpers
7
7
  end
@@ -62,27 +62,6 @@ describe Sinatra::Streaming do
62
62
  end
63
63
  end
64
64
 
65
- context EventMachine::Deferrable do
66
- it 'allows attaching more than one callback' do
67
- a = b = false
68
- stream do |out|
69
- out.callback { a = true }
70
- out.callback { b = true }
71
- end
72
- a.should be_true
73
- b.should be_true
74
- end
75
-
76
- it 'triggers callbacks after streaming' do
77
- triggered = false
78
- stream do |out|
79
- out.callback { triggered = true }
80
- triggered.should be_false
81
- end
82
- triggered.should be_true
83
- end
84
- end
85
-
86
65
  context 'app' do
87
66
  it 'is the app instance the stream was created from' do
88
67
  out = stream { }
metadata CHANGED
@@ -1,42 +1,67 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: sinatra-contrib
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.4.0
5
- prerelease:
4
+ version: 1.4.1
6
5
  platform: ruby
7
6
  authors:
8
7
  - Konstantin Haase
9
8
  - Gabriel Andretta
9
+ - Trevor Bramble
10
+ - Zachary Scott
11
+ - Katrina Owen
10
12
  - Nicolas Sanguinetti
11
- - Eliot Shepard
13
+ - Masahiro Fujiwara
14
+ - Rafael Magana
15
+ - Hrvoje Šimić
16
+ - Jack Chu
17
+ - Sumeet Singh
18
+ - Ilya Shindyapin
19
+ - lest
20
+ - Kashyap
21
+ - Michi Huber
22
+ - Patricio Mac Adden
23
+ - Reed Lipman
24
+ - Samy Dindane
25
+ - Thibaut Sacreste
26
+ - Uchio KONDO
27
+ - Will Bailey
28
+ - Adrian Pacała
29
+ - undr
30
+ - Aish
12
31
  - Andrew Crump
32
+ - David Asabina
33
+ - Eliot Shepard
34
+ - Eric Marden
35
+ - Gray Manley
36
+ - Guillaume Bouteille
37
+ - Jamie Hodge
38
+ - Kyle Lacy
39
+ - Martin Frost
13
40
  - Matt Lyon
14
- - undr
41
+ - Matthew Conway
42
+ - Meck
15
43
  autorequire:
16
44
  bindir: bin
17
45
  cert_chain: []
18
- date: 2013-04-07 00:00:00.000000000 Z
46
+ date: 2013-08-19 00:00:00.000000000 Z
19
47
  dependencies:
20
48
  - !ruby/object:Gem::Dependency
21
49
  name: sinatra
22
50
  requirement: !ruby/object:Gem::Requirement
23
- none: false
24
51
  requirements:
25
52
  - - ~>
26
53
  - !ruby/object:Gem::Version
27
- version: 1.4.2
54
+ version: 1.4.0
28
55
  type: :runtime
29
56
  prerelease: false
30
57
  version_requirements: !ruby/object:Gem::Requirement
31
- none: false
32
58
  requirements:
33
59
  - - ~>
34
60
  - !ruby/object:Gem::Version
35
- version: 1.4.2
61
+ version: 1.4.0
36
62
  - !ruby/object:Gem::Dependency
37
63
  name: backports
38
64
  requirement: !ruby/object:Gem::Requirement
39
- none: false
40
65
  requirements:
41
66
  - - ! '>='
42
67
  - !ruby/object:Gem::Version
@@ -44,7 +69,6 @@ dependencies:
44
69
  type: :runtime
45
70
  prerelease: false
46
71
  version_requirements: !ruby/object:Gem::Requirement
47
- none: false
48
72
  requirements:
49
73
  - - ! '>='
50
74
  - !ruby/object:Gem::Version
@@ -52,7 +76,6 @@ dependencies:
52
76
  - !ruby/object:Gem::Dependency
53
77
  name: tilt
54
78
  requirement: !ruby/object:Gem::Requirement
55
- none: false
56
79
  requirements:
57
80
  - - ~>
58
81
  - !ruby/object:Gem::Version
@@ -60,7 +83,6 @@ dependencies:
60
83
  type: :runtime
61
84
  prerelease: false
62
85
  version_requirements: !ruby/object:Gem::Requirement
63
- none: false
64
86
  requirements:
65
87
  - - ~>
66
88
  - !ruby/object:Gem::Version
@@ -68,7 +90,6 @@ dependencies:
68
90
  - !ruby/object:Gem::Dependency
69
91
  name: rack-test
70
92
  requirement: !ruby/object:Gem::Requirement
71
- none: false
72
93
  requirements:
73
94
  - - ! '>='
74
95
  - !ruby/object:Gem::Version
@@ -76,7 +97,6 @@ dependencies:
76
97
  type: :runtime
77
98
  prerelease: false
78
99
  version_requirements: !ruby/object:Gem::Requirement
79
- none: false
80
100
  requirements:
81
101
  - - ! '>='
82
102
  - !ruby/object:Gem::Version
@@ -84,7 +104,6 @@ dependencies:
84
104
  - !ruby/object:Gem::Dependency
85
105
  name: rack-protection
86
106
  requirement: !ruby/object:Gem::Requirement
87
- none: false
88
107
  requirements:
89
108
  - - ! '>='
90
109
  - !ruby/object:Gem::Version
@@ -92,15 +111,13 @@ dependencies:
92
111
  type: :runtime
93
112
  prerelease: false
94
113
  version_requirements: !ruby/object:Gem::Requirement
95
- none: false
96
114
  requirements:
97
115
  - - ! '>='
98
116
  - !ruby/object:Gem::Version
99
117
  version: '0'
100
118
  - !ruby/object:Gem::Dependency
101
- name: eventmachine
119
+ name: multi_json
102
120
  requirement: !ruby/object:Gem::Requirement
103
- none: false
104
121
  requirements:
105
122
  - - ! '>='
106
123
  - !ruby/object:Gem::Version
@@ -108,7 +125,6 @@ dependencies:
108
125
  type: :runtime
109
126
  prerelease: false
110
127
  version_requirements: !ruby/object:Gem::Requirement
111
- none: false
112
128
  requirements:
113
129
  - - ! '>='
114
130
  - !ruby/object:Gem::Version
@@ -116,7 +132,6 @@ dependencies:
116
132
  - !ruby/object:Gem::Dependency
117
133
  name: rspec
118
134
  requirement: !ruby/object:Gem::Requirement
119
- none: false
120
135
  requirements:
121
136
  - - ~>
122
137
  - !ruby/object:Gem::Version
@@ -124,7 +139,6 @@ dependencies:
124
139
  type: :development
125
140
  prerelease: false
126
141
  version_requirements: !ruby/object:Gem::Requirement
127
- none: false
128
142
  requirements:
129
143
  - - ~>
130
144
  - !ruby/object:Gem::Version
@@ -132,7 +146,6 @@ dependencies:
132
146
  - !ruby/object:Gem::Dependency
133
147
  name: haml
134
148
  requirement: !ruby/object:Gem::Requirement
135
- none: false
136
149
  requirements:
137
150
  - - ! '>='
138
151
  - !ruby/object:Gem::Version
@@ -140,7 +153,6 @@ dependencies:
140
153
  type: :development
141
154
  prerelease: false
142
155
  version_requirements: !ruby/object:Gem::Requirement
143
- none: false
144
156
  requirements:
145
157
  - - ! '>='
146
158
  - !ruby/object:Gem::Version
@@ -148,7 +160,6 @@ dependencies:
148
160
  - !ruby/object:Gem::Dependency
149
161
  name: erubis
150
162
  requirement: !ruby/object:Gem::Requirement
151
- none: false
152
163
  requirements:
153
164
  - - ! '>='
154
165
  - !ruby/object:Gem::Version
@@ -156,7 +167,6 @@ dependencies:
156
167
  type: :development
157
168
  prerelease: false
158
169
  version_requirements: !ruby/object:Gem::Requirement
159
- none: false
160
170
  requirements:
161
171
  - - ! '>='
162
172
  - !ruby/object:Gem::Version
@@ -164,7 +174,6 @@ dependencies:
164
174
  - !ruby/object:Gem::Dependency
165
175
  name: slim
166
176
  requirement: !ruby/object:Gem::Requirement
167
- none: false
168
177
  requirements:
169
178
  - - ! '>='
170
179
  - !ruby/object:Gem::Version
@@ -172,7 +181,6 @@ dependencies:
172
181
  type: :development
173
182
  prerelease: false
174
183
  version_requirements: !ruby/object:Gem::Requirement
175
- none: false
176
184
  requirements:
177
185
  - - ! '>='
178
186
  - !ruby/object:Gem::Version
@@ -180,7 +188,6 @@ dependencies:
180
188
  - !ruby/object:Gem::Dependency
181
189
  name: rake
182
190
  requirement: !ruby/object:Gem::Requirement
183
- none: false
184
191
  requirements:
185
192
  - - ! '>='
186
193
  - !ruby/object:Gem::Version
@@ -188,7 +195,6 @@ dependencies:
188
195
  type: :development
189
196
  prerelease: false
190
197
  version_requirements: !ruby/object:Gem::Requirement
191
- none: false
192
198
  requirements:
193
199
  - - ! '>='
194
200
  - !ruby/object:Gem::Version
@@ -197,11 +203,42 @@ description: Collection of useful Sinatra extensions
197
203
  email:
198
204
  - konstantin.mailinglists@googlemail.com
199
205
  - ohhgabriel@gmail.com
206
+ - inbox@trevorbramble.com
207
+ - zachary@zacharyscott.net
208
+ - katrina.owen@gmail.com
200
209
  - contacto@nicolassanguinetti.info
201
- - eshepard@slower.net
210
+ - m-fujiwara@axsh.net
211
+ - raf.magana@gmail.com
212
+ - shime.ferovac@gmail.com
213
+ - konstantin.haase@gmail.com
214
+ - jack@jackchu.com
215
+ - ilya@shindyapin.com
216
+ - ortuna@gmail.com
217
+ - kashyap.kmbc@gmail.com
218
+ - e@zzak.io
219
+ - 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
+ - altpacala@gmail.com
226
+ - undr@yandex.ru
227
+ - aisha.fenton@visfleet.com
202
228
  - andrew.crump@ieee.org
229
+ - david@supr.nu
230
+ - eshepard@slower.net
231
+ - eric.marden@gmail.com
232
+ - g.manley@tukaiz.com
233
+ - duffman@via.ecp.fr
234
+ - jamiehodge@me.com
235
+ - kylewlacy@me.com
236
+ - blame@kth.se
203
237
  - matt@flowerpowered.com
204
- - undr@yandex.ru
238
+ - himself@mattonrails.com
239
+ - yesmeck@gmail.com
240
+ - michi.huber@gmail.com
241
+ - patriciomacadden@gmail.com
205
242
  executables: []
206
243
  extensions: []
207
244
  extra_rdoc_files: []
@@ -242,6 +279,10 @@ files:
242
279
  - spec/content_for/different_key.erubis
243
280
  - spec/content_for/different_key.haml
244
281
  - spec/content_for/different_key.slim
282
+ - spec/content_for/footer.erb
283
+ - spec/content_for/footer.erubis
284
+ - spec/content_for/footer.haml
285
+ - spec/content_for/footer.slim
245
286
  - spec/content_for/layout.erb
246
287
  - spec/content_for/layout.erubis
247
288
  - spec/content_for/layout.haml
@@ -281,6 +322,7 @@ files:
281
322
  - spec/reloader_spec.rb
282
323
  - spec/respond_with/bar.erb
283
324
  - spec/respond_with/bar.json.erb
325
+ - spec/respond_with/baz.yajl
284
326
  - spec/respond_with/foo.html.erb
285
327
  - spec/respond_with/not_html.sass
286
328
  - spec/respond_with_spec.rb
@@ -288,26 +330,25 @@ files:
288
330
  - spec/streaming_spec.rb
289
331
  homepage: http://github.com/sinatra/sinatra-contrib
290
332
  licenses: []
333
+ metadata: {}
291
334
  post_install_message:
292
335
  rdoc_options: []
293
336
  require_paths:
294
337
  - lib
295
338
  required_ruby_version: !ruby/object:Gem::Requirement
296
- none: false
297
339
  requirements:
298
340
  - - ! '>='
299
341
  - !ruby/object:Gem::Version
300
342
  version: '0'
301
343
  required_rubygems_version: !ruby/object:Gem::Requirement
302
- none: false
303
344
  requirements:
304
345
  - - ! '>='
305
346
  - !ruby/object:Gem::Version
306
347
  version: '0'
307
348
  requirements: []
308
349
  rubyforge_project:
309
- rubygems_version: 1.8.25
350
+ rubygems_version: 2.0.3
310
351
  signing_key:
311
- specification_version: 3
352
+ specification_version: 4
312
353
  summary: Collection of useful Sinatra extensions
313
354
  test_files: []