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 +4 -4
- data/README.markdown +7 -4
- data/Rakefile +2 -2
- data/lib/rubygems/commands/yardoc_command.rb +1 -1
- data/lib/rubygems_plugin.rb +1 -1
- data/rubygems-yardoc.gemspec +4 -4
- metadata +15 -10
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 2daccad09854a93fa08925b4ab0fd7ae01370413
|
4
|
+
data.tar.gz: 270ef37d0e46687d0df5f4c6abbd449b103fed82
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 6e6a862a153d9de312556f78d343b8a23fa6a3973310fa003cb198039bff7bf343fa8657c410a5b0c76bddb1b02a1767fe508cac666fef0931a100bc50e9f7a6
|
7
|
+
data.tar.gz: 13ebdde1bb9f1035e9435a21a4b4ece763b4f0d5397e535bb38cfa4794b120127b4006ab3165bcf04b713db3274511f24d303e0190be66c74060c0e4b498a13f
|
data/README.markdown
CHANGED
@@ -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
@@ -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 =
|
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
|
data/lib/rubygems_plugin.rb
CHANGED
data/rubygems-yardoc.gemspec
CHANGED
@@ -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.
|
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://
|
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', '
|
20
|
+
gem.add_runtime_dependency 'yard', '>= 0.8.0', '< 1.0.0'
|
21
21
|
|
22
|
-
gem.add_development_dependency '
|
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.
|
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:
|
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.
|
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.
|
32
|
+
version: 1.0.0
|
27
33
|
- !ruby/object:Gem::Dependency
|
28
|
-
name:
|
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://
|
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.
|
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:
|