multi_session_cache_store 0.1.0 → 0.1.1

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 66fb3d5fc3625a50a9aaae145cef4c40e5e14718b1c18e80e63c634ae44e4b03
4
- data.tar.gz: af560ea02190faba798621512095f89819b7b660d084d2b4603b5ae63bbd7a9f
3
+ metadata.gz: 30607de5fdd70173593594a933e12bb23d6a330785a52f849a574011f2477673
4
+ data.tar.gz: f48eaeb697e73a138be5da73c687fc783599e6e5cd408904c24001a6a3af5c2b
5
5
  SHA512:
6
- metadata.gz: 24f1d602d8beb0f021fc37513063d5c954cff4312ce75c51c4caabf906a77011c8421b9ed291de33072fd9cd9853549ff3a1ec5dbf634de05a4e9c67814c3bbe
7
- data.tar.gz: dcd9498da0f9ccd8d6eec9a603c0f07e5bc9a657834a7c24c7d886c355292bc67cda66ab884c6ecc17f42ba78daa3f92b9965683b3401bc98462254da9ec1913
6
+ metadata.gz: ebee33869c4e14ce6d04f46ae574a105627c0421008e04c13933c440496352321eda08f91e865f2919bbea2bc95365dea88f0dc3f76c80824e70082d307160c0
7
+ data.tar.gz: 992713d6454a01e3140fb7f6e6f6c601a8eb336110edb947539dad22d7bf403bad9c845855753e2a3985d3a55b7af2a6f9bcb12cd22675b4856ec265b46a0763
data/README.md CHANGED
@@ -28,10 +28,11 @@ Add session_store.rb to initializers with the following example configuration:
28
28
  param: "msid",
29
29
  serializer: JSON
30
30
  }
31
+ ```
31
32
 
32
33
  ## Contributing
33
34
 
34
- Bug reports and pull requests are welcome on GitHub at https://github.com/mihdavid/multi_session_cache_store.
35
+ Bug reports and pull requests are welcome on GitHub at https://github.com/emartech/multi_session_cache_store.
35
36
 
36
37
  ## License
37
38
 
@@ -1,5 +1,5 @@
1
1
  class MultiSessionCacheStore < ActionDispatch::Session::AbstractStore
2
- VERSION = "0.1.0"
2
+ VERSION = "0.1.1"
3
3
 
4
4
  def initialize(app, options = {})
5
5
  @cache = options[:cache] || Rails.cache
@@ -33,7 +33,7 @@ class MultiSessionCacheStore < ActionDispatch::Session::AbstractStore
33
33
  private
34
34
 
35
35
  def cache_key(env, sid)
36
- subsession_id = env.params[@param] || generate_sid
36
+ subsession_id = env.params[@param] || "no_subsession"
37
37
  "_session_id:#{sid}:#{subsession_id}"
38
38
  end
39
39
  end
@@ -4,12 +4,12 @@ $LOAD_PATH.unshift(lib) unless $LOAD_PATH.include?(lib)
4
4
 
5
5
  Gem::Specification.new do |spec|
6
6
  spec.name = "multi_session_cache_store"
7
- spec.version = "0.1.0"
7
+ spec.version = "0.1.1"
8
8
  spec.authors = ["mihalek david"]
9
9
  spec.email = ["david.mihalek@emarsys.com"]
10
10
 
11
11
  spec.summary = %q{Multi Session Cache Store}
12
- spec.homepage = "https://github.com/mihdavid/multi_session_cache_store.git"
12
+ spec.homepage = "https://github.com/emartech/multi_session_cache_store.git"
13
13
  spec.license = "MIT"
14
14
 
15
15
  # Prevent pushing this gem to RubyGems.org. To allow pushes either set the 'allowed_push_host'
@@ -18,8 +18,8 @@ Gem::Specification.new do |spec|
18
18
  # spec.metadata["allowed_push_host"] = "http://rubygems.org"
19
19
 
20
20
  spec.metadata["homepage_uri"] = spec.homepage
21
- spec.metadata["source_code_uri"] = "https://github.com/mihdavid/multi_session_cache_store.git"
22
- spec.metadata["changelog_uri"] = "https://github.com/mihdavid/multi_session_cache_store.git/releases"
21
+ spec.metadata["source_code_uri"] = "https://github.com/emartech/multi_session_cache_store.git"
22
+ spec.metadata["changelog_uri"] = "https://github.com/emartech/multi_session_cache_store.git/releases"
23
23
  else
24
24
  raise "RubyGems 2.0 or newer is required to protect against " \
25
25
  "public gem pushes."
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: multi_session_cache_store
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.0
4
+ version: 0.1.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - mihalek david
8
8
  autorequire:
9
9
  bindir: exe
10
10
  cert_chain: []
11
- date: 2019-03-04 00:00:00.000000000 Z
11
+ date: 2019-03-05 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: actionpack
@@ -84,13 +84,13 @@ files:
84
84
  - bin/setup
85
85
  - lib/multi_session_cache_store.rb
86
86
  - multi_session_cache_store.gemspec
87
- homepage: https://github.com/mihdavid/multi_session_cache_store.git
87
+ homepage: https://github.com/emartech/multi_session_cache_store.git
88
88
  licenses:
89
89
  - MIT
90
90
  metadata:
91
- homepage_uri: https://github.com/mihdavid/multi_session_cache_store.git
92
- source_code_uri: https://github.com/mihdavid/multi_session_cache_store.git
93
- changelog_uri: https://github.com/mihdavid/multi_session_cache_store.git/releases
91
+ homepage_uri: https://github.com/emartech/multi_session_cache_store.git
92
+ source_code_uri: https://github.com/emartech/multi_session_cache_store.git
93
+ changelog_uri: https://github.com/emartech/multi_session_cache_store.git/releases
94
94
  post_install_message:
95
95
  rdoc_options: []
96
96
  require_paths: