codeclimate 0.58.0 → 0.59.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/config/engines.yml +20 -0
- data/lib/cc/cli/init.rb +3 -1
- data/lib/cc/cli/version_checker.rb +4 -0
- metadata +3 -4
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: bd44d5947202badd787f474113ea06889904a15d
|
4
|
+
data.tar.gz: 6bcddcf1f0171efa25c510762547b5e11b43edeb
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 6c69fb0758d388309a3a52ab9f196b1fac1cf352100990287f6ad6446d60fb87e7f565edb4b3111052484d5369771a223339272c1d99681759196e2319f98cae
|
7
|
+
data.tar.gz: fb560f47a7979b9d28680ea88be6fd3a6aba55fe42ccecc1d9fb96cd9250a5c86a4f0402013ba4673b33748d21c814eb2a528a5b290139bfca8ebd15fd9ed508
|
data/config/engines.yml
CHANGED
@@ -241,6 +241,15 @@ haxe-checkstyle:
|
|
241
241
|
- \.hx$
|
242
242
|
default_ratings_paths:
|
243
243
|
- "**.hx"
|
244
|
+
haml-lint:
|
245
|
+
channels:
|
246
|
+
beta: codeclimate/codeclimate-haml-lint:beta
|
247
|
+
description: Tool for writing clean and consistent HAML.
|
248
|
+
community: true
|
249
|
+
enable_regexps:
|
250
|
+
- \.haml$
|
251
|
+
default_ratings_paths:
|
252
|
+
- "**.haml"
|
244
253
|
hlint:
|
245
254
|
channels:
|
246
255
|
stable: codeclimate/codeclimate-hlint
|
@@ -327,6 +336,17 @@ phpmd:
|
|
327
336
|
- "**.php"
|
328
337
|
- "**.module"
|
329
338
|
- "**.inc"
|
339
|
+
proselint:
|
340
|
+
channels:
|
341
|
+
beta: codeclimate/codeclimate-proselint:beta
|
342
|
+
description: A linter for prose.
|
343
|
+
community: true
|
344
|
+
enable_regexps:
|
345
|
+
- \.markdown$
|
346
|
+
- \.md$
|
347
|
+
default_ratings_paths:
|
348
|
+
- "**.markdown"
|
349
|
+
- "**.md"
|
330
350
|
pmd:
|
331
351
|
channels:
|
332
352
|
beta: codeclimate/codeclimate-pmd:beta
|
data/lib/cc/cli/init.rb
CHANGED
@@ -79,7 +79,9 @@ module CC
|
|
79
79
|
config_mapping = Hash.new { |_, k| [k] }.merge(engine.fetch("config_files", {}))
|
80
80
|
|
81
81
|
config_paths.each do |config_path|
|
82
|
-
|
82
|
+
filename = File.basename(config_path)
|
83
|
+
possible_names = config_mapping[filename].concat([filename])
|
84
|
+
generate_config(config_path, possible_names)
|
83
85
|
end
|
84
86
|
end
|
85
87
|
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.59.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-03-
|
11
|
+
date: 2017-03-30 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: activesupport
|
@@ -273,9 +273,8 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
273
273
|
version: '0'
|
274
274
|
requirements: []
|
275
275
|
rubyforge_project:
|
276
|
-
rubygems_version: 2.
|
276
|
+
rubygems_version: 2.6.8
|
277
277
|
signing_key:
|
278
278
|
specification_version: 4
|
279
279
|
summary: Code Climate CLI
|
280
280
|
test_files: []
|
281
|
-
has_rdoc:
|