-
Notifications
You must be signed in to change notification settings - Fork 3
/
Copy pathdb_lock.gemspec
27 lines (21 loc) · 987 Bytes
/
db_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
$LOAD_PATH.push File.expand_path('lib', __dir__)
# Describe your gem and declare its dependencies:
Gem::Specification.new do |s|
s.name = 'db_lock'
s.version = ENV.fetch('VERSION', '0.9.0')
s.licenses = ['MIT']
s.authors = ['mkon']
s.email = ['[email protected]']
s.homepage = 'https://github.com/mkon/db_lock'
s.summary = 'Obtain manual db/mysql locks'
s.description = 'Obtain manual db locks to guard blocks of code from parallel execution.' \
'Supports mysql, postgres and ms-sql-server.'
s.metadata['rubygems_mfa_required'] = 'true'
s.files = Dir['{app,config,db,lib}/**/*', 'MIT-LICENSE', 'README.md']
s.required_ruby_version = '>= 2.7', '< 4'
s.add_dependency 'activerecord', '>= 6.1', '< 7.1'
s.add_development_dependency 'rspec', '~> 3.7'
s.add_development_dependency 'rubocop', '1.61.0'
s.add_development_dependency 'rubocop-rspec', '3.0.3'
s.add_development_dependency 'simplecov'
end