forked from elisehuard/redis-session-store
-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathRakefile
29 lines (27 loc) · 1011 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
require 'rubygems'
require 'rake'
begin
require 'jeweler'
Jeweler::Tasks.new do |gem|
gem.name = "rails3-redis2-session-store"
gem.summary = %Q{Rails 3 Redis 2 session store }
gem.description = %Q{A drop-in replacement for e.g. MemCacheStore to store Rails sessions (and Rails sessions only) in Redis.}
gem.email = "[email protected]"
gem.homepage = "http://github.com/casualjim/redis-session-store"
gem.authors = ["Mathias Meyer", "Ivan Porto Carrero"]
gem.add_runtime_dependency "redis"
gem.require_path = "lib"
gem.files = FileList['[A-Z]*', "{lib/**/*}"]
# gem is a Gem::Specification... see http://www.rubygems.org/read/chapter/20 for additional settings
end
rescue LoadError
puts "Jeweler (or a dependency) not available. Install it with: gem install jeweler"
end
begin
require 'yard'
YARD::Rake::YardocTask.new
rescue LoadError
task :yardoc do
abort "YARD is not available. In order to run yardoc, you must: sudo gem install yard"
end
end