watts 0.0.3 → 0.0.4

Sign up to get free protection for your applications and to get access to all the features.
Files changed (3) hide show
  1. data/Rakefile +1 -1
  2. data/lib/watts.rb +1 -1
  3. metadata +3 -3
data/Rakefile CHANGED
@@ -22,7 +22,7 @@ spec = Gem::Specification.new { |s|
22
22
  "Resource-oriented, Rack-based, minimalist web framework."
23
23
  s.homepage = "http://debu.gs/#{s.name}"
24
24
  %w(metaid).each &s.method(:add_dependency)
25
- s.version = '0.0.3'
25
+ s.version = '0.0.4'
26
26
  }
27
27
 
28
28
  Rake::RDocTask.new(:doc) { |t|
data/lib/watts.rb CHANGED
@@ -229,7 +229,7 @@ module Watts
229
229
  [
230
230
  200,
231
231
  {'Content-Type' => 'text/plain',
232
- 'Content-Length' => resp.length,
232
+ 'Content-Length' => resp.bytesize.to_s,
233
233
  },
234
234
  [resp]
235
235
  ]
metadata CHANGED
@@ -5,8 +5,8 @@ version: !ruby/object:Gem::Version
5
5
  segments:
6
6
  - 0
7
7
  - 0
8
- - 3
9
- version: 0.0.3
8
+ - 4
9
+ version: 0.0.4
10
10
  platform: ruby
11
11
  authors:
12
12
  - Pete Elmore
@@ -14,7 +14,7 @@ autorequire:
14
14
  bindir: bin
15
15
  cert_chain: []
16
16
 
17
- date: 2011-01-27 00:00:00 -08:00
17
+ date: 2011-03-02 00:00:00 -08:00
18
18
  default_executable:
19
19
  dependencies:
20
20
  - !ruby/object:Gem::Dependency