codeclimate 0.61.1 → 0.62.0
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: 7907cda495491e6f272d33a20cf4c48185bf1225
|
4
|
+
data.tar.gz: 75a3f721e7f3a19c42d8d76042bb6bc6e74b67a5
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: bc0dbd2a107f46087f8bdb09ece6ffa5e9ee1887074f723bf5c4c8a944f15bd88356d4c217efaee0464d90d212bc717cc46a6b2d16de2a49625e1d61041c5fd5
|
7
|
+
data.tar.gz: 3d6b5e74fbb1f082a8b534ea412118a3e6209b9ca3062d2e1112d192e75a51d783d016c8a4768b86c7c02ab2e6815799691d86e71aa63d3e1dcb5fb90ade6105
|
@@ -9,6 +9,11 @@ module CC
|
|
9
9
|
RelativePathValidation,
|
10
10
|
].freeze
|
11
11
|
|
12
|
+
def initialize(object)
|
13
|
+
super
|
14
|
+
@other_location_valid = {}
|
15
|
+
end
|
16
|
+
|
12
17
|
def valid?
|
13
18
|
if object["other_locations"]
|
14
19
|
object["other_locations"].is_a?(Array) &&
|
@@ -25,7 +30,8 @@ module CC
|
|
25
30
|
private
|
26
31
|
|
27
32
|
def other_location_valid?(location)
|
28
|
-
|
33
|
+
path = location && location["path"]
|
34
|
+
@other_location_valid[path] ||= CHECKS.all? do |klass|
|
29
35
|
klass.new("location" => location).valid?
|
30
36
|
end
|
31
37
|
end
|
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
|
+
version: 0.62.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Code Climate
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2017-04-
|
11
|
+
date: 2017-04-24 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: activesupport
|
@@ -288,7 +288,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
288
288
|
version: '0'
|
289
289
|
requirements: []
|
290
290
|
rubyforge_project:
|
291
|
-
rubygems_version: 2.
|
291
|
+
rubygems_version: 2.4.5
|
292
292
|
signing_key:
|
293
293
|
specification_version: 4
|
294
294
|
summary: Code Climate CLI
|