github-markup 0.1.2 → 0.1.3

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.md CHANGED
@@ -1,3 +1,7 @@
1
+ ## 0.1.3 (2009-11-02)
2
+
3
+ * Strip the INDEX comments from POD
4
+
1
5
  ## 0.1.2 (2009-11-02)
2
6
 
3
7
  * Renamed to `github-markup`
@@ -1,5 +1,5 @@
1
1
  module GitHub
2
2
  module Markup
3
- Version = '0.1.2'
3
+ Version = '0.1.3'
4
4
  end
5
5
  end
@@ -23,6 +23,6 @@ command("/usr/bin/env pod2html", /pod/) do |rendered|
23
23
  if rendered =~ /<body.+?>\s*(.+)\s*<\/body>/mi
24
24
  `rm pod2htmd.tmp` if File.exists?('pod2htmd.tmp') rescue nil
25
25
  `rm pod2htmi.tmp` if File.exists?('pod2htmi.tmp') rescue nil
26
- $1
26
+ $1.sub('<!-- INDEX BEGIN -->', '').sub('<!-- INDEX END -->', '')
27
27
  end
28
28
  end
@@ -1,4 +1,4 @@
1
- <!-- INDEX BEGIN -->
1
+
2
2
  <div name="index">
3
3
  <p><a name="__index__"></a></p>
4
4
 
@@ -27,7 +27,7 @@
27
27
 
28
28
  <hr name="index" />
29
29
  </div>
30
- <!-- INDEX END -->
30
+
31
31
 
32
32
  <p>
33
33
  </p>
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: github-markup
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.2
4
+ version: 0.1.3
5
5
  platform: ruby
6
6
  authors:
7
7
  - Chris Wanstrath