aspec_rb 0.0.4 → 0.0.5
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +5 -5
- data/.gitignore +1 -0
- data/.travis.yml +20 -3
- data/Gemfile +2 -0
- data/Gemfile.lock +12 -4
- data/README.md +1 -1
- data/Rakefile +0 -1
- data/aspec_rb.gemspec +2 -2
- data/lib/aspec_rb/version.rb +1 -1
- data/lib/postprocessors/generate_toc.rb +1 -2
- metadata +5 -5
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
|
-
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
2
|
+
SHA256:
|
3
|
+
metadata.gz: 453678159e0accca0120e8ae4a0a2884bcab73dfafe5e3729e0e643a6f7bf9b6
|
4
|
+
data.tar.gz: 1e8b92e29ef39dbda5e32c7e09f7f4eca62c1d1100cfdaaf754e3d9827e684d3
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 9c8515990723467d246b8fd22f6bd5633ccbbbdd94500d98d0a454482c1c3c24b24e5b183ffbaf6bfa51d7fae5e68312b22d5fb3ccee0321ec153dff19eab78f
|
7
|
+
data.tar.gz: 185215194e2b523ab2017e8ecf052e935392be39a394abad1338af323eba8b4b5d7a1fa4bcd8b4ba3ccf42b96ec6cbe9c8e5584b6a124e07ebf5876ebaeec17c
|
data/.gitignore
CHANGED
data/.travis.yml
CHANGED
@@ -1,5 +1,22 @@
|
|
1
|
+
sudo: false
|
1
2
|
language: ruby
|
2
3
|
rvm:
|
3
|
-
|
4
|
-
|
5
|
-
|
4
|
+
- 2.3.0
|
5
|
+
- 2.3.3
|
6
|
+
- 2.4.1
|
7
|
+
- 2.5.1
|
8
|
+
before_install: gem install bundler
|
9
|
+
before_script:
|
10
|
+
- curl -L https://codeclimate.com/downloads/test-reporter/test-reporter-latest-linux-amd64 > ./cc-test-reporter
|
11
|
+
- chmod +x ./cc-test-reporter
|
12
|
+
- ./cc-test-reporter before-build
|
13
|
+
env:
|
14
|
+
global:
|
15
|
+
- CC_TEST_REPORTER_ID=c1e8280a8a6ecf2d508dae62d5c2b166096f78f9099482766f4ece28e189a75b
|
16
|
+
# matrix:
|
17
|
+
# - secure: U0/JntV2C3Chcoce1ZvTpbgh9yeaG06i6M6DuKG3R2mIt4+yywfei7Ia+9QVtYeMWkfRhU/JgvKa+UNP1k2VZHRA+uOJ3eqxfNGn9FyAnIZaYw+6bfy0RZG+lsPk1240sHC/6VWURsLX8bcIKeDBcgmEB0FzfGqRI7dIyGSUVzTHiSTYTI68i64dqpN2hMrcPzfAnU4kAGek/vBYUUnjtiPBk6nLdzhvkg5OakitirfU6TZwMjTiNaZMV4NDYorbIlMS29bJriIV9jkP0sj3tn0T3LK42AAfmQhaeXem4LGolRHJvDgFxIJq0JhA9Kzn4Wj+oMKqjMgorrsaKg/QZyyV0AtZaxoZB2tfuD/+FfgxUExiNIA0TChSdfXnN9UPwNVSxDQ8BUUsxS9Em2EAnywY9ChVAhKuO3YS7EcJc0QsA3MmPxQfxkMmK6b/JVutDR9D7JqcQ/579wdCSb55fCxpapCmKzvTOays6Hmg4sSqECMKPhD7PRpGCAQlic/bpjEHgBw29Jy29DobQTBk/p2edzBh71lj3WZDYQ9Duxrq4QoqQy7455TlZZZPSt0bmn9WW6nDXXXebTjQrws58QBglsYR5fp83BL8/dqflpYlW3Zqo54VOM3TFE5gHKlYUh0lLX4Ta9wt+nUfJhFgNCfU20wImDwg8JvEmSSXcSY=
|
18
|
+
# - secure: DLnzaQqvtjrG2b5VZ4M8IZhdGPNAPEb5BaO7iSlkV9HFp4us/KB7w2DVzE70U/a1eastll+kP5C+pBPkMGAYBbdVzAaB8qj3aAmuPvUoOs69b7RJftYsAJwO0c29lt/dz4rxLfKQluaVwTu/UM0NMyCVOePdF+pxSYxpOgkckGZhfknuzY1PP/QFEZKoo37FhG8gQGtzjItnIQ2C7zYH3lTkRrOgcpzq3HF0PAMtMercv/TTl8mB1sSXHr5EDfM5SWsc58Sh/p/BG9UQpLG/2J8f7IKfSgSa+T7j+ki1mog9PokFRRlS8I5l4MQa5GpxvNDM6yjo5oRpBVjGvOft8XwymG99SwUFCMKooydZ4RCc4nQFxjTtlc0g118pNnUmHmXKfCadMCExFqqbo3tllRIjUZm2qUnMuwCoAtPFSCRvbKjHk6Rlg6V0hBy8mLCFr5EaSAoW7wtKBlocfKs+uDKIyX+MFG7x4Q2etKxO8UTKWqCSJcweLw/1OnTqFPU9RA8YEzLZKsg+gEKa4MtCIV1hwer6qDWr/eWTW3H2SlHym+ifLFmYbR7maRLbZV8cg5AB2NuTMPPJD3BfVL2s8lVWo1VoxioV2BPA8o3owdfS+AvJW/uZof8RGeznTRx3i2xEFU+FNGj8tXl1TJvdr6HRVt/BI+UAq0Su9zk1E4o=
|
19
|
+
script:
|
20
|
+
- bundle exec rake test
|
21
|
+
after_script:
|
22
|
+
- ./cc-test-reporter after-build --exit-code $TRAVIS_TEST_RESULT
|
data/Gemfile
CHANGED
data/Gemfile.lock
CHANGED
@@ -1,15 +1,22 @@
|
|
1
1
|
PATH
|
2
2
|
remote: .
|
3
3
|
specs:
|
4
|
-
aspec_rb (0.0.
|
4
|
+
aspec_rb (0.0.5)
|
5
5
|
asciidoctor (>= 1.5.0)
|
6
6
|
|
7
7
|
GEM
|
8
8
|
remote: https://rubygems.org/
|
9
9
|
specs:
|
10
|
-
asciidoctor (1.5.6.
|
10
|
+
asciidoctor (1.5.6.2)
|
11
|
+
docile (1.3.0)
|
12
|
+
json (2.1.0)
|
11
13
|
power_assert (1.1.1)
|
12
|
-
rake (12.3.
|
14
|
+
rake (12.3.1)
|
15
|
+
simplecov (0.16.1)
|
16
|
+
docile (~> 1.1)
|
17
|
+
json (>= 1.8, < 3)
|
18
|
+
simplecov-html (~> 0.10.0)
|
19
|
+
simplecov-html (0.10.2)
|
13
20
|
test-unit (3.2.7)
|
14
21
|
power_assert
|
15
22
|
|
@@ -20,7 +27,8 @@ DEPENDENCIES
|
|
20
27
|
aspec_rb!
|
21
28
|
bundler (>= 1.15.4)
|
22
29
|
rake (>= 12.1.0)
|
30
|
+
simplecov
|
23
31
|
test-unit (>= 3.2.6)
|
24
32
|
|
25
33
|
BUNDLED WITH
|
26
|
-
1.16.
|
34
|
+
1.16.1
|
data/README.md
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
# aspec_rb
|
2
2
|
|
3
3
|
[![Gem Version](https://badge.fury.io/rb/aspec_rb.svg)](https://badge.fury.io/rb/aspec_rb)
|
4
|
-
[![Build Status](https://travis-ci.org/
|
4
|
+
[![Build Status](https://travis-ci.org/tcob/aspec_rb.svg?branch=master)](https://travis-ci.org/tcob/aspec_rb)
|
5
5
|
|
6
6
|
## Installation
|
7
7
|
|
data/Rakefile
CHANGED
data/aspec_rb.gemspec
CHANGED
@@ -6,7 +6,7 @@ require 'aspec_rb/version'
|
|
6
6
|
Gem::Specification.new do |spec|
|
7
7
|
spec.name = 'aspec_rb'
|
8
8
|
spec.version = AspecRb::VERSION
|
9
|
-
spec.authors = ['
|
9
|
+
spec.authors = ['tcob']
|
10
10
|
spec.email = ['brian.smith@numberfour.eu']
|
11
11
|
|
12
12
|
spec.summary = 'Asciidoctor extensions for large HTML documents'
|
@@ -14,7 +14,7 @@ Gem::Specification.new do |spec|
|
|
14
14
|
resolving the location of titles and anchors in all adoc files so that inter-document
|
15
15
|
cross-references are resolved automatically. Also included are some
|
16
16
|
custom macros and blocks that are useful for techinical writing.'
|
17
|
-
spec.homepage = 'https://github.com/
|
17
|
+
spec.homepage = 'https://github.com/tcob/aspec_rb'
|
18
18
|
spec.license = 'MIT'
|
19
19
|
|
20
20
|
# This gem will work with 2.0 or greater.
|
data/lib/aspec_rb/version.rb
CHANGED
@@ -71,8 +71,7 @@ anchors.each do |file, id, text, level|
|
|
71
71
|
if level > prev_level
|
72
72
|
if i != 0
|
73
73
|
toc = toc.chomp("</li>\n")
|
74
|
-
toc += " <a href=\"#\" data-toggle=\"collapse\" data-target=\"#tocnav_#{id}\"
|
75
|
-
aria-hidden=\"true\"></i></a>
|
74
|
+
toc += " <a href=\"#\" data-toggle=\"collapse\" data-target=\"#tocnav_#{id}\"></a>
|
76
75
|
<ul>
|
77
76
|
<div id=\"tocnav_#{id}\" class=\"collapse\">
|
78
77
|
<li><a href=\"#{file}##{id}\">#{text}</a></li>\n"
|
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.5
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
|
-
-
|
7
|
+
- tcob
|
8
8
|
autorequire:
|
9
9
|
bindir: exe
|
10
10
|
cert_chain: []
|
11
|
-
date: 2018-
|
11
|
+
date: 2018-04-16 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: bundler
|
@@ -106,7 +106,7 @@ files:
|
|
106
106
|
- lib/html_chunker.rb
|
107
107
|
- lib/postprocessors/fulltext_search.rb
|
108
108
|
- lib/postprocessors/generate_toc.rb
|
109
|
-
homepage: https://github.com/
|
109
|
+
homepage: https://github.com/tcob/aspec_rb
|
110
110
|
licenses:
|
111
111
|
- MIT
|
112
112
|
metadata: {}
|
@@ -126,7 +126,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
126
126
|
version: '0'
|
127
127
|
requirements: []
|
128
128
|
rubyforge_project:
|
129
|
-
rubygems_version: 2.6
|
129
|
+
rubygems_version: 2.7.6
|
130
130
|
signing_key:
|
131
131
|
specification_version: 4
|
132
132
|
summary: Asciidoctor extensions for large HTML documents
|