galakei 0.6.5 → 0.6.6

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -6,7 +6,7 @@ module Galakei::SessionIdParameter::InUrl
6
6
  if session_opts[:id].blank?
7
7
  # make sure to reset any active record session store,
8
8
  # we'll have to create a new one for the new session
9
- request.env[ActiveRecord::SessionStore::SESSION_RECORD_KEY] = nil
9
+ request.env[ActiveRecord::SessionStore::SESSION_RECORD_KEY] = nil if defined?(ActiveRecord)
10
10
  # create a new session ID
11
11
  session_opts[:id] = ActiveSupport::SecureRandom.hex(8)
12
12
  end
@@ -1,3 +1,3 @@
1
1
  module Galakei
2
- VERSION = "0.6.5"
2
+ VERSION = "0.6.6"
3
3
  end
metadata CHANGED
@@ -2,7 +2,7 @@
2
2
  name: galakei
3
3
  version: !ruby/object:Gem::Version
4
4
  prerelease:
5
- version: 0.6.5
5
+ version: 0.6.6
6
6
  platform: ruby
7
7
  authors:
8
8
  - Paul McMahon
@@ -12,7 +12,7 @@ autorequire:
12
12
  bindir: bin
13
13
  cert_chain: []
14
14
 
15
- date: 2011-04-27 00:00:00 +09:00
15
+ date: 2011-05-02 00:00:00 +09:00
16
16
  default_executable:
17
17
  dependencies:
18
18
  - !ruby/object:Gem::Dependency