binman 3.3.1 → 3.3.2

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: 3f3b3687542b1a69561f529fc61d665362d8f24c
4
- data.tar.gz: eec321fbae059b219be9abfefc3787ef7a962c6f
3
+ metadata.gz: 75fcddccca1ce504dbcf6b7547527313514b5682
4
+ data.tar.gz: 36b5252d0c6d6692ab40c3048cf5612dbf8c2a2c
5
5
  SHA512:
6
- metadata.gz: 9a33ac785e0c5f5cb781d378eeff7af67b383718109f8e660a6576a6c17a25fabe4c453d30a6cce5119bc3e87d1aacd83e31fd34f67a6c45c0fe18b65e222760
7
- data.tar.gz: 47392e910b2c75e9f3d5590c357485e1c917a6d1df5bc3f17766b5230f108871a7aac8b7f1fb1e91ca83e7e73fd9dc8e00f02e3c3d05dd7b1b82f426c575879a
6
+ metadata.gz: a3cbb532462421636ccbd9b7699288c923625dea5dd1a29f8ef768f6cbff76a91abcb051b21e70e448ecf57846d64da4719a6dc7729364d292dcb2ef6bb018cf
7
+ data.tar.gz: 23371bae5d3d33c2c6535e85aba8acc9c29b5ba1e301396a5e5fd52e996f9b99c5f0033050a2ca657809f4c66358e32b4e50d81a9b85fc4067e35dd7bbf40184
Binary file
@@ -16,7 +16,8 @@
16
16
 
17
17
  ### Demonstration
18
18
 
19
- ![Obligatory screen-shot of binman(1) in action!](http://ompldr.org/vYm5mcg)
19
+ ![Obligatory screen-shot of binman(1) in action!](
20
+ https://raw.github.com/sunaku/binman/master/EXAMPLE.png)
20
21
 
21
22
  Here is [a complete example in Ruby][binman-bin] to help you get started.
22
23
  For examples in other scripting languages, see the "Usage" section below!
@@ -29,7 +30,7 @@ If you only want to view pre-built manual pages:
29
30
 
30
31
  If you also want to build your own manual pages:
31
32
 
32
- gem install md2man -v '~> 1.4'
33
+ gem install md2man -v '~> 2.0'
33
34
 
34
35
  ### Prerequisites
35
36
 
@@ -1,3 +1,28 @@
1
+ ## Version 3.3.2 (2013-08-30)
2
+
3
+ Patch:
4
+
5
+ * Rescue error when designated opener is not found:
6
+
7
+ $ binman -h
8
+ /gems/opener-0.1.0/lib/opener.rb:97:in `spawn': No such file or directory - xdg-open (Errno::ENOENT)
9
+ from /gems/opener-0.1.0/lib/opener.rb:97:in `spawn'
10
+ from /gems/binman-3.3.1/lib/binman.rb:57:in `block in show'
11
+ from /gems/binman-3.3.1/lib/binman.rb:55:in `each'
12
+ from /gems/binman-3.3.1/lib/binman.rb:55:in `show'
13
+ from /gems/binman-3.3.1/lib/binman.rb:88:in `help'
14
+ from /gems/binman-3.3.1/bin/binman:106:in `<top (required)>'
15
+ from /bin/binman:23:in `load'
16
+ from /bin/binman:23:in `<main>'
17
+
18
+ * Fix an undefined local variable or method error:
19
+
20
+ binman: undefined local variable or method `library' for BinMan:Module
21
+
22
+ Other:
23
+
24
+ * Add screenshot to git repo since OmpLoader is dead.
25
+
1
26
  ## Version 3.3.1 (2013-06-01)
2
27
 
3
28
  Patch:
data/bin/binman CHANGED
@@ -1,7 +1,7 @@
1
1
  #!/usr/bin/env ruby
2
2
  =begin =======================================================================
3
3
 
4
- # BINMAN 1 2013-06-01 3.3.1
4
+ # BINMAN 1 2013-08-30 3.3.2
5
5
 
6
6
  ## NAME
7
7
 
@@ -1,7 +1,7 @@
1
1
  #!/usr/bin/env ruby
2
2
  =begin =======================================================================
3
3
 
4
- # BINMAN-RAKE 1 2013-06-01 3.3.1
4
+ # BINMAN-RAKE 1 2013-08-30 3.3.2
5
5
 
6
6
  ## NAME
7
7
 
@@ -54,7 +54,11 @@ module BinMan
54
54
  require 'opener'
55
55
  Dir["#{man_path}/**/#{man_page}.*.html"].each do |man_html|
56
56
  # close streams to avoid interference with man(1) reader below
57
- Opener.spawn man_html, 0 => :close, 1 => :close, 2 => :close
57
+ begin
58
+ Opener.spawn man_html, 0 => :close, 1 => :close, 2 => :close
59
+ rescue Errno::ENOENT
60
+ # designated opener program could not be found on this system
61
+ end
58
62
  end
59
63
 
60
64
  # try showing roff manual page in man(1) reader in foreground;
@@ -96,7 +100,7 @@ module BinMan
96
100
  gem 'md2man', '~> 2.0' if respond_to? :gem
97
101
  require 'md2man/version'
98
102
  rescue LoadError
99
- raise "Run `gem install md2man --version '~> 2.0'` for #{library.inspect}."
103
+ raise 'Run `gem install md2man --version "~> 2.0"` to use BinMan::conv().'
100
104
  end
101
105
 
102
106
  private
@@ -1,3 +1,3 @@
1
1
  module BinMan
2
- VERSION = "3.3.1"
2
+ VERSION = "3.3.2"
3
3
  end
@@ -2,7 +2,7 @@
2
2
  <html>
3
3
  <head>
4
4
  <meta charset="utf-8" />
5
- <meta name="generator" content="md2man 2.0.0 https://github.com/sunaku/md2man" />
5
+ <meta name="generator" content="md2man 2.0.1 https://github.com/sunaku/md2man" />
6
6
  <title>man/index</title>
7
7
  <link rel="stylesheet" href="style.css"/>
8
8
  <!--[if lt IE 9]><script src="http://html5shiv.googlecode.com/svn/trunk/html5.js"></script><![endif]-->
@@ -2,7 +2,7 @@
2
2
  <html>
3
3
  <head>
4
4
  <meta charset="utf-8" />
5
- <meta name="generator" content="md2man 2.0.0 https://github.com/sunaku/md2man" />
5
+ <meta name="generator" content="md2man 2.0.1 https://github.com/sunaku/md2man" />
6
6
  <title>README</title>
7
7
  <link rel="stylesheet" href="../style.css"/>
8
8
  <!--[if lt IE 9]><script src="http://html5shiv.googlecode.com/svn/trunk/html5.js"></script><![endif]-->
@@ -16,12 +16,12 @@ Perl, Python, Node.js, Tcl, AWK, UNIX shell, and more!</p></li>
16
16
  <li><p>Individual extraction, conversion, and display commands.</p></li>
17
17
  <li><p>Implemented in roughly 130 lines of pure Ruby code! :-)</p></li>
18
18
  </ul>
19
- <h3 id="Demonstration">Demonstration</h3><p><img src="http://ompldr.org/vYm5mcg" alt="Obligatory screen-shot of binman(1) in action!"></p><p>Here is <a href="https://raw.github.com/sunaku/binman/master/bin/binman">a complete example in Ruby</a> to help you get started.
19
+ <h3 id="Demonstration">Demonstration</h3><p><img src="https://raw.github.com/sunaku/binman/master/EXAMPLE.png" alt="Obligatory screen-shot of binman(1) in action!"></p><p>Here is <a href="https://raw.github.com/sunaku/binman/master/bin/binman">a complete example in Ruby</a> to help you get started.
20
20
  For examples in other scripting languages, see the &quot;Usage&quot; section below!</p><h2 id="Installation">Installation</h2><p>If you only want to view pre-built manual pages:</p>
21
21
  <pre><code>gem install binman
22
22
  </code></pre>
23
23
  <p>If you also want to build your own manual pages:</p>
24
- <pre><code>gem install md2man -v &#39;~&gt; 1.4&#39;
24
+ <pre><code>gem install md2man -v &#39;~&gt; 2.0&#39;
25
25
  </code></pre>
26
26
  <h3 id="Prerequisites">Prerequisites</h3>
27
27
  <ul>
@@ -16,7 +16,8 @@
16
16
 
17
17
  ### Demonstration
18
18
 
19
- ![Obligatory screen-shot of binman(1) in action!](http://ompldr.org/vYm5mcg)
19
+ ![Obligatory screen-shot of binman(1) in action!](
20
+ https://raw.github.com/sunaku/binman/master/EXAMPLE.png)
20
21
 
21
22
  Here is [a complete example in Ruby][binman-bin] to help you get started.
22
23
  For examples in other scripting languages, see the "Usage" section below!
@@ -29,7 +30,7 @@ If you only want to view pre-built manual pages:
29
30
 
30
31
  If you also want to build your own manual pages:
31
32
 
32
- gem install md2man -v '~> 1.4'
33
+ gem install md2man -v '~> 2.0'
33
34
 
34
35
  ### Prerequisites
35
36
 
@@ -2,12 +2,34 @@
2
2
  <html>
3
3
  <head>
4
4
  <meta charset="utf-8" />
5
- <meta name="generator" content="md2man 2.0.0 https://github.com/sunaku/md2man" />
5
+ <meta name="generator" content="md2man 2.0.1 https://github.com/sunaku/md2man" />
6
6
  <title>VERSION</title>
7
7
  <link rel="stylesheet" href="../style.css"/>
8
8
  <!--[if lt IE 9]><script src="http://html5shiv.googlecode.com/svn/trunk/html5.js"></script><![endif]-->
9
9
  </head>
10
- <body><div class="navbar"><div class="navbar-inner"><span class="brand"><a href="../index.html#man0">man0</a>/VERSION</span></div></div><div class="container-fluid"><h2 id="Version-3-3-1-2013-06-01">Version 3.3.1 (2013-06-01)</h2><p>Patch:</p>
10
+ <body><div class="navbar"><div class="navbar-inner"><span class="brand"><a href="../index.html#man0">man0</a>/VERSION</span></div></div><div class="container-fluid"><h2 id="Version-3-3-2-2013-08-30">Version 3.3.2 (2013-08-30)</h2><p>Patch:</p>
11
+ <ul>
12
+ <li><p>Rescue error when designated opener is not found:</p>
13
+ <pre><code>$ binman -h
14
+ /gems/opener-0.1.0/lib/opener.rb:97:in `spawn&#39;: No such file or directory - xdg-open (Errno::ENOENT)
15
+ from /gems/opener-0.1.0/lib/opener.rb:97:in `spawn&#39;
16
+ from /gems/binman-3.3.1/lib/binman.rb:57:in `block in show&#39;
17
+ from /gems/binman-3.3.1/lib/binman.rb:55:in `each&#39;
18
+ from /gems/binman-3.3.1/lib/binman.rb:55:in `show&#39;
19
+ from /gems/binman-3.3.1/lib/binman.rb:88:in `help&#39;
20
+ from /gems/binman-3.3.1/bin/binman:106:in `&lt;top (required)&gt;&#39;
21
+ from /bin/binman:23:in `load&#39;
22
+ from /bin/binman:23:in `&lt;main&gt;&#39;
23
+ </code></pre></li>
24
+ <li><p>Fix an undefined local variable or method error:</p>
25
+ <pre><code>binman: undefined local variable or method `library&#39; for BinMan:Module
26
+ </code></pre></li>
27
+ </ul>
28
+ <p>Other:</p>
29
+ <ul>
30
+ <li>Add screenshot to git repo since OmpLoader is dead.</li>
31
+ </ul>
32
+ <h2 id="Version-3-3-1-2013-06-01">Version 3.3.1 (2013-06-01)</h2><p>Patch:</p>
11
33
  <ul>
12
34
  <li>Ensure that md2man 2.0 is loaded before running any BinMan rake tasks.</li>
13
35
  </ul>
@@ -1,3 +1,28 @@
1
+ ## Version 3.3.2 (2013-08-30)
2
+
3
+ Patch:
4
+
5
+ * Rescue error when designated opener is not found:
6
+
7
+ $ binman -h
8
+ /gems/opener-0.1.0/lib/opener.rb:97:in `spawn': No such file or directory - xdg-open (Errno::ENOENT)
9
+ from /gems/opener-0.1.0/lib/opener.rb:97:in `spawn'
10
+ from /gems/binman-3.3.1/lib/binman.rb:57:in `block in show'
11
+ from /gems/binman-3.3.1/lib/binman.rb:55:in `each'
12
+ from /gems/binman-3.3.1/lib/binman.rb:55:in `show'
13
+ from /gems/binman-3.3.1/lib/binman.rb:88:in `help'
14
+ from /gems/binman-3.3.1/bin/binman:106:in `<top (required)>'
15
+ from /bin/binman:23:in `load'
16
+ from /bin/binman:23:in `<main>'
17
+
18
+ * Fix an undefined local variable or method error:
19
+
20
+ binman: undefined local variable or method `library' for BinMan:Module
21
+
22
+ Other:
23
+
24
+ * Add screenshot to git repo since OmpLoader is dead.
25
+
1
26
  ## Version 3.3.1 (2013-06-01)
2
27
 
3
28
  Patch:
@@ -1,4 +1,4 @@
1
- .TH BINMAN\-RAKE 1 2013\-06\-01 3.3.1
1
+ .TH BINMAN\-RAKE 1 2013\-08\-30 3.3.2
2
2
  .SH NAME
3
3
  .PP
4
4
  binman\-rake \- run
@@ -2,12 +2,12 @@
2
2
  <html>
3
3
  <head>
4
4
  <meta charset="utf-8" />
5
- <meta name="generator" content="md2man 2.0.0 https://github.com/sunaku/md2man" />
5
+ <meta name="generator" content="md2man 2.0.1 https://github.com/sunaku/md2man" />
6
6
  <title>binman-rake(1) &mdash; run rake(1) tasks from binman(1)</title>
7
7
  <link rel="stylesheet" href="../style.css"/>
8
8
  <!--[if lt IE 9]><script src="http://html5shiv.googlecode.com/svn/trunk/html5.js"></script><![endif]-->
9
9
  </head>
10
- <body><div class="navbar"><div class="navbar-inner"><span class="brand"><a href="../index.html#man1">man1</a>/binman-rake.1</span></div></div><div class="container-fluid"><h1 id="BINMAN-RAKE-1-2013-06-01-3-3-1">BINMAN-RAKE 1 2013-06-01 3.3.1</h1><h2 id="NAME">NAME</h2><p>binman-rake - run <a class="md2man-xref">rake(1)</a> tasks from <a class="md2man-xref" href="../man1/binman.1.html">binman(1)</a></p><h2 id="SYNOPSIS">SYNOPSIS</h2><p><code>binman-rake</code> [<em>OPTION</em>]... [<em>TASK</em>]...</p><h2 id="DESCRIPTION">DESCRIPTION</h2><p>This program lets you run <a class="md2man-xref">rake(1)</a> tasks provided by <a class="md2man-xref" href="../man1/binman.1.html">binman(1)</a> without having
10
+ <body><div class="navbar"><div class="navbar-inner"><span class="brand"><a href="../index.html#man1">man1</a>/binman-rake.1</span></div></div><div class="container-fluid"><h1 id="BINMAN-RAKE-1-2013-08-30-3-3-2">BINMAN-RAKE 1 2013-08-30 3.3.2</h1><h2 id="NAME">NAME</h2><p>binman-rake - run <a class="md2man-xref">rake(1)</a> tasks from <a class="md2man-xref" href="../man1/binman.1.html">binman(1)</a></p><h2 id="SYNOPSIS">SYNOPSIS</h2><p><code>binman-rake</code> [<em>OPTION</em>]... [<em>TASK</em>]...</p><h2 id="DESCRIPTION">DESCRIPTION</h2><p>This program lets you run <a class="md2man-xref">rake(1)</a> tasks provided by <a class="md2man-xref" href="../man1/binman.1.html">binman(1)</a> without having
11
11
  to create a special file named <code>Rakefile</code> that contains the following snippet:</p>
12
12
  <pre><code>require &#39;binman/rakefile&#39;
13
13
  </code></pre>
@@ -1,4 +1,4 @@
1
- .TH BINMAN 1 2013\-06\-01 3.3.1
1
+ .TH BINMAN 1 2013\-08\-30 3.3.2
2
2
  .SH NAME
3
3
  .PP
4
4
  binman \- man pages for bin scripts
@@ -2,12 +2,12 @@
2
2
  <html>
3
3
  <head>
4
4
  <meta charset="utf-8" />
5
- <meta name="generator" content="md2man 2.0.0 https://github.com/sunaku/md2man" />
5
+ <meta name="generator" content="md2man 2.0.1 https://github.com/sunaku/md2man" />
6
6
  <title>binman(1) &mdash; man pages for bin scripts</title>
7
7
  <link rel="stylesheet" href="../style.css"/>
8
8
  <!--[if lt IE 9]><script src="http://html5shiv.googlecode.com/svn/trunk/html5.js"></script><![endif]-->
9
9
  </head>
10
- <body><div class="navbar"><div class="navbar-inner"><span class="brand"><a href="../index.html#man1">man1</a>/binman.1</span></div></div><div class="container-fluid"><h1 id="BINMAN-1-2013-06-01-3-3-1">BINMAN 1 2013-06-01 3.3.1</h1><h2 id="NAME">NAME</h2><p>binman - man pages for bin scripts</p><h2 id="SYNOPSIS">SYNOPSIS</h2><p><code>binman</code> [<em>OPTION</em>]... <em>COMMAND</em></p><h2 id="DESCRIPTION">DESCRIPTION</h2><p><a href="https://github.com/sunaku/binman">binman</a> produces UNIX manual pages for your executable scripts. It can
10
+ <body><div class="navbar"><div class="navbar-inner"><span class="brand"><a href="../index.html#man1">man1</a>/binman.1</span></div></div><div class="container-fluid"><h1 id="BINMAN-1-2013-08-30-3-3-2">BINMAN 1 2013-08-30 3.3.2</h1><h2 id="NAME">NAME</h2><p>binman - man pages for bin scripts</p><h2 id="SYNOPSIS">SYNOPSIS</h2><p><code>binman</code> [<em>OPTION</em>]... <em>COMMAND</em></p><h2 id="DESCRIPTION">DESCRIPTION</h2><p><a href="https://github.com/sunaku/binman">binman</a> produces UNIX manual pages for your executable scripts. It can
11
11
  extract their leading comment headers (defined below), convert them from
12
12
  <a class="md2man-xref">markdown(7)</a> into <a class="md2man-xref">roff(7)</a> using <a href="https://github.com/sunaku/md2man">md2man</a>, and display them using <a class="md2man-xref">man(1)</a>.</p><h3 id="Leading-comment-headers">Leading comment headers</h3><p>A leading comment header can be one of the following two things:</p>
13
13
  <ol>
@@ -1,4 +1,4 @@
1
- @import url('http://twitter.github.com/bootstrap/assets/css/bootstrap.css');
1
+ @import url('http://netdna.bootstrapcdn.com/twitter-bootstrap/2.3.2/css/bootstrap-combined.no-icons.min.css');
2
2
 
3
3
  @media all {
4
4
  h1,
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: binman
3
3
  version: !ruby/object:Gem::Version
4
- version: 3.3.1
4
+ version: 3.3.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - Suraj N. Kurapati
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2013-06-02 00:00:00.000000000 Z
11
+ date: 2013-08-31 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: md2man
@@ -74,6 +74,7 @@ extensions: []
74
74
  extra_rdoc_files: []
75
75
  files:
76
76
  - .gitignore
77
+ - EXAMPLE.png
77
78
  - Gemfile
78
79
  - LICENSE
79
80
  - README.markdown
@@ -114,7 +115,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
114
115
  version: '0'
115
116
  requirements: []
116
117
  rubyforge_project:
117
- rubygems_version: 2.0.0
118
+ rubygems_version: 2.0.3
118
119
  signing_key:
119
120
  specification_version: 4
120
121
  summary: man pages for bin scripts