-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathenumpath.gemspec
46 lines (39 loc) · 1.91 KB
/
enumpath.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
# frozen_string_literal: true
lib = File.expand_path('lib', __dir__)
$LOAD_PATH.unshift(lib) unless $LOAD_PATH.include?(lib)
require 'enumpath/version'
Gem::Specification.new do |spec|
spec.name = 'enumpath'
spec.version = Enumpath::VERSION
spec.license = 'Apache-2.0'
spec.summary = 'A JSONPath-compatible library for navigating nested Ruby objects using path expressions'
spec.description = <<~DESC
Enumpath is an implementation of the JSONPath spec for Ruby objects,
plus some added sugar. It's like Ruby's native Enumerable#dig method,
but fancier. It is designed for situations where you need to provide
a dynamic way of describing a complex path through nested enumerable
objects. This makes it exceptionally well suited for flexible ETL
(Extract, Transform, Load) processes by allowing you to define paths
through your data in a simple, easily readable, easily storable syntax.
DESC
spec.authors = ['Chris Bloom']
spec.email = ['[email protected]']
spec.files = `git ls-files -z`.split("\x0").reject do |f|
f.match(%r{^(test|spec|features)/})
end
spec.require_paths = ['lib']
spec.homepage = 'https://github.com/chrisbloom7/enumpath'
# Enumerable#dig was added in Ruby 2.3.0
spec.required_ruby_version = '>= 2.3.0'
spec.add_dependency 'mini_cache', '~> 1.1.0'
spec.add_dependency 'to_regexp', '~> 0.2.1'
spec.add_development_dependency 'bundler', '~> 2.2'
spec.add_development_dependency 'null-logger', '~> 0.1'
spec.add_development_dependency 'pry-byebug', '~> 3.9'
spec.add_development_dependency 'rake', '~> 13.0'
spec.add_development_dependency 'redcarpet', '~> 3.5'
spec.add_development_dependency 'rspec_junit_formatter', '~> 0.4'
spec.add_development_dependency 'rspec-benchmark', '~> 0.6'
spec.add_development_dependency 'rspec', '~> 3.10'
spec.add_development_dependency 'yard', '~> 0.9'
end