-
Notifications
You must be signed in to change notification settings - Fork 7
Expand file tree
/
Copy pathquick_count.gemspec
More file actions
30 lines (23 loc) · 1.11 KB
/
quick_count.gemspec
File metadata and controls
30 lines (23 loc) · 1.11 KB
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
require_relative 'lib/quick_count/version'
Gem::Specification.new do |spec|
spec.name = 'quick_count'
spec.version = QuickCount::VERSION
spec.authors = ['Dale Stevens']
spec.email = ['dale@twilightcoders.net']
spec.summary = 'Quickly get an accurate count estimation for large tables.'
spec.description = 'Fast approximate row counts for large PostgreSQL tables using database statistics instead of COUNT(*)'
spec.homepage = "https://github.com/TwilightCoders/quick_count"
spec.license = 'MIT'
spec.metadata['allowed_push_host'] = 'https://rubygems.org'
spec.files = Dir['CHANGELOG.md', 'README.md', 'LICENSE', 'lib/**/*']
spec.bindir = 'bin'
spec.require_paths = ['lib']
rails_versions = ['>= 5.0', '< 9']
spec.required_ruby_version = '>= 2.5'
spec.add_runtime_dependency 'pg'
spec.add_runtime_dependency 'activerecord', rails_versions
spec.add_runtime_dependency 'railties', rails_versions
spec.add_development_dependency 'bundler'
spec.add_development_dependency 'rake'
spec.add_development_dependency 'combustion'
end