-
Notifications
You must be signed in to change notification settings - Fork 29
/
redis-copy.gemspec
39 lines (31 loc) · 1.52 KB
/
redis-copy.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
# encoding: utf-8
lib = File.expand_path('../lib', __FILE__)
$LOAD_PATH.unshift(lib) unless $LOAD_PATH.include?(lib)
require 'redis-copy/version'
Gem::Specification.new do |spec|
spec.name = 'redis-copy'
spec.version = RedisCopy::VERSION
authors_and_emails = (`git shortlog -sne`).lines.map do |l|
(/(?<=\t)(.+) <(.+)>\z/).match(l.chomp).to_a.last(2)
end.compact.map(&:to_a)
spec.authors = authors_and_emails.map(&:first)
spec.email = ['[email protected]']
spec.summary = 'Copy the contents of one redis db to another'
spec.description = 'A command-line utility built for copying the ' +
'contents of one redis db to another over a ' +
'network. Supports all data types, persists ttls, ' +
'and attempts to be as efficient as possible.'
spec.homepage = 'https://github.com/yaauie/redis-copy'
spec.license = 'MIT'
spec.files = `git ls-files`.split($/)
spec.executables = spec.files.grep(/^bin\//) { |f| File.basename(f) }
spec.test_files = spec.files.grep(/^(test|spec|features)\//)
spec.require_paths = ['lib']
spec.required_ruby_version = '>= 1.9.3'
spec.add_development_dependency 'bundler', '~> 1.3'
spec.add_development_dependency 'rake'
spec.add_development_dependency 'rspec', '~> 2.14'
spec.add_runtime_dependency 'redis', '~> 3.0', '>= 3.0.6'
spec.add_runtime_dependency 'activesupport'
spec.add_runtime_dependency 'implements', '~> 0.0.2'
end