rails3-redis-session-store 0.1.7 → 0.2.0

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.
Files changed (4) hide show
  1. data/README.md +2 -2
  2. data/Rakefile +24 -18
  3. data/VERSION +1 -0
  4. metadata +12 -9
data/README.md CHANGED
@@ -16,7 +16,7 @@ drop-in support for caching, check out
16
16
  Installation
17
17
  ============
18
18
 
19
- gem install redis-session-store
19
+ gem install rails3-redis-session-store
20
20
 
21
21
  Configuration
22
22
  =============
@@ -34,4 +34,4 @@ Set them using:
34
34
  In your Rails app, throw in an initializer with the following contents
35
35
  and the configuration above:
36
36
 
37
- ActionController::Base.session_store = RedisSessionStore
37
+ Rails.application.config.session_store :redis_session_store
data/Rakefile CHANGED
@@ -1,23 +1,29 @@
1
1
  require 'rubygems'
2
- require 'rake/gempackagetask'
3
- require 'rubygems/specification'
2
+ require 'rake'
4
3
 
5
- spec = Gem::Specification.new do |s|
6
- s.name = 'rails3-redis-session-store'
7
- s.version = '0.1.7'
8
- s.platform = Gem::Platform::RUBY
9
- s.has_rdoc = true
10
- s.extra_rdoc_files = ["LICENSE"]
11
- s.summary = "A drop-in replacement for e.g. MemCacheStore to store Rails sessions (and Rails sessions only) in Redis."
12
- s.description = s.summary
13
- s.authors = "Mathias Meyer"
14
- s.email = "meyer@paperplanes.de"
15
- s.homepage = "http://github.com/mattmatt/redis-session-store"
16
- s.add_dependency "redis"
17
- s.require_path = 'lib'
18
- s.files = %w(README.md Rakefile) + Dir.glob("{lib}/**/*")
4
+ begin
5
+ require 'jeweler'
6
+ Jeweler::Tasks.new do |gem|
7
+ gem.name = "rails3-redis-session-store"
8
+ gem.summary = %Q{Rails 3 Redis session store }
9
+ gem.description = %Q{A drop-in replacement for e.g. MemCacheStore to store Rails sessions (and Rails sessions only) in Redis.}
10
+ gem.email = "ivan@flanders.co.nz"
11
+ gem.homepage = "http://github.com/casualjim/redis-session-store"
12
+ gem.authors = ["Mathias Meyer", "Ivan Porto Carrero"]
13
+ gem.add_runtime_dependency "redis"
14
+ gem.require_path = "lib"
15
+ gem.files = FileList['[A-Z]*', "{lib/**/*}"]
16
+ # gem is a Gem::Specification... see http://www.rubygems.org/read/chapter/20 for additional settings
17
+ end
18
+ rescue LoadError
19
+ puts "Jeweler (or a dependency) not available. Install it with: gem install jeweler"
19
20
  end
20
21
 
21
- Rake::GemPackageTask.new(spec) do |pkg|
22
- pkg.gem_spec = spec
22
+ begin
23
+ require 'yard'
24
+ YARD::Rake::YardocTask.new
25
+ rescue LoadError
26
+ task :yardoc do
27
+ abort "YARD is not available. In order to run yardoc, you must: sudo gem install yard"
28
+ end
23
29
  end
data/VERSION ADDED
@@ -0,0 +1 @@
1
+ 0.2.0
metadata CHANGED
@@ -4,12 +4,13 @@ version: !ruby/object:Gem::Version
4
4
  prerelease: false
5
5
  segments:
6
6
  - 0
7
- - 1
8
- - 7
9
- version: 0.1.7
7
+ - 2
8
+ - 0
9
+ version: 0.2.0
10
10
  platform: ruby
11
11
  authors:
12
12
  - Mathias Meyer
13
+ - Ivan Porto Carrero
13
14
  autorequire:
14
15
  bindir: bin
15
16
  cert_chain: []
@@ -30,25 +31,27 @@ dependencies:
30
31
  type: :runtime
31
32
  version_requirements: *id001
32
33
  description: A drop-in replacement for e.g. MemCacheStore to store Rails sessions (and Rails sessions only) in Redis.
33
- email: meyer@paperplanes.de
34
+ email: ivan@flanders.co.nz
34
35
  executables: []
35
36
 
36
37
  extensions: []
37
38
 
38
39
  extra_rdoc_files:
39
40
  - LICENSE
41
+ - README.md
40
42
  files:
43
+ - LICENSE
41
44
  - README.md
42
45
  - Rakefile
46
+ - VERSION
43
47
  - lib/redis-session-store.rb
44
- - LICENSE
45
48
  has_rdoc: true
46
- homepage: http://github.com/mattmatt/redis-session-store
49
+ homepage: http://github.com/casualjim/redis-session-store
47
50
  licenses: []
48
51
 
49
52
  post_install_message:
50
- rdoc_options: []
51
-
53
+ rdoc_options:
54
+ - --charset=UTF-8
52
55
  require_paths:
53
56
  - lib
54
57
  required_ruby_version: !ruby/object:Gem::Requirement
@@ -71,6 +74,6 @@ rubyforge_project:
71
74
  rubygems_version: 1.3.6
72
75
  signing_key:
73
76
  specification_version: 3
74
- summary: A drop-in replacement for e.g. MemCacheStore to store Rails sessions (and Rails sessions only) in Redis.
77
+ summary: Rails 3 Redis session store
75
78
  test_files: []
76
79