-
Notifications
You must be signed in to change notification settings - Fork 1
/
safe_query.gemspec
31 lines (24 loc) · 988 Bytes
/
safe_query.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
# -*- encoding : utf-8 -*-
lib = File.expand_path("../lib", __FILE__)
$:.unshift lib unless $:.include? lib
Gem::Specification.new do |s|
s.name = "safe_query"
s.version = "0.1.0"
s.authors = "Peter Cai"
s.email = "[email protected]"
s.homepage = "https://github.com/pcai/safe_query"
s.summary = "Safely query stuff in ActiveRecord"
s.description = <<-EOF
Helps developers avoid unsafe queries in ActiveRecord. This gem will raise an error
when iterating over a relation that is potentially unpaginated.
EOF
s.required_ruby_version = '>= 2.7.0'
s.license = 'MIT'
s.add_dependency "activerecord", ">= 5.0", "< 8.0"
s.add_dependency "activesupport", ">= 5.0", "< 8.0"
s.add_development_dependency "rspec", "~> 3.12"
s.add_development_dependency "sqlite3", "~> 1.7.1"
s.metadata["rubygems_mfa_required"] = "true"
s.files = Dir['CHANGELOG.md', 'LICENSE', 'README.md', 'lib/**/*.rb']
s.require_path = "lib"
end