flash_cookie_session 1.0.1 → 1.1.0

Sign up to get free protection for your applications and to get access to all the features.
@@ -9,6 +9,7 @@ module FlashCookieSession
9
9
  if env['HTTP_USER_AGENT'] =~ /^(Adobe|Shockwave) Flash/
10
10
  req = Rack::Request.new(env)
11
11
  env['HTTP_COOKIE'] = [ @session_key, req.params[@session_key] ].join('=').freeze if req.params[@session_key]
12
+ env['HTTP_ACCEPT'] = "#{req.params['_http_accept']}".freeze if req.params['_http_accept']
12
13
  end
13
14
 
14
15
  @app.call(env)
@@ -1,3 +1,3 @@
1
1
  module FlashCookieSession
2
- VERSION = "1.0.1"
2
+ VERSION = "1.1.0"
3
3
  end
metadata CHANGED
@@ -1,13 +1,13 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: flash_cookie_session
3
3
  version: !ruby/object:Gem::Version
4
- hash: 21
4
+ hash: 19
5
5
  prerelease: false
6
6
  segments:
7
7
  - 1
8
- - 0
9
8
  - 1
10
- version: 1.0.1
9
+ - 0
10
+ version: 1.1.0
11
11
  platform: ruby
12
12
  authors:
13
13
  - Trevor Turk
@@ -15,7 +15,7 @@ autorequire:
15
15
  bindir: bin
16
16
  cert_chain: []
17
17
 
18
- date: 2010-11-01 00:00:00 +00:00
18
+ date: 2010-12-01 00:00:00 +00:00
19
19
  default_executable:
20
20
  dependencies:
21
21
  - !ruby/object:Gem::Dependency