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.
Files changed (3) hide show
  1. checksums.yaml +4 -4
  2. data/lib/perf_check/test_case.rb +1 -1
  3. metadata +1 -1
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 6733d94e8539da19fc3c00d781e5fe6e530e90f5
4
- data.tar.gz: 3b2e5e2f196b87ffb7a875f5addb789bc459c83d
3
+ metadata.gz: 55262c80ccb55c2d0d11436223b7319162b78f6d
4
+ data.tar.gz: bec9ee74cc333b992354e8d7c6af3d3486824a32
5
5
  SHA512:
6
- metadata.gz: a7a0f4b87e397f962703a4767210d07d301b565f69b2eba7d2f993e5e7c14813ec371d176159025d86f36ba7cfabd116692d3079e544099b5ccb8644d1147706
7
- data.tar.gz: ea20e68e17347b6da5380fa85132aab377b30fc4abfc192db3924028fd088b06e2b0bebb2bebcb61b102d2535091236a06ac08efb34bddfbb014e0bee1bed2db
6
+ metadata.gz: 8b26db1c9f44122698ad453dafd52ec3aa048e2db2af861750cb27fc9a9186105a70f467b09b94f05f0a38442b1d56a5a2e82d2d7ac81be0150344424d4b8550
7
+ data.tar.gz: 08bc8fff0048e8493d153c9ad40dcbf2a8c21496ee9cce7024b1bb1a8591f97d0f145f6ca709162bf74fab365237d20b4b41ef93a55bdf06539c919d7ff11024
@@ -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.empty?
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")
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: perf_check
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.7.0
4
+ version: 0.7.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - rubytune