gitlab_kramdown 0.25.0 → 0.26.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
  SHA256:
3
- metadata.gz: 9fa71e9ad769331d0d9b11f2832819ae7ed315598d63f8f2137b3496eb5ccd68
4
- data.tar.gz: e3bd2bb21a4e4d6208b383b8e810b2cf91f76b1f13ff28b547f4b550ffe2d36b
3
+ metadata.gz: f26fb1f0cce47af71469b200a48acf19c5187d42c798a6e07efc64cbf6feec94
4
+ data.tar.gz: 768b1e730969bd65da44e117da63257a55ba010b4d5d4418a6bbad4d0079b7dc
5
5
  SHA512:
6
- metadata.gz: d0f70cd8f966d63f0624ee641d324e995472b18b67fc9d864c8e1f679a1c1f9207288118bd793a555e949660e32f7817d62c23df0f5afdcb1a6020d6337e3871
7
- data.tar.gz: e2c9f5e5be57dc345613f1044bb639a056ebba2b2e5254cf13d55cb89874ecffc97aff5c235eb1eca588f4061439df90637695a277785cf5bf7f9e20a58b1bf1
6
+ metadata.gz: 7700fe7769ae74bdd49d0024913bff158c5483819da68a2d719b15df5b79e5fc6c9cef45d0c58c728c6adff64cd7b1e56d929151353770434ee00f5cb56824b5
7
+ data.tar.gz: c5502cd1ff1f3100c52a3666ee0e287b093ef3e80f68c5105182f66e1ab66318bd093159a126cd4b20b9ab272407321e5c894dec0f023fcf9b7b0a0bb67ea776
data/CHANGELOG.md CHANGED
@@ -7,7 +7,19 @@ and this project adheres to [Semantic Versioning](http://semver.org/spec/v2.0.0.
7
7
 
8
8
  ## [Unreleased]
9
9
 
10
- ## [0.25.0] - 2022-02-13
10
+ ## [0.26.0] - 2023-04-20
11
+
12
+ ### Fixed
13
+
14
+ - Fix changelog dates.
15
+ - Resolve RuboCop violations.
16
+
17
+ ### Changed
18
+
19
+ - Update Ruby version to 3.2.2.
20
+ - Update Gem dependencies.
21
+
22
+ ## [0.25.0] - 2023-02-13
11
23
 
12
24
  ### Changed
13
25
 
@@ -15,7 +27,7 @@ and this project adheres to [Semantic Versioning](http://semver.org/spec/v2.0.0.
15
27
  - Set Ruby 3.0 as the minimum required version and stop testing Ruby 2.7.
16
28
  - Update Gem dependencies.
17
29
 
18
- ## [0.24.0] - 2022-01-27
30
+ ## [0.24.0] - 2023-01-27
19
31
 
20
32
  ### Changed
21
33
 
@@ -218,6 +230,7 @@ and this project adheres to [Semantic Versioning](http://semver.org/spec/v2.0.0.
218
230
  - Special GitLab References
219
231
  - Multiline Blockquote
220
232
 
233
+ [0.26.0]: https://gitlab.com/gitlab-org/ruby/gems/gitlab_kramdown/-/compare/v0.25.0...v0.26.0
221
234
  [0.25.0]: https://gitlab.com/gitlab-org/ruby/gems/gitlab_kramdown/-/compare/v0.24.0...v0.25.0
222
235
  [0.24.0]: https://gitlab.com/gitlab-org/ruby/gems/gitlab_kramdown/-/compare/v0.23.0...v0.24.0
223
236
  [0.23.0]: https://gitlab.com/gitlab-org/ruby/gems/gitlab_kramdown/-/compare/v0.22.0...v0.23.0
data/README.md CHANGED
@@ -74,7 +74,6 @@ Kramdown::Document.new(source, input: 'GitlabKramdown', syntax_highlighter: :rou
74
74
 
75
75
  ## Supported and tested Ruby versions
76
76
 
77
- - Ruby 2.7
78
77
  - Ruby 3.0
79
78
  - Ruby 3.2
80
79
 
@@ -14,7 +14,7 @@ module GitlabKramdown
14
14
  PATH_REGEX = /[a-zA-Z0-9_.][a-zA-Z0-9_\-.]+/.freeze
15
15
 
16
16
  NAMESPACE_FORMAT_REGEX = %r{
17
- (?:#{PATH_REGEX}[a-zA-Z0-9_\-])
17
+ (?:#{PATH_REGEX}[a-zA-Z0-9_-])
18
18
  (?<!\.git|\.atom)
19
19
  |[a-zA-Z0-9_]
20
20
  }x.freeze
@@ -71,7 +71,7 @@ module GitlabKramdown
71
71
  @src.pos += @src.matched_size
72
72
 
73
73
  # should not start with anything that looks like project/namespace
74
- if @src.pre_match.match?(/[a-zA-Z0-9_\-]\Z/)
74
+ if @src.pre_match.match?(/[a-zA-Z0-9_-]\Z/)
75
75
  add_text(@src[0])
76
76
  return
77
77
  end
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module GitlabKramdown
4
- VERSION = '0.25.0'
4
+ VERSION = '0.26.0'
5
5
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: gitlab_kramdown
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.25.0
4
+ version: 0.26.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Gabriel Mazetto
8
8
  autorequire:
9
9
  bindir: exe
10
10
  cert_chain: []
11
- date: 2023-02-12 00:00:00.000000000 Z
11
+ date: 2023-04-20 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: kramdown
@@ -30,14 +30,14 @@ dependencies:
30
30
  requirements:
31
31
  - - "~>"
32
32
  - !ruby/object:Gem::Version
33
- version: 4.0.0
33
+ version: 4.1.0
34
34
  type: :runtime
35
35
  prerelease: false
36
36
  version_requirements: !ruby/object:Gem::Requirement
37
37
  requirements:
38
38
  - - "~>"
39
39
  - !ruby/object:Gem::Version
40
- version: 4.0.0
40
+ version: 4.1.0
41
41
  - !ruby/object:Gem::Dependency
42
42
  name: nokogiri
43
43
  requirement: !ruby/object:Gem::Requirement
@@ -128,14 +128,14 @@ dependencies:
128
128
  requirements:
129
129
  - - "~>"
130
130
  - !ruby/object:Gem::Version
131
- version: 9.2.0
131
+ version: 10.0.0
132
132
  type: :development
133
133
  prerelease: false
134
134
  version_requirements: !ruby/object:Gem::Requirement
135
135
  requirements:
136
136
  - - "~>"
137
137
  - !ruby/object:Gem::Version
138
- version: 9.2.0
138
+ version: 10.0.0
139
139
  - !ruby/object:Gem::Dependency
140
140
  name: rspec
141
141
  requirement: !ruby/object:Gem::Requirement
@@ -170,14 +170,14 @@ dependencies:
170
170
  requirements:
171
171
  - - "~>"
172
172
  - !ruby/object:Gem::Version
173
- version: 2.10.0
173
+ version: 2.12.0
174
174
  type: :development
175
175
  prerelease: false
176
176
  version_requirements: !ruby/object:Gem::Requirement
177
177
  requirements:
178
178
  - - "~>"
179
179
  - !ruby/object:Gem::Version
180
- version: 2.10.0
180
+ version: 2.12.0
181
181
  description: GitLab Flavored Markdown extensions on top of Kramdown markup. Tries
182
182
  to be as close as possible to existing extensions.
183
183
  email:
@@ -225,7 +225,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
225
225
  - !ruby/object:Gem::Version
226
226
  version: '0'
227
227
  requirements: []
228
- rubygems_version: 3.4.6
228
+ rubygems_version: 3.4.12
229
229
  signing_key:
230
230
  specification_version: 4
231
231
  summary: GitLab Flavored Kramdown