codeclimate 0.18.4 → 0.18.5

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 7f8618d4619d867a4bc02732c249a82843b7e716
4
- data.tar.gz: 18c2a3c36d66f81f6d9788e512959de64ec1e71a
3
+ metadata.gz: 8116389e470e296f7f98174b3b6d3eb7186faabc
4
+ data.tar.gz: f1c2696bcbc2c25841bff50d0e30444bef331643
5
5
  SHA512:
6
- metadata.gz: cfcaa9672e814ef0cbbadabf8823be5889c90ba565dd9f0e2b22c78feb50d46c7e100fa4e1ac255179f5be3ee30485ee209565b10c969b99324f63d82799719d
7
- data.tar.gz: d174eb31a37311c8538da8d876713b8a68f1053040a73935e6c4da64350cfa69d9249f81297146d34d1ae9ad45d4a8cd74449201521a0baed4ea3f4409f46937
6
+ metadata.gz: 46a6ec5214ffabae7de2923a5c372120b4bfd2ad000e525c25f270b702fc8c3b19e5b59804b8bc28e057305ca4a4672ea5e52544bc915a8edeb35c12e8003791
7
+ data.tar.gz: c1f973ad6fb3ffea6a41259608542c703e687735529b9e2b1c7bf6e859a310b5e4aa4095acc4323b0fa9df64e8f374760535def7c9987686a54f5be429a21330
@@ -1,7 +1,7 @@
1
1
  module CC
2
2
  module Analyzer
3
3
  class EngineOutput
4
- delegate :blank?, to: :chomped_output
4
+ delegate :blank?, to: :raw_output
5
5
  delegate :to_json, to: :as_issue
6
6
 
7
7
  def initialize(raw_output)
@@ -23,18 +23,10 @@ module CC
23
23
  attr_accessor :raw_output
24
24
 
25
25
  def parsed_output
26
- JSON.parse(chomped_output)
26
+ JSON.parse(raw_output)
27
27
  rescue JSON::ParserError
28
28
  nil
29
29
  end
30
-
31
- # Docker can put start-of-text characters when logging,
32
- # which show up as issues. Remove them here if they are at either end
33
- # of the output and then check blankness.
34
- # https://github.com/docker/docker/issues/7375
35
- def chomped_output
36
- @chomped_output ||= raw_output.chomp("\u0002")
37
- end
38
30
  end
39
31
  end
40
32
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: codeclimate
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.18.4
4
+ version: 0.18.5
5
5
  platform: ruby
6
6
  authors:
7
7
  - Code Climate