-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathrevector.gemspec
26 lines (20 loc) · 898 Bytes
/
revector.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
# frozen_string_literal: true
lib = File.expand_path('lib', __dir__)
$LOAD_PATH.unshift(lib) unless $LOAD_PATH.include?(lib)
require 'revector/version'
Gem::Specification.new do |spec|
spec.name = 'revector'
spec.version = Revector::VERSION
spec.authors = ['Thadeu Esteves']
spec.email = ['[email protected]']
spec.summary = 'Simple wrapper to filter array using Ruby and simple predicate conditions'
spec.description = 'Filter collections using predicates like Ransack gem.'
spec.homepage = 'https://github.com/thadeu/revector'
spec.license = 'MIT'
spec.files = `git ls-files -z`.split("\x0").reject do |f|
f.match(%r{^(test|spec|features)/})
end
spec.required_ruby_version = '>= 2.7.0' # rubocop:disable Gemspec/RequiredRubyVersion
spec.require_paths = ['lib']
spec.metadata['rubygems_mfa_required'] = 'true'
end