process_settings 0.4.0.pre.6 → 0.4.0.pre.8
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/bin/diff_process_settings +1 -1
- data/bin/process_settings_for_services +1 -1
- data/lib/process_settings/version.rb +1 -1
- metadata +1 -1
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA1:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 4a41c4a5f88a1adfd9ae6f39b528114f8a2d5bca
|
|
4
|
+
data.tar.gz: 2320b9cdc0d787f36ad47a5237c9cae876fe51b1
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 80dbaff1ce53485a48dc4ddd9660401e2d29714c5f17b2684a2fa923c138479989ee194d78d6ffbb1710ffb135f3ebd091fadf4a96b8ad2d7816b5925abd7c8d
|
|
7
|
+
data.tar.gz: 014efb768ed4ee00daafcd15bf17f86c4d467a77aa51de519d842c50dd9b1d3ebd092eb47c4efb57ef7daa797a54579cb36248c2f5194afa8a6b4d0d59d0ef93
|
data/bin/diff_process_settings
CHANGED
|
@@ -34,6 +34,6 @@ system("rm -f tmp/combined_process_settings-A.yml tmp/combined_process_settings-
|
|
|
34
34
|
system("sed '/^- meta:$/,$d' #{input_files[0]} > tmp/combined_process_settings-A.yml")
|
|
35
35
|
system("sed '/^- meta:$/,$d' #{input_files[1]} > tmp/combined_process_settings-B.yml")
|
|
36
36
|
|
|
37
|
-
system("diff tmp/combined_process_settings-A.yml tmp/combined_process_settings-B.yml")
|
|
37
|
+
system("diff -c tmp/combined_process_settings-A.yml tmp/combined_process_settings-B.yml | sed '1,3d'")
|
|
38
38
|
|
|
39
39
|
system("rm -f tmp/combined_process_settings-A.yml tmp/combined_process_settings-B.yml")
|
|
@@ -107,7 +107,7 @@ if correlation_scorecard.any? { |_correllation_key, scorecard| scorecard[true].a
|
|
|
107
107
|
system("rm -f tmp/old.yml tmp/new.yml")
|
|
108
108
|
File.write("tmp/old.yml", ProcessSettings.plain_hash(best_correlation.last['__changes__']['old']).to_yaml)
|
|
109
109
|
File.write("tmp/new.yml", ProcessSettings.plain_hash(best_correlation.last['__changes__']['new']).to_yaml)
|
|
110
|
-
STDOUT << `diff tmp/old.yml tmp/new.yml`
|
|
110
|
+
STDOUT << `diff -c tmp/old.yml tmp/new.yml | sed '1,3d'`
|
|
111
111
|
else
|
|
112
112
|
puts "No best correlation found?"
|
|
113
113
|
end
|