forked from resque/redis-namespace
-
Notifications
You must be signed in to change notification settings - Fork 0
/
redis-namespace.gemspec
40 lines (33 loc) · 1.63 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
32
33
34
35
36
37
38
39
40
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 = "https://github.com/resque/redis-namespace"
s.authors = ["Chris Wanstrath", "Terence Lee", "Steve Klabnik", "Ryan Biesemeyer"]
s.license = 'MIT'
s.metadata = {
"bug_tracker_uri" => "https://github.com/resque/redis-namespace/issues",
"changelog_uri" => "https://github.com/resque/redis-namespace/blob/master/CHANGELOG.md",
"documentation_uri" => "https://www.rubydoc.info/gems/redis-namespace/#{s.version}",
"source_code_uri" => "https://github.com/resque/redis-namespace/tree/v#{s.version}",
}
s.files = %w( README.md Rakefile LICENSE )
s.files += Dir.glob("lib/**/*")
s.files += Dir.glob("test/**/*")
s.files += Dir.glob("spec/**/*")
s.required_ruby_version = '>= 2.4'
s.add_dependency "redis", ">= 3.0.4"
s.add_development_dependency "rake"
s.add_development_dependency "rspec", "~> 3.7"
s.add_development_dependency "rspec-its"
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