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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 21e36c15f7ec3120e81a728ea1e6e17c3ee63da1
4
- data.tar.gz: fa166fe6763c98a8e19985615b99ddae2a122d3e
3
+ metadata.gz: b0d05806b795750d14398a78cc9a053bd1c218f7
4
+ data.tar.gz: 123527817dd34a5190456e02bcea603b80c810eb
5
5
  SHA512:
6
- metadata.gz: 1944db02ad4a705a23157e13a305b159d33a26a522a243c375d0b6856f1ac5b5a315243a6afe65dc65c4f92f0dbdbc6ff476ac0d309e831602facaf46996b93b
7
- data.tar.gz: 231a6acb8428e0c465ccaff04b19f87e268527558f5364f65f1de0697dd3a30d30e323349ca7b1707ead1353a59a253ae7e816dd8897b57a4055b19068755c33
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.0)
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.12.5
43
+ 1.13.2
@@ -1,3 +1,3 @@
1
1
  module Manpages
2
- VERSION = "0.2.0"
2
+ VERSION = "0.2.1"
3
3
  end
@@ -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.post_uninstall do |uninstaller|
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(uninstaller.bin_dir, "../share/man")
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.0
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