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.
Files changed (3) hide show
  1. checksums.yaml +4 -4
  2. data/lib/diff_json/diff.rb +1 -1
  3. metadata +2 -2
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 381de4c98d550d810fa415cc9a9259b746cae5323dc10b90e00f1b58ef9590a0
4
- data.tar.gz: '068496e04aaacf8c3d595535be66864d478faa40efccf09e265c23b853589346'
3
+ metadata.gz: 832e33f35765ba9f04a8ec8d627970746ebde044131b8c4ddfe3c36795c4ac76
4
+ data.tar.gz: bd930e3ad8bce51daafd56d191301fbfb79bb9c052a6f3a0261b197c7e50db83
5
5
  SHA512:
6
- metadata.gz: 1a3c0d1c5575e1f2dbe544cc7af9bad83cefecd17df789b3783311fa84ed64dc6996f874a7e8b00448bb309628ba3cab0062b8b3a76ae4e1d7399cc569da738b
7
- data.tar.gz: a437d87e79ceceee111f1e7f0f2845e1e26622492d9dc639f0b599f55b57b390e53dfe2526cf4d64cd24d365fd61de277266d1586a3677d5b2bceb614b22b2f6
6
+ metadata.gz: 227514035adff84d7bec48bd57744b37082167262ea0603b53e98c9773127c4a1c28fb603fac0fdd6c9393391a9c9c212cf202c3994c7b79d31550808b7f61e1
7
+ data.tar.gz: a4acea3ea16e5fe73d18717330f9992913c35959d4ac29a595b49d29fc62b51adcf3519b433a87812832b17859183ff1b9756e563898543df1986c5abe11cbc8
@@ -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.0
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-22 00:00:00.000000000 Z
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