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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: bbe8d4fbe07593850c1c07511552108e76a51b80
4
- data.tar.gz: 6226da4bd957cdb45ef1056dd34b004baf9822a1
3
+ metadata.gz: bd44d5947202badd787f474113ea06889904a15d
4
+ data.tar.gz: 6bcddcf1f0171efa25c510762547b5e11b43edeb
5
5
  SHA512:
6
- metadata.gz: b603e710eb49444f4b18edd1f388bd462c9d4897e7b80580c46a0dd325cdf8979958b08bbdc165c40ae25856258a581116f91a86be75ef4403e25edf07c0b883
7
- data.tar.gz: 910e0683df68c0066bf6a312085e5c88ae2e8f9649ddcf5486fdaf3f9c9dd4c5a024a03c622bb3b50ddbe32a5f732ae95f743e09db3dd0102f7506a244bad6b5
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
- generate_config(config_path, config_mapping[File.basename(config_path)])
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
@@ -100,6 +100,10 @@ module CC
100
100
  def global_cache
101
101
  @global_cache ||= GlobalCache.new
102
102
  end
103
+
104
+ def terminal
105
+ @terminal ||= HighLine.new(nil, $stderr)
106
+ end
103
107
  end
104
108
  end
105
109
  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.58.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-27 00:00:00.000000000 Z
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.4.5
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: