rack-iframe-transport 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/rack_iframe_transport.rb +4 -4
  2. metadata +1 -1
@@ -35,10 +35,10 @@ module Rack
35
35
 
36
36
  def metadata
37
37
  meta = {}
38
- meta[:'data-status'] = @response.status if @response.respond_to? :status
39
- meta[:'data-statusText'] = @response.status_message if @response.respond_to? :status_message
40
- meta[:'data-type'] = @headers['Content-Type'] if @headers.has_key?('Content-Type')
41
- meta.map {|key,value| "'#{key}'='#{value}'" }.join(' ')
38
+ meta['data-status'] = @response.status if @response.respond_to? :status
39
+ meta['data-statusText'] = @response.status_message if @response.respond_to? :status_message
40
+ meta['data-type'] = @headers['Content-Type'] if @headers.has_key?('Content-Type')
41
+ meta.map {|key,value| "#{key}='#{value}'" }.join(' ')
42
42
  end
43
43
  end
44
44
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: rack-iframe-transport
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.0
4
+ version: 0.1.1
5
5
  prerelease:
6
6
  platform: ruby
7
7
  authors: