renee-core 0.3.10 → 0.3.11
Sign up to get free protection for your applications and to get access to all the features.
@@ -19,7 +19,7 @@ module Renee
|
|
19
19
|
# get { halt build { use Rack::ContentLength; run proc { |env| Rack::Response.new("Hello!").finish } } }
|
20
20
|
#
|
21
21
|
def build!(&blk)
|
22
|
-
|
22
|
+
halt build(&blk)
|
23
23
|
end
|
24
24
|
|
25
25
|
# Runs a rack application. You must either use `app` or `blk`.
|
@@ -79,7 +79,7 @@ module Renee
|
|
79
79
|
when Integer then Renee::Core::Response.new("Status code #{response}", response).finish
|
80
80
|
when Symbol then interpret_response(HTTP_CODES[response] || response.to_s)
|
81
81
|
when Proc then instance_eval(&response)
|
82
|
-
else
|
82
|
+
else response # pass through response
|
83
83
|
end
|
84
84
|
end
|
85
85
|
|
data/lib/renee_core/version.rb
CHANGED
metadata
CHANGED
@@ -1,13 +1,13 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: renee-core
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
hash:
|
4
|
+
hash: 5
|
5
5
|
prerelease:
|
6
6
|
segments:
|
7
7
|
- 0
|
8
8
|
- 3
|
9
|
-
-
|
10
|
-
version: 0.3.
|
9
|
+
- 11
|
10
|
+
version: 0.3.11
|
11
11
|
platform: ruby
|
12
12
|
authors:
|
13
13
|
- Josh Hull
|
@@ -17,7 +17,7 @@ autorequire:
|
|
17
17
|
bindir: bin
|
18
18
|
cert_chain: []
|
19
19
|
|
20
|
-
date: 2011-12-
|
20
|
+
date: 2011-12-22 00:00:00 Z
|
21
21
|
dependencies:
|
22
22
|
- !ruby/object:Gem::Dependency
|
23
23
|
version_requirements: &id001 !ruby/object:Gem::Requirement
|