chuusha 0.1.0 → 0.1.1

Sign up to get free protection for your applications and to get access to all the features.
Files changed (2) hide show
  1. data/lib/chuusha.rb +1 -2
  2. metadata +3 -3
data/lib/chuusha.rb CHANGED
@@ -103,8 +103,7 @@ module Chuusha
103
103
  end
104
104
 
105
105
  def respond
106
- # TODO: Should get right content-type
107
- [200, {"Content-Type" => "text/html"}, render]
106
+ [200, {"Content-Type" => ::Rack::Mime.mime_type(File.extname(@outfile))}, render]
108
107
  end
109
108
  end
110
109
  end
metadata CHANGED
@@ -5,8 +5,8 @@ version: !ruby/object:Gem::Version
5
5
  segments:
6
6
  - 0
7
7
  - 1
8
- - 0
9
- version: 0.1.0
8
+ - 1
9
+ version: 0.1.1
10
10
  platform: ruby
11
11
  authors:
12
12
  - Trotter Cashion
@@ -14,7 +14,7 @@ autorequire:
14
14
  bindir: bin
15
15
  cert_chain: []
16
16
 
17
- date: 2010-04-25 00:00:00 -04:00
17
+ date: 2010-04-29 00:00:00 -04:00
18
18
  default_executable:
19
19
  dependencies:
20
20
  - !ruby/object:Gem::Dependency