-
Notifications
You must be signed in to change notification settings - Fork 0
/
mongo-lock.gemspec
35 lines (30 loc) · 1.4 KB
/
mongo-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
27
28
29
30
31
32
33
34
35
# coding: utf-8
lib = File.expand_path('../lib', __FILE__)
$LOAD_PATH.unshift(lib) unless $LOAD_PATH.include?(lib)
require 'mongo-lock/version'
Gem::Specification.new do |spec|
spec.name = "mongo-lock"
spec.version = Mongo::Lock::VERSION
spec.authors = ["Matthew Spence"]
spec.email = "[email protected]"
spec.homepage = "https://github.com/trakio/mongo-lock"
spec.summary = "Pessimistic locking for Ruby and MongoDB"
spec.description = "Key based pessimistic locking for Ruby and MongoDB. Is this key avaliable? Yes - Lock it for me for a sec will you. No - OK I'll just wait here until its ready."
spec.required_rubygems_version = ">= 1.3.6"
spec.license = 'MIT'
spec.files = `git ls-files`.split($/)
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"]
# s.add_dependency 'some-gem'
spec.extra_rdoc_files = ['README.md', 'LICENSE']
spec.add_development_dependency 'mongo'
spec.add_development_dependency 'moped'
spec.add_development_dependency 'rspec'
spec.add_development_dependency 'fuubar'
spec.add_development_dependency 'pry'
spec.add_development_dependency 'activesupport'
spec.add_development_dependency 'coveralls'
spec.add_development_dependency 'bson_ext'
spec.add_development_dependency 'rails', '~> 4.0.0'
end