aspec_rb 0.0.10 → 0.0.11

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: 088352333e584fe8f6a3601c5e0d83602c070a3c07b9552277f81b0a8dd40425
4
- data.tar.gz: cd6f49f6528e6cf1a756736d6e896a33384314e62d18bbe398bef984d6cc3418
3
+ metadata.gz: ff6a5bc897689e791b6d5745261606cad1c72a515c1675cbc50685aaffd7b4cb
4
+ data.tar.gz: 5798e3a071a58d51f2d1b4248613cbc49f4813c837324075ea1699cbeea2048b
5
5
  SHA512:
6
- metadata.gz: f3230d5ce8706b6971b5603a6e575a76bb149058b2da4d2e21b72e9f39de9ed7e3523771539e07740aa84cb3ceb91cba81143790c52c365eef1065e148c6a126
7
- data.tar.gz: 19ea0ba20ace56a88dd5f1b35dd43ad6b7b327b02d57ab3e90e9e12ab1782d0c95402269d4881391326f70139183ff3a41e7ce3e99bd3da199bee44c5fe3e305
6
+ metadata.gz: 6fbbb24a7a25c565c070e4f2d485b672341defc776866664f6a5d8878f6821ecd13e2b1207fa132e6f669bb39e00a7432e3b5d5246896833f2e7e6b17499ecff
7
+ data.tar.gz: 049355809fdaa91fbe891df9d1b3811bceee0657686739feb9868db9f245bc005c069052c3ddc7774ee1c044016b6db25c986aff63d6ff03c6fbc0a36da38ef8
data/Gemfile.lock CHANGED
@@ -1,7 +1,7 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- aspec_rb (0.0.10)
4
+ aspec_rb (0.0.11)
5
5
  asciidoctor
6
6
 
7
7
  GEM
@@ -7,5 +7,5 @@ module AspecRb
7
7
  # For this deploy config, see https://github.com/tcob/aspec_rb/blob/master/.travis.yml
8
8
  #
9
9
  # Manual release can be performed by running 'bundle install && rake release'
10
- VERSION = '0.0.10'
10
+ VERSION = '0.0.11'
11
11
  end
data/lib/aspec_rb.rb CHANGED
@@ -1,6 +1,6 @@
1
1
  # frozen_string_literal: true
2
2
 
3
- require_relative 'extensions/css_docinfo'
3
+ # require_relative 'extensions/css_docinfo'
4
4
  require_relative 'extensions/autoxrefs'
5
5
  require_relative 'extensions/definition_block'
6
6
  require_relative 'extensions/inline_callout_macro'
@@ -87,8 +87,8 @@ reqs.each do |req, f, title, chapter, doctitle|
87
87
  icon = '<i class="fa fa-external-link-square" aria-hidden="true"></i>'
88
88
  ref = "<a class=\"link\" href=\"#{link}\"><emphasis role=\"strong\">#{icon} #{title}</emphasis> </a>"
89
89
  breadcrumb = "<a href=\"#{f}\">#{chapter} / #{doctitle}</a>"
90
- anchor = "<a class=\"link\" href=\"#Req-#{rid}\">#{rid}</a>"
91
- row = %(<tr id="Req-#{rid}"> <th scope="row">#{i}</th> <td style="white-space:pre;">#{anchor}</td>
90
+ # anchor = "<a class=\"link\" href=\"#Req-#{rid}\">#{rid}</a>"
91
+ row = %(<tr id="Req-#{rid}"> <th scope="row">#{i}</th> <td style="white-space:pre;">#{rid}</td>
92
92
  <td>#{version}</td> <td>#{ref}</td> <td>#{f}</td> </tr>)
93
93
 
94
94
  rows.push(row)
@@ -15,7 +15,6 @@ Extensions.register do
15
15
  pass = '++++'
16
16
  attrs['name'] = 'requirement'
17
17
  attrs['caption'] = ''
18
- attrs['title'] = ''
19
18
  id = attrs['id']
20
19
  nl = ''
21
20
 
@@ -47,6 +46,8 @@ Extensions.register do
47
46
  concat_lines = reader.lines.unshift(pass, alt, pass, nl)
48
47
  concat_lines.push(nl, pass, close, pass)
49
48
 
49
+ attrs['title'] = ''
50
+
50
51
  create_block parent, :open, concat_lines, attrs, content_model: :compound
51
52
  end
52
53
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: aspec_rb
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.10
4
+ version: 0.0.11
5
5
  platform: ruby
6
6
  authors:
7
7
  - tcob
8
8
  autorequire:
9
9
  bindir: exe
10
10
  cert_chain: []
11
- date: 2018-04-25 00:00:00.000000000 Z
11
+ date: 2018-04-26 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: bundler