forked from resque/redis-namespace
-
Notifications
You must be signed in to change notification settings - Fork 0
/
redis-namespace.gemspec
31 lines (26 loc) · 1.23 KB
/
redis-namespace.gemspec
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
lib = File.expand_path('../lib', __FILE__)
$LOAD_PATH.unshift(lib) unless $LOAD_PATH.include?(lib)
require 'redis/namespace/version'
Gem::Specification.new do |s|
s.name = "redis-namespace"
s.version = Redis::Namespace::VERSION
s.date = Time.now.strftime('%Y-%m-%d')
s.summary = "Namespaces Redis commands."
s.homepage = "http://github.com/resque/redis-namespace"
s.authors = ["Chris Wanstrath", "Terence Lee", "Steve Klabnik", "Ryan Biesemeyer"]
s.has_rdoc = false
s.license = 'MIT'
s.files = %w( README.md Rakefile LICENSE )
s.files += Dir.glob("lib/**/*")
s.files += Dir.glob("test/**/*")
s.files += Dir.glob("spec/**/*")
s.add_dependency "redis", "~> 3.0", ">= 3.0.4"
s.add_development_dependency "rake", "~> 10.1"
s.add_development_dependency "rspec", "~> 2.14"
s.description = <<description
Adds a Redis::Namespace class which can be used to namespace calls
to Redis. This is useful when using a single instance of Redis with
multiple, different applications.
description
end