rubygems-yardoc 0.0.6 → 0.0.7

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: 5b402acc3bc26792813edf74a37ef0277709466c
4
- data.tar.gz: 616227f0c431b010c7b69ce906edd6ce665ce662
3
+ metadata.gz: 2daccad09854a93fa08925b4ab0fd7ae01370413
4
+ data.tar.gz: 270ef37d0e46687d0df5f4c6abbd449b103fed82
5
5
  SHA512:
6
- metadata.gz: 52c5bd2648327264ee05eb7bb4945461fcc60f5eb3c2abf255326d43bce8a011e0e2f59a41317cf0cc0373c228483a508abcc74f60a896b7a22e7bc0d0031f7e
7
- data.tar.gz: 21e2e254daf0f004c0f441f5554e759ed1166a1b41554dcbc596b5dfa93d18c515cde571f2df1814fae09b4c7d1fcc21b8f3e3f0afe85caa2c006bac188bf2c3
6
+ metadata.gz: 6e6a862a153d9de312556f78d343b8a23fa6a3973310fa003cb198039bff7bf343fa8657c410a5b0c76bddb1b02a1767fe508cac666fef0931a100bc50e9f7a6
7
+ data.tar.gz: 13ebdde1bb9f1035e9435a21a4b4ece763b4f0d5397e535bb38cfa4794b120127b4006ab3165bcf04b713db3274511f24d303e0190be66c74060c0e4b498a13f
@@ -16,8 +16,13 @@ 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 `--yardoc` option to `gem install` command
20
- which install YARD documentation.
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.
21
26
 
22
27
  Contributing
23
28
  ------------
@@ -27,5 +32,3 @@ Contributing
27
32
  3. Commit your changes (`git commit -am 'Add some feature'`)
28
33
  4. Push to the branch (`git push origin my-new-feature`)
29
34
  5. Create new Pull Request
30
-
31
- [1]: https://github.com/vmg/redcarpet
data/Rakefile CHANGED
@@ -1,6 +1,6 @@
1
1
  require 'rake/clean'
2
- require 'rubygems/specification'
3
- require 'bundler/gem_tasks'
2
+ require 'rubygems/tasks'
4
3
  require 'yard'
5
4
 
5
+ Gem::Tasks.new
6
6
  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 = File.join(spec.doc_dir, 'yardoc')
26
+ yardoc_dir = spec.doc_dir('yardoc')
27
27
  Dir.chdir spec.gem_dir do
28
28
  YARD::CLI::Yardoc.run '--output-dir', yardoc_dir
29
29
  end
@@ -10,5 +10,5 @@ Gem.post_install do |installer|
10
10
  end
11
11
 
12
12
  Gem.pre_uninstall do |uninstaller|
13
- FileUtils.rm_rf File.join(uninstaller.spec.doc_dir, 'yardoc')
13
+ FileUtils.rm_rf uninstaller.spec.doc_dir('yardoc')
14
14
  end
@@ -4,12 +4,12 @@ $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.6'
7
+ gem.version = '0.0.7'
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}
11
11
  gem.summary = %q{gem yardoc command-line tool}
12
- gem.homepage = "https://github.com/KitaitiMakoto/rubygems-yardoc"
12
+ gem.homepage = "https://gitlab.com/KitaitiMakoto/rubygems-yardoc"
13
13
  gem.license = 'MIT'
14
14
 
15
15
  gem.files = `git ls-files`.split($/)
@@ -17,8 +17,8 @@ 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.5'
20
+ gem.add_runtime_dependency 'yard', '>= 0.8.0', '< 1.0.0'
21
21
 
22
- gem.add_development_dependency 'bundler'
22
+ gem.add_development_dependency 'rubygems-tasks'
23
23
  gem.add_development_dependency 'rake'
24
24
  end
metadata CHANGED
@@ -1,31 +1,37 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: rubygems-yardoc
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.6
4
+ version: 0.0.7
5
5
  platform: ruby
6
6
  authors:
7
7
  - KITAITI Makoto
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2016-03-20 00:00:00.000000000 Z
11
+ date: 2017-01-08 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: yard
15
15
  requirement: !ruby/object:Gem::Requirement
16
16
  requirements:
17
- - - "~>"
17
+ - - ">="
18
+ - !ruby/object:Gem::Version
19
+ version: 0.8.0
20
+ - - "<"
18
21
  - !ruby/object:Gem::Version
19
- version: 0.8.5
22
+ version: 1.0.0
20
23
  type: :runtime
21
24
  prerelease: false
22
25
  version_requirements: !ruby/object:Gem::Requirement
23
26
  requirements:
24
- - - "~>"
27
+ - - ">="
28
+ - !ruby/object:Gem::Version
29
+ version: 0.8.0
30
+ - - "<"
25
31
  - !ruby/object:Gem::Version
26
- version: 0.8.5
32
+ version: 1.0.0
27
33
  - !ruby/object:Gem::Dependency
28
- name: bundler
34
+ name: rubygems-tasks
29
35
  requirement: !ruby/object:Gem::Requirement
30
36
  requirements:
31
37
  - - ">="
@@ -67,7 +73,7 @@ files:
67
73
  - lib/rubygems/commands/yardoc_command.rb
68
74
  - lib/rubygems_plugin.rb
69
75
  - rubygems-yardoc.gemspec
70
- homepage: https://github.com/KitaitiMakoto/rubygems-yardoc
76
+ homepage: https://gitlab.com/KitaitiMakoto/rubygems-yardoc
71
77
  licenses:
72
78
  - MIT
73
79
  metadata: {}
@@ -87,9 +93,8 @@ required_rubygems_version: !ruby/object:Gem::Requirement
87
93
  version: '0'
88
94
  requirements: []
89
95
  rubyforge_project:
90
- rubygems_version: 2.5.1
96
+ rubygems_version: 2.6.8
91
97
  signing_key:
92
98
  specification_version: 4
93
99
  summary: gem yardoc command-line tool
94
100
  test_files: []
95
- has_rdoc: