flash_cookie_session 1.1.2 → 1.1.3

Sign up to get free protection for your applications and to get access to all the features.
@@ -13,9 +13,11 @@ module FlashCookieSession
13
13
  end
14
14
 
15
15
  session_store = Rails.application.config.session_store
16
- session_key = Rails.application.config.session_options[:key]
17
16
 
18
- raise 'FlashCookieSession config missing' unless session_store && session_key
17
+ raise 'FlashCookieSession requires session store to be specified' unless session_store
18
+
19
+ session_key = Rails.application.config.session_options[:key]
20
+ session_key = '_session_id' if session_key.blank?
19
21
 
20
22
  Rails.application.middleware.insert_before(
21
23
  session_store,
@@ -1,3 +1,3 @@
1
1
  module FlashCookieSession
2
- VERSION = "1.1.2"
2
+ VERSION = "1.1.3"
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: flash_cookie_session
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.1.2
4
+ version: 1.1.3
5
5
  prerelease:
6
6
  platform: ruby
7
7
  authors:
@@ -9,11 +9,11 @@ authors:
9
9
  autorequire:
10
10
  bindir: bin
11
11
  cert_chain: []
12
- date: 2012-02-17 00:00:00.000000000 Z
12
+ date: 2012-02-27 00:00:00.000000000 Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: rails
16
- requirement: &70274343179000 !ruby/object:Gem::Requirement
16
+ requirement: &70273139878220 !ruby/object:Gem::Requirement
17
17
  none: false
18
18
  requirements:
19
19
  - - ~>
@@ -21,7 +21,7 @@ dependencies:
21
21
  version: '3.0'
22
22
  type: :runtime
23
23
  prerelease: false
24
- version_requirements: *70274343179000
24
+ version_requirements: *70273139878220
25
25
  description: Useful for Flash-based file uploaders (SWFUpload, Uploadify, Plupload,
26
26
  etc)
27
27
  email: