nested_objects 0.1.17 → 0.1.18

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: 83ade50105b58330d52486368bf31c36396ad6f12e135418bfb04be50b863764
4
- data.tar.gz: e0fbfb421c4a4370cca8ff5660913baec9e8338b0a2a74d9a52b9c19003fa77e
3
+ metadata.gz: b66e6f931bd1c3210be80d713fe4496620b09f8182c5933552fc698aae03f67a
4
+ data.tar.gz: de45fbee0beecf353d08c46063f93ac97535c1f3f839897ad9e58b97fc7f3fa8
5
5
  SHA512:
6
- metadata.gz: 620c0900e01d2244c73159559e769a9f133dfba49b9caadb7bb306d7b18a13275ff150bdf28551592e62fb517796ec1c5f71907f6a5edb7e32a06779d6cc82e7
7
- data.tar.gz: 8c0d7bc25ddf9fdef17def566c8fa850a7842ee7505590a3372525fc73ab9b901886d66d52338f4f4c53221cb6e6df06a2d76bc027f799e735ccf193a35dae78
6
+ metadata.gz: d65e4dfa7a9c77122e67b0ba7be8c024e774d332bae191a4003e51a30be4a471cf9a6454913f4f2f8cf5b275621fac3726a8e9fe18fa0e098b207ff0d1091c0c
7
+ data.tar.gz: 0a2531ee5d534f442f94d70ee23ad4f0a1386da8895619b924db8e24bc302b9f01a308e7f302b2f3f661f4e6ff22b0b5e89b38a65ca8349da04ae27c24d4e160
@@ -1,3 +1,3 @@
1
1
  {
2
- ".": "0.1.17"
2
+ ".": "0.1.18"
3
3
  }
data/CHANGELOG.md CHANGED
@@ -1,5 +1,13 @@
1
1
  # Changelog
2
2
 
3
+ ## [0.1.18](https://github.com/main-branch/nested_objects/compare/v0.1.17...v0.1.18) (2026-04-24)
4
+
5
+
6
+ ### Other Changes
7
+
8
+ * Correct syntax error in example data and improve formatting in README ([64dc3b9](https://github.com/main-branch/nested_objects/commit/64dc3b9e804c801733d003c0c7eb54af3f644786))
9
+ * **dependencies:** Update dependencies for all GitHub Actions workflows ([ead4d20](https://github.com/main-branch/nested_objects/commit/ead4d2054bdc65bbf6d39559d69612463466d041))
10
+
3
11
  ## [0.1.17](https://github.com/main-branch/nested_objects/compare/v0.1.16...v0.1.17) (2025-04-27)
4
12
 
5
13
 
data/README.md CHANGED
@@ -22,7 +22,7 @@ Here is an example of using the `dig` method:
22
22
  ```Ruby
23
23
  require 'nested_objects'
24
24
 
25
- data = { 'people' => [{ 'name' => 'John'}, { 'name', 'Jane' }] }
25
+ data = { 'people' => [{ 'name' => 'John'}, { 'name' => 'Jane' }] }
26
26
  path = 'people/0/name'.split('/')
27
27
  NestedObjects.dig(data, path) #=> 'John'
28
28
  ```
@@ -32,14 +32,18 @@ See documentation and examples of the full API in
32
32
 
33
33
  ### Object Mixin
34
34
 
35
- As a convenience, these methods can be mixed into other classes by including the `NestedObjects::Mixin` module.
35
+ As a convenience, these methods can be mixed into other classes by including the
36
+ `NestedObjects::Mixin` module.
36
37
 
37
- In order to reduce the possibility of method name conflicts, all methods are prefixed with `nested_`.
38
+ In order to reduce the possibility of method name conflicts, all methods are prefixed
39
+ with `nested_`.
38
40
 
39
41
  ```Ruby
42
+ require 'nested_objects'
43
+
40
44
  Object.include NestedObjects::Mixin
41
45
 
42
- data = { 'people' => [{ 'name' => 'John'}, { 'name', 'Jane' }] }
46
+ data = { 'people' => [{ 'name' => 'John'}, { 'name' => 'Jane' }] }
43
47
  path = 'people/0/name'.split('/')
44
48
  data.nested_dig(path) #=> 'John'
45
49
  ```
@@ -2,5 +2,5 @@
2
2
 
3
3
  module NestedObjects
4
4
  # The last released gem version
5
- VERSION = '0.1.17'
5
+ VERSION = '0.1.18'
6
6
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: nested_objects
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.17
4
+ version: 0.1.18
5
5
  platform: ruby
6
6
  authors:
7
7
  - James Couball
@@ -218,8 +218,8 @@ metadata:
218
218
  allowed_push_host: https://rubygems.org
219
219
  homepage_uri: https://github.com/main-branch/nested_objects
220
220
  source_code_uri: https://github.com/main-branch/nested_objects
221
- documentation_uri: https://gemdocs.org/nested_objects/0.1.17
222
- changelog_uri: https://gemdocs.org/nested_objects/0.1.17/file.CHANGELOG.md
221
+ documentation_uri: https://gemdocs.org/nested_objects/0.1.18
222
+ changelog_uri: https://gemdocs.org/nested_objects/0.1.18/file.CHANGELOG.md
223
223
  rubygems_mfa_required: 'true'
224
224
  rdoc_options: []
225
225
  require_paths:
@@ -237,7 +237,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
237
237
  requirements:
238
238
  - 'Platform: Mac, Linux, or Windows'
239
239
  - 'Ruby: MRI 3.1 or later, TruffleRuby 24 or later, or JRuby 9.4 or later'
240
- rubygems_version: 3.6.7
240
+ rubygems_version: 4.0.6
241
241
  specification_version: 4
242
242
  summary: Utilities for working with PORO structures arbitrarily nested with Hashes
243
243
  and Arrays