rubocop-md 0.3.1 → 0.3.2

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: 9eb807fc0ec080261719e989d665b63e329255144dd10d3627eaeb0e4d812e08
4
- data.tar.gz: 495bad6926f4b2e916309251cb621025ebd608dab38c50f9d1bf5ff4319be9e7
3
+ metadata.gz: bc15dd6ded764fed43fb02cab227790a6c63d8479d6d237933c1fe3e40badd1f
4
+ data.tar.gz: 3e1ac45380dbe961f678e7004ff4513367ee4a441781ae088f05fa8dfb746483
5
5
  SHA512:
6
- metadata.gz: cef788fcc7eacc9ecabcb5e4a37b7fc155f03d21352d1cadd80eede9745fe41fa112134767c9a7ca72b3771c1a488d873a05f69bb76287e0d0e3be75f97eaa43
7
- data.tar.gz: 37492d3e85be408a09d91a8002cd34da7229eff314e0e55f23977a9f1466e8bccd1f39b235e6604db82d1d8d65d07f3ef50c3a735c341045de64a23958177c8e
6
+ metadata.gz: 80981331cfa3f2899d98ef6711ac1ec57394d9036941685428b8a6294e4cb6c72ff1ffcb7b99460c15f0bc1691a763251aaaa87c7adc793fba787e33b5550046
7
+ data.tar.gz: d3ac4881930ab84406897655cd85cd5f50d6ce8fbb522ef5de38d9d769cd13225f27539f5eef1c3ac5627f71b37cbba85551f812d78df9025a91549b68614ced
data/.rubocop.yml CHANGED
@@ -28,6 +28,15 @@ Style/ClassAndModuleChildren:
28
28
  Exclude:
29
29
  - 'test/**/*.rb'
30
30
 
31
+ Style/HashEachMethods:
32
+ Enabled: true
33
+
34
+ Style/HashTransformKeys:
35
+ Enabled: true
36
+
37
+ Style/HashTransformValues:
38
+ Enabled: true
39
+
31
40
  Layout/EmptyLinesAroundArguments:
32
41
  Enabled: false
33
42
 
data/.travis.yml CHANGED
@@ -11,8 +11,10 @@ matrix:
11
11
  gemfile: gemfiles/rubocopmaster.gemfile
12
12
  - rvm: jruby-9.2.8.0
13
13
  gemfile: Gemfile
14
- - rvm: 2.6
14
+ - rvm: 2.7
15
15
  gemfile: gemfiles/rubocopmaster.gemfile
16
+ - rvm: 2.7
17
+ gemfile: Gemfile
16
18
  - rvm: 2.6
17
19
  gemfile: Gemfile
18
20
  - rvm: 2.5
data/CHANGELOG.md CHANGED
@@ -2,6 +2,10 @@
2
2
 
3
3
  ## master (unreleased)
4
4
 
5
+ ## 0.3.2 (2020-03-18)
6
+
7
+ - [#9](https://github.com/rubocop-hq/rubocop-md/pull/9): Add file extensions for Markdown ([@ybiquitous][])
8
+
5
9
  ## 0.3.1 (2019-12-25)
6
10
 
7
11
  - Upgrade to RuboCop 0.78 ([@palkan][])
@@ -13,3 +17,4 @@ Change the default config to use the new cop names for (e.g., `Layout/LineLength
13
17
  - **Drop Ruby 2.2 support** ([@palkan][])
14
18
 
15
19
  [@palkan]: https://github.com/palkan
20
+ [@ybiquitous]: https://github.com/ybiquitous
@@ -2,7 +2,20 @@
2
2
 
3
3
  module RuboCop
4
4
  module Markdown # :nodoc:
5
- MARKDOWN_EXTENSIONS = %w[.md .markdown].freeze
5
+ # According to Linguist.
6
+ # See https://github.com/github/linguist/blob/96ca71ab99c2f9928d5d69f4c08fd2a51440d045/lib/linguist/languages.yml#L3065-L3083
7
+ MARKDOWN_EXTENSIONS = %w[
8
+ .md
9
+ .markdown
10
+ .mdown
11
+ .mdwn
12
+ .mdx
13
+ .mkd
14
+ .mkdn
15
+ .mkdown
16
+ .ronn
17
+ .workbook
18
+ ].freeze
6
19
 
7
20
  class << self
8
21
  attr_accessor :config_store
@@ -2,6 +2,6 @@
2
2
 
3
3
  module RuboCop
4
4
  module Markdown
5
- VERSION = "0.3.1"
5
+ VERSION = "0.3.2"
6
6
  end
7
7
  end
data/rubocop-md.gemspec CHANGED
@@ -32,6 +32,6 @@ Gem::Specification.new do |spec|
32
32
  spec.add_runtime_dependency "rubocop", "~> 0.60"
33
33
 
34
34
  spec.add_development_dependency "bundler", ">= 1.15"
35
- spec.add_development_dependency "rake", "~> 10.0"
35
+ spec.add_development_dependency "rake", "~> 13.0"
36
36
  spec.add_development_dependency "minitest", "~> 5.0"
37
37
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: rubocop-md
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.3.1
4
+ version: 0.3.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - Vladimir Dementyev
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2019-12-25 00:00:00.000000000 Z
11
+ date: 2020-03-18 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: rubocop
@@ -44,14 +44,14 @@ dependencies:
44
44
  requirements:
45
45
  - - "~>"
46
46
  - !ruby/object:Gem::Version
47
- version: '10.0'
47
+ version: '13.0'
48
48
  type: :development
49
49
  prerelease: false
50
50
  version_requirements: !ruby/object:Gem::Requirement
51
51
  requirements:
52
52
  - - "~>"
53
53
  - !ruby/object:Gem::Version
54
- version: '10.0'
54
+ version: '13.0'
55
55
  - !ruby/object:Gem::Dependency
56
56
  name: minitest
57
57
  requirement: !ruby/object:Gem::Requirement