rubocop-md 1.1.0 → 1.2.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: bbf66c2759aece8c1924b0a8d54752bc9973a5c6435494f996564e60fcb02f19
4
- data.tar.gz: 261e4725b749854bc320b7f9b14cd7d1fbabfbb0c179c16e0530ed35ba092f72
3
+ metadata.gz: 481459568a982c49d109a7514bc891f22acf485a22954372eae24fb94e7543bc
4
+ data.tar.gz: 9af60abc5f0fc512eeeba617cf52b12ce471db0ff0b39e452f2e5ac246dad51a
5
5
  SHA512:
6
- metadata.gz: '09983fd1562ce4d2ec4820799bf662be764910cff9a38c02ef2ef2a8c717b6d07ba25a7536cd36363a124583fe8f39cdaa502a8be58000c788813d5301f63c19'
7
- data.tar.gz: 5acf841fdfadd326664bab788a9a3f2f706bce8454af1b177967ebaca8e648c051db9b7cf65129ca58a5d9548d0d365c09f76e05cf1d8abef49a80e930c97439
6
+ metadata.gz: 8f7b69a5a9bb3aec08882635b3746ed6aececc5c485b3d228564c66bc41fbb06935b1574b69027fb18c7fdd1c6515a17e8f7f1a99e83b8b9ad2b1daa4de06bd2
7
+ data.tar.gz: 2917282ce852086f06facda93acdd037a5782f217376b709c00ab05a0805bf72c4e7ac67520e2a99ed60a17dbd7339eb74b57e9564fad65d96956a5326724574
@@ -0,0 +1,6 @@
1
+ version: 2
2
+ updates:
3
+ - package-ecosystem: 'github-actions'
4
+ directory: '/'
5
+ schedule:
6
+ interval: 'weekly'
@@ -14,7 +14,7 @@ jobs:
14
14
  BUNDLE_RETRY: 3
15
15
  CI: true
16
16
  steps:
17
- - uses: actions/checkout@v2
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@v2
32
+ - uses: actions/checkout@v3
33
33
  - uses: ruby/setup-ruby@v1
34
34
  with:
35
35
  ruby-version: 3.1
@@ -14,7 +14,7 @@ jobs:
14
14
  BUNDLE_RETRY: 3
15
15
  CI: true
16
16
  steps:
17
- - uses: actions/checkout@v2
17
+ - uses: actions/checkout@v3
18
18
  - uses: ruby/setup-ruby@v1
19
19
  with:
20
20
  ruby-version: jruby
@@ -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@v2
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
@@ -2,6 +2,12 @@
2
2
 
3
3
  ## master (unreleased)
4
4
 
5
+ ## 1.2.0 (2023-01-31)
6
+
7
+ - Fix parsing compound syntax hints in code snippets.
8
+
9
+ - Drop Ruby 2.5 support.
10
+
5
11
  ## 1.1.0 (2022-10-24)
6
12
 
7
13
  - Ignore offenses in non-code source.
data/LICENSE.txt CHANGED
@@ -1,6 +1,6 @@
1
1
  The MIT License (MIT)
2
2
 
3
- Copyright (c) 2017-2021 Vladimir Dementyev
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: http://rubular.com/r/iJaKBkSrrT
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
 
@@ -2,6 +2,6 @@
2
2
 
3
3
  module RuboCop
4
4
  module Markdown
5
- VERSION = "1.1.0"
5
+ VERSION = "1.2.0"
6
6
  end
7
7
  end
data/rubocop-md.gemspec CHANGED
@@ -25,7 +25,7 @@ Gem::Specification.new do |spec|
25
25
  "source_code_uri" => "http://github.com/rubocop-hq/rubocop-md"
26
26
  }
27
27
 
28
- spec.required_ruby_version = ">= 2.5.0"
28
+ spec.required_ruby_version = ">= 2.6.0"
29
29
 
30
30
  spec.require_paths = ["lib"]
31
31
 
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.1.0
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: 2022-10-24 00:00:00.000000000 Z
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.5.0
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.7
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.