-
Notifications
You must be signed in to change notification settings - Fork 4
/
sidekiq-transaction_guard.gemspec
37 lines (30 loc) · 1.11 KB
/
sidekiq-transaction_guard.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
36
37
# frozen_string_literal: true
Gem::Specification.new do |spec|
spec.name = "sidekiq-transaction_guard"
spec.version = File.read(File.expand_path("VERSION", __dir__)).strip
spec.authors = ["Brian Durand", "Winston Durand"]
spec.email = ["[email protected]", "[email protected]"]
spec.summary = "Protect from accidentally invoking Sidekiq jobs when there are open database transactions"
spec.homepage = "https://github.com/bdurand/sidekiq-transaction_guard"
spec.license = "MIT"
# Specify which files should be added to the gem when it is released.
# The `git ls-files -z` loads the files in the RubyGem that have been added into git.
ignore_files = %w[
.
Appraisals
Gemfile
Gemfile.lock
Rakefile
bin/
gemfiles/
spec/
]
spec.files = Dir.chdir(__dir__) do
`git ls-files -z`.split("\x0").reject { |f| ignore_files.any? { |path| f.start_with?(path) } }
end
spec.require_paths = ["lib"]
spec.required_ruby_version = ">= 2.2.2"
spec.add_dependency "activerecord", ">= 4.0"
spec.add_dependency "sidekiq", ">= 3.0"
spec.add_development_dependency "bundler"
end