diff_json 0.1.2 → 0.1.3
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/html_output.rb +3 -3
- 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: 1efd6e578e9220d1e84dda6873ced3b68193cc011340b66bbe4f6d56e70d3546
|
4
|
+
data.tar.gz: b210baa07705c2afb116ba528ace5ab8dcc3b07c8246f2eb386d45e7794fa065
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 13dc56cb5ab81386c536d459e2e94a7ca967802b76f68353be95d9238a1d328fd03b87e3f1e01aa1950847c6a50418f8d55c04858c3fbc3b54962343e200858a
|
7
|
+
data.tar.gz: 47ac22e84aeac9b32d72c2e62db97654b0c13ada095d7f095bc506935ade353bc96634bd68a1f6f2397dfe002f39a7b7ef94796e4668cf1ff0b8eb8db44bfa62
|
@@ -51,9 +51,9 @@ module DiffJson
|
|
51
51
|
:right => ""
|
52
52
|
}
|
53
53
|
|
54
|
-
markup[:full] = "<table id=\"#{table_id_prefix}_full\" class=\"diff-json-full-view\">\n"
|
55
|
-
markup[:left] = "<table id=\"#{table_id_prefix}_left\" class=\"diff-json-split-view-left\">\n"
|
56
|
-
markup[:right] = "<table id=\"#{table_id_prefix}_right\" class=\"diff-json-split-view-right\">\n"
|
54
|
+
markup[:full] = "<table id=\"#{table_id_prefix}_full\" class=\"diff-json-view diff-json-full-view\">\n"
|
55
|
+
markup[:left] = "<table id=\"#{table_id_prefix}_left\" class=\"diff-json-view diff-json-split-view-left\">\n"
|
56
|
+
markup[:right] = "<table id=\"#{table_id_prefix}_right\" class=\"diff-json-view diff-json-split-view-right\">\n"
|
57
57
|
|
58
58
|
(0..(lines[:old].length - 1)).each do |i|
|
59
59
|
# Full, combined table output
|
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.3
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Josh MacLachlan
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date:
|
11
|
+
date: 2019-07-19 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
|