rubygems-yardoc 0.0.7 → 0.0.8
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/README.markdown +1 -9
- data/Rakefile +3 -0
- data/lib/rubygems/commands/yardoc_command.rb +1 -1
- data/lib/rubygems_plugin.rb +0 -11
- data/rubygems-yardoc.gemspec +2 -2
- metadata +5 -5
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 62b2fae6d9f0ba2233998664479eeabea7633d15
|
4
|
+
data.tar.gz: 43d2e401ba5a80f6a9e4044a66ff810ad28bb566
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 949272a5571897888bb4f3749f0b2470b955f8e5fb6599790b27628f28e624adffd130019cb09aaeced28506ae35fc6505d17d8178f855de16b3f31682e7a07c
|
7
|
+
data.tar.gz: c90a2d4536533886ca9f3be8b1607b0d5b87b41b0c46e79e9aa48d99d6854cfb8dbc332a42f0311472476b6197d9182810026af315aeae7bf16dfc2b89eb4eb7
|
data/README.markdown
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
rubygems-yardoc
|
2
2
|
===============
|
3
3
|
|
4
|
-
This gem provides `gem
|
4
|
+
This gem provides `gem yard` command which generates YARD documentations for specified gems.
|
5
5
|
|
6
6
|
Installation
|
7
7
|
------------
|
@@ -16,14 +16,6 @@ Usage
|
|
16
16
|
Makes `yardoc` directory into specified gem's doc directory and
|
17
17
|
YARD Documentation for the gem will be generated into the directory.
|
18
18
|
|
19
|
-
And this gem add `--document=[ri,rdoc,]yardoc` option to `gem install` command
|
20
|
-
which install YARD documentation. So, writing
|
21
|
-
|
22
|
-
install: --document=ri,rdoc,yardoc
|
23
|
-
update: --document=ri,rdoc,yardoc
|
24
|
-
|
25
|
-
in your $HOME/.gemrc will automatically generate YARD document on installing/updating gems.
|
26
|
-
|
27
19
|
Contributing
|
28
20
|
------------
|
29
21
|
|
data/Rakefile
CHANGED
data/lib/rubygems_plugin.rb
CHANGED
@@ -1,14 +1,3 @@
|
|
1
1
|
require 'rubygems/commands/yardoc_command'
|
2
2
|
|
3
3
|
Gem::CommandManager.instance.register_command :yardoc
|
4
|
-
|
5
|
-
Gem.post_install do |installer|
|
6
|
-
next unless installer.options[:document].include? 'yardoc'
|
7
|
-
next if File.exist? installer.spec.doc_dir('yardoc')
|
8
|
-
YARD::Registry.clear
|
9
|
-
Gem::Commands::YardocCommand.run_yardoc(installer.spec)
|
10
|
-
end
|
11
|
-
|
12
|
-
Gem.pre_uninstall do |uninstaller|
|
13
|
-
FileUtils.rm_rf uninstaller.spec.doc_dir('yardoc')
|
14
|
-
end
|
data/rubygems-yardoc.gemspec
CHANGED
@@ -4,7 +4,7 @@ $LOAD_PATH.unshift(lib) unless $LOAD_PATH.include?(lib)
|
|
4
4
|
|
5
5
|
Gem::Specification.new do |gem|
|
6
6
|
gem.name = "rubygems-yardoc"
|
7
|
-
gem.version = '0.0.
|
7
|
+
gem.version = '0.0.8'
|
8
8
|
gem.authors = ["KITAITI Makoto"]
|
9
9
|
gem.email = ["KitaitiMakoto@gmail.com"]
|
10
10
|
gem.description = %q{Provides a "gem yardoc" command which generates YARD documentations for specified gems}
|
@@ -17,7 +17,7 @@ Gem::Specification.new do |gem|
|
|
17
17
|
gem.test_files = gem.files.grep(%r{^(test|spec|features)/})
|
18
18
|
gem.require_paths = ["lib"]
|
19
19
|
|
20
|
-
gem.add_runtime_dependency 'yard', '>= 0.
|
20
|
+
gem.add_runtime_dependency 'yard', '>= 0.9.1', '< 1.0.0'
|
21
21
|
|
22
22
|
gem.add_development_dependency 'rubygems-tasks'
|
23
23
|
gem.add_development_dependency 'rake'
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: rubygems-yardoc
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.0.
|
4
|
+
version: 0.0.8
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- KITAITI Makoto
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2017-
|
11
|
+
date: 2017-04-09 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: yard
|
@@ -16,7 +16,7 @@ dependencies:
|
|
16
16
|
requirements:
|
17
17
|
- - ">="
|
18
18
|
- !ruby/object:Gem::Version
|
19
|
-
version: 0.
|
19
|
+
version: 0.9.1
|
20
20
|
- - "<"
|
21
21
|
- !ruby/object:Gem::Version
|
22
22
|
version: 1.0.0
|
@@ -26,7 +26,7 @@ dependencies:
|
|
26
26
|
requirements:
|
27
27
|
- - ">="
|
28
28
|
- !ruby/object:Gem::Version
|
29
|
-
version: 0.
|
29
|
+
version: 0.9.1
|
30
30
|
- - "<"
|
31
31
|
- !ruby/object:Gem::Version
|
32
32
|
version: 1.0.0
|
@@ -93,7 +93,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
93
93
|
version: '0'
|
94
94
|
requirements: []
|
95
95
|
rubyforge_project:
|
96
|
-
rubygems_version: 2.6.
|
96
|
+
rubygems_version: 2.6.11
|
97
97
|
signing_key:
|
98
98
|
specification_version: 4
|
99
99
|
summary: gem yardoc command-line tool
|