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 +4 -4
- data/EXAMPLE.png +0 -0
- data/README.markdown +3 -2
- data/VERSION.markdown +25 -0
- data/bin/binman +1 -1
- data/bin/binman-rake +1 -1
- data/lib/binman.rb +6 -2
- data/lib/binman/version.rb +1 -1
- data/man/index.html +1 -1
- data/man/man0/README.html +3 -3
- data/man/man0/README.markdown +3 -2
- data/man/man0/VERSION.html +24 -2
- data/man/man0/VERSION.markdown +25 -0
- data/man/man1/binman-rake.1 +1 -1
- data/man/man1/binman-rake.1.html +2 -2
- data/man/man1/binman.1 +1 -1
- data/man/man1/binman.1.html +2 -2
- data/man/style.css +1 -1
- metadata +4 -3
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 75fcddccca1ce504dbcf6b7547527313514b5682
|
4
|
+
data.tar.gz: 36b5252d0c6d6692ab40c3048cf5612dbf8c2a2c
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: a3cbb532462421636ccbd9b7699288c923625dea5dd1a29f8ef768f6cbff76a91abcb051b21e70e448ecf57846d64da4719a6dc7729364d292dcb2ef6bb018cf
|
7
|
+
data.tar.gz: 23371bae5d3d33c2c6535e85aba8acc9c29b5ba1e301396a5e5fd52e996f9b99c5f0033050a2ca657809f4c66358e32b4e50d81a9b85fc4067e35dd7bbf40184
|
data/EXAMPLE.png
ADDED
Binary file
|
data/README.markdown
CHANGED
@@ -16,7 +16,8 @@
|
|
16
16
|
|
17
17
|
### Demonstration
|
18
18
|
|
19
|
-
![Obligatory screen-shot of binman(1) in action!](
|
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 '~>
|
33
|
+
gem install md2man -v '~> 2.0'
|
33
34
|
|
34
35
|
### Prerequisites
|
35
36
|
|
data/VERSION.markdown
CHANGED
@@ -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
data/bin/binman-rake
CHANGED
data/lib/binman.rb
CHANGED
@@ -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
|
-
|
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
|
103
|
+
raise 'Run `gem install md2man --version "~> 2.0"` to use BinMan::conv().'
|
100
104
|
end
|
101
105
|
|
102
106
|
private
|
data/lib/binman/version.rb
CHANGED
data/man/index.html
CHANGED
@@ -2,7 +2,7 @@
|
|
2
2
|
<html>
|
3
3
|
<head>
|
4
4
|
<meta charset="utf-8" />
|
5
|
-
<meta name="generator" content="md2man 2.0.
|
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]-->
|
data/man/man0/README.html
CHANGED
@@ -2,7 +2,7 @@
|
|
2
2
|
<html>
|
3
3
|
<head>
|
4
4
|
<meta charset="utf-8" />
|
5
|
-
<meta name="generator" content="md2man 2.0.
|
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="
|
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 "Usage" 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 '~>
|
24
|
+
<pre><code>gem install md2man -v '~> 2.0'
|
25
25
|
</code></pre>
|
26
26
|
<h3 id="Prerequisites">Prerequisites</h3>
|
27
27
|
<ul>
|
data/man/man0/README.markdown
CHANGED
@@ -16,7 +16,8 @@
|
|
16
16
|
|
17
17
|
### Demonstration
|
18
18
|
|
19
|
-
![Obligatory screen-shot of binman(1) in action!](
|
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 '~>
|
33
|
+
gem install md2man -v '~> 2.0'
|
33
34
|
|
34
35
|
### Prerequisites
|
35
36
|
|
data/man/man0/VERSION.html
CHANGED
@@ -2,12 +2,34 @@
|
|
2
2
|
<html>
|
3
3
|
<head>
|
4
4
|
<meta charset="utf-8" />
|
5
|
-
<meta name="generator" content="md2man 2.0.
|
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-
|
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': No such file or directory - xdg-open (Errno::ENOENT)
|
15
|
+
from /gems/opener-0.1.0/lib/opener.rb:97:in `spawn'
|
16
|
+
from /gems/binman-3.3.1/lib/binman.rb:57:in `block in show'
|
17
|
+
from /gems/binman-3.3.1/lib/binman.rb:55:in `each'
|
18
|
+
from /gems/binman-3.3.1/lib/binman.rb:55:in `show'
|
19
|
+
from /gems/binman-3.3.1/lib/binman.rb:88:in `help'
|
20
|
+
from /gems/binman-3.3.1/bin/binman:106:in `<top (required)>'
|
21
|
+
from /bin/binman:23:in `load'
|
22
|
+
from /bin/binman:23:in `<main>'
|
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' 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>
|
data/man/man0/VERSION.markdown
CHANGED
@@ -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/man/man1/binman-rake.1
CHANGED
data/man/man1/binman-rake.1.html
CHANGED
@@ -2,12 +2,12 @@
|
|
2
2
|
<html>
|
3
3
|
<head>
|
4
4
|
<meta charset="utf-8" />
|
5
|
-
<meta name="generator" content="md2man 2.0.
|
5
|
+
<meta name="generator" content="md2man 2.0.1 https://github.com/sunaku/md2man" />
|
6
6
|
<title>binman-rake(1) — 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-
|
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 'binman/rakefile'
|
13
13
|
</code></pre>
|
data/man/man1/binman.1
CHANGED
data/man/man1/binman.1.html
CHANGED
@@ -2,12 +2,12 @@
|
|
2
2
|
<html>
|
3
3
|
<head>
|
4
4
|
<meta charset="utf-8" />
|
5
|
-
<meta name="generator" content="md2man 2.0.
|
5
|
+
<meta name="generator" content="md2man 2.0.1 https://github.com/sunaku/md2man" />
|
6
6
|
<title>binman(1) — 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-
|
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>
|
data/man/style.css
CHANGED
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.
|
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-
|
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.
|
118
|
+
rubygems_version: 2.0.3
|
118
119
|
signing_key:
|
119
120
|
specification_version: 4
|
120
121
|
summary: man pages for bin scripts
|