gitlab_kramdown 0.7.0 → 0.12.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: eebbee8080599cb68aad9d143671a0f34ca95423451cb142f30fa588ec5049a1
4
- data.tar.gz: 5f6d65ebfdb900317718453cdc920ebc590fc9b69f32bfdb65226d2b7600ddf1
3
+ metadata.gz: 38815de123900c5929fa80d7b8a0c7a70480ba7de26ae0f1ee978ba6a6722e8b
4
+ data.tar.gz: e4abefe79c91a0a096b47f13384d032f9f17413f39a01926ae5a0e28a049ea76
5
5
  SHA512:
6
- metadata.gz: 6dae794a6ddc7c4e10dca80b89bb23e4df7bdf2b6d9558c12fcd614a02bd6d708f5b1f89c9a72772e10bc66205cd28a74b9c4ce0fc4599321f73943b2c4f3efa
7
- data.tar.gz: 62035dbc3f5b36bad3ebd8f92a9699fa6603a8cbf03b4437c0356e823dd6430ae54964ae3c822524fae3e9c30182fca872767c08c2aaac39f022f38fcec806f6
6
+ metadata.gz: f22cab0e6ad93ef53f29463ee714871b8cda93abe19064cd58eda38d073ff98d962be0f1b6fb5ca036822d75d06a94eb394ce5e4e51a341e8cb5b04538896207
7
+ data.tar.gz: 9b2aba078a1b4d3f6a90c0601abd94e8ae6cc8c94406a72f91dd8f036a267276d1b8cfd8f657bda84768e42662d48713efe5227ac8e2448efc462cd3935628bd
data/CHANGELOG.md ADDED
@@ -0,0 +1,141 @@
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
+ ## [0.12.0]
11
+
12
+ ### Changed
13
+
14
+ - Update Gem dependencies. In particular, Kramdown to version 2.3.1.
15
+
16
+ ## [0.11.0] - 2021-01-25
17
+
18
+ ### Changed
19
+
20
+ - Update Gem dependencies.
21
+ - Update minimum required Ruby to 2.7.x.
22
+
23
+ ## [0.10.0] - 2020-08-27
24
+
25
+ - Update Gem dependencies
26
+
27
+ ## [0.9.0] - 2019-10-17
28
+
29
+ ### Fixed
30
+
31
+ - Fix very long IDs for headers that include links.
32
+
33
+ ### Added
34
+
35
+ - Images should be clickable and linked to itself
36
+ - Clickable images behavior is configurable
37
+
38
+ ## [0.8.0] - 2019-10-14
39
+
40
+ ### Changed
41
+
42
+ - Revert "Fix very long IDs for headers that include links"
43
+
44
+ ## [0.7.0] - 2019-10-11
45
+
46
+ ### Added
47
+
48
+ - Add support for PlantUML
49
+
50
+ ### Changed
51
+
52
+ - Ruby 2.4 support is dropped.
53
+ - Fix very long IDs for headers that include links.
54
+
55
+ ## [0.6.0] - 2019-05-07
56
+
57
+ ### Changed
58
+
59
+ - URL Autolinks are now disabled by default (you can re-enable with `autolink: true` configuration param)
60
+
61
+ ### Added
62
+
63
+ - Added support for rendering Mermaid when their JS is available
64
+
65
+ ## [0.5.0] - 2019-04-09
66
+
67
+ ### Added
68
+
69
+ - Strikethrough support
70
+
71
+ ## [0.4.2] - 2018-11-21
72
+
73
+ ### Changed
74
+
75
+ - URL autolinks will not execute inside `[]()` or `[]` blocks
76
+ - Freezing `kramdown` version to allow only patchlevel changes
77
+
78
+ ## [0.4.1] - 2018-11-02
79
+
80
+ ### Added
81
+
82
+ - Codebase now have a benchmark utility to compare with plain Kramdown
83
+
84
+ ### Changed
85
+
86
+ - Many performance improvements on existing RegExp rules
87
+ - Improve gemspec metadata and include only needed files on gem
88
+
89
+ ## [0.4.0] - 2018-04-12
90
+
91
+ ### Added
92
+
93
+ - URL auto-linking support
94
+
95
+ ### Changed
96
+
97
+ - Fixed many inconsistencies in references autolink
98
+
99
+ ## [0.3.0] - 2018-03-23
100
+
101
+ ### Added
102
+
103
+ - Headers will include by default an anchor tag (you can disable with `linkable_headers: false`)
104
+
105
+ ### Changed
106
+
107
+ - Fixed multiline blockquote delimiter
108
+ - GitLab URL is not customizable with `gitlab_url: 'http://yourcustomgitlab.com'`
109
+
110
+ ## [0.2.0] - 2018-03-19
111
+
112
+ ### Added
113
+
114
+ - Syntax highlighter uses `` ``` `` or `~~~`
115
+
116
+ ### Changed
117
+
118
+ - Requires Ruby 2.4
119
+ - Requires rouge `~> 3.0`
120
+
121
+ ## [0.1.0] - 2018-03-17
122
+
123
+ ### Added
124
+
125
+ - The initial version of the Gem
126
+ - Special GitLab References
127
+ - Multiline Blockquote
128
+
129
+ [0.11.0]: https://gitlab.com/gitlab-org/gitlab_kramdown/compare/v0.10.0...v0.11.0
130
+ [0.10.0]: https://gitlab.com/gitlab-org/gitlab_kramdown/compare/v0.9.0...v0.10.0
131
+ [0.9.0]: https://gitlab.com/gitlab-org/gitlab_kramdown/compare/v0.8.0...v0.9.0
132
+ [0.8.0]: https://gitlab.com/gitlab-org/gitlab_kramdown/compare/v0.7.0...v0.8.0
133
+ [0.7.0]: https://gitlab.com/gitlab-org/gitlab_kramdown/compare/v0.6.0...v0.7.0
134
+ [0.6.0]: https://gitlab.com/gitlab-org/gitlab_kramdown/compare/v0.5.0...v0.6.0
135
+ [0.5.0]: https://gitlab.com/gitlab-org/gitlab_kramdown/compare/v0.4.2...v0.5.0
136
+ [0.4.2]: https://gitlab.com/gitlab-org/gitlab_kramdown/compare/v0.4.1...v0.4.2
137
+ [0.4.1]: https://gitlab.com/gitlab-org/gitlab_kramdown/compare/v0.4.0...v0.4.1
138
+ [0.4.0]: https://gitlab.com/gitlab-org/gitlab_kramdown/compare/v0.3.0...v0.4.0
139
+ [0.3.0]: https://gitlab.com/gitlab-org/gitlab_kramdown/compare/v0.2.0...v0.3.0
140
+ [0.2.0]: https://gitlab.com/gitlab-org/gitlab_kramdown/compare/v0.1.0...v0.2.0
141
+ [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 latest master 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,11 +73,12 @@ 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
+ MARKDOWN_LINK_TEXT = /\[(?<link_text>[^\]]+)\]\((?<link_url>[^)]+)\)/.freeze
77
77
 
78
78
  def generate_header_id(text)
79
79
  result = text.downcase
80
80
  result.gsub!(MARKDOWN_LINK_TEXT) { |s| MARKDOWN_LINK_TEXT.match(s)[:link_text].gsub(NON_WORD_RE, '') }
81
+ result.gsub!(NON_WORD_RE, '')
81
82
  result.tr!(" \t", '-')
82
83
  @id_counter[result] += 1
83
84
  result << (@id_counter[result].positive? ? "-#{@id_counter[result]}" : '')
@@ -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.12.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.7.0
4
+ version: 0.12.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Gabriel Mazetto
8
8
  autorequire:
9
- bindir: bin
9
+ bindir: exe
10
10
  cert_chain: []
11
- date: 2019-10-11 00:00:00.000000000 Z
11
+ date: 2021-03-22 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.0
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.0
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.13
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.13
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.1.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.1.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.8.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.8.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,31 +201,30 @@ 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
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/master/CHANGELOG.md
211
+ bug_tracker_uri: https://gitlab.com/gitlab-org/gitlab_kramdown/-/issues
212
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
227
+ rubygems_version: 3.1.4
229
228
  signing_key:
230
229
  specification_version: 4
231
230
  summary: GitLab Flavored Kramdown