mdocs_kramdown 0.1.1.47381 → 0.1.2

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: 56a088268eea4e983790c10b57fcf8d94721d8482f2c84cedb7ecdb9d90b3fda
4
- data.tar.gz: 935e02db5aeaaf2adc1184fca4a55c6786e7bb39bdb12ee76f3b923281bc17f4
3
+ metadata.gz: 63a19e52b9d7d43cfbfd87787dafcf1ae393d09648430f95e4235af3f0c417e7
4
+ data.tar.gz: eb70634edd4a2916096ba0a5708d151d4157320f5f5b29145386d4da6fac8f4d
5
5
  SHA512:
6
- metadata.gz: ac736f20f2809bb23aa4676f996cc08ddb055f60c6c31f64db299664618f4c4867e878979520ec5e178aa4ac2785d2024cca23f231f793632445b9a00671404b
7
- data.tar.gz: 5605944396e34bd38ccb455fb3762cbaf1a9f3bc48122f10544cf8484d4aba01b64d64dd0d73901aa60214636789c0a1db44653be3a493ed50707107ec13cc06
6
+ metadata.gz: 80065f18e8845812e9fd7ed0082d07bd9b5de627ceab6126cf45a24840eee160c286e4ce7c23c0b6cbbe15685e5e68dd168b486021dd6b206f812daba73ab448
7
+ data.tar.gz: 7979d304c38019b6afff2c7bd2df2790e837efbe3120dee2f3b96bd62b1aaa4219fed1a000b2e0b0fa322afdb2451f29a6dba918e3dc5674983880608c3d3b9b
@@ -4,16 +4,14 @@ module MdocsKramdown
4
4
  FENCED_ADMONITIONS_START = /^\s{0,}!{3}/x.freeze
5
5
 
6
6
  FENCED_ADMONITIONS_MATCH = %r{
7
- ^\s{0,}*(?<delimeter>!{3}) # line must start with [0..] spacing and !!!
8
- \s* # any amount of trailling whitespace
9
- (?<type>[^\s]+)? # type of admoniation any except space. Ex: info,class1
10
- \s* # any amount of trailling whitespace
11
- ("(?<title>[^\n]+)")? # title of the admoniation
12
- \s* # any amount of trailling whitespace
13
- \n # heading line completed
14
- (?<content>(\s{4}.*\n)+) # content must starts with 4 spaces
7
+ \s{0,}*(?<delimeter>!{3}) # line must start with [0..] spacing and !!!
8
+ \s?
9
+ (?<type>[^\s]+)? # type of admoniation any except space. Ex: info,class1
10
+ \s?
11
+ ("(?<title>[^\n]+)")? # title of the admoniation
15
12
  \n
16
- }x.freeze
13
+ (?<content>(\s{4}.+)+) # content must starts with 4 spaces
14
+ \n}x.freeze
17
15
 
18
16
  def self.included(klass)
19
17
  klass.define_parser(:fenced_admonitions, FENCED_ADMONITIONS_START)
@@ -1,3 +1,3 @@
1
1
  module MdocsKramdown
2
- VERSION = '0.1.1'.freeze
2
+ VERSION = '0.1.2'.freeze
3
3
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: mdocs_kramdown
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.1.47381
4
+ version: 0.1.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - Samoilenko Yuri
8
- autorequire:
8
+ autorequire:
9
9
  bindir: exe
10
10
  cert_chain: []
11
- date: 2021-02-24 00:00:00.000000000 Z
11
+ date: 2021-12-14 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: gitlab_kramdown
@@ -122,6 +122,34 @@ dependencies:
122
122
  - - ">="
123
123
  - !ruby/object:Gem::Version
124
124
  version: '0'
125
+ - !ruby/object:Gem::Dependency
126
+ name: nokogiri
127
+ requirement: !ruby/object:Gem::Requirement
128
+ requirements:
129
+ - - ">="
130
+ - !ruby/object:Gem::Version
131
+ version: '0'
132
+ type: :development
133
+ prerelease: false
134
+ version_requirements: !ruby/object:Gem::Requirement
135
+ requirements:
136
+ - - ">="
137
+ - !ruby/object:Gem::Version
138
+ version: '0'
139
+ - !ruby/object:Gem::Dependency
140
+ name: htmlbeautifier
141
+ requirement: !ruby/object:Gem::Requirement
142
+ requirements:
143
+ - - "~>"
144
+ - !ruby/object:Gem::Version
145
+ version: 1.3.0
146
+ type: :development
147
+ prerelease: false
148
+ version_requirements: !ruby/object:Gem::Requirement
149
+ requirements:
150
+ - - "~>"
151
+ - !ruby/object:Gem::Version
152
+ version: 1.3.0
125
153
  description: Mdocs Flavored Markdown extensions on top of Kramdown markup. Tries to
126
154
  be as close as possible to existing extensions.
127
155
  email:
@@ -146,7 +174,7 @@ metadata:
146
174
  source_code_uri: https://br.rnds.pro/ruby/mdocs_kramdown
147
175
  changelog_uri: https://br.rnds.pro/ruby/mdocs_kramdown/blob/master/CHANGELOG.md
148
176
  bug_tracker_uri: https://br.rnds.pro/ruby/mdocs_kramdown/-/issues
149
- post_install_message:
177
+ post_install_message:
150
178
  rdoc_options: []
151
179
  require_paths:
152
180
  - lib
@@ -161,8 +189,8 @@ required_rubygems_version: !ruby/object:Gem::Requirement
161
189
  - !ruby/object:Gem::Version
162
190
  version: '0'
163
191
  requirements: []
164
- rubygems_version: 3.0.3
165
- signing_key:
192
+ rubygems_version: 3.2.28
193
+ signing_key:
166
194
  specification_version: 4
167
195
  summary: Mdocs Flavored Kramdown
168
196
  test_files: []