diff_json 0.1.0 → 0.1.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/diff_json/diff.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: 832e33f35765ba9f04a8ec8d627970746ebde044131b8c4ddfe3c36795c4ac76
|
4
|
+
data.tar.gz: bd930e3ad8bce51daafd56d191301fbfb79bb9c052a6f3a0261b197c7e50db83
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 227514035adff84d7bec48bd57744b37082167262ea0603b53e98c9773127c4a1c28fb603fac0fdd6c9393391a9c9c212cf202c3994c7b79d31550808b7f61e1
|
7
|
+
data.tar.gz: a4acea3ea16e5fe73d18717330f9992913c35959d4ac29a595b49d29fc62b51adcf3519b433a87812832b17859183ff1b9756e563898543df1986c5abe11cbc8
|
data/lib/diff_json/diff.rb
CHANGED
@@ -206,7 +206,7 @@ module DiffJson
|
|
206
206
|
|
207
207
|
# Figure out operators for left and right
|
208
208
|
if item_diff_operations.include?('none')
|
209
|
-
old_operator, new_operator = ' '
|
209
|
+
old_operator, new_operator = ' ', ' '
|
210
210
|
elsif item_diff_operations.include?('arr_change_value')
|
211
211
|
increment_diff_count(item_path, :update)
|
212
212
|
old_operator, new_operator = '-', '+'
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: diff_json
|
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
|
- Josh MacLachlan
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2018-08-
|
11
|
+
date: 2018-08-31 00:00:00.000000000 Z
|
12
12
|
dependencies: []
|
13
13
|
description: Diffs two JSON objects and returns a left/right diff view, similar to
|
14
14
|
the command line `diff` utility
|