redis-session-store 0.1.5 → 0.1.6

Sign up to get free protection for your applications and to get access to all the features.
Files changed (3) hide show
  1. data/Rakefile +2 -2
  2. data/lib/redis-session-store.rb +1 -4
  3. metadata +19 -10
data/Rakefile CHANGED
@@ -4,7 +4,7 @@ require 'rubygems/specification'
4
4
 
5
5
  spec = Gem::Specification.new do |s|
6
6
  s.name = 'redis-session-store'
7
- s.version = '0.1.5'
7
+ s.version = '0.1.6'
8
8
  s.platform = Gem::Platform::RUBY
9
9
  s.has_rdoc = true
10
10
  s.extra_rdoc_files = ["LICENSE"]
@@ -12,7 +12,7 @@ spec = Gem::Specification.new do |s|
12
12
  s.description = s.summary
13
13
  s.authors = "Mathias Meyer"
14
14
  s.email = "meyer@paperplanes.de"
15
- s.homepage = ""
15
+ s.homepage = "http://github.com/mattmatt/redis-session-store"
16
16
  s.add_dependency "redis"
17
17
  s.require_path = 'lib'
18
18
  s.files = %w(README.md Rakefile) + Dir.glob("{lib}/**/*")
@@ -7,7 +7,7 @@ require 'redis'
7
7
  # :key => Same as with the other cookie stores, key name
8
8
  # :secret => Encryption secret for the key
9
9
  # :host => Redis host name, default is localhost
10
- # :port => Redis port, default is 6370
10
+ # :port => Redis port, default is 6379
11
11
  # :db => Database number, defaults to 0. Useful to separate your session storage from other data
12
12
  # :key_prefix => Prefix for keys used in Redis, e.g. myapp-. Useful to separate session storage keys visibly from others
13
13
  # :expire_after => A number in seconds to set the timeout interval for the session. Will map directly to expiry in Redis
@@ -29,9 +29,6 @@ class RedisSessionStore < ActionController::Session::AbstractStore
29
29
  }.update(options)
30
30
 
31
31
  @pool = Redis.new(@default_options)
32
- @mutex = Mutex.new
33
-
34
- super
35
32
  end
36
33
 
37
34
  private
metadata CHANGED
@@ -1,7 +1,12 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: redis-session-store
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.5
4
+ prerelease: false
5
+ segments:
6
+ - 0
7
+ - 1
8
+ - 6
9
+ version: 0.1.6
5
10
  platform: ruby
6
11
  authors:
7
12
  - Mathias Meyer
@@ -9,19 +14,21 @@ autorequire:
9
14
  bindir: bin
10
15
  cert_chain: []
11
16
 
12
- date: 2010-04-08 00:00:00 +02:00
17
+ date: 2010-04-19 00:00:00 +02:00
13
18
  default_executable:
14
19
  dependencies:
15
20
  - !ruby/object:Gem::Dependency
16
21
  name: redis
17
- type: :runtime
18
- version_requirement:
19
- version_requirements: !ruby/object:Gem::Requirement
22
+ prerelease: false
23
+ requirement: &id001 !ruby/object:Gem::Requirement
20
24
  requirements:
21
25
  - - ">="
22
26
  - !ruby/object:Gem::Version
27
+ segments:
28
+ - 0
23
29
  version: "0"
24
- version:
30
+ type: :runtime
31
+ version_requirements: *id001
25
32
  description: A drop-in replacement for e.g. MemCacheStore to store Rails sessions (and Rails sessions only) in Redis.
26
33
  email: meyer@paperplanes.de
27
34
  executables: []
@@ -36,7 +43,7 @@ files:
36
43
  - lib/redis-session-store.rb
37
44
  - LICENSE
38
45
  has_rdoc: true
39
- homepage: ""
46
+ homepage: http://github.com/mattmatt/redis-session-store
40
47
  licenses: []
41
48
 
42
49
  post_install_message:
@@ -48,18 +55,20 @@ required_ruby_version: !ruby/object:Gem::Requirement
48
55
  requirements:
49
56
  - - ">="
50
57
  - !ruby/object:Gem::Version
58
+ segments:
59
+ - 0
51
60
  version: "0"
52
- version:
53
61
  required_rubygems_version: !ruby/object:Gem::Requirement
54
62
  requirements:
55
63
  - - ">="
56
64
  - !ruby/object:Gem::Version
65
+ segments:
66
+ - 0
57
67
  version: "0"
58
- version:
59
68
  requirements: []
60
69
 
61
70
  rubyforge_project:
62
- rubygems_version: 1.3.5
71
+ rubygems_version: 1.3.6
63
72
  signing_key:
64
73
  specification_version: 3
65
74
  summary: A drop-in replacement for e.g. MemCacheStore to store Rails sessions (and Rails sessions only) in Redis.