merb-gen 1.1.0.rc1 → 1.1.0
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.
|
@@ -1,3 +1,9 @@
|
|
|
1
|
+
# use Rack::Head to handle HEAD requests properly
|
|
2
|
+
use Rack::Head
|
|
3
|
+
|
|
4
|
+
# Correctly set a content length.
|
|
5
|
+
use Merb::Rack::ContentLength
|
|
6
|
+
|
|
1
7
|
# use PathPrefix Middleware if :path_prefix is set in Merb::Config
|
|
2
8
|
if prefix = ::Merb::Config[:path_prefix]
|
|
3
9
|
use Merb::Rack::PathPrefix, prefix
|
|
@@ -8,4 +14,4 @@ end
|
|
|
8
14
|
use Merb::Rack::Static, Merb.dir_for(:public)
|
|
9
15
|
|
|
10
16
|
# this is our main merb application
|
|
11
|
-
run Merb::Rack::Application.new
|
|
17
|
+
run Merb::Rack::Application.new
|
|
@@ -1,3 +1,9 @@
|
|
|
1
|
+
# use Rack::Head to handle HEAD requests properly
|
|
2
|
+
use Rack::Head
|
|
3
|
+
|
|
4
|
+
# Correctly set a content length.
|
|
5
|
+
use Merb::Rack::ContentLength
|
|
6
|
+
|
|
1
7
|
# use PathPrefix Middleware if :path_prefix is set in Merb::Config
|
|
2
8
|
if prefix = ::Merb::Config[:path_prefix]
|
|
3
9
|
use Merb::Rack::PathPrefix, prefix
|
|
@@ -8,4 +14,4 @@ end
|
|
|
8
14
|
use Merb::Rack::Static, Merb.dir_for(:public)
|
|
9
15
|
|
|
10
16
|
# this is our main merb application
|
|
11
|
-
run Merb::Rack::Application.new
|
|
17
|
+
run Merb::Rack::Application.new
|
data/lib/merb-gen/version.rb
CHANGED
metadata
CHANGED
|
@@ -1,13 +1,12 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: merb-gen
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
prerelease:
|
|
4
|
+
prerelease: false
|
|
5
5
|
segments:
|
|
6
6
|
- 1
|
|
7
7
|
- 1
|
|
8
8
|
- 0
|
|
9
|
-
|
|
10
|
-
version: 1.1.0.rc1
|
|
9
|
+
version: 1.1.0
|
|
11
10
|
platform: ruby
|
|
12
11
|
authors:
|
|
13
12
|
- Jonas Nicklas
|
|
@@ -15,7 +14,7 @@ autorequire:
|
|
|
15
14
|
bindir: bin
|
|
16
15
|
cert_chain: []
|
|
17
16
|
|
|
18
|
-
date: 2010-03-
|
|
17
|
+
date: 2010-03-22 00:00:00 +00:00
|
|
19
18
|
default_executable: merb-gen
|
|
20
19
|
dependencies:
|
|
21
20
|
- !ruby/object:Gem::Dependency
|
|
@@ -29,8 +28,7 @@ dependencies:
|
|
|
29
28
|
- 1
|
|
30
29
|
- 1
|
|
31
30
|
- 0
|
|
32
|
-
|
|
33
|
-
version: 1.1.0.rc1
|
|
31
|
+
version: 1.1.0
|
|
34
32
|
type: :runtime
|
|
35
33
|
version_requirements: *id001
|
|
36
34
|
- !ruby/object:Gem::Dependency
|
|
@@ -258,13 +256,11 @@ required_ruby_version: !ruby/object:Gem::Requirement
|
|
|
258
256
|
version: "0"
|
|
259
257
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
|
260
258
|
requirements:
|
|
261
|
-
- - "
|
|
259
|
+
- - ">="
|
|
262
260
|
- !ruby/object:Gem::Version
|
|
263
261
|
segments:
|
|
264
|
-
-
|
|
265
|
-
|
|
266
|
-
- 1
|
|
267
|
-
version: 1.3.1
|
|
262
|
+
- 0
|
|
263
|
+
version: "0"
|
|
268
264
|
requirements: []
|
|
269
265
|
|
|
270
266
|
rubyforge_project:
|