mdocs_kramdown 0.1.1 → 0.1.2.70320

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: 2860d96b7bd355f3a172b31640f0579c24929511d53d6de9bdd5cea290d8ab5b
4
- data.tar.gz: b242350e158ae5dfc5e5a55e8f224a342e07ef8806cf0163f76035f62363bce8
3
+ metadata.gz: 261462c6de58fd30d0be141e1b079323447a1cbe37cb5a727bf9212cf4067ac1
4
+ data.tar.gz: 0a6d47d0ca489b120e664c405b668cbe73045ffc690aa272e2a1c696dd4e7471
5
5
  SHA512:
6
- metadata.gz: 4fc530ee6998adbff6c6a46155f3acf58aee1b47286d9bbcb2f1179fd1b97b6c4f9952c966bd4ceac45d1db013c87e9ecf7001160499c641d7098991d0f20982
7
- data.tar.gz: 31272ac1996afbd7602072c5ea0cf818588cdba1a23f8eceb61a7acd62d72c9c5c0f027d7569e62c0f77c8b411885cea356c32de9ed7442ee41edd8e5fdfe18d
6
+ metadata.gz: f89f5bf9e9f1c8fed5e2fa5a7d7044dd921d8e530cb8fc95275e23d23121eb7c570ed547010ebde6098849ca393269b09adafde49a3129d6ae2642052cd169e2
7
+ data.tar.gz: 96bcece466a4423a3b4e9f304377d582129f6c305268d7d8b91f3e7bdcb25cd612dbe49ad02b3e3cfc520321876fec2d7bddeb40879ba3dd8381ca4b0a2efa64
@@ -4,19 +4,17 @@ 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
- klass.define_parser(:fenced_admonitions, FENCED_BLOCKQUOTE_START)
17
+ klass.define_parser(:fenced_admonitions, FENCED_ADMONITIONS_START)
20
18
  end
21
19
 
22
20
  def parse_fenced_admonitions
@@ -1,5 +1,5 @@
1
1
  module MdocsKramdown
2
2
  module Parser
3
- autoload :FencedAdmonitions, 'mdocs_kramdown/parser/admonitions'
3
+ autoload :FencedAdmonitions, 'mdocs_kramdown/parser/fenced_admonitions'
4
4
  end
5
5
  end
@@ -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
4
+ version: 0.1.2.70320
5
5
  platform: ruby
6
6
  authors:
7
7
  - Samoilenko Yuri
8
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
@@ -108,6 +108,48 @@ dependencies:
108
108
  - - "~>"
109
109
  - !ruby/object:Gem::Version
110
110
  version: '0.4'
111
+ - !ruby/object:Gem::Dependency
112
+ name: simplecov-console
113
+ requirement: !ruby/object:Gem::Requirement
114
+ requirements:
115
+ - - ">="
116
+ - !ruby/object:Gem::Version
117
+ version: '0'
118
+ type: :development
119
+ prerelease: false
120
+ version_requirements: !ruby/object:Gem::Requirement
121
+ requirements:
122
+ - - ">="
123
+ - !ruby/object:Gem::Version
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
111
153
  description: Mdocs Flavored Markdown extensions on top of Kramdown markup. Tries to
112
154
  be as close as possible to existing extensions.
113
155
  email:
@@ -147,8 +189,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
147
189
  - !ruby/object:Gem::Version
148
190
  version: '0'
149
191
  requirements: []
150
- rubyforge_project:
151
- rubygems_version: 2.7.10
192
+ rubygems_version: 3.0.3
152
193
  signing_key:
153
194
  specification_version: 4
154
195
  summary: Mdocs Flavored Kramdown