perf_check 0.7.0 → 0.7.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/perf_check/test_case.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: 55262c80ccb55c2d0d11436223b7319162b78f6d
|
4
|
+
data.tar.gz: bec9ee74cc333b992354e8d7c6af3d3486824a32
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 8b26db1c9f44122698ad453dafd52ec3aa048e2db2af861750cb27fc9a9186105a70f467b09b94f05f0a38442b1d56a5a2e82d2d7ac81be0150344424d4b8550
|
7
|
+
data.tar.gz: 08bc8fff0048e8493d153c9ad40dcbf2a8c21496ee9cce7024b1bb1a8591f97d0f145f6ca709162bf74fab365237d20b4b41ef93a55bdf06539c919d7ff11024
|
data/lib/perf_check/test_case.rb
CHANGED
@@ -83,7 +83,7 @@ class PerfCheck
|
|
83
83
|
diff = Diffy::Diff.new(reference_response, this_response,
|
84
84
|
include_diff_info: true,
|
85
85
|
diff: perf_check.options.diff_options)
|
86
|
-
if diff.to_s.
|
86
|
+
if diff.to_s(:text).lines.length < 3
|
87
87
|
OpenStruct.new(:changed? => false)
|
88
88
|
else
|
89
89
|
FileUtils.mkdir_p("#{perf_check.app_root}/tmp/perf_check/diffs")
|