forem-textile_formatter 0.0.3 → 0.0.4
Sign up to get free protection for your applications and to get access to all the features.
@@ -1,10 +1,4 @@
|
|
1
1
|
require "forem-textile_formatter/version"
|
2
|
-
require '
|
2
|
+
require 'forem/formatters/redcloth'
|
3
3
|
|
4
|
-
|
5
|
-
module FormattingHelper
|
6
|
-
def as_formatted_html(text)
|
7
|
-
::RedCloth.new(text).to_html.html_safe
|
8
|
-
end
|
9
|
-
end
|
10
|
-
end
|
4
|
+
Forem.formatter = Forem::Formatters::RedCloth
|
metadata
CHANGED
@@ -1,13 +1,13 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: forem-textile_formatter
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
hash:
|
4
|
+
hash: 23
|
5
5
|
prerelease:
|
6
6
|
segments:
|
7
7
|
- 0
|
8
8
|
- 0
|
9
|
-
-
|
10
|
-
version: 0.0.
|
9
|
+
- 4
|
10
|
+
version: 0.0.4
|
11
11
|
platform: ruby
|
12
12
|
authors:
|
13
13
|
- Nicholas Rutherford
|
@@ -15,7 +15,7 @@ autorequire:
|
|
15
15
|
bindir: bin
|
16
16
|
cert_chain: []
|
17
17
|
|
18
|
-
date: 2011-10-
|
18
|
+
date: 2011-10-27 00:00:00 Z
|
19
19
|
dependencies:
|
20
20
|
- !ruby/object:Gem::Dependency
|
21
21
|
name: rspec
|
@@ -76,6 +76,7 @@ files:
|
|
76
76
|
- forem-textile_formatter.gemspec
|
77
77
|
- lib/forem-textile_formatter.rb
|
78
78
|
- lib/forem-textile_formatter/version.rb
|
79
|
+
- lib/forem/formatters/redcloth.rb
|
79
80
|
homepage: https://github.com/nruth/forem-textile_formatter
|
80
81
|
licenses: []
|
81
82
|
|