rezept 0.4.1 → 0.4.2

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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: e5f610649539bdf53d08d1d230922672609cdfc5
4
- data.tar.gz: 266c8aae2d4d9ee13c9c121f155d3608042cb8b3
3
+ metadata.gz: ee09b9a6222fa94987a78f52246fe12a9f7c0280
4
+ data.tar.gz: d35c6acf80d327b3d093a5ae286d6a4ec0a9050b
5
5
  SHA512:
6
- metadata.gz: 608bfaac7e2e6a5b95d95e4f9b5ab56c3e1bd747797dcb83a7cc40b164d74aa77b3707ee46a29824fa44bf27423fc77f998d2f20a4673f4aebebff3037ab4275
7
- data.tar.gz: fb4ec8a3fabc40ddf7f781a74c3c73f212ffff410640a452908a96e71d10938a71fd5c0952f65d1f894e955d008c5ebce34a51da0178fcc8b8e7f8c46320e091
6
+ metadata.gz: f5ad6bc58b7b4b018451552769e7b4896c2b68b4e3cdc4d33b34388cb7e15c1aed698a7bf4e76a85301f7f49c2c96b70dfd496fe167c0bff298475621e3b70a5
7
+ data.tar.gz: 15379e65e64f20356ad5faa245e296a473c63f2e20c9f021b3cb9256c2227d425c28d4afccb2df22b2c5ce168c6480f1ee039585b8d943c4c2b204aa4abe6a89
@@ -1,5 +1,8 @@
1
+ ## 0.4.2
2
+ - Bugfix: Diff detection fails on `--no-color` option
3
+
1
4
  ## 0.4.1
2
- - Bugfix: `color` option is not working
5
+ - Bugfix: `--color`/`--no-color` option is not working
3
6
 
4
7
  ## 0.4.0
5
8
  - Add `prefix` option to `apply` [#4][]
data/Docfile CHANGED
@@ -19,7 +19,7 @@ end
19
19
 
20
20
  Command "Test-Example-RunShellScript" do
21
21
  account_ids []
22
- include_template "runShellScriptTemplate", commands: "echo 123 >> /tmp/result.txt"
22
+ include_template "runShellScriptTemplate", commands: "echo example >> /tmp/result.txt"
23
23
  end
24
24
 
25
25
  Command "My-RunShellScript-2" do
@@ -63,7 +63,7 @@ module Rezept
63
63
  r_ids = r.delete('account_ids')
64
64
  diff = Rezept::Utils.diff(@converter, r, l, options['color'])
65
65
 
66
- if diff == "\n"
66
+ if diff == "\n" or diff.empty?
67
67
  info("#{dry_run}No changes '#{l['name']}'")
68
68
  else
69
69
  warn("#{dry_run}Update the document #{l['name'].inspect}")
@@ -1,3 +1,3 @@
1
1
  module Rezept
2
- VERSION = "0.4.1"
2
+ VERSION = "0.4.2"
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: rezept
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.4.1
4
+ version: 0.4.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - Serverworks Co.,Ltd.