enumpath 0.1.0 → 0.1.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/Gemfile.lock +1 -1
- data/enumpath.gemspec +27 -17
- data/lib/enumpath/version.rb +1 -1
- metadata +14 -4
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 2cf0161d7c4e4278f7ab3dec41b2bd1e0c3e3afbabc4ea320bfc6f58a9d635ac
|
|
4
|
+
data.tar.gz: 4b294f03b8dc9872092aa77aa457f3b7bf8916b62874bcf4770401ff3a38e93d
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 724900c6f9277499b34159095e1ffcb6aa0ce05b30435d09c4c3f619338429eb1619dc17650014f40719f01b7def732e2afcb9657840976040ca4a36f34ab5ac
|
|
7
|
+
data.tar.gz: ea2d09f726d6ea6f3b212314886d1d041bb4e6d807154846008362dc754f977d8a301aff202f9fc723fadebe749a5d464a73304e4157a5f994ca5ce39da7ddfd
|
data/Gemfile.lock
CHANGED
data/enumpath.gemspec
CHANGED
|
@@ -1,32 +1,42 @@
|
|
|
1
1
|
|
|
2
|
-
lib = File.expand_path(
|
|
2
|
+
lib = File.expand_path('../lib', __FILE__)
|
|
3
3
|
$LOAD_PATH.unshift(lib) unless $LOAD_PATH.include?(lib)
|
|
4
|
-
require
|
|
4
|
+
require 'enumpath/version'
|
|
5
5
|
|
|
6
6
|
Gem::Specification.new do |spec|
|
|
7
|
-
spec.name =
|
|
7
|
+
spec.name = 'enumpath'
|
|
8
8
|
spec.version = Enumpath::VERSION
|
|
9
|
-
spec.
|
|
10
|
-
spec.
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
9
|
+
spec.license = 'Apache-2.0'
|
|
10
|
+
spec.summary = 'A JSONPath-compatible library for navigating nested Ruby objects using path expressions'
|
|
11
|
+
spec.description = <<~EOF
|
|
12
|
+
Enumpath is an implementation of the JSONPath spec for Ruby objects,
|
|
13
|
+
plus some added sugar. It's like Ruby's native Enumerable#dig method,
|
|
14
|
+
but fancier. It is designed for situations where you need to provide
|
|
15
|
+
a dynamic way of describing a complex path through nested enumerable
|
|
16
|
+
objects. This makes it exceptionally well suited for flexible ETL
|
|
17
|
+
(Extract, Transform, Load) processes by allowing you to define paths
|
|
18
|
+
through your data in a simple, easily readable, easily storable syntax.
|
|
19
|
+
EOF
|
|
20
|
+
spec.authors = ['Chris Bloom']
|
|
21
|
+
spec.email = ['open-source@youearnedit.com', 'chrisbloom7@gmail.com']
|
|
14
22
|
|
|
15
23
|
spec.files = `git ls-files -z`.split("\x0").reject do |f|
|
|
16
24
|
f.match(%r{^(test|spec|features)/})
|
|
17
25
|
end
|
|
18
|
-
spec.require_paths = [
|
|
26
|
+
spec.require_paths = ['lib']
|
|
27
|
+
|
|
28
|
+
spec.homepage = 'https://github.com/youearnedit/enumpath'
|
|
19
29
|
|
|
20
30
|
# Enumerable#dig was added in Ruby 2.3.0
|
|
21
31
|
spec.required_ruby_version = '>= 2.3.0'
|
|
22
32
|
|
|
23
|
-
spec.add_dependency
|
|
24
|
-
spec.add_dependency
|
|
33
|
+
spec.add_dependency 'to_regexp', '~> 0.2.1'
|
|
34
|
+
spec.add_dependency 'mini_cache', '~> 1.1.0'
|
|
25
35
|
|
|
26
|
-
spec.add_development_dependency
|
|
27
|
-
spec.add_development_dependency
|
|
28
|
-
spec.add_development_dependency
|
|
29
|
-
spec.add_development_dependency
|
|
30
|
-
spec.add_development_dependency
|
|
31
|
-
spec.add_development_dependency
|
|
36
|
+
spec.add_development_dependency 'bundler', '~> 1.16'
|
|
37
|
+
spec.add_development_dependency 'null-logger', '~> 0.1'
|
|
38
|
+
spec.add_development_dependency 'pry-byebug', '~> 3.6'
|
|
39
|
+
spec.add_development_dependency 'rake', '~> 12.3'
|
|
40
|
+
spec.add_development_dependency 'rspec-benchmark', '~> 0.3.0'
|
|
41
|
+
spec.add_development_dependency 'rspec', '~> 3.8'
|
|
32
42
|
end
|
data/lib/enumpath/version.rb
CHANGED
metadata
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: enumpath
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 0.1.
|
|
4
|
+
version: 0.1.1
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- Chris Bloom
|
|
@@ -122,8 +122,16 @@ dependencies:
|
|
|
122
122
|
- - "~>"
|
|
123
123
|
- !ruby/object:Gem::Version
|
|
124
124
|
version: '3.8'
|
|
125
|
-
description:
|
|
125
|
+
description: |
|
|
126
|
+
Enumpath is an implementation of the JSONPath spec for Ruby objects,
|
|
127
|
+
plus some added sugar. It's like Ruby's native Enumerable#dig method,
|
|
128
|
+
but fancier. It is designed for situations where you need to provide
|
|
129
|
+
a dynamic way of describing a complex path through nested enumerable
|
|
130
|
+
objects. This makes it exceptionally well suited for flexible ETL
|
|
131
|
+
(Extract, Transform, Load) processes by allowing you to define paths
|
|
132
|
+
through your data in a simple, easily readable, easily storable syntax.
|
|
126
133
|
email:
|
|
134
|
+
- open-source@youearnedit.com
|
|
127
135
|
- chrisbloom7@gmail.com
|
|
128
136
|
executables: []
|
|
129
137
|
extensions: []
|
|
@@ -160,7 +168,8 @@ files:
|
|
|
160
168
|
- lib/enumpath/results.rb
|
|
161
169
|
- lib/enumpath/version.rb
|
|
162
170
|
homepage: https://github.com/youearnedit/enumpath
|
|
163
|
-
licenses:
|
|
171
|
+
licenses:
|
|
172
|
+
- Apache-2.0
|
|
164
173
|
metadata: {}
|
|
165
174
|
post_install_message:
|
|
166
175
|
rdoc_options: []
|
|
@@ -181,5 +190,6 @@ rubyforge_project:
|
|
|
181
190
|
rubygems_version: 2.7.7
|
|
182
191
|
signing_key:
|
|
183
192
|
specification_version: 4
|
|
184
|
-
summary: A JSONPath-compatible library for navigating Ruby objects using path
|
|
193
|
+
summary: A JSONPath-compatible library for navigating nested Ruby objects using path
|
|
194
|
+
expressions
|
|
185
195
|
test_files: []
|