aspec_rb 0.0.8 → 0.0.9

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: 909e899726068ee1777f9bfceefbe24eb102d50cdd85b47f86d947e2b8ecf5c9
4
- data.tar.gz: c844476a5e20b86d2c3b5f9e21fab8b26c53db739427f35dbdb4498a37f636df
3
+ metadata.gz: d5ad7297aa73ebc76ef0ad387bc284b4217a5f5bd40f016893557adcbbd90b27
4
+ data.tar.gz: 5a966be236ce43e042aff058e1f950794bbe486c557e66d3730dba7983f58d94
5
5
  SHA512:
6
- metadata.gz: 5b52900f02c14a6644b8cf9b132d322abab019e9a9c4f5c0df8a2b7c2fabc02e92bbd541e36cf74e074431135e18668831d8da5534799d59c37ef02e824b9413
7
- data.tar.gz: a56e0d09c9a63c540ea94f675b31e50045b91d8f7da7dc59b37575a4bee03d6d02da84ad80976e4f1ba0ed4c061008fb23ffcf21559c1bf65a9f46d01111b963
6
+ metadata.gz: ee0d04929e673a3db700d26a9f23f6ffd890261009b7843fce630642ca207a1cceca1d50fb41f4f9a5594b17603f84afbd979f44a2b6a0705c7ba2f3b5367986
7
+ data.tar.gz: a84bfcbb1032dbc4fdf1a5bc69963d58a65ba507356810a1d43014952e70f3b470f4c38fd717fe3f7f6e3b9c8aacbb33da8f2ddfb6fe09e54316b301ed63ecab
data/Gemfile.lock CHANGED
@@ -1,7 +1,7 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- aspec_rb (0.0.8)
4
+ aspec_rb (0.0.9)
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.8'
10
+ VERSION = '0.0.9'
11
11
  end
@@ -148,14 +148,14 @@ anchors.uniq!
148
148
 
149
149
  # For all requirements, check which chapter they should finally be in with includes catered for
150
150
  # match with a main document name - should be a main chapter title
151
- xrefs.each do |xref, xpath, _xfilename, xtext, _xtarget, _xchapter|
151
+ xrefs.each do |xref, xpath, _xfilename, _xtext, xtarget, _xchapter|
152
152
  anchors.each do |anchor, apath, afilename, atext, _achapter, _amain, _h1|
153
153
  next unless xref == anchor
154
154
  # if in same chapter, dont link to other HTML file
155
155
  afilename = '' if xpath == apath
156
- xtext = Sform.titleify(xref) if xtext.empty?
156
+ # xtext = xref if xtext.empty?
157
157
  afilename.sub!(/^_/, '') if afilename[/^_/]
158
- fix = "#{afilename}##{atext},#{xtext}"
158
+ fix = "#{afilename}##{atext},#{xtarget}"
159
159
  anchorfixes.push([anchor, fix, xref])
160
160
  end
161
161
  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.8
4
+ version: 0.0.9
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-23 00:00:00.000000000 Z
11
+ date: 2018-04-24 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: bundler