-
Notifications
You must be signed in to change notification settings - Fork 3
/
incrdecr_cached_counts.gemspec
29 lines (24 loc) · 1.13 KB
/
incrdecr_cached_counts.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
$:.push File.expand_path("../lib", __FILE__)
# Maintain your gem's version:
require "cached_counts/version"
# Describe your gem and declare its dependencies:
Gem::Specification.new do |s|
s.name = "incrdecr_cached_counts"
s.version = CachedCounts::VERSION
s.authors = ["David Judd"]
s.email = ["[email protected]"]
s.homepage = "https://github.com/academia-edu/cached_counts"
s.summary = "A replacement for Rails' counter caches using memcached (via Dalli)"
s.description = "A replacement for Rails' counter caches using memcached increment & decrement operations, implemented via after_commit hooks and the Dalli gem"
s.license = "MIT"
s.files = `git ls-files`.split("\n")
s.test_files = `git ls-files -- {test,spec,features}/*`.split("\n")
s.executables = `git ls-files -- bin/*`.split("\n").map{ |f| File.basename(f) }
s.require_paths = ["lib"]
s.add_dependency "rails", ">= 5.2"
s.add_dependency "dalli"
s.add_development_dependency "sqlite3"
s.add_development_dependency "rspec"
s.add_development_dependency "database_cleaner"
s.add_development_dependency "rake"
end