Sha256: 5ab439c494a262bf15a015370236500d179b063de18b4ccbfbc3f0452626759c

Contents?: true

Size: 1.52 KB

Versions: 2

Compression:

Stored size: 1.52 KB

Contents

# 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         = ['redis-copy@yaauie.com']
  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

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
redis-copy-1.0.0 redis-copy.gemspec
redis-copy-1.0.0.rc.1 redis-copy.gemspec