codeclimate 0.9.0 → 0.9.1
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:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: d81ae107229801a3f5752e7ef948a3b0b56db80d
|
4
|
+
data.tar.gz: 789f4ed9e51c32f62be863c5403bf8ef09b325b7
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: bf48b0890ed9325ac0ab5d73c5c8b3642f6b7b39bb90d5f576d0e0f367d6cdc20d29a567f21bbad394e97070b676164f1c18f0477b095950b5fa0c857e0e195d
|
7
|
+
data.tar.gz: dfbf3f35fbbbae9f4bc7d6fa84cfa011b4b94d85e4ffeaed171dd901c8df12257d05b57c2a7ca91f2a008e85d0a0e3ef8ca9b5c515d7aa267d040efb69471ed7
|
@@ -12,18 +12,16 @@ module CC
|
|
12
12
|
end
|
13
13
|
|
14
14
|
def write(data)
|
15
|
-
|
16
|
-
|
17
|
-
|
18
|
-
|
19
|
-
|
20
|
-
|
21
|
-
|
22
|
-
|
23
|
-
|
24
|
-
|
25
|
-
raise "Invalid type found: #{json["type"]}"
|
26
|
-
end
|
15
|
+
json = JSON.parse(data)
|
16
|
+
json["engine_name"] = current_engine.name
|
17
|
+
|
18
|
+
case json["type"].downcase
|
19
|
+
when "issue"
|
20
|
+
issues << json
|
21
|
+
when "warning"
|
22
|
+
warnings << json
|
23
|
+
else
|
24
|
+
raise "Invalid type found: #{json["type"]}"
|
27
25
|
end
|
28
26
|
end
|
29
27
|
|
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.9.
|
4
|
+
version: 0.9.1
|
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-10-
|
11
|
+
date: 2015-10-14 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: activesupport
|