kramdown-merge 7.1.22 → 8.0.0

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: be3d99ec88912116265a8ede7d4df217d965502b0c59790188273ff5a1cc7a08
4
- data.tar.gz: 760650162e3f4f3da728acd129c5faf4295919b13e23f8fb95604335dae77a51
3
+ metadata.gz: 0919c0baaba028adbcc170890e29f8f1e3a4ca845940c0bc7c7aaffee0e08433
4
+ data.tar.gz: 4ffbc8aab5dd46ac5083c9f1a9c2a46d27bcf3d8703658bd1391cb1b58b5ed04
5
5
  SHA512:
6
- metadata.gz: 6f5be4990044be5ec7ccc3e96e38e176e65ef28b07535cedde2b79c5f20daef4943ec46e3d9b6d44da7b0912282c251a8548ee24d81bc84d851345c9c618fccf
7
- data.tar.gz: d991881c7d7b80045ac0994373fb6efbde5bacbd28dc819815dca96799ad9f79fb7f6c7d2232a00e38bb4286786450e993fa6380d0c63c3aac0f30f5ca452188
6
+ metadata.gz: a2ae1600ee176112d10ec63daef1e3ea1ba640ceaaa8362d59fef6a1c7dfbe4af3ced280d73111fc94d03dabfa51f38f7a4b6e535310f14c27f73fbb0bb179f3
7
+ data.tar.gz: f1fb90e6216d34b6442f2cc8b8538b276d503d91f7af99758d3b40da6587830db76d53fc4fe332484ba7bfa3a2a012c4a0f0b2d39dacb124fff63f34a993d0e1
checksums.yaml.gz.sig CHANGED
Binary file
data/LICENSE.md CHANGED
@@ -1,13 +1,10 @@
1
1
  # License
2
2
 
3
- This project is made available under the following licenses.
3
+ This project is made available under the following license.
4
4
  Choose the option that best fits your use case:
5
5
 
6
- - [AGPL-3.0-only](https://github.com/structuredmerge/structuredmerge-ruby/blob/main/AGPL-3.0-only.md)
7
- - [PolyForm-Small-Business-1.0.0](https://github.com/structuredmerge/structuredmerge-ruby/blob/main/PolyForm-Small-Business-1.0.0.md)
8
-
9
- If none of the above licenses fit your use case, please [contact us](mailto:floss@galtzo.com) to discuss a custom commercial license.
6
+ - [MIT](https://github.com/structuredmerge/structuredmerge-ruby/blob/main/MIT.md)
10
7
 
11
8
  ## Copyright Notice
12
9
 
13
- - Required Notice: Copyright (c) 2026 Peter H. Boling
10
+ - Copyright (c) 2026 Peter H. Boling
data/README.md CHANGED
@@ -2,7 +2,7 @@
2
2
 
3
3
  # ☯️ Kramdown::Merge
4
4
 
5
- [![Version][👽versioni]][👽version] [![Ruby Users Forum][✉️ruby-forum-top-img]][✉️ruby-forum] [![GitHub tag (latest SemVer)][⛳️tag-img]][⛳️tag] [![License: AGPL-3.0-only OR PolyForm-Small-Business-1.0.0][📄license-img]][📄license] [![Total downloads][👽dl-ranki]][👽dl-rank] [![CodeCov Test Coverage][🏀codecovi]][🏀codecov] [![Coveralls Test Coverage][🏀coveralls-img]][🏀coveralls] [![QLTY Test Coverage][🏀qlty-covi]][🏀qlty-cov] [![QLTY Maintainability][🏀qlty-mnti]][🏀qlty-mnt] [![CI Current][🚎11-c-wfi]][🚎11-c-wf] [![CI Test Coverage][🚎2-cov-wfi]][🚎2-cov-wf]
5
+ [![Version][👽versioni]][👽version] [![Ruby Users Forum][✉️ruby-forum-top-img]][✉️ruby-forum] [![GitHub tag (latest SemVer)][⛳️tag-img]][⛳️tag] [![License: MIT][📄license-img]][📄license] [![Total downloads][👽dl-ranki]][👽dl-rank] [![CodeCov Test Coverage][🏀codecovi]][🏀codecov] [![Coveralls Test Coverage][🏀coveralls-img]][🏀coveralls] [![QLTY Test Coverage][🏀qlty-covi]][🏀qlty-cov] [![QLTY Maintainability][🏀qlty-mnti]][🏀qlty-mnt] [![CI Current][🚎11-c-wfi]][🚎11-c-wf] [![CI Test Coverage][🚎2-cov-wfi]][🚎2-cov-wf]
6
6
 
7
7
  `if ci_badges.map(&:color).detect { it != "green"}` ☝️ [let me know on Discord][✉️discord-invite] or [RubyForum][✉️ruby-forum], as I may have missed the notification.
8
8
 
@@ -11,6 +11,7 @@
11
11
  [![Sponsor Me on Github][🖇sponsor-img]][🖇sponsor] [![Liberapay Goal Progress][⛳liberapay-img]][⛳liberapay] [![Donate on PayPal][🖇paypal-img]][🖇paypal] [![Buy me a coffee][🖇buyme-small-img]][🖇buyme] [![Donate at ko-fi.com][🖇kofi-img]][🖇kofi]
12
12
 
13
13
  <!-- kettle-sponsors:shields:start -->
14
+ <a href="#corporate-sponsorship"><img src="https://logos.galtzo.com/assets/images/sponsors/shield/github.svg" alt="services: GitHub"></a> <a href="#corporate-sponsorship"><img src="https://logos.galtzo.com/assets/images/sponsors/shield/healthsherpa.svg" alt="sponsor: HealthSherpa"></a> <a href="#corporate-sponsorship"><img src="https://logos.galtzo.com/assets/images/sponsors/shield/microsoft.svg" alt="compute: Microsoft"></a>
14
15
  <!-- kettle-sponsors:shields:end -->
15
16
 
16
17
  ## 🌻 Synopsis <a href="https://discord.gg/3qme4XHNKN"><img alt="Galtzo FLOSS Logo by Aboling0, CC BY-SA 4.0" src="https://logos.galtzo.com/assets/images/galtzo-floss/avatar-128px.svg" width="8%" align="right"/></a> <a href="https://ruby-toolbox.com"><img alt="ruby-lang Logo, Yukihiro Matsumoto, Ruby Visual Identity Team, CC BY-SA 2.5" src="https://logos.galtzo.com/assets/images/ruby-lang/avatar-128px.svg" width="8%" align="right"/></a>
@@ -66,6 +67,17 @@ abort result.fetch(:diagnostics).inspect unless result.fetch(:ok)
66
67
  File.write("destination.md", result.fetch(:output))
67
68
  ```
68
69
 
70
+ ## 🏢 Corporate Sponsorship
71
+
72
+ <!-- kettle-sponsors:cards:start -->
73
+ <a href="https://github.com"><picture><source media="(max-width: 600px)" srcset="https://logos.galtzo.com/assets/images/sponsors/phone/github.svg"><img src="https://logos.galtzo.com/assets/images/sponsors/github.svg" align="top" alt="Sponsor: GitHub - Copilot Max"></picture></a> <a href="https://healthsherpa.com"><picture><source media="(max-width: 600px)" srcset="https://logos.galtzo.com/assets/images/sponsors/phone/healthsherpa.svg"><img src="https://logos.galtzo.com/assets/images/sponsors/healthsherpa.svg" align="top" alt="Sponsor: HealthSherpa - GitHub Sponsors =&gt; @pboling (maintainer)"></picture></a> <a href="https://opensource.microsoft.com"><picture><source media="(max-width: 600px)" srcset="https://logos.galtzo.com/assets/images/sponsors/phone/microsoft.svg"><img src="https://logos.galtzo.com/assets/images/sponsors/microsoft.svg" align="top" alt="Sponsor: Microsoft - Azure compute resources"></picture></a>
74
+
75
+ <sub>Create sponsorship badges for your project with [kettle-sponsors](https://github.com/kettle-dev/kettle-sponsors).</sub>
76
+ <!-- kettle-sponsors:cards:end -->
77
+
78
+ **If you're working in a company that's making significant use of structuredmerge tools we'd
79
+ appreciate it if you suggest to your company to become a structuredmerge sponsor.**
80
+
69
81
  ## 💡 Info you can shake a stick at
70
82
 
71
83
  | Tokens to Remember | [![Gem name][⛳️name-img]][⛳️gem-name] [![Gem namespace][⛳️namespace-img]][⛳️gem-namespace] |
@@ -74,7 +86,7 @@ File.write("destination.md", result.fetch(:output))
74
86
  | Support & Community | [![Join Me on Daily.dev's RubyFriends][✉️ruby-friends-img]][✉️ruby-friends] [![Get help from RubyForum][✉️ruby-forum-img]][✉️ruby-forum] [![Live Chat on Discord][✉️discord-invite-img-ftb]][✉️discord-invite] [![Get help from me on Upwork][👨🏼‍🏫expsup-upwork-img]][👨🏼‍🏫expsup-upwork] [![Get help from me on Codementor][👨🏼‍🏫expsup-codementor-img]][👨🏼‍🏫expsup-codementor] |
75
87
  | Source | [![Source on GitLab.com][📜src-gl-img]][📜src-gl] [![Source on CodeBerg.org][📜src-cb-img]][📜src-cb] [![Source on GitHub.com][📜src-gh-img]][📜src-gh] [![The best SHA: dQw4w9WgXcQ!][🧮kloc-img]][🧮kloc] |
76
88
  | Documentation | [![Current release on RubyDoc.info][📜docs-cr-rd-img]][🚎yard-current] [![YARD on Galtzo.com][📜docs-head-rd-img]][🚎yard-head] [![Maintainer Blog][🚂maint-blog-img]][🚂maint-blog] [![GitLab Wiki][📜gl-wiki-img]][📜gl-wiki] [![GitHub Wiki][📜gh-wiki-img]][📜gh-wiki] |
77
- | Compliance | [![License: AGPL-3.0-only OR PolyForm-Small-Business-1.0.0][📄license-img]][📄license] [![Apache license compatibility: Category X][📄license-compat-img]][📄license-compat] [![📄ilo-declaration-img]][📄ilo-declaration] [![Security Policy][🔐security-img]][🔐security] [![Contributor Covenant 2.1][🪇conduct-img]][🪇conduct] [![SemVer 2.0.0][📌semver-img]][📌semver] |
89
+ | Compliance | [![License: MIT][📄license-img]][📄license] [![Apache license compatibility: Category A][📄license-compat-img]][📄license-compat] [![📄ilo-declaration-img]][📄ilo-declaration] [![Security Policy][🔐security-img]][🔐security] [![Contributor Covenant 3.0][🪇conduct-img]][🪇conduct] [![SemVer 2.0.0][📌semver-img]][📌semver] |
78
90
  | Style | [![Enforced Code Style Linter][💎rlts-img]][💎rlts] [![Keep-A-Changelog 1.0.0][📗keep-changelog-img]][📗keep-changelog] [![Gitmoji Commits][📌gitmoji-img]][📌gitmoji] [![Compatibility appraised by: appraisal2][💎appraisal2-img]][💎appraisal2] |
79
91
  | Maintainer 🎖️ | [![Follow Me on LinkedIn][💖🖇linkedin-img]][💖🖇linkedin] [![Follow Me on Ruby.Social][💖🐘ruby-mast-img]][💖🐘ruby-mast] [![Follow Me on Bluesky][💖🦋bluesky-img]][💖🦋bluesky] [![Contact Maintainer][🚂maint-contact-img]][🚂maint-contact] [![My technical writing][💖💁🏼‍♂️devto-img]][💖💁🏼‍♂️devto] |
80
92
  | `...` 💖 | [![Find Me on WellFound:][💖✌️wellfound-img]][💖✌️wellfound] [![Find Me on CrunchBase][💖💲crunchbase-img]][💖💲crunchbase] [![My LinkTree][💖🌳linktree-img]][💖🌳linktree] [![More About Me][💖💁🏼‍♂️aboutme-img]][💖💁🏼‍♂️aboutme] [🧊][💖🧊berg] [🐙][💖🐙hub] [🛖][💖🛖hut] [🧪][💖🧪lab] |
@@ -121,6 +133,8 @@ We [![Keep A Changelog][📗keep-changelog-img]][📗keep-changelog] so if you m
121
133
 
122
134
  See [CONTRIBUTING.md][🤝contributing] for more detailed instructions.
123
135
 
136
+ Want to contribute with AI coding agents? This project is developed with [Cloudroom][🖇cloudroom] and ships an `AGENTS.md` with repo conventions so agents can jump straight in. Signing up with [my referral link][🖇cloudroom] also supports ongoing maintenance at no extra cost to you.
137
+
124
138
  ## 📌 Versioning
125
139
 
126
140
  This library follows [![Semantic Versioning 2.0.0][📌semver-img]][📌semver] for its public API where practical.
@@ -149,10 +163,8 @@ See [CHANGELOG.md][📌changelog] for a list of releases.
149
163
 
150
164
  ## 📄 License
151
165
 
152
- The gem is available under the following licenses: [AGPL-3.0-only](https://github.com/structuredmerge/structuredmerge-ruby/blob/main/AGPL-3.0-only.md), [PolyForm-Small-Business-1.0.0](https://github.com/structuredmerge/structuredmerge-ruby/blob/main/PolyForm-Small-Business-1.0.0.md).
153
- See [LICENSE.md][📄license] for details.
154
-
155
- If none of the available licenses suit your use case, please [contact us](mailto:floss@galtzo.com) to discuss a custom commercial license.
166
+ The gem is available as open source under the terms of
167
+ the [MIT](https://github.com/structuredmerge/structuredmerge-ruby/blob/main/MIT.md) [![License: MIT][📄license-img]][📄license-ref].
156
168
 
157
169
  ### Please give the project a star ⭐ ♥.
158
170
 
@@ -162,6 +174,11 @@ If this project helps you, please consider supporting the maintainer. This is no
162
174
 
163
175
  [![Sponsor me on GitHub Sponsors][🖇sponsor-bottom-img]][🖇sponsor] 💌 [![Sponsor me on Liberapay][⛳liberapay-bottom-img]][⛳liberapay] 💌 [![Donate on PayPal][🖇paypal-bottom-img]][🖇paypal] 💌 [![Buy me a coffee][🖇buyme-small-img]][🖇buyme] 💌 [![Donate at ko-fi.com][🖇kofi-img]][🖇kofi]
164
176
 
177
+ I use [Cloudroom][🖇cloudroom], an agentic AI coding environment, every day. It's the first AI product that made me say "shut up and take my money."
178
+ If you sign up with [my referral link][🖇cloudroom], I receive a share of your subscription for as long as you stay subscribed, at no extra cost to you.
179
+
180
+ [🖇cloudroom]: https://go.cloudroom.dev/u9f53f181a
181
+
165
182
  Thanks for RTFM. ☺️
166
183
 
167
184
  [⛳liberapay-img]: https://img.shields.io/liberapay/goal/pboling.svg?logo=liberapay&color=a51611&style=flat
@@ -219,7 +236,6 @@ Thanks for RTFM. ☺️
219
236
  [💖🐙hub]: https://github.org/pboling
220
237
  [💖🛖hut]: https://sr.ht/~galtzo/
221
238
  [💖🧪lab]: https://gitlab.com/pboling
222
- [🏙️entsup-tidelift-sonar]: https://blog.tidelift.com/tidelift-joins-sonar
223
239
  [👨🏼‍🏫expsup-upwork]: https://www.upwork.com/freelancers/~014942e9b056abdf86?mp_source=share
224
240
  [👨🏼‍🏫expsup-upwork-img]: https://img.shields.io/badge/UpWork-13544E?style=for-the-badge&logo=Upwork&logoColor=white
225
241
  [👨🏼‍🏫expsup-codementor]: https://www.codementor.io/peterboling?utm_source=github&utm_medium=button&utm_term=peterboling&utm_campaign=github
@@ -268,7 +284,7 @@ Thanks for RTFM. ☺️
268
284
  [🖐contributors]: https://github.com/structuredmerge/structuredmerge-ruby/graphs/contributors
269
285
  [🖐contributors-img]: https://contrib.rocks/image?repo=structuredmerge/structuredmerge-ruby
270
286
  [🪇conduct]: https://github.com/structuredmerge/structuredmerge-ruby/blob/main/CODE_OF_CONDUCT.md
271
- [🪇conduct-img]: https://img.shields.io/badge/Contributor_Covenant-2.1-259D6C.svg
287
+ [🪇conduct-img]: https://img.shields.io/badge/Contributor_Covenant-3.0-259D6C.svg
272
288
  [📌pvc]: http://guides.rubygems.org/patterns/#pessimistic-version-constraint
273
289
  [📌semver]: https://semver.org/spec/v2.0.0.html
274
290
  [📌semver-img]: https://img.shields.io/badge/semver-2.0.0-259D6C.svg?style=flat
@@ -285,10 +301,10 @@ Thanks for RTFM. ☺️
285
301
  [🔐security-img]: https://img.shields.io/badge/security-policy-259D6C.svg?style=flat
286
302
  [📄copyright-notice-explainer]: https://opensource.stackexchange.com/questions/5778/why-do-licenses-such-as-the-mit-license-specify-a-single-year
287
303
  [📄license]: LICENSE.md
288
- [📄license-ref]: LICENSE.md
289
- [📄license-img]: https://img.shields.io/badge/License-AGPL--3.0--only_OR_PolyForm--Small--Business--1.0.0-259D6C.svg
290
- [📄license-compat]: https://www.apache.org/legal/resolved.html#category-x
291
- [📄license-compat-img]: https://img.shields.io/badge/Apache_Incompatible:_Category_X-%E2%9C%97-C0392B.svg?style=flat&logo=Apache
304
+ [📄license-ref]: https://github.com/structuredmerge/structuredmerge-ruby/blob/main/MIT.md
305
+ [📄license-img]: https://img.shields.io/badge/License-MIT-259D6C.svg
306
+ [📄license-compat]: https://www.apache.org/legal/resolved.html#category-a
307
+ [📄license-compat-img]: https://img.shields.io/badge/Apache_Compatible:_Category_A-%E2%9C%93-259D6C.svg?style=flat&logo=Apache
292
308
 
293
309
  [📄ilo-declaration]: https://www.ilo.org/declaration/lang--en/index.htm
294
310
  [📄ilo-declaration-img]: https://img.shields.io/badge/ILO_Fundamental_Principles-✓-259D6C.svg?style=flat
@@ -6,8 +6,8 @@ module Kramdown
6
6
  Markdown::Merge::BackendSupport.install!(
7
7
  backend_module: self,
8
8
  backend_name: :kramdown,
9
- gem_name: 'kramdown',
10
- require_path: 'kramdown/merge'
9
+ gem_name: "kramdown",
10
+ require_path: "kramdown/merge"
11
11
  )
12
12
 
13
13
  class Language < ::TreeHaver::Base::Language
@@ -23,15 +23,15 @@ module Kramdown
23
23
 
24
24
  Markdown::Merge::BackendSupport.configure_markdown_only_language_class!(
25
25
  self,
26
- backend_label: 'Kramdown'
26
+ backend_label: "Kramdown"
27
27
  )
28
28
  end
29
29
 
30
30
  class Parser < ::TreeHaver::Base::Parser
31
31
  def parse(source)
32
- raise 'Language not set' unless language
32
+ raise "Language not set" unless language
33
33
 
34
- Backend.available? or raise 'Kramdown not available'
34
+ Backend.available? or raise "Kramdown not available"
35
35
 
36
36
  document = ::Kramdown::Document.new(source, **(language.options || {}))
37
37
  Tree.new(document.root, source)
@@ -40,10 +40,10 @@ module Kramdown
40
40
 
41
41
  class Node < ::TreeHaver::Base::Node
42
42
  TYPE_MAP = {
43
- root: 'document',
44
- header: 'heading',
45
- codeblock: 'code_block',
46
- p: 'paragraph'
43
+ root: "document",
44
+ header: "heading",
45
+ codeblock: "code_block",
46
+ p: "paragraph"
47
47
  }.freeze
48
48
 
49
49
  Markdown::Merge::BackendSupport.configure_node_link_and_navigation!(
@@ -54,8 +54,8 @@ module Kramdown
54
54
  )
55
55
  Markdown::Merge::BackendSupport.configure_node_heading_and_code_block_helpers!(
56
56
  self,
57
- heading_matcher: ->(node) { node.raw_type == 'header' },
58
- code_block_matcher: ->(node) { node.raw_type == 'codeblock' },
57
+ heading_matcher: ->(node) { node.raw_type == "header" },
58
+ code_block_matcher: ->(node) { node.raw_type == "codeblock" },
59
59
  heading_level_extractor: ->(inner_node) { inner_node.options[:level] },
60
60
  code_block_info_extractor: ->(inner_node) { inner_node.options[:lang] }
61
61
  )
@@ -64,7 +64,7 @@ module Kramdown
64
64
  TYPE_MAP.fetch(raw_type.to_sym, raw_type)
65
65
  end
66
66
 
67
- alias kind type
67
+ alias_method :kind, :type
68
68
 
69
69
  def raw_type
70
70
  inner_node.type.to_s
@@ -8,7 +8,7 @@ module Kramdown
8
8
  # rubocop:disable Metrics/MethodLength -- constructor declares the complete backend boundary
9
9
  def initialize
10
10
  super(
11
- provider_id: 'ruby.markdown.kramdown',
11
+ provider_id: "ruby.markdown.kramdown",
12
12
  role: :backend,
13
13
  backend: Markdown::Merge::ProviderBackend.new(
14
14
  id: :kramdown,
@@ -5,7 +5,7 @@ module Kramdown
5
5
  # Version namespace for this gem.
6
6
  module Version
7
7
  # Current gem version.
8
- VERSION = '7.1.22'
8
+ VERSION = "8.0.0"
9
9
  end
10
10
  # Current gem version exposed at the traditional constant location.
11
11
  VERSION = Version::VERSION # Traditional Constant Location
@@ -1,16 +1,16 @@
1
1
  # frozen_string_literal: true
2
2
 
3
- require 'markdown-merge'
4
- require 'kramdown'
5
- require_relative 'merge/version'
6
- require_relative 'merge/backend'
3
+ require "markdown-merge"
4
+ require "kramdown"
5
+ require_relative "merge/version"
6
+ require_relative "merge/backend"
7
7
 
8
8
  module Kramdown
9
9
  module Merge
10
10
  module_function
11
11
 
12
- PACKAGE_NAME = 'kramdown-merge'
13
- BACKEND_REFERENCE = TreeHaver::BackendReference.new(id: 'kramdown', family: 'native').freeze
12
+ PACKAGE_NAME = "kramdown-merge"
13
+ BACKEND_REFERENCE = TreeHaver::BackendReference.new(id: "kramdown", family: "native").freeze
14
14
  TreeHaver::BackendRegistry.register(BACKEND_REFERENCE)
15
15
 
16
16
  def markdown_feature_profile
@@ -50,7 +50,7 @@ module Kramdown
50
50
  return unsupported_feature_result("Unsupported Markdown backend #{requested}.")
51
51
  end
52
52
 
53
- return unsupported_feature_result("Unsupported Markdown dialect #{dialect}.") unless dialect == 'markdown'
53
+ return unsupported_feature_result("Unsupported Markdown dialect #{dialect}.") unless dialect == "markdown"
54
54
 
55
55
  TreeHaver.with_backend(BACKEND_REFERENCE.id) { TreeHaver.parser_for(:markdown).parse(source) }
56
56
  normalized = Markdown::Merge.normalize_source(source)
@@ -58,18 +58,18 @@ module Kramdown
58
58
  ok: true,
59
59
  diagnostics: [],
60
60
  analysis: {
61
- kind: 'markdown',
61
+ kind: "markdown",
62
62
  dialect: dialect,
63
63
  normalized_source: normalized,
64
- root_kind: 'document',
64
+ root_kind: "document",
65
65
  owners: Markdown::Merge.collect_markdown_owners(normalized)
66
66
  },
67
67
  policies: []
68
68
  }
69
- rescue StandardError => e
69
+ rescue => e
70
70
  {
71
71
  ok: false,
72
- diagnostics: [{ severity: 'error', category: 'parse_error', message: e.message }],
72
+ diagnostics: [{severity: "error", category: "parse_error", message: e.message}],
73
73
  policies: []
74
74
  }
75
75
  end
@@ -88,7 +88,7 @@ module Kramdown
88
88
  end
89
89
 
90
90
  def merge_markdown_with_reviewed_nested_outputs(template_source, destination_source, dialect, review_state,
91
- applied_children, backend: nil)
91
+ applied_children, backend: nil)
92
92
  requested = backend.to_s.empty? ? BACKEND_REFERENCE.id : backend.to_s
93
93
  unless requested == BACKEND_REFERENCE.id
94
94
  return unsupported_feature_result("Unsupported Markdown backend #{requested}.")
@@ -105,7 +105,7 @@ module Kramdown
105
105
  end
106
106
 
107
107
  def merge_markdown_with_reviewed_nested_outputs_from_replay_bundle(template_source, destination_source, dialect,
108
- replay_bundle, backend: nil)
108
+ replay_bundle, backend: nil)
109
109
  requested = backend.to_s.empty? ? BACKEND_REFERENCE.id : backend.to_s
110
110
  unless requested == BACKEND_REFERENCE.id
111
111
  return unsupported_feature_result("Unsupported Markdown backend #{requested}.")
@@ -121,7 +121,7 @@ module Kramdown
121
121
  end
122
122
 
123
123
  def merge_markdown_with_reviewed_nested_outputs_from_replay_bundle_envelope(template_source, destination_source,
124
- dialect, envelope, backend: nil)
124
+ dialect, envelope, backend: nil)
125
125
  requested = backend.to_s.empty? ? BACKEND_REFERENCE.id : backend.to_s
126
126
  unless requested == BACKEND_REFERENCE.id
127
127
  return unsupported_feature_result("Unsupported Markdown backend #{requested}.")
@@ -137,7 +137,7 @@ module Kramdown
137
137
  end
138
138
 
139
139
  def merge_markdown_with_reviewed_nested_outputs_from_review_state(template_source, destination_source, dialect,
140
- review_state, backend: nil)
140
+ review_state, backend: nil)
141
141
  requested = backend.to_s.empty? ? BACKEND_REFERENCE.id : backend.to_s
142
142
  unless requested == BACKEND_REFERENCE.id
143
143
  return unsupported_feature_result("Unsupported Markdown backend #{requested}.")
@@ -153,7 +153,7 @@ module Kramdown
153
153
  end
154
154
 
155
155
  def merge_markdown_with_reviewed_nested_outputs_from_review_state_envelope(template_source, destination_source,
156
- dialect, envelope, backend: nil)
156
+ dialect, envelope, backend: nil)
157
157
  requested = backend.to_s.empty? ? BACKEND_REFERENCE.id : backend.to_s
158
158
  unless requested == BACKEND_REFERENCE.id
159
159
  return unsupported_feature_result("Unsupported Markdown backend #{requested}.")
@@ -175,7 +175,7 @@ module Kramdown
175
175
  def unsupported_feature_result(message)
176
176
  {
177
177
  ok: false,
178
- diagnostics: [{ severity: 'error', category: 'unsupported_feature', message: message }],
178
+ diagnostics: [{severity: "error", category: "unsupported_feature", message: message}],
179
179
  policies: []
180
180
  }
181
181
  end
@@ -199,5 +199,5 @@ module Kramdown
199
199
  end
200
200
  end
201
201
 
202
- require_relative 'merge/provider'
202
+ require_relative "merge/provider"
203
203
  Kramdown::Merge.register_provider!
@@ -1,8 +1,8 @@
1
1
  # frozen_string_literal: true
2
2
 
3
- require_relative 'kramdown/merge'
4
- require 'version_gem'
5
- require_relative 'kramdown/merge/version'
3
+ require_relative "kramdown/merge"
4
+ require "version_gem"
5
+ require_relative "kramdown/merge/version"
6
6
 
7
7
  Kramdown::Merge::Version.class_eval do
8
8
  extend VersionGem::Basic
data.tar.gz.sig CHANGED
Binary file
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: kramdown-merge
3
3
  version: !ruby/object:Gem::Version
4
- version: 7.1.22
4
+ version: 8.0.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Peter H. Boling
@@ -60,7 +60,7 @@ dependencies:
60
60
  -
61
61
  - "="
62
62
  - !ruby/object:Gem::Version
63
- version: 7.1.22
63
+ version: 8.0.0
64
64
  type: :runtime
65
65
  prerelease: false
66
66
  version_requirements: !ruby/object:Gem::Requirement
@@ -68,7 +68,7 @@ dependencies:
68
68
  -
69
69
  - "="
70
70
  - !ruby/object:Gem::Version
71
- version: 7.1.22
71
+ version: 8.0.0
72
72
  - !ruby/object:Gem::Dependency
73
73
  name: version_gem
74
74
  requirement: !ruby/object:Gem::Requirement
@@ -104,7 +104,7 @@ dependencies:
104
104
  -
105
105
  - ">="
106
106
  - !ruby/object:Gem::Version
107
- version: 3.1.36
107
+ version: 3.1.41
108
108
  type: :development
109
109
  prerelease: false
110
110
  version_requirements: !ruby/object:Gem::Requirement
@@ -116,7 +116,7 @@ dependencies:
116
116
  -
117
117
  - ">="
118
118
  - !ruby/object:Gem::Version
119
- version: 3.1.36
119
+ version: 3.1.41
120
120
  - !ruby/object:Gem::Dependency
121
121
  name: bundler-audit
122
122
  requirement: !ruby/object:Gem::Requirement
@@ -232,7 +232,7 @@ dependencies:
232
232
  -
233
233
  - ">="
234
234
  - !ruby/object:Gem::Version
235
- version: 2.0.31
235
+ version: 2.0.32
236
236
  type: :development
237
237
  prerelease: false
238
238
  version_requirements: !ruby/object:Gem::Requirement
@@ -244,7 +244,7 @@ dependencies:
244
244
  -
245
245
  - ">="
246
246
  - !ruby/object:Gem::Version
247
- version: 2.0.31
247
+ version: 2.0.32
248
248
  - !ruby/object:Gem::Dependency
249
249
  name: turbo_tests2
250
250
  requirement: !ruby/object:Gem::Requirement
@@ -350,14 +350,13 @@ files:
350
350
  - sig/kramdown/merge.rbs
351
351
  homepage: "https://github.com/structuredmerge/structuredmerge-ruby"
352
352
  licenses:
353
- - AGPL-3.0-only
354
- - PolyForm-Small-Business-1.0.0
353
+ - MIT
355
354
  metadata:
356
355
  homepage_uri: "https://structuredmerge.org"
357
- source_code_uri: "https://github.com/structuredmerge/structuredmerge-ruby/tree/v7.1.22"
358
- changelog_uri: "https://github.com/structuredmerge/structuredmerge-ruby/blob/v7.1.22/CHANGELOG.md"
356
+ source_code_uri: "https://github.com/structuredmerge/structuredmerge-ruby/tree/v8.0.0"
357
+ changelog_uri: "https://github.com/structuredmerge/structuredmerge-ruby/blob/v8.0.0/CHANGELOG.md"
359
358
  bug_tracker_uri: "https://github.com/structuredmerge/structuredmerge-ruby/issues"
360
- documentation_uri: "https://www.rubydoc.info/gems/kramdown-merge/7.1.22"
359
+ documentation_uri: "https://www.rubydoc.info/gems/kramdown-merge/8.0.0"
361
360
  funding_uri: "https://github.com/sponsors/pboling"
362
361
  wiki_uri: "https://github.com/structuredmerge/structuredmerge-ruby/wiki"
363
362
  news_uri: "https://www.railsbling.com/tags/kramdown-merge"
metadata.gz.sig CHANGED
Binary file