gitlab-glfm-markdown 0.0.46 → 0.0.47

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 4a789582b1efada102f42fe65dca7692b2e34bb1b569bbe96e646c9637c9c609
4
- data.tar.gz: b01ebe53df49a13dfc866f8b94ca2eca9e355ca62d50d0a7c1596fd65f00758f
3
+ metadata.gz: 1e301cb75e5f8cfe5849701676319010a0ee73209942a80e084751202b0a65fb
4
+ data.tar.gz: 5b888ebfe2f59c7f5489e899beefd5513066b74055f1609c759618267daef397
5
5
  SHA512:
6
- metadata.gz: 56c3a7322bd1da5209378bcb61cab87ca630cf6cee7732a91fee746c3832059b47144505b12640c95f68f68d1eba1b0552d3587b58b90147e714e44f437f3b42
7
- data.tar.gz: 6094b542ed4b42308a4e9b5377c77dc133d4247e48bafac13989d86f3bbfae0d5124323313908cec60a67e7086aefc1dcc968278eb33d75744a8df063e6ff009
6
+ metadata.gz: 9dc0786a85827e59c683e7ad2e46e1992dfcbbb4cf71150d55690d71a3c5a6ba873c97b3e9a0111b84dd1a15cddc90f693bd68dbdd7c3a9ca2bb8fb82b061916
7
+ data.tar.gz: 9fca0669812cca3c3bfd290579dd9aeec0083382737005788d9b207a37f0a4038cf7cef4fb58ba281df0f739ac512a43260b9f778e0a54f38a140332f1fb825c
data/Cargo.lock CHANGED
@@ -220,9 +220,9 @@ checksum = "b05b61dc5112cbb17e4b6cd61790d9845d13888356391624cbe7e41efeac1e75"
220
220
 
221
221
  [[package]]
222
222
  name = "comrak"
223
- version = "0.58.0"
223
+ version = "0.59.0"
224
224
  source = "registry+https://github.com/rust-lang/crates.io-index"
225
- checksum = "0cb1089513c824bca82b76a086cfef0f7edbf25102b927dd21317041113a3ac4"
225
+ checksum = "3adf553d37681e21753316065ad5a763d9513f81c910e250576c572114a8eb06"
226
226
  dependencies = [
227
227
  "caseless",
228
228
  "emojis",
@@ -345,7 +345,7 @@ checksum = "3f9eec918d3f24069decb9af1554cad7c880e2da24a9afd88aca000531ab82c1"
345
345
 
346
346
  [[package]]
347
347
  name = "gitlab-glfm-markdown"
348
- version = "0.0.46"
348
+ version = "0.0.47"
349
349
  dependencies = [
350
350
  "clap",
351
351
  "comrak",
data/README.md CHANGED
@@ -4,7 +4,7 @@
4
4
  [![Latest Release](https://gitlab.com/gitlab-org/ruby/gems/gitlab-glfm-markdown/-/badges/release.svg)](https://gitlab.com/gitlab-org/ruby/gems/gitlab-glfm-markdown/-/releases)
5
5
 
6
6
  Implements GLFM (as used by GitLab) using the Rust-based Markdown parser
7
- [Comrak](https://github.com/kivikakk/comrak) (0.58.0), providing a Ruby interface.
7
+ [Comrak](https://github.com/kivikakk/comrak) (0.59.0), providing a Ruby interface.
8
8
 
9
9
  This project is still in constant flux, so interfaces and functionality can change at any time.
10
10
 
@@ -1,6 +1,6 @@
1
1
  [package]
2
2
  name = "gitlab-glfm-markdown"
3
- version = "0.0.46"
3
+ version = "0.0.47"
4
4
  edition = "2021"
5
5
  authors = ["digitalmoksha <bwalker@gitlab.com>", "Asherah Connor <aconnor@gitlab.com>"]
6
6
  description = "GitLab Flavored Markdown parser and formatter. 100% CommonMark-compatible."
@@ -15,7 +15,7 @@ required-features = ["cli"]
15
15
 
16
16
  [dependencies]
17
17
  clap = { version = "=4.4.18", optional = true, features = ["derive", "string"] }
18
- comrak = { version = "0.58.0", default-features = false, features = ["shortcodes"] }
18
+ comrak = { version = "0.59.0", default-features = false, features = ["shortcodes"] }
19
19
  magnus = "0.8.2"
20
20
  rb-sys = { version = "0.9.124", default-features = false, features = ["stable-api-compiled-fallback"] }
21
21
  regex = "1.11.1"
@@ -94,6 +94,7 @@ impl From<&RenderOptions> for comrak::Options<'_> {
94
94
  comrak_options.extension.underline = options.underline;
95
95
  comrak_options.extension.wikilinks_title_after_pipe = options.wikilinks_title_after_pipe;
96
96
  comrak_options.extension.wikilinks_title_before_pipe = options.wikilinks_title_before_pipe;
97
+ comrak_options.extension.wikilinks_ignore_embeds = true;
97
98
 
98
99
  comrak_options.render.escape = options.escape;
99
100
  comrak_options.render.escaped_char_spans = options.escaped_char_spans;
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module GLFMMarkdown
4
- VERSION = '0.0.46'
4
+ VERSION = '0.0.47'
5
5
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: gitlab-glfm-markdown
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.46
4
+ version: 0.0.47
5
5
  platform: ruby
6
6
  authors:
7
7
  - Brett Walker