canon 0.1.20 → 0.1.21
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/lib/canon/comparison/xml_comparator.rb +2 -2
- data/lib/canon/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: c93345884c8bf0f6d5c4507415bb04fa991b8361eb9e38f10fddcbebb92b2370
|
|
4
|
+
data.tar.gz: d48eb18c21f562d7e0ff533507c56c6d264600a775f04b2adf2b267b9ce4de2a
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 0cd5ed6a025b439ef76e347a8e223abcdf70c7524bc3e4e883297bfff35c68a30b0ca543c00a657c05714da9273e740c89e7cb34b3d4d0f5b9a3ea496f237530
|
|
7
|
+
data.tar.gz: a80515c239c74a58835ad6486e2fc02379166831e5555d4426607bf9b7e612e4047b50135e59caea25ed9d4c6809624a2f2a3b305f54c9c70899280f85d317dd
|
|
@@ -490,8 +490,8 @@ module Canon
|
|
|
490
490
|
return Comparison::UNEQUAL_NODES_TYPES
|
|
491
491
|
end
|
|
492
492
|
|
|
493
|
-
content1 = n1.content.to_s.strip
|
|
494
|
-
content2 = n2.content.to_s.strip
|
|
493
|
+
content1 = n1.respond_to?(:content) ? n1.content.to_s.strip : ""
|
|
494
|
+
content2 = n2.respond_to?(:content) ? n2.content.to_s.strip : ""
|
|
495
495
|
|
|
496
496
|
if content1 == content2
|
|
497
497
|
Comparison::EQUIVALENT
|
data/lib/canon/version.rb
CHANGED
metadata
CHANGED
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: canon
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 0.1.
|
|
4
|
+
version: 0.1.21
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- Ribose Inc.
|
|
8
8
|
autorequire:
|
|
9
9
|
bindir: exe
|
|
10
10
|
cert_chain: []
|
|
11
|
-
date: 2026-03-
|
|
11
|
+
date: 2026-03-27 00:00:00.000000000 Z
|
|
12
12
|
dependencies:
|
|
13
13
|
- !ruby/object:Gem::Dependency
|
|
14
14
|
name: diff-lcs
|