forked from goatapp/activerecord-delay_touching
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathactiverecord-delay_touching.gemspec
22 lines (19 loc) · 1.13 KB
/
activerecord-delay_touching.gemspec
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
# coding: utf-8
lib = File.expand_path('../lib', __FILE__)
$LOAD_PATH.unshift(lib) unless $LOAD_PATH.include?(lib)
require 'activerecord/delay_touching/version'
Gem::Specification.new do |spec|
spec.name = "activerecord-delay_touching"
spec.version = Activerecord::DelayTouching::VERSION
spec.authors = ["GoDaddy P&C Commerce", "Brian Morearty"]
spec.email = ["[email protected]", "[email protected]"]
spec.summary = %q{Batch up your ActiveRecord "touch" operations for better performance.}
spec.description = %q{Batch up your ActiveRecord "touch" operations for better performance. ActiveRecord::Base.delay_touching do ... end. When "end" is reached, all accumulated "touch" calls will be consolidated into as few database round trips as possible.}
spec.homepage = ""
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_dependency "activerecord", ">= 4.2", "< 8"
end