-
Notifications
You must be signed in to change notification settings - Fork 1
/
mario-redis-lock.gemspec
26 lines (21 loc) · 1.3 KB
/
mario-redis-lock.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
# coding: utf-8
lib = File.expand_path('../lib', __FILE__)
$LOAD_PATH.unshift(lib) unless $LOAD_PATH.include?(lib)
require 'redis_lock/version'
Gem::Specification.new do |spec|
spec.name = "mario-redis-lock"
spec.version = RedisLock::VERSION
spec.authors = ["Mario Izquierdo"]
spec.email = ["[email protected]"]
spec.summary = %q{Yet another Ruby distributed lock using Redis, with emphasis in transparency.}
spec.description = %q{Yet another Ruby distributed lock using Redis, with emphasis in transparency. Requires Redis >= 2.6.12, because it uses the new syntax for SET to easily implement the robust algorithm described in the SET command documentation (http://redis.io/commands/set).}
spec.homepage = "https://github.com/marioizquierdo/mario-redis-lock"
spec.license = "MIT"
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_runtime_dependency 'redis', '>= 3.0.5' # Needed support for SET with EX, PX, NX, XX options: https://github.com/redis/redis-rb/pull/343
spec.add_development_dependency 'bundler', '>= 1'
spec.add_development_dependency 'rake', '>= 10'
end