gitlab-glfm-markdown 0.0.18-aarch64-linux → 0.0.19-aarch64-linux

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: 1fc842c5553bc36bf7b81eefbf058c8e6809bf5e1540255da9ebd267413babcf
4
- data.tar.gz: 4eab813860a09617f07b6e706796e688908fb0c52247dc214dfb6e70f8aeb80b
3
+ metadata.gz: 34c2ceb367576e459bc7c26b8175deafcb4716cca726fe3c7b0c755f3f5615f3
4
+ data.tar.gz: 13031140856b7b1e358d24cbc487a7f52ca09a3d82b45b7e8b173ae462d8fb7c
5
5
  SHA512:
6
- metadata.gz: a7100aa010cdbb7b72eabc380bf602bc1d3d6761a3997bd47618a299ca929e2d2b34db25c2ba6e76f736d0e8bfcf70870351946a69cb3353b23cd856f1a4c07c
7
- data.tar.gz: 4dcae1a9cbcb7119ebbc5c320bc8bb1703e17c07b678f86dea3ab40a12d698af73fc2203cad277e91703b354ec0972156ce45dfe0524a9b49ff452f1c2903f2d
6
+ metadata.gz: 78b453f2bdc30b145417fbb9ec0227503b32453b5efc8f869bd8d7c0ee5c8a94d76df26d58f5493f51b04b213bc102b9b390ecc1f49842db5594b0fa8d616c99
7
+ data.tar.gz: 20361a32a5b4576dd88b24e7b4e76301bc999b880f9938fee9acf355444826e5011f998b9d721e4c1385a4f78f294da45fd74e04724a5c1fad452ce12a20660a
data/Cargo.lock CHANGED
@@ -386,7 +386,7 @@ checksum = "3f9eec918d3f24069decb9af1554cad7c880e2da24a9afd88aca000531ab82c1"
386
386
 
387
387
  [[package]]
388
388
  name = "glfm_markdown"
389
- version = "0.0.18"
389
+ version = "0.0.19"
390
390
  dependencies = [
391
391
  "clap",
392
392
  "comrak",
@@ -1,6 +1,6 @@
1
1
  [package]
2
2
  name = "glfm_markdown"
3
- version = "0.0.18"
3
+ version = "0.0.19"
4
4
  edition = "2021"
5
5
  authors = ["digitalmoksha <bwalker@gitlab.com>"]
6
6
  description = "GitLab Flavored Markdown parser and formatter. 100% CommonMark-compatible. Experimental."
Binary file
Binary file
Binary file
Binary file
Binary file
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module GLFMMarkdown
4
- VERSION = '0.0.18'
4
+ VERSION = '0.0.19'
5
5
  end
data/lib/glfm_markdown.rb CHANGED
@@ -37,8 +37,9 @@ module GLFMMarkdown
37
37
  raise TypeError, 'options must be a Hash' unless options.is_a?(Hash)
38
38
 
39
39
  default_options = options[:glfm] ? GLFM_DEFAULT_OPTIONS : {}
40
+
41
+ # if you need to modify `options`, use `.merge` as `options` could be frozen
40
42
  options = options.merge(unsafe: true) if options[:tagfilter]
41
- options[:experimental_inline_sourcepos] = options[:sourcepos] if options[:sourcepos]
42
43
 
43
44
  render_to_html_rs(markdown, default_options.merge(options))
44
45
  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.18
4
+ version: 0.0.19
5
5
  platform: aarch64-linux
6
6
  authors:
7
7
  - Brett Walker