codeclimate 0.4.1 → 0.4.3

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: 3523bce800293f5903817e726e0f25342ea16073
4
- data.tar.gz: 75f9e10a2cfb6a70069b789d518de5e12cadf364
3
+ metadata.gz: 7c1632a9f1c4e7f9d3f540f139bb110b1061a702
4
+ data.tar.gz: 3b86014ad19adabd9018b27859ddadc7fecf1de5
5
5
  SHA512:
6
- metadata.gz: cfd8cfc84d133c03089e3e8e91b60d4ef17122962cc1c8201589718891338444cf4863e926aa6ff9353d5efda11ebeb34a70266f43ff184aa2aac333a74f01b2
7
- data.tar.gz: 1a76cc617788a2b8e12231386ecce3f145da2821e1aca49004a19617eb6e80469aa298d2245b8844c1e9a4945c27c45169dafe6c6e680f4e82ac830087344edc
6
+ metadata.gz: 18211bec71e1214f10ef8bb930b6cd0ddebe798399562af9b8a0a9eb4ddffa6dc3234947b238251a3ae202ff1d9bcf9ec7971459444ce725a0c84b8e69bd31b1
7
+ data.tar.gz: 0adedd3674d54f17ba8e2b6770350bfc7f538ae936742ac4f98531db0ab7c5752c55324c0a26f9b85ac33c3a88e24cc46708a690bbbd366a9cba5f35c1d6bc3c
@@ -24,11 +24,11 @@ module CC
24
24
  end
25
25
 
26
26
  def issue?(json)
27
- json["type"] == ISSUE_TYPE
27
+ json["type"] && json["type"].downcase == ISSUE_TYPE
28
28
  end
29
29
 
30
30
  def ignore_issue?(json)
31
- !check_config(json["check"]).fetch("enabled", true)
31
+ !check_config(json["check_name"]).fetch("enabled", true)
32
32
  end
33
33
 
34
34
  def check_config(check_name)
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: codeclimate
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.4.1
4
+ version: 0.4.3
5
5
  platform: ruby
6
6
  authors:
7
7
  - Code Climate
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2015-09-14 00:00:00.000000000 Z
11
+ date: 2015-09-17 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: activesupport