codeclimate 0.85.27 → 0.85.28

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
  SHA256:
3
- metadata.gz: 6e09ed17ce9ec4365cae365db7bba58fe24249134eb4ceeb27c06f303a5bf9f5
4
- data.tar.gz: b263fb932ae6baca90405bc6b3b073c925571816a9803fe024858389397e9fb9
3
+ metadata.gz: 8ca0c15dd4895e2c738f0e08b7ae17c06ef8abeb0640761ab8ed9b35f3cd5bb2
4
+ data.tar.gz: 620605f5ffe39ed8b45edab7b38ed161888c25ed1a0875ce70e3e0fdcdbe6143
5
5
  SHA512:
6
- metadata.gz: e62725c2f9b8733053d406db3f8abfd77217b5bf800a78bb3e09966f18e05435a931a17d73ca4f10d79fd10da02477dbf0a7b5993af4d9c393fdc02c6d8249e4
7
- data.tar.gz: 2e1903aeabc18f07f11c461f0d35c0857eaad4909bdd77d5c794e2e9e29415417069a247d9692619a47381ef7ffff7f3d4bd7fb5bac4f3c11e62c63983112101
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:
@@ -34,6 +34,10 @@ module CC
34
34
  entries.each(&block)
35
35
  end
36
36
 
37
+ def paths
38
+ entries.map(&:path)
39
+ end
40
+
37
41
  def merge(other)
38
42
  Fetch.new(each.to_a | other.each.to_a)
39
43
  end
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: data.fetch("exclude_patterns", DefaultAdapter::EXCLUDE_PATTERNS),
46
- prepare: Prepare.from_data(data["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.27
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: 2022-05-11 00:00:00.000000000 Z
11
+ date: 2022-06-07 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: activesupport
@@ -96,22 +96,22 @@ dependencies:
96
96
  name: rainbow
97
97
  requirement: !ruby/object:Gem::Requirement
98
98
  requirements:
99
- - - ">="
100
- - !ruby/object:Gem::Version
101
- version: 2.0.0
102
99
  - - "~>"
103
100
  - !ruby/object:Gem::Version
104
101
  version: '2.0'
102
+ - - ">="
103
+ - !ruby/object:Gem::Version
104
+ version: 2.0.0
105
105
  type: :runtime
106
106
  prerelease: false
107
107
  version_requirements: !ruby/object:Gem::Requirement
108
108
  requirements:
109
- - - ">="
110
- - !ruby/object:Gem::Version
111
- version: 2.0.0
112
109
  - - "~>"
113
110
  - !ruby/object:Gem::Version
114
111
  version: '2.0'
112
+ - - ">="
113
+ - !ruby/object:Gem::Version
114
+ version: 2.0.0
115
115
  - !ruby/object:Gem::Dependency
116
116
  name: redcarpet
117
117
  requirement: !ruby/object:Gem::Requirement
@@ -265,7 +265,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
265
265
  - !ruby/object:Gem::Version
266
266
  version: '0'
267
267
  requirements: []
268
- rubygems_version: 3.0.8
268
+ rubygems_version: 3.3.7
269
269
  signing_key:
270
270
  specification_version: 4
271
271
  summary: Code Climate CLI