manpages 0.3.1 → 0.3.2
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/Gemfile.lock +1 -1
- data/lib/manpages/version.rb +1 -1
- data/lib/rubygems_plugin.rb +2 -2
- metadata +1 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 7896e3cea74abf59bbb5f95226a23f8d77277fc9
|
4
|
+
data.tar.gz: 839b7ec2bae6864689c16716c80485aad8e8f349
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 6a5757dd8e0f4f1bf54237e77f2171847923ac0fd80840d7c3b5038ad9b346d5cc66cd942f2736c49217d3251854cdef4b0504d0e04904cd84820ba1b84633f1
|
7
|
+
data.tar.gz: 4f2a6fd39f99369effbb68d56dbe3ea0e9dfef21b50ac27c79320ee7b59d90e85b283b5bccd1e87c0f534ec86d2abaa95631f1802efb42a1ea399f7f8b3d4aac
|
data/Gemfile.lock
CHANGED
data/lib/manpages/version.rb
CHANGED
data/lib/rubygems_plugin.rb
CHANGED
@@ -5,7 +5,7 @@ Gem::CommandManager.instance.register_command(:manpages)
|
|
5
5
|
|
6
6
|
Gem.post_install do |installer|
|
7
7
|
source_dir = installer.spec.gem_dir
|
8
|
-
target_dir = File.expand_path(installer.bin_dir
|
8
|
+
target_dir = File.expand_path("#{installer.bin_dir}/../share/man")
|
9
9
|
|
10
10
|
Manpages::Install.new(installer.spec, source_dir, target_dir).install_manpages
|
11
11
|
end
|
@@ -13,7 +13,7 @@ end
|
|
13
13
|
Gem.pre_uninstall do |uninstaller|
|
14
14
|
bin_dir = uninstaller.bin_dir || Gem.bindir(uninstaller.spec.base_dir)
|
15
15
|
source_dir = uninstaller.spec.gem_dir
|
16
|
-
target_dir = File.expand_path(bin_dir
|
16
|
+
target_dir = File.expand_path("#{bin_dir}/../share/man")
|
17
17
|
|
18
18
|
Manpages::Uninstall.new(uninstaller.spec, source_dir, target_dir).uninstall_manpages
|
19
19
|
end
|