yard_rideliner 0.5.0 → 0.6.0

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
  SHA1:
3
- metadata.gz: cf8a9d6cf8504de33ec5d42673065c30a89ef6ac
4
- data.tar.gz: e3e4c7c4a3409f6e0963822ae0ddea9f9a51cd05
3
+ metadata.gz: 6e730b902b0bacc36b7afa64b6d611b38e5e2779
4
+ data.tar.gz: d22fd30b38ad76f06f5720b05e424b88e7654928
5
5
  SHA512:
6
- metadata.gz: 828d23155231553158056539e2663c33ec1ba03079caf2d60782ae406979c5463d554811bbf25d5cbc2a720432e49c7d8332dd9e47a0afb9839f26438c29cf28
7
- data.tar.gz: accd3d4860e6f86bf2e22fc410f3f36d235d1ab108bac7252128168f4fec21c21caaed4667315f002aefa772c26268633a6186d26f6da092a60dcf6c9752f38b
6
+ metadata.gz: e5cc037cdd8a989a6e3a919b70198fc2809875933d0b9d7d25618c42b20719a5d4ed7ad8f42a4d7e3d1f91c2b784437a13017dfacd2780d52c5a45117dc8fbe3
7
+ data.tar.gz: d54dc79dc7c4f6dcdb65b780d8e068778de21be5f72eff52d1839b210b1f5eac675bea1440f6a834f938adf202d4cc68c226470e8bf38ab09cfe3079614d2df9
@@ -26,7 +26,7 @@ if ENV['TRAVIS'] && ENV['DOCS']
26
26
  require 'ghpages_deploy/rake_task'
27
27
 
28
28
  desc 'Deploy documentation to Github Pages'
29
- GithubPagesGithubPages::DeployTask.new(deploy: [:yard]) do |ghpages|
29
+ GithubPages::DeployTask.new(deploy: [:yard]) do |ghpages|
30
30
  ghpages.remote = 'website'
31
31
  ghpages.repo = 'https://github.com/rideliner/rideliner.github.io.git'
32
32
  ghpages.source = '_yardoc'
@@ -55,9 +55,9 @@ if ENV['TRAVIS'] && ENV['DOCS']
55
55
  dest_and_msg['branch', branch]
56
56
  end
57
57
 
58
- ghpages.json_sitemap(
58
+ ghpages.generate_json_sitemap(
59
59
  directory: doc_root,
60
- whitelist: ['**/_index.html', '**/index_html'],
60
+ whitelist: ['**/_index.html', '**/index.html'],
61
61
  output: "#{project_root}/documentation.json"
62
62
  )
63
63
  end
@@ -11,15 +11,17 @@ require 'yard/rake/yardoc_task'
11
11
  require 'rake/clean'
12
12
 
13
13
  YARD::Rake::YardocTask.new(:yard) do |t|
14
- t.files = ['lib/**/*.rb', '-', 'doc/*.md', 'LICENSE.md']
15
- t.options = [
16
- '--charset utf-8', '--readme README.md',
17
- '--markup markdown', '--markup-provider kramdown',
18
- '--output-dir _yardoc',
19
- '--protected', '--private',
20
- "--default-return ''",
21
- '--plugin yard_rideliner'
22
- ]
14
+ t.files = ['lib/**/*.rb', '-', 'doc/*.md']
15
+ t.files << 'LICENSE.md' if File.exist?('LICENSE.md')
16
+
17
+ t.options =
18
+ %w(
19
+ --charset utf-8 --output-dir _yardoc
20
+ --markup markdown --markup-provider kramdown
21
+ --protected --private --hide-void-return
22
+ --plugin yard_rideliner
23
+ )
24
+ t.options += %w(--readme README.md) if File.exist?('README.md')
23
25
  end
24
26
 
25
27
  CLEAN.include '.yardoc'
@@ -3,6 +3,6 @@
3
3
 
4
4
  module YARD
5
5
  module Dizby
6
- VERSION = '0.5.0'.freeze
6
+ VERSION = '0.6.0'.freeze
7
7
  end
8
8
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: yard_rideliner
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.5.0
4
+ version: 0.6.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Nathan Currier
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2016-05-07 00:00:00.000000000 Z
11
+ date: 2016-05-17 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  prerelease: false