-
Notifications
You must be signed in to change notification settings - Fork 192
/
redis-namespace.gemspec
41 lines (34 loc) · 1.66 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
41
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.email = ["[email protected]", "[email protected]", "[email protected]", "[email protected]", "[email protected]"]
s.authors = ["Chris Wanstrath", "Terence Lee", "Steve Klabnik", "Ryan Biesemeyer", "Mike Bianco"]
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}",
"rubygems_mfa_required" => "true"
}
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", ">= 4"
s.add_development_dependency "rake"
s.add_development_dependency "rspec", "~> 3.7"
s.add_development_dependency "rspec-its"
s.add_development_dependency "connection_pool"
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