forked from roidrage/redis-session-store
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathRakefile
34 lines (30 loc) · 946 Bytes
/
Rakefile
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
require 'rubygems'
require 'rake/gempackagetask'
require 'rubygems/specification'
task :default => :test
desc "Run tests"
task :test do
Dir['test/*_test.rb'].each do |f|
require f
end
end
spec = Gem::Specification.new do |s|
s.name = 'redis-session-store'
s.version = '0.1.6'
s.platform = Gem::Platform::RUBY
s.has_rdoc = true
s.extra_rdoc_files = ["LICENSE"]
s.summary = "A drop-in replacement for e.g. MemCacheStore to store Rails sessions (and Rails sessions only) in Redis."
s.description = s.summary
s.authors = "Mathias Meyer"
s.email = "meyer@paperplanes.de"
s.homepage = "http://github.com/mattmatt/redis-session-store"
s.add_dependency "redis", ">=2.0.1"
s.add_dependency "activesupport"
s.add_dependency "actionpack"
s.require_path = 'lib'
s.files = %w(README.md Rakefile) + Dir.glob("{lib}/**/*") + Dir.glob("{test}/**/*")
end
Rake::GemPackageTask.new(spec) do |pkg|
pkg.gem_spec = spec
end