-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathtiny_filter.gemspec
47 lines (41 loc) · 1.98 KB
/
tiny_filter.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
38
39
40
41
42
43
44
45
46
47
# frozen_string_literal: true
require_relative "lib/tiny_filter/version"
Gem::Specification.new do |spec|
spec.name = "tiny_filter"
spec.version = TinyFilter::VERSION
spec.authors = ["Kirill Usanov", "LassoID"]
spec.email = "kirill@lassoid.ru"
spec.summary = "Tiny filtering for ActiveRecord, Sequel and enumerables."
spec.description = "Simple filtering for ActiveRecord, Sequel and enumerables."
spec.homepage = "https://github.com/lassoid/tiny_filter"
spec.license = "MIT"
spec.required_ruby_version = ">= 2.6.0"
spec.metadata["homepage_uri"] = spec.homepage
spec.metadata["source_code_uri"] = "https://github.com/lassoid/tiny_filter"
spec.metadata["changelog_uri"] = "https://github.com/lassoid/tiny_filter/blob/main/CHANGELOG.md"
# 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.
spec.files = Dir.chdir(__dir__) do
%x(git ls-files -z).split("\x0").reject do |f|
(f == __FILE__) || f.match(%r{\A(?:(?:bin|test|spec|features)/|\.(?:git|travis|circleci)|appveyor)})
end
end
spec.bindir = "exe"
spec.executables = spec.files.grep(%r{\Aexe/}) { |f| File.basename(f) }
spec.require_paths = ["lib"]
# Dependencies
spec.add_development_dependency "activerecord", ">= 6.0"
spec.add_development_dependency "database_cleaner-active_record"
spec.add_development_dependency "database_cleaner-sequel"
spec.add_development_dependency "railties", ">= 6.0"
spec.add_development_dependency "rake"
spec.add_development_dependency "rspec"
spec.add_development_dependency "rubocop"
spec.add_development_dependency "rubocop-performance"
spec.add_development_dependency "rubocop-rails"
spec.add_development_dependency "rubocop-rake"
spec.add_development_dependency "rubocop-rspec"
spec.add_development_dependency "rubocop-shopify"
spec.add_development_dependency "sequel"
spec.add_development_dependency "sqlite3", "~> 1.4" # AR doesn't support 2+
end