rubygems-yardoc 0.0.3 → 0.0.4
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/lib/rubygems_plugin.rb +5 -0
- data/rubygems-yardoc.gemspec +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA1:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 1a79ad5137ae2c67e44cb64db79aacbeb786b145
|
|
4
|
+
data.tar.gz: aa301b18593b86675446856fd6ad7e1641b7dff6
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 921396baba1078e09710adb76024dad2d85c391f276a0a0f8d1c6f05628b1fae90be99a9813f8e66c17eca3dcc41139081061a0435084129b6cc0c6edc4c9208
|
|
7
|
+
data.tar.gz: 2e5af453429ecf7c6a553111c56c290ad0bbefe79f86fb1919b152c52b880c51a7833f00c4ba8aadbc174e443a91556cd9213f8c1b31ed876e1d6e48d0f0277a
|
data/lib/rubygems_plugin.rb
CHANGED
|
@@ -14,9 +14,14 @@ module Gem::InstallUpdateOptions
|
|
|
14
14
|
options[:document] << 'yardoc'
|
|
15
15
|
|
|
16
16
|
Gem.post_install do |installer|
|
|
17
|
+
YARD::Registry.clear
|
|
17
18
|
Gem::Commands::YardocCommand.run_yardoc(installer.spec)
|
|
18
19
|
end
|
|
19
20
|
end
|
|
20
21
|
end
|
|
21
22
|
end
|
|
22
23
|
end
|
|
24
|
+
|
|
25
|
+
Gem.pre_uninstall do |uninstaller|
|
|
26
|
+
FileUtils.rm_r File.join(uninstaller.spec.doc_dir, 'yardoc')
|
|
27
|
+
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.4'
|
|
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}
|
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.4
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- KITAITI Makoto
|
|
8
8
|
autorequire:
|
|
9
9
|
bindir: bin
|
|
10
10
|
cert_chain: []
|
|
11
|
-
date: 2013-03-
|
|
11
|
+
date: 2013-03-07 00:00:00.000000000 Z
|
|
12
12
|
dependencies:
|
|
13
13
|
- !ruby/object:Gem::Dependency
|
|
14
14
|
name: yard
|