codeclimate 0.85.25 → 0.85.28
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 +3 -4
- data/lib/cc/cli/prepare.rb +1 -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: 8ca0c15dd4895e2c738f0e08b7ae17c06ef8abeb0640761ab8ed9b35f3cd5bb2
|
4
|
+
data.tar.gz: 620605f5ffe39ed8b45edab7b38ed161888c25ed1a0875ce70e3e0fdcdbe6143
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: d5420f8af6589b01028db9c28edab19582d76866777e3087a99bc7d998212a81fd38f8d718d534123454c981636b3a86b8d54dbd7b2b186ac7677fa714363a11
|
7
|
+
data.tar.gz: 1b0925cf9eaa9484c0b64e260b6f03e169124832318cee43afa89ccc89a9ba6d0b8a5e70f1a73599eb9e999afe4b294ea6cbef42833dc39c51170d5ffd0e284c
|
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
|
@@ -197,6 +194,7 @@ requiresafe:
|
|
197
194
|
rubocop:
|
198
195
|
channels:
|
199
196
|
stable: codeclimate/codeclimate-rubocop
|
197
|
+
beta: codeclimate/codeclimate-rubocop:beta
|
200
198
|
cache-support: codeclimate/codeclimate-rubocop:cache-support
|
201
199
|
rubocop-0-42: codeclimate/codeclimate-rubocop:rubocop-0-42
|
202
200
|
rubocop-0-46: codeclimate/codeclimate-rubocop:rubocop-0-46
|
@@ -257,6 +255,7 @@ rubocop:
|
|
257
255
|
rubocop-1-21-0: codeclimate/codeclimate-rubocop:rubocop-1-21-0
|
258
256
|
rubocop-1-22-2: codeclimate/codeclimate-rubocop:rubocop-1-22-2
|
259
257
|
rubocop-1-22-3: codeclimate/codeclimate-rubocop:rubocop-1-22-3
|
258
|
+
rubocop-1-23-0: codeclimate/codeclimate-rubocop:rubocop-1-23-0
|
260
259
|
description: A Ruby static code analyzer, based on the community Ruby style guide.
|
261
260
|
rubymotion:
|
262
261
|
channels:
|
data/lib/cc/cli/prepare.rb
CHANGED
@@ -65,7 +65,7 @@ module CC
|
|
65
65
|
write_file(target_path, resp.body)
|
66
66
|
say("Wrote #{url} to #{target_path}")
|
67
67
|
else
|
68
|
-
raise FetchError, "Failed fetching #{url}: code=#{resp.code}
|
68
|
+
raise FetchError, "Failed fetching #{url}: code=#{resp.code}"
|
69
69
|
end
|
70
70
|
end
|
71
71
|
|
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.28
|
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-07 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
|