rbml 0.0.1 → 0.0.2
Sign up to get free protection for your applications and to get access to all the features.
- data/History.txt +1 -0
- data/Manifest.txt +1 -1
- data/bin/{rbmlout → rbml} +0 -0
- data/languages/xhtml.rb +2 -3
- data/lib/rbml.rb +1 -1
- metadata +4 -4
data/History.txt
CHANGED
data/Manifest.txt
CHANGED
data/bin/{rbmlout → rbml}
RENAMED
File without changes
|
data/languages/xhtml.rb
CHANGED
@@ -1,4 +1,5 @@
|
|
1
1
|
require 'languages/xml'
|
2
|
+
require 'redcloth'
|
2
3
|
|
3
4
|
module Rbml
|
4
5
|
module Xhtml
|
@@ -33,9 +34,7 @@ module Rbml
|
|
33
34
|
find_partial(str)
|
34
35
|
end
|
35
36
|
|
36
|
-
def textilize(str)
|
37
|
-
require 'rubygems'
|
38
|
-
require 'redcloth'
|
37
|
+
def textilize(str)
|
39
38
|
RedCloth.new(str).to_html
|
40
39
|
end
|
41
40
|
|
data/lib/rbml.rb
CHANGED
metadata
CHANGED
@@ -3,8 +3,8 @@ rubygems_version: 0.8.11
|
|
3
3
|
specification_version: 1
|
4
4
|
name: rbml
|
5
5
|
version: !ruby/object:Gem::Version
|
6
|
-
version: 0.0.
|
7
|
-
date: 2007-01-
|
6
|
+
version: 0.0.2
|
7
|
+
date: 2007-01-29 00:00:00 -05:00
|
8
8
|
summary: Rbml is a dsl framework for writing other languages in ruby
|
9
9
|
require_paths:
|
10
10
|
- lib
|
@@ -32,7 +32,7 @@ files:
|
|
32
32
|
- Manifest.txt
|
33
33
|
- README.txt
|
34
34
|
- Rakefile
|
35
|
-
- bin/
|
35
|
+
- bin/rbml
|
36
36
|
- languages/base.rb
|
37
37
|
- languages/xhtml.rb
|
38
38
|
- languages/xml.rb
|
@@ -56,7 +56,7 @@ rdoc_options: []
|
|
56
56
|
extra_rdoc_files: []
|
57
57
|
|
58
58
|
executables:
|
59
|
-
-
|
59
|
+
- rbml
|
60
60
|
extensions: []
|
61
61
|
|
62
62
|
requirements: []
|