forked from sds/mock_redis
-
Notifications
You must be signed in to change notification settings - Fork 0
/
mock_redis.gemspec
31 lines (26 loc) · 1.16 KB
/
mock_redis.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
$LOAD_PATH << File.expand_path('lib', __dir__)
require 'mock_redis/version'
Gem::Specification.new do |s|
s.name = 'mock_redis'
s.version = MockRedis::VERSION
s.license = 'MIT'
s.platform = Gem::Platform::RUBY
s.authors = ['Shane da Silva', 'Samuel Merritt']
s.email = ['[email protected]']
s.homepage = 'https://github.com/sds/mock_redis'
s.summary = 'Redis mock that just lives in memory; useful for testing.'
s.description = <<-MSG.strip.gsub(/\s+/, ' ')
Instantiate one with `redis = MockRedis.new` and treat it like you would a
normal Redis object. It supports all the usual Redis operations.
MSG
s.files = `git ls-files`.split("\n")
s.test_files = `git ls-files -- spec/*`.split("\n")
s.executables = `git ls-files -- bin/*`.split("\n").map { |f| File.basename(f) }
s.require_paths = ['lib']
s.required_ruby_version = '>= 2.4'
s.add_development_dependency 'rake', '>= 10', '< 12'
s.add_development_dependency 'redis', '~>4.1.0'
s.add_development_dependency 'rspec', '~> 3.0'
s.add_development_dependency 'rspec-its', '~> 1.0'
s.add_development_dependency 'timecop', '~> 0.9.1'
end