yard-relative_markdown_links 0.5.0 → 0.6.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: 7929abc6b2c9d7a6b62040d0adc96142a310aa1bdb624b5de4d30955797f40ef
4
- data.tar.gz: 9cddf2bc9e6d62b6021f5b8cc18bf4c9f77066078eab9ea21c14392e1fbc86c7
3
+ metadata.gz: 5d5f120274d159ff20d79282035ec053b5ce4d2fb31773bb9b1b7a94882e756f
4
+ data.tar.gz: bf7638988dbae4fc00e9cb165335f83127528ee7a9f1151de1439b458797cb6d
5
5
  SHA512:
6
- metadata.gz: 060eaddb81656064827475056a067a65fc967bcdb3063808df2566a7caea23ae6492c02411db5c059ac4c3843316bc7974642d0df86524721a9c115cba0c3023
7
- data.tar.gz: 0b933386677e1875c365714e7056e2f4b82fbde7f8f0fb36caa28bb28b3ba7fb14c69d6d361b41207f543311597b3dccec0b1d0813ee0e456444b8b22b6f6f18
6
+ metadata.gz: 41e98baedb8370f27d2f274281347ffb84d1aace580ef386682bce4da37a321247edb87941bb9b2cf629b7dabde0aadc40b3569ef6c73ba554915ca4e63ea6b0
7
+ data.tar.gz: ac6cf4464c43a5f83855a2e6b6c548d4c16ca7d4bff88d6bfd2900379edf6073502f259fa51c4814fee20d6ffe215aa570978423c36524e97b66f37686305b84
data/CHANGELOG.md CHANGED
@@ -8,6 +8,13 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
8
8
  ## [Unreleased]
9
9
  No notable changes.
10
10
 
11
+ ## [0.6.0] - 2025-06-14
12
+ ### Changed
13
+ * Don't `require "yard"` to avoid a circular require ([#292](https://github.com/haines/yard-relative_markdown_links/pull/292))
14
+ * Require Ruby ≥ 3.2 ([#268](https://github.com/haines/yard-relative_markdown_links/pull/268), [#288](https://github.com/haines/yard-relative_markdown_links/pull/288))
15
+ * Test against Ruby 3.3 ([#212](https://github.com/haines/yard-relative_markdown_links/pull/212))
16
+ * Test against Ruby 3.4 ([#268](https://github.com/haines/yard-relative_markdown_links/pull/268))
17
+
11
18
  ## [0.5.0] - 2023-06-12
12
19
  ### Changed
13
20
  * Require Ruby ≥ 3.0 ([#175](https://github.com/haines/yard-relative_markdown_links/pull/175))
@@ -47,7 +54,8 @@ No notable changes.
47
54
  ### Added
48
55
  - A YARD plugin to allow relative links between Markdown files ([#1](https://github.com/haines/yard-relative_markdown_links/pull/1))
49
56
 
50
- [Unreleased]: https://github.com/haines/yard-relative_markdown_links/compare/v0.5.0...HEAD
57
+ [Unreleased]: https://github.com/haines/yard-relative_markdown_links/compare/v0.6.0...HEAD
58
+ [0.6.0]: https://github.com/haines/yard-relative_markdown_links/compare/v0.5.0...v0.6.0
51
59
  [0.5.0]: https://github.com/haines/yard-relative_markdown_links/compare/v0.4.1...v0.5.0
52
60
  [0.4.1]: https://github.com/haines/yard-relative_markdown_links/compare/v0.4.0...v0.4.1
53
61
  [0.4.0]: https://github.com/haines/yard-relative_markdown_links/compare/v0.3.0...v0.4.0
@@ -3,6 +3,6 @@
3
3
  module YARD
4
4
  module RelativeMarkdownLinks
5
5
  # Current version of the yard-relative_markdown_links gem.
6
- VERSION = "0.5.0"
6
+ VERSION = "0.6.0"
7
7
  end
8
8
  end
@@ -1,16 +1,15 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  require "nokogiri"
4
- require "set"
5
4
  require "uri"
6
- require "yard"
7
- require "yard/relative_markdown_links/version"
5
+
6
+ require_relative "relative_markdown_links/version"
8
7
 
9
8
  module YARD # rubocop:disable Style/Documentation
10
9
  # GitHub and YARD render Markdown files differently. In particular, relative
11
10
  # links between Markdown files that work in GitHub don't work in YARD.
12
11
  # For example, if you have `[hello](FOO.md)` in your README, YARD renders it
13
- # as `<a href="FOO.md">hello</a>`, creating a broken link in your docs.
12
+ # as `<a href="FOO_md.html">hello</a>`, creating a broken link in your docs.
14
13
  #
15
14
  # With this plugin enabled, you'll get `<a href="file.FOO.html">hello</a>`
16
15
  # instead, which correctly links through to the rendered HTML file.
@@ -36,7 +36,7 @@ Gem::Specification.new do |spec|
36
36
  spec.metadata["source_code_uri"] = spec.homepage
37
37
  spec.metadata["yard.run"] = "yri"
38
38
 
39
- spec.required_ruby_version = ">= 3.0"
39
+ spec.required_ruby_version = ">= 3.2"
40
40
 
41
41
  spec.add_dependency "nokogiri", ">= 1.14.3", "< 2"
42
42
  end
metadata CHANGED
@@ -1,14 +1,13 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: yard-relative_markdown_links
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.5.0
4
+ version: 0.6.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Andrew Haines
8
- autorequire:
9
8
  bindir: bin
10
9
  cert_chain: []
11
- date: 2023-06-12 00:00:00.000000000 Z
10
+ date: 1980-01-02 00:00:00.000000000 Z
12
11
  dependencies:
13
12
  - !ruby/object:Gem::Dependency
14
13
  name: nokogiri
@@ -30,7 +29,6 @@ dependencies:
30
29
  - - "<"
31
30
  - !ruby/object:Gem::Version
32
31
  version: '2'
33
- description:
34
32
  email:
35
33
  - andrew@haines.org.nz
36
34
  executables: []
@@ -57,7 +55,6 @@ metadata:
57
55
  rubygems_mfa_required: 'true'
58
56
  source_code_uri: https://github.com/haines/yard-relative_markdown_links
59
57
  yard.run: yri
60
- post_install_message:
61
58
  rdoc_options: []
62
59
  require_paths:
63
60
  - lib
@@ -65,15 +62,14 @@ required_ruby_version: !ruby/object:Gem::Requirement
65
62
  requirements:
66
63
  - - ">="
67
64
  - !ruby/object:Gem::Version
68
- version: '3.0'
65
+ version: '3.2'
69
66
  required_rubygems_version: !ruby/object:Gem::Requirement
70
67
  requirements:
71
68
  - - ">="
72
69
  - !ruby/object:Gem::Version
73
70
  version: '0'
74
71
  requirements: []
75
- rubygems_version: 3.4.13
76
- signing_key:
72
+ rubygems_version: 3.6.9
77
73
  specification_version: 4
78
74
  summary: A YARD plugin to allow relative links between Markdown files
79
75
  test_files: []