pager 1.0.0 → 1.0.1

Sign up to get free protection for your applications and to get access to all the features.
Files changed (4) hide show
  1. data/README.md +6 -6
  2. data/lib/pager.rb +1 -0
  3. data/lib/pager/version.rb +1 -1
  4. metadata +1 -1
data/README.md CHANGED
@@ -21,10 +21,10 @@ Git-style automatic paging in Ruby
21
21
 
22
22
  ## History
23
23
 
24
- This library is merely a packaged version of the [run_pager code snippet][blog]
25
- by [Nathan Weizenbaum][nex3]. It was originally built for use with [cheat][] by
26
- [Chris Wanstrath][defunkt]. The snipped was packaged as a gem by [Erik
27
- Michaels-Ober][sferik] for use with his [t][] gem.
24
+ This library is merely a packaged version of the [`run_pager` code
25
+ snippet][blog] by [Nathan Weizenbaum][nex3]. It was originally built for use
26
+ with [`cheat`][cheat] by [Chris Wanstrath][defunkt]. The snipped was packaged
27
+ as a gem by [Erik Michaels-Ober][sferik] for use with [`t`][t].
28
28
 
29
29
  [blog]: http://nex-3.com/posts/73-git-style-automatic-paging-in-ruby
30
30
  [nex3]: https://github.com/nex3
@@ -33,10 +33,10 @@ Michaels-Ober][sferik] for use with his [t][] gem.
33
33
  [sferik]: https://github.com/sferik
34
34
  [t]: https://github.com/sferik/t
35
35
 
36
- # irb-pager
36
+ ## irb-pager
37
37
 
38
38
  Many thanks to [Denis Knauf][DenisKnauf] for relinquishing the `pager` gem name
39
- to this project. If you're looking for irb-pager, it can be found
39
+ to this project. If you're looking for `irb-pager`, it can be found
40
40
  [here][irb-pager].
41
41
 
42
42
  [DenisKnauf]: https://github.com/DenisKnauf
@@ -26,6 +26,7 @@ module Pager
26
26
  Kernel.select [STDIN] # Wait until we have input before we start the pager
27
27
  pager = ENV['PAGER'] || 'less'
28
28
  exec pager rescue exec "/bin/sh", "-c", pager
29
+ rescue StandardError
29
30
  end
30
31
 
31
32
  end
@@ -1,3 +1,3 @@
1
1
  module Pager
2
- VERSION = "1.0.0"
2
+ VERSION = "1.0.1"
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: pager
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.0.0
4
+ version: 1.0.1
5
5
  prerelease:
6
6
  platform: ruby
7
7
  authors: