radiant-kramdown_filter-extension 1.0.10.1 → 1.0.11
Sign up to get free protection for your applications and to get access to all the features.
- data/kramdown_filter_extension.rb +3 -3
- data/lib/kramdown_filter.rb +0 -2
- metadata +9 -6
@@ -1,10 +1,10 @@
|
|
1
|
-
if File.exist? "#{File.dirname(__FILE__)}/vendor/gems/kramdown-0.
|
2
|
-
$LOAD_PATH.unshift "#{File.dirname(__FILE__)}/vendor/gems/kramdown-0.
|
1
|
+
if File.exist? "#{File.dirname(__FILE__)}/vendor/gems/kramdown-0.11.0"
|
2
|
+
$LOAD_PATH.unshift "#{File.dirname(__FILE__)}/vendor/gems/kramdown-0.11.0/lib"
|
3
3
|
end
|
4
4
|
require 'kramdown'
|
5
5
|
|
6
6
|
class KramdownFilterExtension < Radiant::Extension
|
7
|
-
version "1.0.
|
7
|
+
version "1.0.11"
|
8
8
|
description "kramdown is a fast, pure Ruby Markdown converter."
|
9
9
|
url "http://rubygems.org/gems/radiant-kramdown_filter-extension"
|
10
10
|
|
data/lib/kramdown_filter.rb
CHANGED
@@ -19,7 +19,6 @@ class KramdownFilter < TextFilter
|
|
19
19
|
:coderay_tab_width => { :default => 0, :type => :integer },
|
20
20
|
:coderay_bold_every => { :default => 10, :type => :integer },
|
21
21
|
:coderay_css => { :default => :style, :type => :symbol },
|
22
|
-
:numeric_entities => { :default => false, :type => :boolean },
|
23
22
|
:entity_output => { :default => :as_char, :type => :symbol },
|
24
23
|
:toc_depth => { :default => 0, :type => :integer }
|
25
24
|
}
|
@@ -58,7 +57,6 @@ class KramdownFilter < TextFilter
|
|
58
57
|
:coderay_tab_width => o[:coderay_tab_width][:default],
|
59
58
|
:coderay_bold_every => o[:coderay_bold_every][:default],
|
60
59
|
:coderay_css => o[:coderay_css][:default],
|
61
|
-
:numeric_entities => o[:numeric_entities][:default],
|
62
60
|
:entity_output => o[:entity_output][:default],
|
63
61
|
:toc_depth => o[:toc_depth][:default]
|
64
62
|
}).to_html
|
metadata
CHANGED
@@ -1,13 +1,13 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: radiant-kramdown_filter-extension
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
+
hash: 1
|
4
5
|
prerelease: false
|
5
6
|
segments:
|
6
7
|
- 1
|
7
8
|
- 0
|
8
|
-
-
|
9
|
-
|
10
|
-
version: 1.0.10.1
|
9
|
+
- 11
|
10
|
+
version: 1.0.11
|
11
11
|
platform: ruby
|
12
12
|
authors:
|
13
13
|
- johnmuhl
|
@@ -15,7 +15,7 @@ autorequire:
|
|
15
15
|
bindir: bin
|
16
16
|
cert_chain: []
|
17
17
|
|
18
|
-
date: 2010-
|
18
|
+
date: 2010-10-04 00:00:00 -05:00
|
19
19
|
default_executable:
|
20
20
|
dependencies:
|
21
21
|
- !ruby/object:Gem::Dependency
|
@@ -26,11 +26,12 @@ dependencies:
|
|
26
26
|
requirements:
|
27
27
|
- - "="
|
28
28
|
- !ruby/object:Gem::Version
|
29
|
+
hash: 51
|
29
30
|
segments:
|
30
31
|
- 0
|
31
|
-
-
|
32
|
+
- 11
|
32
33
|
- 0
|
33
|
-
version: 0.
|
34
|
+
version: 0.11.0
|
34
35
|
type: :runtime
|
35
36
|
version_requirements: *id001
|
36
37
|
description: |-
|
@@ -65,6 +66,7 @@ required_ruby_version: !ruby/object:Gem::Requirement
|
|
65
66
|
requirements:
|
66
67
|
- - ">="
|
67
68
|
- !ruby/object:Gem::Version
|
69
|
+
hash: 3
|
68
70
|
segments:
|
69
71
|
- 0
|
70
72
|
version: "0"
|
@@ -73,6 +75,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
73
75
|
requirements:
|
74
76
|
- - ">="
|
75
77
|
- !ruby/object:Gem::Version
|
78
|
+
hash: 3
|
76
79
|
segments:
|
77
80
|
- 0
|
78
81
|
version: "0"
|