philiprehberger-json_path 0.1.5 → 0.1.6

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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 7bcaca274fbd47dee05beb773f0fb107c00304ef72f08cbf0543d42c741c0442
4
- data.tar.gz: 23de484fe02670cd7635fca2bd22b42af9acde14dc4b151397d353f5340c5c46
3
+ metadata.gz: 78a07561ecdca899e8715c239ebaaa0e7ed9892a557445bcceb03b3cbb7f61a6
4
+ data.tar.gz: 3e418c526ccb1fff468d02485c7b76a071de30b84059c1205b9478e0d683c235
5
5
  SHA512:
6
- metadata.gz: 1bd9a1a223f9c225d4eeceb34c1c2726d4b5627720d2087551f9ae9c4ad37ff5bb83a421f98cb84cff5240ce6dddb2c6838f763b3b486d383d596abfb05eb188
7
- data.tar.gz: 06da48fe3821d49906c3069529ce40f8fc58d74d84cac720235314e859ce331a1be54759422d2e10bd8b7bf8b4645b8f7fb1ae769243e0681704695cac6e4e38
6
+ metadata.gz: 40bd26003e395e6ca24f52cf469df2004096cecb5113365b65f5fab8153614bd8c0fa62acd49f11bfbc9da9971b56b6ba8aa839536796336a24ba0a47ea90b4d
7
+ data.tar.gz: 1694b53c1f359b143eeb54a336c3e1612044408a7ebd9fb4d4b036ca6829777ace260a44c23f86d1b5ebfbade802a8be4508a5116aee0bc863dc805457945e92
data/CHANGELOG.md CHANGED
@@ -7,6 +7,11 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
7
7
 
8
8
  ## [Unreleased]
9
9
 
10
+ ## [0.1.6] - 2026-03-31
11
+
12
+ ### Changed
13
+ - Standardize README badges, support section, and license format
14
+
10
15
  ## [0.1.5] - 2026-03-24
11
16
 
12
17
  ### Fixed
data/README.md CHANGED
@@ -2,7 +2,7 @@
2
2
 
3
3
  [![Tests](https://github.com/philiprehberger/rb-json-path/actions/workflows/ci.yml/badge.svg)](https://github.com/philiprehberger/rb-json-path/actions/workflows/ci.yml)
4
4
  [![Gem Version](https://badge.fury.io/rb/philiprehberger-json_path.svg)](https://rubygems.org/gems/philiprehberger-json_path)
5
- [![License](https://img.shields.io/github/license/philiprehberger/rb-json-path)](LICENSE)
5
+ [![Last updated](https://img.shields.io/github/last-commit/philiprehberger/rb-json-path)](https://github.com/philiprehberger/rb-json-path/commits/main)
6
6
 
7
7
  JSONPath expression evaluator with dot notation, wildcards, slices, and filters
8
8
 
@@ -101,6 +101,24 @@ bundle exec rspec
101
101
  bundle exec rubocop
102
102
  ```
103
103
 
104
+ ## Support
105
+
106
+ If you find this project useful:
107
+
108
+ ⭐ [Star the repo](https://github.com/philiprehberger/rb-json-path)
109
+
110
+ 🐛 [Report issues](https://github.com/philiprehberger/rb-json-path/issues?q=is%3Aissue+is%3Aopen+label%3Abug)
111
+
112
+ 💡 [Suggest features](https://github.com/philiprehberger/rb-json-path/issues?q=is%3Aissue+is%3Aopen+label%3Aenhancement)
113
+
114
+ ❤️ [Sponsor development](https://github.com/sponsors/philiprehberger)
115
+
116
+ 🌐 [All Open Source Projects](https://philiprehberger.com/open-source-packages)
117
+
118
+ 💻 [GitHub Profile](https://github.com/philiprehberger)
119
+
120
+ 🔗 [LinkedIn Profile](https://www.linkedin.com/in/philiprehberger)
121
+
104
122
  ## License
105
123
 
106
- MIT
124
+ [MIT](LICENSE)
@@ -2,6 +2,6 @@
2
2
 
3
3
  module Philiprehberger
4
4
  module JsonPath
5
- VERSION = '0.1.5'
5
+ VERSION = '0.1.6'
6
6
  end
7
7
  end
@@ -54,13 +54,13 @@ module Philiprehberger
54
54
  when /\A\[\*\]/
55
55
  tokens << { type: :wildcard }
56
56
  remaining = remaining[3..]
57
- when /\A\[(\-?\d+):(\-?\d+)\]/
57
+ when /\A\[(-?\d+):(-?\d+)\]/
58
58
  tokens << { type: :slice, start: Regexp.last_match(1).to_i, end: Regexp.last_match(2).to_i }
59
59
  remaining = remaining[Regexp.last_match(0).length..]
60
- when /\A\[:(\-?\d+)\]/
60
+ when /\A\[:(-?\d+)\]/
61
61
  tokens << { type: :slice, start: 0, end: Regexp.last_match(1).to_i }
62
62
  remaining = remaining[Regexp.last_match(0).length..]
63
- when /\A\[(\-?\d+):\]/
63
+ when /\A\[(-?\d+):\]/
64
64
  tokens << { type: :slice, start: Regexp.last_match(1).to_i, end: nil }
65
65
  remaining = remaining[Regexp.last_match(0).length..]
66
66
  when /\A\[\?\(@\.(\w+)\s*(==|!=|>|>=|<|<=)\s*([^\]]+)\)\]/
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: philiprehberger-json_path
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.5
4
+ version: 0.1.6
5
5
  platform: ruby
6
6
  authors:
7
7
  - philiprehberger
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2026-03-25 00:00:00.000000000 Z
11
+ date: 2026-03-31 00:00:00.000000000 Z
12
12
  dependencies: []
13
13
  description: Evaluate JSONPath expressions against Ruby hashes and arrays. Supports
14
14
  dot notation, array indexing, wildcards, slices, and filter expressions for querying