dorian-yaml-compare 0.2.0 → 0.2.1

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.
Files changed (3) hide show
  1. checksums.yaml +4 -4
  2. data/lib/dorian/yaml/compare.rb +1 -4
  3. metadata +1 -1
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: dac547da5922e8c9f27d5c659acfa6b0e5fbb478b302209cdce31042797827f0
4
- data.tar.gz: 9c012120b1bc9008171d94dabbca387a8684979267831cfa6f4782070753aa46
3
+ metadata.gz: 1c3be55060a2c9e79957c8c75d0a5d84cf4e6b756c9954dfda2b86b24eb68bc2
4
+ data.tar.gz: cf0e2586a37f2b0a717be236a6099b9d997ccb5e23edd7b2f406e482294a4429
5
5
  SHA512:
6
- metadata.gz: 043b5831a42e8a996398488a0336dc14d47596148b00cc14b178f8c5762961afde71708bcea6bd9cc0ac576f3161f791fe6d080ffdba3642bc2f1a545b476f63
7
- data.tar.gz: c4e39944b73c7c1533cc6aeee00275f535b27d22b6f7cd4ddc4b7f0b38ede95f919b473be8c1c5f16becd9adc8e0cad873c274f374c1f415b72af1c1d53fe21a
6
+ metadata.gz: ba95167bc658e486d59fbfc42d826514e634371e059501a5641adb4aaf050bf9ce6f2c49325403cf263f6c6c35ad6e26a4112e58b90d242d64c53f9f00b24000
7
+ data.tar.gz: 4879af2e9fe9422b579cec8770466765d99a2cd73ffbb8a76d590fc83629cf28bd16fe378815b0cb26a1268d306adbe440fe086ffb84499096789a78a77cba79
@@ -18,10 +18,7 @@ module Dorian
18
18
 
19
19
  output = with_captured_stdout { compare(file1, file2) }
20
20
 
21
- if output != ""
22
- $stderr.puts output
23
- exit 1
24
- end
21
+ abort output unless output.empty?
25
22
  end
26
23
 
27
24
  def self.compare(hash1, hash2, current: "")
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: dorian-yaml-compare
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.2.0
4
+ version: 0.2.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Dorian Marié