kucodiff 0.6.0 → 0.6.1

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 76444ee014253e7f3336e78ef6ddb39a5b6eb6052964644af058bff8e3fd3531
4
- data.tar.gz: a0410e79490633c00e68e3ea263b25dc012154ab3e52b980ab4ce746807c72de
3
+ metadata.gz: 55d4cc59d67c00541e565e4e405d475baa13f2eb838997aca3914c9235a76933
4
+ data.tar.gz: 54dda7b72c618c8c290b41d8927e5b43fa95cc84e7c4b34d579652685493a685
5
5
  SHA512:
6
- metadata.gz: c3223cb54dc70464911e6f01ea8a745a208180a7f659b1ef7397c7091bc1dddd272364495494c67d10dfceba429d301dee185e342e1796bf354f1ddaa7aed089
7
- data.tar.gz: ca69382adba297961dc1ccc6c9aa662670e58fd32d64e2bdc584832383680377247cc5f74242c5fbe650821835c3f0c447bd88cace1aa3cc27104085db57652d
6
+ metadata.gz: 4ecb7b4155cce7a0ecca4ab341b7e75341fc9f5aced7358387fe61162415eea325b78077c6223d93821cb12b69ca68888ffb7ed11c5a703b474446bb56d66ed2
7
+ data.tar.gz: 36a03f8dcf963e873872142a881a4383201b35bd321a2538844445350ca08500cf6eae9c7e7a27f82e379c30cbcb88f9ef78a46b4228a3485dfd177861cece5a
@@ -1,3 +1,3 @@
1
1
  module Kucodiff
2
- VERSION = "0.6.0"
2
+ VERSION = "0.6.1"
3
3
  end
data/lib/kucodiff.rb CHANGED
@@ -6,10 +6,12 @@ module Kucodiff
6
6
  raise ArgumentError, "Need 2+ files" if files.size < 2
7
7
 
8
8
  base = files.shift
9
- base_template = read(base)
10
9
 
11
10
  diff = files.each_with_object({}) do |other, all|
11
+ # re-read both since we modify them
12
+ base_template = read(base)
12
13
  other_template = read(other)
14
+
13
15
  pod_indented!(base_template, other_template) if indent_pod
14
16
  result = different_keys(base_template, other_template)
15
17
  result.reject! { |k| k =~ ignore } if ignore
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: kucodiff
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.6.0
4
+ version: 0.6.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Michael Grosser
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2022-05-20 00:00:00.000000000 Z
11
+ date: 2022-06-12 00:00:00.000000000 Z
12
12
  dependencies: []
13
13
  description:
14
14
  email: michael@grosser.it