flash_cookie_session 1.1.1 → 1.1.2
Sign up to get free protection for your applications and to get access to all the features.
@@ -10,7 +10,7 @@ module FlashCookieSession
|
|
10
10
|
req = Rack::Request.new(env)
|
11
11
|
the_session_key = [ @session_key, req.params[@session_key] ].join('=').freeze if req.params[@session_key]
|
12
12
|
the_remember_token = [ 'remember_token', req.params['remember_token'] ].join('=').freeze if req.params['remember_token']
|
13
|
-
cookie_with_remember_token_and_session_key = [ the_remember_token, the_session_key ].join(';').freeze
|
13
|
+
cookie_with_remember_token_and_session_key = [ the_remember_token, the_session_key ].compact.join(';').freeze
|
14
14
|
env['HTTP_COOKIE'] = cookie_with_remember_token_and_session_key
|
15
15
|
env['HTTP_ACCEPT'] = "#{req.params['_http_accept']}".freeze if req.params['_http_accept']
|
16
16
|
end
|
metadata
CHANGED
@@ -1,48 +1,35 @@
|
|
1
|
-
--- !ruby/object:Gem::Specification
|
1
|
+
--- !ruby/object:Gem::Specification
|
2
2
|
name: flash_cookie_session
|
3
|
-
version: !ruby/object:Gem::Version
|
4
|
-
|
3
|
+
version: !ruby/object:Gem::Version
|
4
|
+
version: 1.1.2
|
5
5
|
prerelease:
|
6
|
-
segments:
|
7
|
-
- 1
|
8
|
-
- 1
|
9
|
-
- 1
|
10
|
-
version: 1.1.1
|
11
6
|
platform: ruby
|
12
|
-
authors:
|
7
|
+
authors:
|
13
8
|
- Trevor Turk
|
14
9
|
autorequire:
|
15
10
|
bindir: bin
|
16
11
|
cert_chain: []
|
17
|
-
|
18
|
-
|
19
|
-
|
20
|
-
dependencies:
|
21
|
-
- !ruby/object:Gem::Dependency
|
12
|
+
date: 2012-02-17 00:00:00.000000000 Z
|
13
|
+
dependencies:
|
14
|
+
- !ruby/object:Gem::Dependency
|
22
15
|
name: rails
|
23
|
-
|
24
|
-
requirement: &id001 !ruby/object:Gem::Requirement
|
16
|
+
requirement: &70274343179000 !ruby/object:Gem::Requirement
|
25
17
|
none: false
|
26
|
-
requirements:
|
18
|
+
requirements:
|
27
19
|
- - ~>
|
28
|
-
- !ruby/object:Gem::Version
|
29
|
-
|
30
|
-
segments:
|
31
|
-
- 3
|
32
|
-
- 0
|
33
|
-
version: "3.0"
|
20
|
+
- !ruby/object:Gem::Version
|
21
|
+
version: '3.0'
|
34
22
|
type: :runtime
|
35
|
-
|
36
|
-
|
37
|
-
|
23
|
+
prerelease: false
|
24
|
+
version_requirements: *70274343179000
|
25
|
+
description: Useful for Flash-based file uploaders (SWFUpload, Uploadify, Plupload,
|
26
|
+
etc)
|
27
|
+
email:
|
38
28
|
- trevorturk@gmail.com
|
39
29
|
executables: []
|
40
|
-
|
41
30
|
extensions: []
|
42
|
-
|
43
31
|
extra_rdoc_files: []
|
44
|
-
|
45
|
-
files:
|
32
|
+
files:
|
46
33
|
- .gitignore
|
47
34
|
- Gemfile
|
48
35
|
- Rakefile
|
@@ -52,39 +39,28 @@ files:
|
|
52
39
|
- lib/flash_cookie_session/middleware.rb
|
53
40
|
- lib/flash_cookie_session/railtie.rb
|
54
41
|
- lib/flash_cookie_session/version.rb
|
55
|
-
has_rdoc: true
|
56
42
|
homepage: http://rubygems.org/gems/flash_cookie_session
|
57
43
|
licenses: []
|
58
|
-
|
59
44
|
post_install_message:
|
60
45
|
rdoc_options: []
|
61
|
-
|
62
|
-
require_paths:
|
46
|
+
require_paths:
|
63
47
|
- lib
|
64
|
-
required_ruby_version: !ruby/object:Gem::Requirement
|
48
|
+
required_ruby_version: !ruby/object:Gem::Requirement
|
65
49
|
none: false
|
66
|
-
requirements:
|
67
|
-
- -
|
68
|
-
- !ruby/object:Gem::Version
|
69
|
-
|
70
|
-
|
71
|
-
- 0
|
72
|
-
version: "0"
|
73
|
-
required_rubygems_version: !ruby/object:Gem::Requirement
|
50
|
+
requirements:
|
51
|
+
- - ! '>='
|
52
|
+
- !ruby/object:Gem::Version
|
53
|
+
version: '0'
|
54
|
+
required_rubygems_version: !ruby/object:Gem::Requirement
|
74
55
|
none: false
|
75
|
-
requirements:
|
76
|
-
- -
|
77
|
-
- !ruby/object:Gem::Version
|
78
|
-
|
79
|
-
segments:
|
80
|
-
- 0
|
81
|
-
version: "0"
|
56
|
+
requirements:
|
57
|
+
- - ! '>='
|
58
|
+
- !ruby/object:Gem::Version
|
59
|
+
version: '0'
|
82
60
|
requirements: []
|
83
|
-
|
84
61
|
rubyforge_project: flash_cookie_session
|
85
|
-
rubygems_version: 1.
|
62
|
+
rubygems_version: 1.8.11
|
86
63
|
signing_key:
|
87
64
|
specification_version: 3
|
88
65
|
summary: Rails 3 cookie sessions can cooperate with Flash
|
89
66
|
test_files: []
|
90
|
-
|