# coding: utf-8 lib = File.expand_path('../lib', __FILE__) $LOAD_PATH.unshift(lib) unless $LOAD_PATH.include?(lib) require 'redlock/version' Gem::Specification.new do |spec| spec.name = "redlock" spec.version = Redlock::VERSION spec.authors = ["Leandro Moreira"] spec.email = ["leandro.ribeiro.moreira@gmail.com"] spec.summary = %q{Distributed lock using Redis written in Ruby.} spec.description = %q{Distributed lock using Redis written in Ruby. Highly inspired by https://github.com/antirez/redlock-rb.} spec.homepage = "https://github.com/leandromoreira/redlock-rb" spec.license = 'BSD-2-Clause' spec.files = `git ls-files -z`.split("\x0") spec.executables = spec.files.grep(%r{^bin/}) { |f| File.basename(f) } spec.test_files = spec.files.grep(%r{^(test|spec|features)/}) spec.require_paths = ["lib"] spec.add_dependency 'redis', '>= 3.0.0', '< 5.0' spec.add_development_dependency "coveralls", "~> 0.8" spec.add_development_dependency 'rake', '~> 11.1', '>= 11.1.2' spec.add_development_dependency 'rspec', '~> 3', '>= 3.0.0' end