cehoffman-sinatra-respond_to 0.3.5 → 0.3.6

Sign up to get free protection for your applications and to get access to all the features.
Files changed (3) hide show
  1. data/VERSION.yml +1 -1
  2. data/lib/sinatra/respond_to.rb +1 -1
  3. metadata +4 -3
@@ -1,4 +1,4 @@
1
1
  ---
2
- :patch: 5
2
+ :patch: 6
3
3
  :major: 0
4
4
  :minor: 3
@@ -45,7 +45,7 @@ module Sinatra
45
45
 
46
46
  format request.xhr? && options.assume_xhr_is_js? ? :js : $1 || options.default_content
47
47
 
48
- charset options.default_charset if TEXT_MIME_TYPES.include? format
48
+ charset options.default_charset if Sinatra::RespondTo::TEXT_MIME_TYPES.include? format
49
49
  end
50
50
  end
51
51
 
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: cehoffman-sinatra-respond_to
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.3.5
4
+ version: 0.3.6
5
5
  platform: ruby
6
6
  authors:
7
7
  - Chris Hoffman
@@ -9,7 +9,7 @@ autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
11
 
12
- date: 2009-05-14 00:00:00 -07:00
12
+ date: 2009-08-02 00:00:00 -07:00
13
13
  default_executable:
14
14
  dependencies:
15
15
  - !ruby/object:Gem::Dependency
@@ -48,6 +48,7 @@ files:
48
48
  - spec/spec_helper.rb
49
49
  has_rdoc: true
50
50
  homepage: http://github.com/cehoffman/sinatra-respond_to
51
+ licenses:
51
52
  post_install_message:
52
53
  rdoc_options:
53
54
  - --charset=UTF-8
@@ -68,7 +69,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
68
69
  requirements: []
69
70
 
70
71
  rubyforge_project:
71
- rubygems_version: 1.2.0
72
+ rubygems_version: 1.3.5
72
73
  signing_key:
73
74
  specification_version: 2
74
75
  summary: A respond_to style Rails block for baked-in web service support in Sinatra