rubocop-md 1.1.0 → 1.2.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/.github/dependabot.yml +6 -0
- data/.github/workflows/lint.yml +2 -2
- data/.github/workflows/test-jruby.yml +1 -1
- data/.github/workflows/test.yml +2 -4
- data/CHANGELOG.md +6 -0
- data/LICENSE.txt +1 -1
- data/lib/rubocop/markdown/preprocess.rb +2 -2
- data/lib/rubocop/markdown/version.rb +1 -1
- data/rubocop-md.gemspec +1 -1
- metadata +8 -7
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 481459568a982c49d109a7514bc891f22acf485a22954372eae24fb94e7543bc
|
4
|
+
data.tar.gz: 9af60abc5f0fc512eeeba617cf52b12ce471db0ff0b39e452f2e5ac246dad51a
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 8f7b69a5a9bb3aec08882635b3746ed6aececc5c485b3d228564c66bc41fbb06935b1574b69027fb18c7fdd1c6515a17e8f7f1a99e83b8b9ad2b1daa4de06bd2
|
7
|
+
data.tar.gz: 2917282ce852086f06facda93acdd037a5782f217376b709c00ab05a0805bf72c4e7ac67520e2a99ed60a17dbd7339eb74b57e9564fad65d96956a5326724574
|
data/.github/workflows/lint.yml
CHANGED
@@ -14,7 +14,7 @@ jobs:
|
|
14
14
|
BUNDLE_RETRY: 3
|
15
15
|
CI: true
|
16
16
|
steps:
|
17
|
-
- uses: actions/checkout@
|
17
|
+
- uses: actions/checkout@v3
|
18
18
|
- uses: ruby/setup-ruby@v1
|
19
19
|
with:
|
20
20
|
ruby-version: 2.7
|
@@ -29,7 +29,7 @@ jobs:
|
|
29
29
|
BUNDLE_RETRY: 3
|
30
30
|
CI: true
|
31
31
|
steps:
|
32
|
-
- uses: actions/checkout@
|
32
|
+
- uses: actions/checkout@v3
|
33
33
|
- uses: ruby/setup-ruby@v1
|
34
34
|
with:
|
35
35
|
ruby-version: 3.1
|
data/.github/workflows/test.yml
CHANGED
@@ -18,19 +18,17 @@ jobs:
|
|
18
18
|
strategy:
|
19
19
|
fail-fast: false
|
20
20
|
matrix:
|
21
|
-
ruby: ["2.7", "3.0", "3.1", ruby-head]
|
21
|
+
ruby: ["2.7", "3.0", "3.1", "3.2", ruby-head]
|
22
22
|
gemfile: [
|
23
23
|
"Gemfile"
|
24
24
|
]
|
25
25
|
include:
|
26
|
-
- ruby: "2.5"
|
27
|
-
gemfile: "Gemfile"
|
28
26
|
- ruby: "2.6"
|
29
27
|
gemfile: "Gemfile"
|
30
28
|
- ruby: "3.1"
|
31
29
|
gemfile: "gemfiles/rubocopmaster.gemfile"
|
32
30
|
steps:
|
33
|
-
- uses: actions/checkout@
|
31
|
+
- uses: actions/checkout@v3
|
34
32
|
- uses: ruby/setup-ruby@v1
|
35
33
|
with:
|
36
34
|
ruby-version: ${{ matrix.ruby }}
|
data/CHANGELOG.md
CHANGED
data/LICENSE.txt
CHANGED
@@ -1,6 +1,6 @@
|
|
1
1
|
The MIT License (MIT)
|
2
2
|
|
3
|
-
Copyright (c) 2017-
|
3
|
+
Copyright (c) 2017-2023 Vladimir Dementyev
|
4
4
|
|
5
5
|
Permission is hereby granted, free of charge, to any person obtaining a copy
|
6
6
|
of this software and associated documentation files (the "Software"), to deal
|
@@ -11,8 +11,8 @@ module RuboCop
|
|
11
11
|
#
|
12
12
|
# Only recognizes backticks-style code blocks.
|
13
13
|
#
|
14
|
-
# Try it:
|
15
|
-
MD_REGEXP = /^([ \t]*`{3,4})([\w[[:blank:]]]*\n)([\s\S]+?)(^[ \t]*\1[[:blank:]]*\n?)/m.freeze
|
14
|
+
# Try it: https://rubular.com/r/YMqSWiBuh2TKIJ
|
15
|
+
MD_REGEXP = /^([ \t]*`{3,4})([\w[[:blank:]]+]*\n)([\s\S]+?)(^[ \t]*\1[[:blank:]]*\n?)/m.freeze
|
16
16
|
|
17
17
|
MARKER = "<--rubocop/md-->"
|
18
18
|
|
data/rubocop-md.gemspec
CHANGED
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: 1.
|
4
|
+
version: 1.2.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Vladimir Dementyev
|
8
|
-
autorequire:
|
8
|
+
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date:
|
11
|
+
date: 2023-01-31 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: rubocop
|
@@ -75,6 +75,7 @@ extensions: []
|
|
75
75
|
extra_rdoc_files: []
|
76
76
|
files:
|
77
77
|
- ".gem_release.yml"
|
78
|
+
- ".github/dependabot.yml"
|
78
79
|
- ".github/workflows/lint.yml"
|
79
80
|
- ".github/workflows/test-jruby.yml"
|
80
81
|
- ".github/workflows/test.yml"
|
@@ -103,7 +104,7 @@ metadata:
|
|
103
104
|
documentation_uri: https://github.com/rubocop-hq/rubocop-md/blob/master/README.md
|
104
105
|
homepage_uri: https://github.com/rubocop-hq/rubocop-md
|
105
106
|
source_code_uri: http://github.com/rubocop-hq/rubocop-md
|
106
|
-
post_install_message:
|
107
|
+
post_install_message:
|
107
108
|
rdoc_options: []
|
108
109
|
require_paths:
|
109
110
|
- lib
|
@@ -111,15 +112,15 @@ required_ruby_version: !ruby/object:Gem::Requirement
|
|
111
112
|
requirements:
|
112
113
|
- - ">="
|
113
114
|
- !ruby/object:Gem::Version
|
114
|
-
version: 2.
|
115
|
+
version: 2.6.0
|
115
116
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
116
117
|
requirements:
|
117
118
|
- - ">="
|
118
119
|
- !ruby/object:Gem::Version
|
119
120
|
version: '0'
|
120
121
|
requirements: []
|
121
|
-
rubygems_version: 3.3.
|
122
|
-
signing_key:
|
122
|
+
rubygems_version: 3.3.11
|
123
|
+
signing_key:
|
123
124
|
specification_version: 4
|
124
125
|
summary: Run Rubocop against your Markdown files to make sure that code examples follow
|
125
126
|
style guidelines.
|