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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 86334898b3c149db0d31578c93e8bab33ca40a14
4
- data.tar.gz: 3ec1769dfaea8e3a2ff7dba441a410b3bfc96cc5
3
+ metadata.gz: 7f1d44f877e3194da381ee01ef8565edd2f7097c
4
+ data.tar.gz: 2609488199804650328dc8340194cf5deb2b4ce1
5
5
  SHA512:
6
- metadata.gz: 3a66ea68fd52fe44e83505a6e9f8e0f22a2a765873a619abc9157903f688e9481a4f51b13888640f8b8b69644732a9e6c1e6761267a3e84d294aa4cabeb7008a
7
- data.tar.gz: 9c19c45d08ea06630435ab73fd4217dbec3bcc2e4cc29dd49abbbc0ea99c70387aee4b6cfad3a869019655c6e27055c1ba43528bfa4f4d16aa5d591335b08679
6
+ metadata.gz: a1e25410b9850278a519106fdf59f941f3eb9d4961e86d4fd1fe2d8ca63ea0b0d0c377bd79c61bf58fad480abdcce61d59d9e785c3be1d3fd91fc147755247d4
7
+ data.tar.gz: 8e4ed0382de7745d34ba9a51075779a069dc845c1c2473e65ac535e3aec8a5d137062c26a5f29540d663c7ab016da250a4cf5cdd4576a07e0d001ff96fac7b8f
@@ -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/DeprecatedHashMethods:
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, autolink: true, fenced_code_blocks: true, tables: true).render(body)
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.38.1
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-10-13 00:00:00.000000000 Z
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.9.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.9.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.1
254
+ rubygems_version: 2.4.5
255
255
  signing_key:
256
256
  specification_version: 4
257
257
  summary: Code Climate CLI