asciidoctor-boost 0.1.5 → 0.1.6

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: cc36671574d2dbb27181bdfd41fbb3215ae537ae007efc04414df02d8c9249ed
4
- data.tar.gz: d391b4741b1c524aebd323dfa6ec29f96a6b59f8cfb17d94ccff46f2cf94c90b
3
+ metadata.gz: fd1b00f5722b9ca23d796e7dc32af7101830ff7cfd3887c1d791fd988ad0a056
4
+ data.tar.gz: 7f5e9af6d0b19921298ae26fe8fab3d188d4fda732e99ce08bb6e68249f72ce0
5
5
  SHA512:
6
- metadata.gz: b97dfd29b4dd276d9c86cd018205db330690c2de43ba5d705d1ae01109310c17bf348aea1c850627c963df1b407e7cc1e60ab27ab7ec26326ab282177837cfbc
7
- data.tar.gz: defbf6d0e572e52e9c9cf78d713d160457d86d167e4593cc7e37462fb05603a4fb91cfe8fc98cded048ba7d919a206b81e2ed1f1d2721c229537560d2d97104c
6
+ metadata.gz: f07626559ca226bef9540a8d47b88ad433e89f2d3c24b86a56cbceb8410e53e1959d9b5991f1536a783a996e1e32a4b302deedb48c1a0503fbefad46f8ea4161
7
+ data.tar.gz: 1daa5db9629dfb6436d81dc5ae8f636602a5910346068270f7291dc7b5150fc0aa2a5ae6981b8392198e9f5aac401a28622d6e3272280ec93b4e4a1be9ccefee
@@ -17,9 +17,9 @@ class GithubInlineMacro < Asciidoctor::Extensions::InlineMacroProcessor
17
17
  def process(parent, target, attrs)
18
18
  content = "Target '#{target}' is invalid, check your syntax. Should be 'issue' or 'pr', not #{target}."
19
19
  if target == 'issue'
20
- content = "https://github.com/boostorg/#{attrs['repo']}/issues/#{attrs['number']}[#{attrs['number']}]"
20
+ content = "https://github.com/boostorg/#{attrs['repo']}/issues/#{attrs['number']}[\##{attrs['number']}]"
21
21
  elsif target == 'pr'
22
- content = "https://github.com/boostorg/#{attrs['repo']}/pull/#{attrs['number']}[#{attrs['number']}]"
22
+ content = "https://github.com/boostorg/#{attrs['repo']}/pull/#{attrs['number']}[PR\##{attrs['number']}]"
23
23
  end
24
24
  create_inline_pass parent, content
25
25
  end
data/lib/version.rb CHANGED
@@ -6,5 +6,5 @@
6
6
  # frozen_string_literal: true
7
7
 
8
8
  module Boost
9
- VERSION = '0.1.5'
9
+ VERSION = '0.1.6'
10
10
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: asciidoctor-boost
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.5
4
+ version: 0.1.6
5
5
  platform: ruby
6
6
  authors:
7
7
  - Dave O'Connor