codeclimate 0.38.1 → 0.39.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/config/rubocop/.rubocop.yml +1 -1
- data/lib/cc/analyzer/formatters/html_formatter.rb +10 -1
- metadata +5 -5
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 7f1d44f877e3194da381ee01ef8565edd2f7097c
|
4
|
+
data.tar.gz: 2609488199804650328dc8340194cf5deb2b4ce1
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: a1e25410b9850278a519106fdf59f941f3eb9d4961e86d4fd1fe2d8ca63ea0b0d0c377bd79c61bf58fad480abdcce61d59d9e785c3be1d3fd91fc147755247d4
|
7
|
+
data.tar.gz: 8e4ed0382de7745d34ba9a51075779a069dc845c1c2473e65ac535e3aec8a5d137062c26a5f29540d663c7ab016da250a4cf5cdd4576a07e0d001ff96fac7b8f
|
data/config/rubocop/.rubocop.yml
CHANGED
@@ -528,7 +528,7 @@ Style/DefWithParentheses:
|
|
528
528
|
StyleGuide: 'https://github.com/bbatsov/ruby-style-guide#method-parens'
|
529
529
|
Enabled: false
|
530
530
|
|
531
|
-
Style/
|
531
|
+
Style/PreferredHashMethods:
|
532
532
|
Description: 'Checks for use of deprecated Hash methods.'
|
533
533
|
StyleGuide: 'https://github.com/bbatsov/ruby-style-guide#hash-key'
|
534
534
|
Enabled: false
|
@@ -60,7 +60,16 @@ module CC
|
|
60
60
|
|
61
61
|
def render_readup_markdown(body)
|
62
62
|
html = Redcarpet::Render::HTML.new(escape_html: false, link_attributes: { target: "_blank" })
|
63
|
-
Redcarpet::Markdown.new(html,
|
63
|
+
Redcarpet::Markdown.new(html, markdown_options).render(body)
|
64
|
+
end
|
65
|
+
|
66
|
+
def markdown_options
|
67
|
+
{
|
68
|
+
autolink: true,
|
69
|
+
fenced_code_blocks: true,
|
70
|
+
no_intra_emphasis: true,
|
71
|
+
tables: true,
|
72
|
+
}
|
64
73
|
end
|
65
74
|
end
|
66
75
|
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.39.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: 2016-
|
11
|
+
date: 2016-11-04 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: activesupport
|
@@ -50,14 +50,14 @@ dependencies:
|
|
50
50
|
requirements:
|
51
51
|
- - "~>"
|
52
52
|
- !ruby/object:Gem::Version
|
53
|
-
version: 0.
|
53
|
+
version: 0.10.0
|
54
54
|
type: :runtime
|
55
55
|
prerelease: false
|
56
56
|
version_requirements: !ruby/object:Gem::Requirement
|
57
57
|
requirements:
|
58
58
|
- - "~>"
|
59
59
|
- !ruby/object:Gem::Version
|
60
|
-
version: 0.
|
60
|
+
version: 0.10.0
|
61
61
|
- !ruby/object:Gem::Dependency
|
62
62
|
name: highline
|
63
63
|
requirement: !ruby/object:Gem::Requirement
|
@@ -251,7 +251,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
251
251
|
version: '0'
|
252
252
|
requirements: []
|
253
253
|
rubyforge_project:
|
254
|
-
rubygems_version: 2.4.5
|
254
|
+
rubygems_version: 2.4.5
|
255
255
|
signing_key:
|
256
256
|
specification_version: 4
|
257
257
|
summary: Code Climate CLI
|