Skip to content

Commit 362a9dd

Browse files
authored
Merge pull request #132 from dblock/danger-toc
Swap yard dependency for danger-toc.
2 parents 8c044ac + c179a1d commit 362a9dd

File tree

5 files changed

+19
-27
lines changed

5 files changed

+19
-27
lines changed

CHANGELOG.md

+1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
11
### 0.8.7 (Next)
22

33
* [#131](https://github.com/codegram/hyperclient/pull/131): Upgrade to Rubocop 0.50.0, fix Bundler's insecure git source warning - [@nebolsin](https://github.com/nebolsin).
4+
* [#132](https://github.com/codegram/hyperclient/pull/132): Swapped yard dependency for danger-toc - [@dblock](https://github.com/dblock).
45
* Your contribution here.
56

67
### 0.8.6 (August 27, 2017)

Dangerfile

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,2 @@
1-
# check for changes in CHANGELOG
21
changelog.check
2+
toc.check

Gemfile

+1-2
Original file line numberDiff line numberDiff line change
@@ -18,12 +18,11 @@ group :development, :test do
1818
gem 'rake'
1919
gem 'rubocop', '~> 0.50.0', require: false
2020
gem 'simplecov', require: false
21-
gem 'yard', '~> 0.8'
22-
gem 'yard-tomdoc'
2321
end
2422

2523
group :test do
2624
gem 'danger-changelog', '~> 0.1'
25+
gem 'danger-toc', '~> 0.1'
2726
gem 'futuroscope', github: 'codegram/futuroscope'
2827
gem 'minitest'
2928
gem 'mocha'

README.md

+16-17
Original file line numberDiff line numberDiff line change
@@ -8,23 +8,22 @@
88

99
Hyperclient is a Hypermedia API client written in Ruby. It fully supports [JSON HAL](http://stateless.co/hal_specification.html).
1010

11-
* [Hyperclient](#hyperclient)
12-
* [Usage](#usage)
13-
* [API Client](#api-client)
14-
* [Resources and Attributes](#resources-and-attributes)
15-
* [Links and Embedded Resources](#links-and-embedded-resources)
16-
* [Templated Links](#templated-links)
17-
* [Curies](#curies)
18-
* [Attributes](#attributes)
19-
* [HTTP](#http)
20-
* [Asynchronous requests](#asynchronous-requests)
21-
* [Testing Using Hyperclient](#testing-using-hyperclient)
22-
* [Reference](#reference)
23-
* [Hyperclient Users](#hyperclient-users)
24-
* [Contributing](#contributing)
25-
* [License](#license)
26-
27-
<sub><sup>ToC created with [gh-md-toc](https://github.com/ekalinin/github-markdown-toc)</sup></sub>
11+
# Table of Contents
12+
13+
- [Usage](#usage)
14+
- [API Client](#api-client)
15+
- [Resources and Attributes](#resources-and-attributes)
16+
- [Links and Embedded Resources](#links-and-embedded-resources)
17+
- [Templated Links](#templated-links)
18+
- [Curies](#curies)
19+
- [Attributes](#attributes)
20+
- [HTTP](#http)
21+
- [Asynchronous requests](#asynchronous-requests)
22+
- [Testing Using Hyperclient](#testing-using-hyperclient)
23+
- [Reference](#reference)
24+
- [Hyperclient Users](#hyperclient-users)
25+
- [Contributing](#contributing)
26+
- [License](#license)
2827

2928
# Usage
3029

Rakefile

-7
Original file line numberDiff line numberDiff line change
@@ -13,13 +13,6 @@ if ENV['COVERAGE']
1313
end
1414
end
1515

16-
require 'yard'
17-
YARD::Config.load_plugin('yard-tomdoc')
18-
YARD::Rake::YardocTask.new do |t|
19-
t.files = ['lib/**/*.rb']
20-
t.options = %w[-r README.md]
21-
end
22-
2316
require 'rake/testtask'
2417

2518
Rake::TestTask.new(:test) do |t|

0 commit comments

Comments
 (0)