manpages 0.2.0 → 0.2.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/Gemfile.lock +3 -3
- data/lib/manpages/version.rb +1 -1
- data/lib/rubygems_plugin.rb +3 -2
- data/manpages.gemspec +1 -1
- metadata +3 -3
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: b0d05806b795750d14398a78cc9a053bd1c218f7
|
4
|
+
data.tar.gz: 123527817dd34a5190456e02bcea603b80c810eb
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 22d773239ed303a4bab0bb4d55462125d05931dc5b9eeec129ac280ccaf6af79ab4fddc50e6bf7984fbade9f6a72deea7fb173237679cab620fbafbe517a9484
|
7
|
+
data.tar.gz: c7181b75509b04e5001169da20c7733c176641a029a48387d6638ce3c2ac25a3701931e9fe784bb9f48c8c314a966541c0d91be1615e88b43a34c22e1ad0f87b
|
data/Gemfile.lock
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
PATH
|
2
2
|
remote: .
|
3
3
|
specs:
|
4
|
-
manpages (0.2.
|
4
|
+
manpages (0.2.1)
|
5
5
|
|
6
6
|
GEM
|
7
7
|
remote: https://rubygems.org/
|
@@ -35,9 +35,9 @@ PLATFORMS
|
|
35
35
|
DEPENDENCIES
|
36
36
|
bundler (~> 1.8)
|
37
37
|
manpages!
|
38
|
-
pry
|
38
|
+
pry (~> 0)
|
39
39
|
rake (~> 10.0)
|
40
40
|
rspec (~> 3.0)
|
41
41
|
|
42
42
|
BUNDLED WITH
|
43
|
-
1.
|
43
|
+
1.13.2
|
data/lib/manpages/version.rb
CHANGED
data/lib/rubygems_plugin.rb
CHANGED
@@ -10,9 +10,10 @@ Gem.post_install do |installer|
|
|
10
10
|
Manpages::Install.new(source_dir, target_dir).install_manpages
|
11
11
|
end
|
12
12
|
|
13
|
-
Gem.
|
13
|
+
Gem.pre_uninstall do |uninstaller|
|
14
|
+
bin_dir = uninstaller.bin_dir || Gem.bindir(uninstaller.spec.base_dir)
|
14
15
|
source_dir = uninstaller.spec.gem_dir
|
15
|
-
target_dir = File.join(
|
16
|
+
target_dir = File.absolute_path(File.join(bin_dir, "../share/man"))
|
16
17
|
|
17
18
|
Manpages::Uninstall.new(source_dir, target_dir).uninstall_manpages
|
18
19
|
end
|
data/manpages.gemspec
CHANGED
@@ -23,5 +23,5 @@ Gem::Specification.new do |spec|
|
|
23
23
|
spec.add_development_dependency "bundler", "~> 1.8"
|
24
24
|
spec.add_development_dependency "rake", "~> 10.0"
|
25
25
|
spec.add_development_dependency "rspec", "~> 3.0"
|
26
|
-
spec.add_development_dependency "pry"
|
26
|
+
spec.add_development_dependency "pry", '~> 0'
|
27
27
|
end
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: manpages
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.2.
|
4
|
+
version: 0.2.1
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Bodo Tasche
|
@@ -56,14 +56,14 @@ dependencies:
|
|
56
56
|
name: pry
|
57
57
|
requirement: !ruby/object:Gem::Requirement
|
58
58
|
requirements:
|
59
|
-
- - "
|
59
|
+
- - "~>"
|
60
60
|
- !ruby/object:Gem::Version
|
61
61
|
version: '0'
|
62
62
|
type: :development
|
63
63
|
prerelease: false
|
64
64
|
version_requirements: !ruby/object:Gem::Requirement
|
65
65
|
requirements:
|
66
|
-
- - "
|
66
|
+
- - "~>"
|
67
67
|
- !ruby/object:Gem::Version
|
68
68
|
version: '0'
|
69
69
|
description: This is a little experiment that adds man pages support to rubygems
|