codeclimate 0.85.26 → 0.85.29
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +5 -5
- data/config/engines.yml +1 -4
- data/lib/cc/cli/prepare.rb +2 -1
- data/lib/cc/config/prepare.rb +4 -0
- data/lib/cc/config.rb +4 -2
- metadata +3 -4
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
|
-
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
2
|
+
SHA256:
|
3
|
+
metadata.gz: d51ecb6c8346e33100989e76e5e0bc6d47e04ba78c929713fbbd745f8c47ad6e
|
4
|
+
data.tar.gz: aba53f1d5523c77189e25ceb4f3dc50fe7a7ecac5d282f4f394176d768c7753d
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: e0b064b5b43ff970c043a3bf4082c2b8ca1d9c68c8c4ed0244223fd815ad9097a7faf0e88039fc347ae06fd74adadaee5b6a2f1ce1ddfe1493bd74fbc6c6bd31
|
7
|
+
data.tar.gz: 18ac42775e7c884f63c3bd78847a4365ff452e6fc46c4b55c79149689898cac109245b2e24d1f420038c9d1b61d04221f79510206bf07058dfefb4b7983c4fb3
|
data/config/engines.yml
CHANGED
@@ -81,6 +81,7 @@ eslint:
|
|
81
81
|
eslint-5: codeclimate/codeclimate-eslint:eslint-5
|
82
82
|
eslint-6: codeclimate/codeclimate-eslint:eslint-6
|
83
83
|
eslint-7: codeclimate/codeclimate-eslint:eslint-7
|
84
|
+
eslint-8: codeclimate/codeclimate-eslint:eslint-8
|
84
85
|
description: A JavaScript/JSX linting utility.
|
85
86
|
flog:
|
86
87
|
channels:
|
@@ -114,10 +115,6 @@ foodcritic:
|
|
114
115
|
channels:
|
115
116
|
stable: codeclimate/codeclimate-foodcritic
|
116
117
|
description: Lint tool for Chef cookbooks.
|
117
|
-
git-legal:
|
118
|
-
channels:
|
119
|
-
stable: codeclimate/codeclimate-git-legal
|
120
|
-
description: License compliance and compatibility analysis.
|
121
118
|
gnu-complexity:
|
122
119
|
channels:
|
123
120
|
stable: codeclimate/codeclimate-gnu-complexity
|
data/lib/cc/cli/prepare.rb
CHANGED
@@ -26,6 +26,7 @@ module CC
|
|
26
26
|
IPAddr.new("fd00::/8"),
|
27
27
|
IPAddr.new("127.0.0.1"),
|
28
28
|
IPAddr.new("0:0:0:0:0:0:0:1"),
|
29
|
+
IPAddr.new("169.254.0.0/16"),
|
29
30
|
].freeze
|
30
31
|
|
31
32
|
def run
|
@@ -65,7 +66,7 @@ module CC
|
|
65
66
|
write_file(target_path, resp.body)
|
66
67
|
say("Wrote #{url} to #{target_path}")
|
67
68
|
else
|
68
|
-
raise FetchError, "Failed fetching #{url}: code=#{resp.code}
|
69
|
+
raise FetchError, "Failed fetching #{url}: code=#{resp.code}"
|
69
70
|
end
|
70
71
|
end
|
71
72
|
|
data/lib/cc/config/prepare.rb
CHANGED
data/lib/cc/config.rb
CHANGED
@@ -40,10 +40,12 @@ module CC
|
|
40
40
|
end
|
41
41
|
|
42
42
|
def self.build(data)
|
43
|
+
prepare = Prepare.from_data(data["prepare"])
|
44
|
+
base_excluded_patterns = data.fetch("exclude_patterns", DefaultAdapter::EXCLUDE_PATTERNS)
|
43
45
|
new(
|
44
46
|
engines: EngineSet.new(data.fetch("plugins", {})).engines,
|
45
|
-
exclude_patterns:
|
46
|
-
prepare:
|
47
|
+
exclude_patterns: base_excluded_patterns + prepare.fetch.paths,
|
48
|
+
prepare: prepare,
|
47
49
|
)
|
48
50
|
end
|
49
51
|
|
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.85.
|
4
|
+
version: 0.85.29
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Code Climate
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date:
|
11
|
+
date: 2022-06-09 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: activesupport
|
@@ -265,8 +265,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
265
265
|
- !ruby/object:Gem::Version
|
266
266
|
version: '0'
|
267
267
|
requirements: []
|
268
|
-
|
269
|
-
rubygems_version: 2.6.13
|
268
|
+
rubygems_version: 3.3.7
|
270
269
|
signing_key:
|
271
270
|
specification_version: 4
|
272
271
|
summary: Code Climate CLI
|