hubdown 0.0.11 → 0.0.12
Sign up to get free protection for your applications and to get access to all the features.
- data/CHANGELOG +10 -2
- data/README.md +2 -0
- data/bin/hubdown +1 -1
- data/lib/hubdown/version.rb +1 -1
- metadata +3 -3
data/CHANGELOG
CHANGED
@@ -1,5 +1,8 @@
|
|
1
1
|
# hubdown changelog
|
2
2
|
|
3
|
+
## V 0.0.12
|
4
|
+
No longer hard_wraps a line break
|
5
|
+
|
3
6
|
## V 0.0.11
|
4
7
|
Support for multibyte chars in the template (Thx to @kitak!)
|
5
8
|
Fix bug where needed cached files could potentially be deleted
|
@@ -7,13 +10,18 @@ Fix bug where needed cached files could potentially be deleted
|
|
7
10
|
## V 0.0.10
|
8
11
|
|
9
12
|
### Add syntax highlighting
|
10
|
-
Switch away from using the `github-markdown` gem. Instead it now uses
|
13
|
+
Switch away from using the `github-markdown` gem. Instead it now uses
|
14
|
+
[`redcarpet`](https://github.com/vmg/redcarpet) and
|
15
|
+
[`pygments.rb`](https://github.com/tmm1/pygments.rb). This adds fenced code
|
16
|
+
syntax highlighting for most langauges that github currently supports (maybe
|
17
|
+
all of them).
|
11
18
|
|
12
19
|
|
13
20
|
## V 0.0.9
|
14
21
|
|
15
22
|
### Stylesheet caching
|
16
|
-
Now caches the scraped css that it pulls from github. This allows you to
|
23
|
+
Now caches the scraped css that it pulls from github. This allows you to
|
24
|
+
continue working with hubdown even when offline.
|
17
25
|
|
18
26
|
### Removes erroneous `pry` dependency
|
19
27
|
|
data/README.md
CHANGED
@@ -1,5 +1,7 @@
|
|
1
1
|
# Hubdown
|
2
2
|
|
3
|
+
[![Gem Version](https://badge.fury.io/rb/hubdown.png)](http://badge.fury.io/rb/hubdown)
|
4
|
+
|
3
5
|
Hubdown is a ruby CLI for use as a replacement for `markdown`. It supports [GitHub flavored markdown](http://github.github.com/github-flavored-markdown/) syntax, and can style it's output to closely approximate that of GitHub as seen in project README.md files.
|
4
6
|
|
5
7
|
## Installation
|
data/bin/hubdown
CHANGED
@@ -52,7 +52,7 @@ def create_mdown
|
|
52
52
|
:space_after_headers => true,
|
53
53
|
:superscript => true
|
54
54
|
}
|
55
|
-
renderer = PygmentsRenderer.new({ :hard_wrap =>
|
55
|
+
renderer = PygmentsRenderer.new({ :hard_wrap => false })
|
56
56
|
markdown = Redcarpet::Markdown.new(renderer, md_options)
|
57
57
|
contents = ""
|
58
58
|
File.open( @file_name, 'r') {|f| contents = f.read() }
|
data/lib/hubdown/version.rb
CHANGED
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: hubdown
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.0.
|
4
|
+
version: 0.0.12
|
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: 2013-
|
12
|
+
date: 2013-10-22 00:00:00.000000000 Z
|
13
13
|
dependencies:
|
14
14
|
- !ruby/object:Gem::Dependency
|
15
15
|
name: mixlib-cli
|
@@ -157,7 +157,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
157
157
|
version: '0'
|
158
158
|
requirements: []
|
159
159
|
rubyforge_project:
|
160
|
-
rubygems_version: 1.8.
|
160
|
+
rubygems_version: 1.8.25
|
161
161
|
signing_key:
|
162
162
|
specification_version: 3
|
163
163
|
summary: CLI for GitHub Flavored markdown to html conversion
|