geminabox 0.2.8 → 0.2.9.pre1

Sign up to get free protection for your applications and to get access to all the features.

Potentially problematic release.


This version of geminabox might be problematic. Click here for more details.

Files changed (2) hide show
  1. data/lib/hostess.rb +1 -1
  2. metadata +10 -7
data/lib/hostess.rb CHANGED
@@ -2,7 +2,7 @@ require 'sinatra/base'
2
2
 
3
3
  class Hostess < Sinatra::Base
4
4
  def serve
5
- send_file(File.expand_path(File.join(Geminabox.data, *request.path_info)))
5
+ send_file(File.expand_path(File.join(Geminabox.data, *request.path_info)), :type => response['Content-Type'])
6
6
  end
7
7
 
8
8
  %w[/specs.4.8.gz
metadata CHANGED
@@ -1,12 +1,13 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: geminabox
3
3
  version: !ruby/object:Gem::Version
4
- prerelease: false
4
+ prerelease: true
5
5
  segments:
6
6
  - 0
7
7
  - 2
8
- - 8
9
- version: 0.2.8
8
+ - 9
9
+ - pre1
10
+ version: 0.2.9.pre1
10
11
  platform: ruby
11
12
  authors:
12
13
  - Tom Lea
@@ -14,7 +15,7 @@ autorequire:
14
15
  bindir: bin
15
16
  cert_chain: []
16
17
 
17
- date: 2010-09-16 00:00:00 +01:00
18
+ date: 2010-11-12 00:00:00 +00:00
18
19
  default_executable:
19
20
  dependencies:
20
21
  - !ruby/object:Gem::Dependency
@@ -83,11 +84,13 @@ required_ruby_version: !ruby/object:Gem::Requirement
83
84
  version: "0"
84
85
  required_rubygems_version: !ruby/object:Gem::Requirement
85
86
  requirements:
86
- - - ">="
87
+ - - ">"
87
88
  - !ruby/object:Gem::Version
88
89
  segments:
89
- - 0
90
- version: "0"
90
+ - 1
91
+ - 3
92
+ - 1
93
+ version: 1.3.1
91
94
  requirements: []
92
95
 
93
96
  rubyforge_project: