rack-flash-session 1.0.0 → 1.0.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/flash-session.rb +0 -1
  2. metadata +19 -9
@@ -9,7 +9,6 @@ module Rack
9
9
  end
10
10
 
11
11
  def call(env)
12
- debugger
13
12
  if env['HTTP_USER_AGENT'] =~ /^(Adobe|Shockwave) Flash/ then
14
13
  params = ::Rack::Request.new(env).params
15
14
  env['HTTP_COOKIE'] = [@session_key, params[@session_key]].join('=').freeze unless params[@session_key].nil?
metadata CHANGED
@@ -1,7 +1,12 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: rack-flash-session
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.0.0
4
+ prerelease: false
5
+ segments:
6
+ - 1
7
+ - 0
8
+ - 1
9
+ version: 1.0.1
5
10
  platform: ruby
6
11
  authors:
7
12
  - Bart Teeuwisse
@@ -9,19 +14,22 @@ autorequire:
9
14
  bindir: bin
10
15
  cert_chain: []
11
16
 
12
- date: 2010-01-20 00:00:00 -08:00
17
+ date: 2010-03-20 00:00:00 -07:00
13
18
  default_executable:
14
19
  dependencies:
15
20
  - !ruby/object:Gem::Dependency
16
21
  name: rack
17
- type: :runtime
18
- version_requirement:
19
- version_requirements: !ruby/object:Gem::Requirement
22
+ prerelease: false
23
+ requirement: &id001 !ruby/object:Gem::Requirement
20
24
  requirements:
21
25
  - - ">="
22
26
  - !ruby/object:Gem::Version
27
+ segments:
28
+ - 1
29
+ - 0
23
30
  version: "1.0"
24
- version:
31
+ type: :runtime
32
+ version_requirements: *id001
25
33
  description: |+
26
34
 
27
35
  Rack::FlashSession converts a session query parameter to a cookie if the request's user agent is flash.
@@ -50,18 +58,20 @@ required_ruby_version: !ruby/object:Gem::Requirement
50
58
  requirements:
51
59
  - - ">="
52
60
  - !ruby/object:Gem::Version
61
+ segments:
62
+ - 0
53
63
  version: "0"
54
- version:
55
64
  required_rubygems_version: !ruby/object:Gem::Requirement
56
65
  requirements:
57
66
  - - ">="
58
67
  - !ruby/object:Gem::Version
68
+ segments:
69
+ - 0
59
70
  version: "0"
60
- version:
61
71
  requirements: []
62
72
 
63
73
  rubyforge_project:
64
- rubygems_version: 1.3.5
74
+ rubygems_version: 1.3.6
65
75
  signing_key:
66
76
  specification_version: 3
67
77
  summary: Rack::FlashSession converts a session query parameter to a cookie if the request's user agent is flash