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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 2daccad09854a93fa08925b4ab0fd7ae01370413
4
- data.tar.gz: 270ef37d0e46687d0df5f4c6abbd449b103fed82
3
+ metadata.gz: 62b2fae6d9f0ba2233998664479eeabea7633d15
4
+ data.tar.gz: 43d2e401ba5a80f6a9e4044a66ff810ad28bb566
5
5
  SHA512:
6
- metadata.gz: 6e6a862a153d9de312556f78d343b8a23fa6a3973310fa003cb198039bff7bf343fa8657c410a5b0c76bddb1b02a1767fe508cac666fef0931a100bc50e9f7a6
7
- data.tar.gz: 13ebdde1bb9f1035e9435a21a4b4ece763b4f0d5397e535bb38cfa4794b120127b4006ab3165bcf04b713db3274511f24d303e0190be66c74060c0e4b498a13f
6
+ metadata.gz: 949272a5571897888bb4f3749f0b2470b955f8e5fb6599790b27628f28e624adffd130019cb09aaeced28506ae35fc6505d17d8178f855de16b3f31682e7a07c
7
+ data.tar.gz: c90a2d4536533886ca9f3be8b1607b0d5b87b41b0c46e79e9aa48d99d6854cfb8dbc332a42f0311472476b6197d9182810026af315aeae7bf16dfc2b89eb4eb7
@@ -1,7 +1,7 @@
1
1
  rubygems-yardoc
2
2
  ===============
3
3
 
4
- This gem provides `gem yardoc` command which generates YARD documentations for specified gems.
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
@@ -2,5 +2,8 @@ require 'rake/clean'
2
2
  require 'rubygems/tasks'
3
3
  require 'yard'
4
4
 
5
+ CLOBBER.include Gem::Tasks::Project::PKG_DIR
6
+ CLOBBER.include "doc"
7
+
5
8
  Gem::Tasks.new
6
9
  YARD::Rake::YardocTask.new
@@ -23,7 +23,7 @@ class Gem::Commands::YardocCommand < Gem::Command
23
23
 
24
24
  class << self
25
25
  def run_yardoc(spec)
26
- yardoc_dir = spec.doc_dir('yardoc')
26
+ yardoc_dir = spec.doc_dir('yard')
27
27
  Dir.chdir spec.gem_dir do
28
28
  YARD::CLI::Yardoc.run '--output-dir', yardoc_dir
29
29
  end
@@ -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
@@ -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'
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.8.0', '< 1.0.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.7
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-01-08 00:00:00.000000000 Z
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.8.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.8.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.8
96
+ rubygems_version: 2.6.11
97
97
  signing_key:
98
98
  specification_version: 4
99
99
  summary: gem yardoc command-line tool