philiprehberger-differ 0.2.2 → 0.2.4
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/CHANGELOG.md +24 -10
- data/README.md +5 -5
- data/lib/philiprehberger/differ/version.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 02a742a524e00b9bece4b1ebf8822e2adf69884edf41a975d6010d5875760d6f
|
|
4
|
+
data.tar.gz: 4a8137fab3c31872a9b24cf484fb789c126cf25e08c43592e8c26ecc314ff802
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 6c4cb0be286214b057b24e0ff38746475ca1564758ed592e21f2e0259b8da90f77cc68c1258c0c676c0d5b05a1d9747491823a1eae10ea1667b9a6816edf29cf
|
|
7
|
+
data.tar.gz: d5b4f2f4063355b8a7bef68eaf4577f502a85ba2a8d00770730c85cdf7f954822f4b9f6ccf99c4ad741c2cc3a13b860db8a43c190698e71a92e8865df778fadf
|
data/CHANGELOG.md
CHANGED
|
@@ -1,17 +1,32 @@
|
|
|
1
1
|
# Changelog
|
|
2
2
|
|
|
3
|
-
|
|
3
|
+
All notable changes to this gem will be documented in this file.
|
|
4
4
|
|
|
5
|
-
|
|
5
|
+
The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),
|
|
6
|
+
and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).
|
|
6
7
|
|
|
7
|
-
##
|
|
8
|
+
## [Unreleased]
|
|
8
9
|
|
|
9
|
-
|
|
10
|
+
## [0.2.4] - 2026-03-24
|
|
10
11
|
|
|
11
|
-
|
|
12
|
+
### Fixed
|
|
13
|
+
- Standardize README code examples to use double-quote require statements
|
|
12
14
|
|
|
13
|
-
|
|
14
|
-
|
|
15
|
+
## [0.2.3] - 2026-03-24
|
|
16
|
+
|
|
17
|
+
### Fixed
|
|
18
|
+
- Fix Installation section quote style to double quotes
|
|
19
|
+
- Remove inline comments from Development section to match template
|
|
20
|
+
|
|
21
|
+
## [0.2.2] - 2026-03-18
|
|
22
|
+
|
|
23
|
+
### Changed
|
|
24
|
+
- Revert gemspec to single-quoted strings per RuboCop default configuration
|
|
25
|
+
|
|
26
|
+
## [0.2.1] - 2026-03-18
|
|
27
|
+
|
|
28
|
+
### Changed
|
|
29
|
+
- Fix RuboCop Style/StringLiterals violations in gemspec
|
|
15
30
|
|
|
16
31
|
## [0.2.0] - 2026-03-17
|
|
17
32
|
|
|
@@ -22,14 +37,13 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
|
|
|
22
37
|
- JSON Patch formatter: `changeset.to_json_patch` for RFC 6902 operations
|
|
23
38
|
- Nested array diff by key: `Differ.diff(a, b, array_key: :id)` matches elements by field
|
|
24
39
|
|
|
25
|
-
## [0.1.2]
|
|
40
|
+
## [0.1.2] - 2026-03-16
|
|
26
41
|
|
|
42
|
+
### Changed
|
|
27
43
|
- Add License badge to README
|
|
28
44
|
- Add bug_tracker_uri to gemspec
|
|
29
45
|
- Add Requirements section to README
|
|
30
46
|
|
|
31
|
-
## [Unreleased]
|
|
32
|
-
|
|
33
47
|
## [0.1.0] - 2026-03-15
|
|
34
48
|
|
|
35
49
|
### Added
|
data/README.md
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
# philiprehberger-differ
|
|
2
2
|
|
|
3
|
-
[](https://rubygems.org/gems/philiprehberger-differ)
|
|
4
3
|
[](https://github.com/philiprehberger/rb-differ/actions/workflows/ci.yml)
|
|
4
|
+
[](https://rubygems.org/gems/philiprehberger-differ)
|
|
5
5
|
[](LICENSE)
|
|
6
6
|
|
|
7
7
|
Deep structural diff for hashes, arrays, and nested objects in Ruby
|
|
@@ -15,7 +15,7 @@ Deep structural diff for hashes, arrays, and nested objects in Ruby
|
|
|
15
15
|
Add to your Gemfile:
|
|
16
16
|
|
|
17
17
|
```ruby
|
|
18
|
-
gem
|
|
18
|
+
gem "philiprehberger-differ"
|
|
19
19
|
```
|
|
20
20
|
|
|
21
21
|
Or install directly:
|
|
@@ -27,7 +27,7 @@ gem install philiprehberger-differ
|
|
|
27
27
|
## Usage
|
|
28
28
|
|
|
29
29
|
```ruby
|
|
30
|
-
require
|
|
30
|
+
require "philiprehberger/differ"
|
|
31
31
|
|
|
32
32
|
old_data = { name: 'Alice', age: 30, address: { city: 'Berlin' } }
|
|
33
33
|
new_data = { name: 'Alice', age: 31, address: { city: 'Vienna' }, email: 'alice@example.com' }
|
|
@@ -156,8 +156,8 @@ Returns a Float between 0.0 (completely different) and 1.0 (identical).
|
|
|
156
156
|
|
|
157
157
|
```bash
|
|
158
158
|
bundle install
|
|
159
|
-
bundle exec rspec
|
|
160
|
-
bundle exec rubocop
|
|
159
|
+
bundle exec rspec
|
|
160
|
+
bundle exec rubocop
|
|
161
161
|
```
|
|
162
162
|
|
|
163
163
|
## License
|
metadata
CHANGED
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: philiprehberger-differ
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 0.2.
|
|
4
|
+
version: 0.2.4
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- Philip Rehberger
|
|
8
8
|
autorequire:
|
|
9
9
|
bindir: bin
|
|
10
10
|
cert_chain: []
|
|
11
|
-
date: 2026-03-
|
|
11
|
+
date: 2026-03-25 00:00:00.000000000 Z
|
|
12
12
|
dependencies: []
|
|
13
13
|
description: A Ruby library for deep structural diffing of hashes, arrays, and nested
|
|
14
14
|
objects with apply/revert, JSON Patch output, similarity scoring, and configurable
|