gitlab_kramdown 0.8.0 → 0.13.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: f3acfbac18fc6cf8508130278d8c3fb763d34faf3653c9e9d74d89a5ec407de7
4
- data.tar.gz: af3d23c6d0e713db32a24d2fed92287136becee538ac92ff691c32cf0d484d22
3
+ metadata.gz: 46a4f0675c6a375da7580be7a0c99d7296f30f98ace2e5af68992c121b8012d3
4
+ data.tar.gz: 59a00fe3d06dd35724820c3c2935bfb039fc1cf29a7d0948933ac70758a9d534
5
5
  SHA512:
6
- metadata.gz: a604e72d430c7e61a62aad73a0ed6aac16ace06d1abe6e49134d671a15cff72e5b470a7fecaea4d4b01e354ab1570410731dd244ba3ac14f5ae383aa74730b83
7
- data.tar.gz: f451eb7e8da889ac1fcbb5c9ff47cb6a253a522392e7f920ceca1b3d8ba2c618d171d0ef51c27c0ccca79925be5559738fd2773c8df9c7b52f5d638fb19bfed9
6
+ metadata.gz: be62f6a5d08cdfab33ca8cf79afd00b35d4c57a162b0142ed5683c34ea83d6acd0ed5e75f98de5c3cfafe7a5575f3fefeaa08aa8cc01b1a7829409a15577a4bf
7
+ data.tar.gz: f7297cc81cd2c845916155748c6d7abe1b686d80f224cd124762ccefdde6667b5406cb85fc4230d536eda23db0202b7f8b9d3b2314683c3d5bf5792623b860cb
data/CHANGELOG.md ADDED
@@ -0,0 +1,145 @@
1
+ # Changelog
2
+
3
+ All notable changes to this project will be documented in this file.
4
+
5
+ The format is based on [Keep a Changelog](http://keepachangelog.com/en/1.0.0/)
6
+ and this project adheres to [Semantic Versioning](http://semver.org/spec/v2.0.0.html).
7
+
8
+ ## [Unreleased]
9
+
10
+ ### Changes
11
+
12
+ - Update Gem dependencies
13
+
14
+ ## [0.12.0]
15
+
16
+ ### Changed
17
+
18
+ - Update Gem dependencies. In particular, Kramdown to version 2.3.1.
19
+
20
+ ## [0.11.0] - 2021-01-25
21
+
22
+ ### Changed
23
+
24
+ - Update Gem dependencies.
25
+ - Update minimum required Ruby to 2.7.x.
26
+
27
+ ## [0.10.0] - 2020-08-27
28
+
29
+ - Update Gem dependencies
30
+
31
+ ## [0.9.0] - 2019-10-17
32
+
33
+ ### Fixed
34
+
35
+ - Fix very long IDs for headers that include links.
36
+
37
+ ### Added
38
+
39
+ - Images should be clickable and linked to itself
40
+ - Clickable images behavior is configurable
41
+
42
+ ## [0.8.0] - 2019-10-14
43
+
44
+ ### Changed
45
+
46
+ - Revert "Fix very long IDs for headers that include links"
47
+
48
+ ## [0.7.0] - 2019-10-11
49
+
50
+ ### Added
51
+
52
+ - Add support for PlantUML
53
+
54
+ ### Changed
55
+
56
+ - Ruby 2.4 support is dropped.
57
+ - Fix very long IDs for headers that include links.
58
+
59
+ ## [0.6.0] - 2019-05-07
60
+
61
+ ### Changed
62
+
63
+ - URL Autolinks are now disabled by default (you can re-enable with `autolink: true` configuration param)
64
+
65
+ ### Added
66
+
67
+ - Added support for rendering Mermaid when their JS is available
68
+
69
+ ## [0.5.0] - 2019-04-09
70
+
71
+ ### Added
72
+
73
+ - Strikethrough support
74
+
75
+ ## [0.4.2] - 2018-11-21
76
+
77
+ ### Changed
78
+
79
+ - URL autolinks will not execute inside `[]()` or `[]` blocks
80
+ - Freezing `kramdown` version to allow only patchlevel changes
81
+
82
+ ## [0.4.1] - 2018-11-02
83
+
84
+ ### Added
85
+
86
+ - Codebase now have a benchmark utility to compare with plain Kramdown
87
+
88
+ ### Changed
89
+
90
+ - Many performance improvements on existing RegExp rules
91
+ - Improve gemspec metadata and include only needed files on gem
92
+
93
+ ## [0.4.0] - 2018-04-12
94
+
95
+ ### Added
96
+
97
+ - URL auto-linking support
98
+
99
+ ### Changed
100
+
101
+ - Fixed many inconsistencies in references autolink
102
+
103
+ ## [0.3.0] - 2018-03-23
104
+
105
+ ### Added
106
+
107
+ - Headers will include by default an anchor tag (you can disable with `linkable_headers: false`)
108
+
109
+ ### Changed
110
+
111
+ - Fixed multiline blockquote delimiter
112
+ - GitLab URL is not customizable with `gitlab_url: 'http://yourcustomgitlab.com'`
113
+
114
+ ## [0.2.0] - 2018-03-19
115
+
116
+ ### Added
117
+
118
+ - Syntax highlighter uses `` ``` `` or `~~~`
119
+
120
+ ### Changed
121
+
122
+ - Requires Ruby 2.4
123
+ - Requires rouge `~> 3.0`
124
+
125
+ ## [0.1.0] - 2018-03-17
126
+
127
+ ### Added
128
+
129
+ - The initial version of the Gem
130
+ - Special GitLab References
131
+ - Multiline Blockquote
132
+
133
+ [0.11.0]: https://gitlab.com/gitlab-org/gitlab_kramdown/compare/v0.10.0...v0.11.0
134
+ [0.10.0]: https://gitlab.com/gitlab-org/gitlab_kramdown/compare/v0.9.0...v0.10.0
135
+ [0.9.0]: https://gitlab.com/gitlab-org/gitlab_kramdown/compare/v0.8.0...v0.9.0
136
+ [0.8.0]: https://gitlab.com/gitlab-org/gitlab_kramdown/compare/v0.7.0...v0.8.0
137
+ [0.7.0]: https://gitlab.com/gitlab-org/gitlab_kramdown/compare/v0.6.0...v0.7.0
138
+ [0.6.0]: https://gitlab.com/gitlab-org/gitlab_kramdown/compare/v0.5.0...v0.6.0
139
+ [0.5.0]: https://gitlab.com/gitlab-org/gitlab_kramdown/compare/v0.4.2...v0.5.0
140
+ [0.4.2]: https://gitlab.com/gitlab-org/gitlab_kramdown/compare/v0.4.1...v0.4.2
141
+ [0.4.1]: https://gitlab.com/gitlab-org/gitlab_kramdown/compare/v0.4.0...v0.4.1
142
+ [0.4.0]: https://gitlab.com/gitlab-org/gitlab_kramdown/compare/v0.3.0...v0.4.0
143
+ [0.3.0]: https://gitlab.com/gitlab-org/gitlab_kramdown/compare/v0.2.0...v0.3.0
144
+ [0.2.0]: https://gitlab.com/gitlab-org/gitlab_kramdown/compare/v0.1.0...v0.2.0
145
+ [0.1.0]: https://gitlab.com/gitlab-org/gitlab_kramdown/compare/15b5e4b46aa0e42974ec2e5ee36c68d97219736f...v0.1.0
data/LICENSE.txt CHANGED
@@ -1,20 +1,21 @@
1
+ The MIT License (MIT)
2
+
1
3
  Copyright (c) 2018-2019 Gabriel Mazetto
2
4
 
3
- Permission is hereby granted, free of charge, to any person obtaining
4
- a copy of this software and associated documentation files (the
5
- "Software"), to deal in the Software without restriction, including
6
- without limitation the rights to use, copy, modify, merge, publish,
7
- distribute, sublicense, and/or sell copies of the Software, and to
8
- permit persons to whom the Software is furnished to do so, subject to
9
- the following conditions:
5
+ Permission is hereby granted, free of charge, to any person obtaining a copy
6
+ of this software and associated documentation files (the "Software"), to deal
7
+ in the Software without restriction, including without limitation the rights
8
+ to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
9
+ copies of the Software, and to permit persons to whom the Software is
10
+ furnished to do so, subject to the following conditions:
10
11
 
11
- The above copyright notice and this permission notice shall be
12
- included in all copies or substantial portions of the Software.
12
+ The above copyright notice and this permission notice shall be included in
13
+ all copies or substantial portions of the Software.
13
14
 
14
- THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
15
- EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
16
- MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
17
- NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE
18
- LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION
19
- OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION
20
- WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
15
+ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
16
+ IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
17
+ FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
18
+ AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
19
+ LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
20
+ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
21
+ THE SOFTWARE.
data/README.md CHANGED
@@ -37,7 +37,8 @@ This is a list of GitLab Flavored Markdown (GFM) extensions and their status of
37
37
  | :------------------| :------------------: | -------------------------------------------- |
38
38
  | `gitlab_url` | `https://gitlab.com` | GitLab instance URL to build reference links |
39
39
  | `linkable_headers` | true | Generate anchor tags with headers? |
40
- | `autolink` | false | Converts URLs to HTML links (can be slow) |
40
+ | `autolink` | false | Converts URLs to HTML links (can be slow) |
41
+ | `clickable_images` | true | Autolink images to themselves |
41
42
 
42
43
  ## Usage example
43
44
 
@@ -70,20 +71,27 @@ To have also syntax highlighting using the same engine GitLab use, you need to d
70
71
  Kramdown::Document.new(source, input: 'GitlabKramdown', syntax_highlighter: :rouge).to_html
71
72
  ```
72
73
 
73
- ## Supported and tested Ruby versions:
74
+ ## Supported and tested Ruby versions
74
75
 
75
- - Ruby 2.5
76
- - Ruby 2.6
76
+ - Ruby 2.7
77
+
78
+ ## Release a new version
79
+
80
+ To release a new version of GitLab Kramdown:
81
+
82
+ 1. Update the `CHANGELOG.md` file for the new version.
83
+ 1. Check `lib/gitlab_kramdown/gitlab_kramdown.rb` is updated for the new version.
84
+ 1. Run `rake release`.
77
85
 
78
86
  ## Contributing to gitlab_kramdown
79
87
 
80
- * Check out the latest master to make sure the feature hasn't been implemented or the bug hasn't been fixed yet.
81
- * Check out the issue tracker to make sure someone already hasn't requested it and/or contributed it.
82
- * Fork the project.
83
- * Start a feature/bugfix branch.
84
- * Commit and push until you are happy with your contribution.
85
- * Make sure to add tests for it. This is important so I don't break it in a future version unintentionally.
86
- * Please try not to mess with the Rakefile, version, or history. If you want to have your own version,
88
+ - Check out the `main` branch to make sure the feature hasn't been implemented or the bug hasn't been fixed yet.
89
+ - Check out the issue tracker to make sure someone already hasn't requested it and/or contributed it.
90
+ - Fork the project.
91
+ - Start a feature/bugfix branch.
92
+ - Commit and push until you are happy with your contribution.
93
+ - Make sure to add tests for it. This is important so I don't break it in a future version unintentionally.
94
+ - Please try not to mess with the Rakefile, version, or history. If you want to have your own version,
87
95
  or is otherwise necessary, that is fine, but please isolate to its own commit so I can cherry-pick around it.
88
96
 
89
97
  ## Copyright
@@ -10,14 +10,29 @@ module GitlabKramdown
10
10
  #
11
11
  # This includes GitLab custom elements from GitLab Flavored Markdown syntax
12
12
  module GitlabHtml
13
+ # Initializes a GitLab custom HTML converter with a given document
14
+ #
15
+ # It accepts all existing options for HTML converter with our custom ones:
16
+ #
17
+ # * +clickable_images+ (default: true) - whether images will have a link to itself
18
+ #
19
+ # @param [Kramdown::Document] root
20
+ # @param [Hash] options
21
+ def initialize(root, options)
22
+ super(root, options)
23
+
24
+ @clickable_images = options[:clickable_images] != false
25
+ end
26
+
13
27
  # Codeblock is customized in order to implement a different output to Mermaid
14
28
  #
15
29
  # Mermaid requires `<div class="mermaid"></div>` surrounding the content in order
16
30
  # to trigger the unobtrusive JS.
17
31
  def convert_codeblock(element, opts)
18
- if element.options[:lang] == 'mermaid'
32
+ case element.options[:lang]
33
+ when 'mermaid'
19
34
  %(<div class="mermaid">#{element.value}</div>\n)
20
- elsif element.options[:lang] == 'plantuml'
35
+ when 'plantuml'
21
36
  plantuml_setup
22
37
 
23
38
  img_tag = Nokogiri::HTML::DocumentFragment.parse(
@@ -38,6 +53,21 @@ module GitlabKramdown
38
53
  conf.txt_enable = false
39
54
  end
40
55
  end
56
+
57
+ # Images can have a link to themselves when configuration allows
58
+ #
59
+ # We don't autolink when image is already linked to something-else
60
+ #
61
+ # @param [Kramdown::Element] element
62
+ # @param [Integer] _indent
63
+ def convert_img(element, _indent)
64
+ return super unless @clickable_images
65
+ return super if @stack.last.type == :a
66
+
67
+ href = element.attr['src']
68
+
69
+ %(<a href="#{href}" target="_blank" rel="noopener noreferrer">#{super}</a>)
70
+ end
41
71
  end
42
72
  end
43
73
  end
@@ -8,7 +8,7 @@ module GitlabKramdown
8
8
  #
9
9
  # Based on Kramdown GFM implementation
10
10
  module Escape
11
- ESCAPED_CHARS_GFM = /\\([\\.*_+`<>()\[\]{}#!:\|"'\$=\-~])/.freeze
11
+ ESCAPED_CHARS_GFM = /\\([\\.*_+`<>()\[\]{}#!:|"'$=\-~])/.freeze
12
12
 
13
13
  def self.included(klass)
14
14
  klass.define_parser(:escape_chars_gitlab, ESCAPED_CHARS_GFM, '\\\\', :parse_escaped_chars)
@@ -15,8 +15,8 @@ module GitlabKramdown
15
15
  #
16
16
  # @see https://docs.gitlab.com/ee/user/markdown.html#code-and-syntax-highlighting
17
17
  module FencedCodeblock
18
- FENCED_CODEBLOCK_START = /^[ ]{0,3}[~`]{3,}/.freeze
19
- FENCED_CODEBLOCK_MATCH = /^[ ]{0,3}(([~`]){3,})\s*?((\S+?)(?:\?\S*)?)?\s*?\n(.*?)^[ ]{0,3}\1\2*\s*?\n/m.freeze
18
+ FENCED_CODEBLOCK_START = /^ {0,3}[~`]{3,}/.freeze
19
+ FENCED_CODEBLOCK_MATCH = /^ {0,3}(([~`]){3,})\s*?((\S+?)(?:\?\S*)?)?\s*?\n(.*?)^ {0,3}\1\2*\s*?\n/m.freeze
20
20
 
21
21
  def self.included(klass)
22
22
  klass.define_parser(:codeblock_fenced_gitlab, FENCED_CODEBLOCK_START, nil, 'parse_codeblock_fenced')
@@ -73,9 +73,11 @@ module GitlabKramdown
73
73
  end
74
74
 
75
75
  NON_WORD_RE = /[^\p{Word}\- \t]/.freeze
76
+ MARKDOWN_LINK_TEXT = /\[(?<link_text>[^\]]+)\]\((?<link_url>[^)]+)\)/.freeze
76
77
 
77
78
  def generate_header_id(text)
78
79
  result = text.downcase
80
+ result.gsub!(MARKDOWN_LINK_TEXT) { |s| MARKDOWN_LINK_TEXT.match(s)[:link_text].gsub(NON_WORD_RE, '') }
79
81
  result.gsub!(NON_WORD_RE, '')
80
82
  result.tr!(" \t", '-')
81
83
  @id_counter[result] += 1
@@ -9,7 +9,7 @@ module GitlabKramdown
9
9
  #
10
10
  # @see https://docs.gitlab.com/ee/user/markdown.html#special-gitlab-references
11
11
  module Reference
12
- PATH_REGEX = /[a-zA-Z0-9_\.][a-zA-Z0-9_\-\.]+/.freeze
12
+ PATH_REGEX = /[a-zA-Z0-9_.][a-zA-Z0-9_\-.]+/.freeze
13
13
 
14
14
  NAMESPACE_FORMAT_REGEX = %r{
15
15
  (?:#{PATH_REGEX}[a-zA-Z0-9_\-])
@@ -62,7 +62,7 @@ module GitlabKramdown
62
62
  (?<namespace>#{ALWAYS_FULL_NAMESPACE_FORMAT_REGEX})
63
63
  #{Regexp.escape('~')}
64
64
  (?<label>
65
- [A-Za-z0-9_\-\?\.&]+ | # String-based single-word label title, or
65
+ [A-Za-z0-9_\-?.&]+ | # String-based single-word label title, or
66
66
  ".+?" # String-based multi-word label surrounded in quotes
67
67
  )
68
68
  }x.freeze
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module GitlabKramdown
4
- VERSION = '0.6.0'
4
+ VERSION = '0.13.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.8.0
4
+ version: 0.13.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Gabriel Mazetto
8
- autorequire:
9
- bindir: bin
8
+ autorequire:
9
+ bindir: exe
10
10
  cert_chain: []
11
- date: 2019-10-14 00:00:00.000000000 Z
11
+ date: 2021-07-02 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: kramdown
@@ -16,177 +16,177 @@ dependencies:
16
16
  requirements:
17
17
  - - "~>"
18
18
  - !ruby/object:Gem::Version
19
- version: 1.16.2
19
+ version: 2.3.1
20
20
  type: :runtime
21
21
  prerelease: false
22
22
  version_requirements: !ruby/object:Gem::Requirement
23
23
  requirements:
24
24
  - - "~>"
25
25
  - !ruby/object:Gem::Version
26
- version: 1.16.2
26
+ version: 2.3.1
27
27
  - !ruby/object:Gem::Dependency
28
28
  name: rouge
29
29
  requirement: !ruby/object:Gem::Requirement
30
30
  requirements:
31
31
  - - "~>"
32
32
  - !ruby/object:Gem::Version
33
- version: '3.0'
33
+ version: 3.26.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: '3.0'
40
+ version: 3.26.0
41
41
  - !ruby/object:Gem::Dependency
42
42
  name: nokogiri
43
43
  requirement: !ruby/object:Gem::Requirement
44
44
  requirements:
45
45
  - - "~>"
46
46
  - !ruby/object:Gem::Version
47
- version: 1.10.4
47
+ version: 1.11.0
48
48
  type: :runtime
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: 1.10.4
54
+ version: 1.11.0
55
55
  - !ruby/object:Gem::Dependency
56
56
  name: asciidoctor-plantuml
57
57
  requirement: !ruby/object:Gem::Requirement
58
58
  requirements:
59
59
  - - '='
60
60
  - !ruby/object:Gem::Version
61
- version: 0.0.9
61
+ version: 0.0.14
62
62
  type: :runtime
63
63
  prerelease: false
64
64
  version_requirements: !ruby/object:Gem::Requirement
65
65
  requirements:
66
66
  - - '='
67
67
  - !ruby/object:Gem::Version
68
- version: 0.0.9
68
+ version: 0.0.14
69
69
  - !ruby/object:Gem::Dependency
70
- name: rdoc
70
+ name: rake
71
71
  requirement: !ruby/object:Gem::Requirement
72
72
  requirements:
73
73
  - - "~>"
74
74
  - !ruby/object:Gem::Version
75
- version: '3.12'
75
+ version: 13.0.0
76
76
  type: :development
77
77
  prerelease: false
78
78
  version_requirements: !ruby/object:Gem::Requirement
79
79
  requirements:
80
80
  - - "~>"
81
81
  - !ruby/object:Gem::Version
82
- version: '3.12'
82
+ version: 13.0.0
83
83
  - !ruby/object:Gem::Dependency
84
- name: bundler
84
+ name: rdoc
85
85
  requirement: !ruby/object:Gem::Requirement
86
86
  requirements:
87
87
  - - "~>"
88
88
  - !ruby/object:Gem::Version
89
- version: '1.0'
89
+ version: 6.3.0
90
90
  type: :development
91
91
  prerelease: false
92
92
  version_requirements: !ruby/object:Gem::Requirement
93
93
  requirements:
94
94
  - - "~>"
95
95
  - !ruby/object:Gem::Version
96
- version: '1.0'
96
+ version: 6.3.0
97
97
  - !ruby/object:Gem::Dependency
98
- name: juwelier
98
+ name: bundler
99
99
  requirement: !ruby/object:Gem::Requirement
100
100
  requirements:
101
101
  - - "~>"
102
102
  - !ruby/object:Gem::Version
103
- version: 2.1.0
103
+ version: '2.1'
104
104
  type: :development
105
105
  prerelease: false
106
106
  version_requirements: !ruby/object:Gem::Requirement
107
107
  requirements:
108
108
  - - "~>"
109
109
  - !ruby/object:Gem::Version
110
- version: 2.1.0
110
+ version: '2.1'
111
111
  - !ruby/object:Gem::Dependency
112
112
  name: simplecov
113
113
  requirement: !ruby/object:Gem::Requirement
114
114
  requirements:
115
- - - ">="
115
+ - - "~>"
116
116
  - !ruby/object:Gem::Version
117
- version: '0'
117
+ version: 0.21.0
118
118
  type: :development
119
119
  prerelease: false
120
120
  version_requirements: !ruby/object:Gem::Requirement
121
121
  requirements:
122
- - - ">="
122
+ - - "~>"
123
123
  - !ruby/object:Gem::Version
124
- version: '0'
124
+ version: 0.21.0
125
125
  - !ruby/object:Gem::Dependency
126
- name: rubocop
126
+ name: gitlab-styles
127
127
  requirement: !ruby/object:Gem::Requirement
128
128
  requirements:
129
- - - ">="
129
+ - - "~>"
130
130
  - !ruby/object:Gem::Version
131
- version: '0'
131
+ version: 6.2.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: '0'
138
+ version: 6.2.0
139
139
  - !ruby/object:Gem::Dependency
140
140
  name: rspec
141
141
  requirement: !ruby/object:Gem::Requirement
142
142
  requirements:
143
- - - ">="
143
+ - - "~>"
144
144
  - !ruby/object:Gem::Version
145
- version: '0'
145
+ version: 3.10.0
146
146
  type: :development
147
147
  prerelease: false
148
148
  version_requirements: !ruby/object:Gem::Requirement
149
149
  requirements:
150
- - - ">="
150
+ - - "~>"
151
151
  - !ruby/object:Gem::Version
152
- version: '0'
152
+ version: 3.10.0
153
153
  - !ruby/object:Gem::Dependency
154
154
  name: rspec_junit_formatter
155
155
  requirement: !ruby/object:Gem::Requirement
156
156
  requirements:
157
- - - ">="
157
+ - - "~>"
158
158
  - !ruby/object:Gem::Version
159
- version: '0'
159
+ version: 0.4.0
160
160
  type: :development
161
161
  prerelease: false
162
162
  version_requirements: !ruby/object:Gem::Requirement
163
163
  requirements:
164
- - - ">="
164
+ - - "~>"
165
165
  - !ruby/object:Gem::Version
166
- version: '0'
166
+ version: 0.4.0
167
167
  - !ruby/object:Gem::Dependency
168
168
  name: benchmark-ips
169
169
  requirement: !ruby/object:Gem::Requirement
170
170
  requirements:
171
171
  - - "~>"
172
172
  - !ruby/object:Gem::Version
173
- version: '2.7'
173
+ version: 2.9.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.7'
180
+ version: 2.9.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
- email: brodock@gmail.com
183
+ email:
184
+ - brodock@gmail.com
184
185
  executables: []
185
186
  extensions: []
186
- extra_rdoc_files:
187
- - LICENSE.txt
188
- - README.md
187
+ extra_rdoc_files: []
189
188
  files:
189
+ - CHANGELOG.md
190
190
  - LICENSE.txt
191
191
  - README.md
192
192
  - lib/gitlab_kramdown.rb
@@ -201,32 +201,31 @@ files:
201
201
  - lib/gitlab_kramdown/parser/strikethrough.rb
202
202
  - lib/gitlab_kramdown/version.rb
203
203
  - lib/kramdown/parser/gitlab_kramdown.rb
204
- homepage: http://gitlab.com/gitlab-org/gitlab_kramdown
204
+ homepage: https://gitlab.com/gitlab-org/gitlab_kramdown
205
205
  licenses:
206
206
  - MIT
207
207
  metadata:
208
- bug_tracker_uri: http://gitlab.com/gitlab-org/gitlab_kramdown/issues
209
- changelog_uri: http://gitlab.com/gitlab-org/gitlab_kramdown/blob/master/CHANGELOG.md
210
- homepage_uri: http://gitlab.com/gitlab-org/gitlab_kramdown
211
- source_code_uri: http://gitlab.com/gitlab-org/gitlab_kramdown
212
- post_install_message:
208
+ homepage_uri: https://gitlab.com/gitlab-org/gitlab_kramdown
209
+ source_code_uri: https://gitlab.com/gitlab-org/gitlab_kramdown
210
+ changelog_uri: https://gitlab.com/gitlab-org/gitlab_kramdown/blob/main/CHANGELOG.md
211
+ bug_tracker_uri: https://gitlab.com/gitlab-org/gitlab_kramdown/-/issues
212
+ post_install_message:
213
213
  rdoc_options: []
214
214
  require_paths:
215
215
  - lib
216
216
  required_ruby_version: !ruby/object:Gem::Requirement
217
217
  requirements:
218
- - - "~>"
218
+ - - ">="
219
219
  - !ruby/object:Gem::Version
220
- version: '2.5'
220
+ version: 2.7.2
221
221
  required_rubygems_version: !ruby/object:Gem::Requirement
222
222
  requirements:
223
223
  - - ">="
224
224
  - !ruby/object:Gem::Version
225
225
  version: '0'
226
226
  requirements: []
227
- rubyforge_project:
228
- rubygems_version: 2.7.6.2
229
- signing_key:
227
+ rubygems_version: 3.2.15
228
+ signing_key:
230
229
  specification_version: 4
231
230
  summary: GitLab Flavored Kramdown
232
231
  test_files: []