radiant-kramdown_filter-extension 1.0.5 → 1.0.6
Sign up to get free protection for your applications and to get access to all the features.
- data/lib/kramdown_filter.rb +0 -12
- metadata +21 -10
data/lib/kramdown_filter.rb
CHANGED
@@ -1,15 +1,3 @@
|
|
1
|
-
module Kramdown
|
2
|
-
module Converter
|
3
|
-
class Html
|
4
|
-
ESCAPE_MAP = {
|
5
|
-
'<' => '<',
|
6
|
-
'>' => '>',
|
7
|
-
'&' => '&'
|
8
|
-
}
|
9
|
-
end
|
10
|
-
end
|
11
|
-
end
|
12
|
-
|
13
1
|
class KramdownFilter < TextFilter
|
14
2
|
description_file File.dirname(__FILE__) + "/../markdown.html"
|
15
3
|
def filter(text)
|
metadata
CHANGED
@@ -1,7 +1,12 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: radiant-kramdown_filter-extension
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
|
4
|
+
prerelease: false
|
5
|
+
segments:
|
6
|
+
- 1
|
7
|
+
- 0
|
8
|
+
- 6
|
9
|
+
version: 1.0.6
|
5
10
|
platform: ruby
|
6
11
|
authors:
|
7
12
|
- johnmuhl
|
@@ -9,19 +14,23 @@ autorequire:
|
|
9
14
|
bindir: bin
|
10
15
|
cert_chain: []
|
11
16
|
|
12
|
-
date: 2010-
|
17
|
+
date: 2010-03-12 00:00:00 -06:00
|
13
18
|
default_executable:
|
14
19
|
dependencies:
|
15
20
|
- !ruby/object:Gem::Dependency
|
16
21
|
name: kramdown
|
17
|
-
|
18
|
-
|
19
|
-
version_requirements: !ruby/object:Gem::Requirement
|
22
|
+
prerelease: false
|
23
|
+
requirement: &id001 !ruby/object:Gem::Requirement
|
20
24
|
requirements:
|
21
25
|
- - ">="
|
22
26
|
- !ruby/object:Gem::Version
|
23
|
-
|
24
|
-
|
27
|
+
segments:
|
28
|
+
- 0
|
29
|
+
- 5
|
30
|
+
- 0
|
31
|
+
version: 0.5.0
|
32
|
+
type: :runtime
|
33
|
+
version_requirements: *id001
|
25
34
|
description: Radiant CMS extension that wraps the pure-Ruby kramdown Markdown converter.
|
26
35
|
email: git@johnmuhl.com
|
27
36
|
executables: []
|
@@ -50,18 +59,20 @@ required_ruby_version: !ruby/object:Gem::Requirement
|
|
50
59
|
requirements:
|
51
60
|
- - ">="
|
52
61
|
- !ruby/object:Gem::Version
|
62
|
+
segments:
|
63
|
+
- 0
|
53
64
|
version: "0"
|
54
|
-
version:
|
55
65
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
56
66
|
requirements:
|
57
67
|
- - ">="
|
58
68
|
- !ruby/object:Gem::Version
|
69
|
+
segments:
|
70
|
+
- 0
|
59
71
|
version: "0"
|
60
|
-
version:
|
61
72
|
requirements: []
|
62
73
|
|
63
74
|
rubyforge_project:
|
64
|
-
rubygems_version: 1.3.
|
75
|
+
rubygems_version: 1.3.6
|
65
76
|
signing_key:
|
66
77
|
specification_version: 3
|
67
78
|
summary: kramdown filter for Radiant CMS
|