aspec_rb 0.0.8 → 0.0.9
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/Gemfile.lock +1 -1
- data/lib/aspec_rb/version.rb +1 -1
- data/lib/extensions/autoxrefs.rb +3 -3
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: d5ad7297aa73ebc76ef0ad387bc284b4217a5f5bd40f016893557adcbbd90b27
|
4
|
+
data.tar.gz: 5a966be236ce43e042aff058e1f950794bbe486c557e66d3730dba7983f58d94
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: ee0d04929e673a3db700d26a9f23f6ffd890261009b7843fce630642ca207a1cceca1d50fb41f4f9a5594b17603f84afbd979f44a2b6a0705c7ba2f3b5367986
|
7
|
+
data.tar.gz: a84bfcbb1032dbc4fdf1a5bc69963d58a65ba507356810a1d43014952e70f3b470f4c38fd717fe3f7f6e3b9c8aacbb33da8f2ddfb6fe09e54316b301ed63ecab
|
data/Gemfile.lock
CHANGED
data/lib/aspec_rb/version.rb
CHANGED
data/lib/extensions/autoxrefs.rb
CHANGED
@@ -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,
|
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 =
|
156
|
+
# xtext = xref if xtext.empty?
|
157
157
|
afilename.sub!(/^_/, '') if afilename[/^_/]
|
158
|
-
fix = "#{afilename}##{atext},#{
|
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.
|
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-
|
11
|
+
date: 2018-04-24 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: bundler
|