binman 3.2.0 → 3.2.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
data/HISTORY.markdown CHANGED
@@ -1,3 +1,17 @@
1
+ ## Version 3.2.1 (2013-05-04)
2
+
3
+ Patch:
4
+
5
+ * Ensure that the `binman:web` Rake task works the first time through.
6
+
7
+ * Fix "uninitialized constant Md2Man::VERSION" errors in `binman/rakefile`.
8
+
9
+ * Hook into the `build` Rake task only if Bundler's Rake tasks are loaded:
10
+
11
+ https://github.com/sunaku/md2man/pull/7#issuecomment-9467621
12
+
13
+ Thanks to Postmodern for raising this issue.
14
+
1
15
  ## Version 3.2.0 (2012-10-14)
2
16
 
3
17
  Minor:
data/bin/binman CHANGED
@@ -1,7 +1,7 @@
1
1
  #!/usr/bin/env ruby
2
2
  =begin =======================================================================
3
3
 
4
- # BINMAN 1 2012-10-14 3.2.0
4
+ # BINMAN 1 2013-05-04 3.2.1
5
5
 
6
6
  ## NAME
7
7
 
@@ -1,7 +1,9 @@
1
1
  require 'rake'
2
2
 
3
3
  # build man pages before building ruby gem using bundler
4
- %w[build install release].each {|t| task t => :binman }
4
+ if defined? Bundler::GemHelper
5
+ %w[build install release].each {|t| task t => :binman }
6
+ end
5
7
 
6
8
  #-----------------------------------------------------------------------------
7
9
  desc 'Build manual pages for bin/ scripts.'
@@ -24,7 +26,8 @@ end
24
26
  desc 'Build UNIX manual pages for bin/ scripts.'
25
27
  task 'binman:man' => mkds do
26
28
  #-----------------------------------------------------------------------------
27
- require 'md2man/rakefile'
29
+ require 'md2man'
30
+ load 'md2man/rakefile.rb'
28
31
  Rake::Task['md2man:man'].invoke
29
32
  end
30
33
 
@@ -32,6 +35,7 @@ end
32
35
  desc 'Build HTML manual pages for bin/ scripts.'
33
36
  task 'binman:web' => mkds do
34
37
  #-----------------------------------------------------------------------------
35
- require 'md2man/rakefile'
38
+ require 'md2man'
39
+ load 'md2man/rakefile.rb'
36
40
  Rake::Task['md2man:web'].invoke
37
41
  end
@@ -1,3 +1,3 @@
1
1
  module BinMan
2
- VERSION = "3.2.0"
2
+ VERSION = "3.2.1"
3
3
  end
data/man/man1/binman.1 CHANGED
@@ -1,4 +1,4 @@
1
- .TH BINMAN 1 2012\-10\-14 3.2.0
1
+ .TH BINMAN 1 2013\-05\-04 3.2.1
2
2
  .SH NAME
3
3
  .PP
4
4
  binman \- man pages for bin scripts
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: binman
3
3
  version: !ruby/object:Gem::Version
4
- version: 3.2.0
4
+ version: 3.2.1
5
5
  prerelease:
6
6
  platform: ruby
7
7
  authors:
@@ -9,7 +9,7 @@ authors:
9
9
  autorequire:
10
10
  bindir: bin
11
11
  cert_chain: []
12
- date: 2012-10-14 00:00:00.000000000 Z
12
+ date: 2013-05-05 00:00:00.000000000 Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: md2man
@@ -83,7 +83,7 @@ required_ruby_version: !ruby/object:Gem::Requirement
83
83
  version: '0'
84
84
  segments:
85
85
  - 0
86
- hash: -2476896195516585469
86
+ hash: 4129154958439912478
87
87
  required_rubygems_version: !ruby/object:Gem::Requirement
88
88
  none: false
89
89
  requirements:
@@ -92,10 +92,10 @@ required_rubygems_version: !ruby/object:Gem::Requirement
92
92
  version: '0'
93
93
  segments:
94
94
  - 0
95
- hash: -2476896195516585469
95
+ hash: 4129154958439912478
96
96
  requirements: []
97
97
  rubyforge_project:
98
- rubygems_version: 1.8.23
98
+ rubygems_version: 1.8.25
99
99
  signing_key:
100
100
  specification_version: 3
101
101
  summary: man pages for bin scripts