forked from sds/mock_redis
-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathmock_redis.gemspec
28 lines (24 loc) · 1.06 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
# -*- encoding: utf-8 -*-
$:.push File.expand_path('../lib', __FILE__)
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 = ['Causes Engineering', 'Samuel Merritt']
s.email = ['[email protected]']
s.homepage = 'https://github.com/causes/mock_redis'
s.summary = 'Redis mock that just lives in memory; useful for testing.'
s.description = <<-EOS.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.
EOS
s.files = `git ls-files`.split("\n")
s.test_files = `git ls-files -- {test,spec,features}/*`.split("\n")
s.executables = `git ls-files -- bin/*`.split("\n").map{ |f| File.basename(f) }
s.require_paths = ['lib']
s.add_development_dependency 'rake', '~> 0.9.2'
s.add_development_dependency 'redis', '~> 3.0.0'
s.add_development_dependency 'rspec', '~> 2.6.0'
end