activerecord-session_store 1.1.2 → 1.1.3

Sign up to get free protection for your applications and to get access to all the features.

Potentially problematic release.


This version of activerecord-session_store might be problematic. Click here for more details.

checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 5e2e1e0844945a064585c4c4a31355830f6586a9175704255a14049798f5fcf2
4
- data.tar.gz: b0915247c9a76ef5c63678c0f0ad046378291bdcf94b1bfbcdeca643a010b64a
3
+ metadata.gz: af08a0134b3e5a615c2d9f400c30c9d0b4f5327e21c1254f49cfec775ef73732
4
+ data.tar.gz: f6dd6871a3df37d22cc652b54b3f76f41746d9f0c5e01920984a3bcc6d516cf6
5
5
  SHA512:
6
- metadata.gz: 7cd613dbc4b3a84ef0313700aab7222f47e7f6137768564a89e92c0c99583878c18c1c0d5afbaa80ca0e8a2acf0d1705f0a8154f2e89a99fa30af6a947e12926
7
- data.tar.gz: a7c262c0d3922c6929d36e6bf909dc6b386dd43f7aadbd19f7e6707f14ba116c570a6f94a4176f548a2e73bbb22cf3c87ffd3c7303664ae4c2eba2f4aaf28acd
6
+ metadata.gz: 300394f621b26e545ba842e3d8c4a78f733cd34768ede33ab07f7f4abfc168fc1fa60c4b10ea47a7046db896395206201e3a0b0aa1680418bd219998ebbd5b46
7
+ data.tar.gz: f4fd30af09711cc74e0a7365c6c529c99a1cd47a4aa91f8c0314deb4eb0cd552d8b3824e497e5d9af86ac110c98f3b9d5865b771af1db12993401774bdfd7422
@@ -7,6 +7,8 @@ require 'multi_json'
7
7
 
8
8
  module ActiveRecord
9
9
  module SessionStore
10
+ autoload :Session, 'active_record/session_store/session'
11
+
10
12
  module ClassMethods # :nodoc:
11
13
  mattr_accessor :serializer
12
14
 
@@ -111,7 +113,6 @@ end
111
113
 
112
114
  ActiveSupport.on_load(:active_record) do
113
115
  require 'active_record/session_store/session'
114
- ActionDispatch::Session::ActiveRecordStore.session_class = ActiveRecord::SessionStore::Session
115
116
  end
116
117
 
117
118
  require 'active_record/session_store/sql_bypass'
@@ -103,3 +103,5 @@ module ActiveRecord
103
103
  end
104
104
  end
105
105
  end
106
+
107
+ ActionDispatch::Session::ActiveRecordStore.session_class = ActiveRecord::SessionStore::Session
@@ -1,5 +1,5 @@
1
1
  module ActiveRecord
2
2
  module SessionStore
3
- VERSION = "1.1.2".freeze
3
+ VERSION = "1.1.3".freeze
4
4
  end
5
5
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: activerecord-session_store
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.1.2
4
+ version: 1.1.3
5
5
  platform: ruby
6
6
  authors:
7
7
  - David Heinemeier Hansson
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2019-03-01 00:00:00.000000000 Z
11
+ date: 2019-03-23 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: activerecord
@@ -148,7 +148,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
148
148
  - !ruby/object:Gem::Version
149
149
  version: '0'
150
150
  requirements: []
151
- rubygems_version: 3.0.2
151
+ rubygems_version: 3.0.3
152
152
  signing_key:
153
153
  specification_version: 4
154
154
  summary: An Action Dispatch session store backed by an Active Record class.