rubb 0.9.0 → 0.9.1
Sign up to get free protection for your applications and to get access to all the features.
- data/README.rdoc +6 -2
- data/VERSION +1 -1
- data/rubb.gemspec +59 -0
- metadata +3 -2
data/README.rdoc
CHANGED
@@ -4,11 +4,15 @@ BBCode Parser for Ruby.
|
|
4
4
|
|
5
5
|
RuBB parses BBCode by generating a parse tree, so it is able to handle nested BBCode tags properly.
|
6
6
|
|
7
|
+
== Install
|
8
|
+
|
9
|
+
gem install rubb
|
10
|
+
|
7
11
|
== Usage
|
8
12
|
|
9
13
|
RuBB.to_html('[b]hello[/b]')
|
10
14
|
|
11
|
-
'[b]hello[/b]'.
|
15
|
+
'[b]hello[/b]'.bb_to_html
|
12
16
|
|
13
17
|
== BBCode Tags
|
14
18
|
|
@@ -34,4 +38,4 @@ RuBB supports the following BBCode tags:
|
|
34
38
|
|
35
39
|
== Copyright
|
36
40
|
|
37
|
-
Copyright (c) 2010 Peter Jihoon Kim. See LICENSE for details.
|
41
|
+
Copyright (c) 2010 Peter Jihoon Kim. See LICENSE for details.
|
data/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
0.9.
|
1
|
+
0.9.1
|
data/rubb.gemspec
ADDED
@@ -0,0 +1,59 @@
|
|
1
|
+
# Generated by jeweler
|
2
|
+
# DO NOT EDIT THIS FILE DIRECTLY
|
3
|
+
# Instead, edit Jeweler::Tasks in Rakefile, and run the gemspec command
|
4
|
+
# -*- encoding: utf-8 -*-
|
5
|
+
|
6
|
+
Gem::Specification.new do |s|
|
7
|
+
s.name = %q{rubb}
|
8
|
+
s.version = "0.9.1"
|
9
|
+
|
10
|
+
s.required_rubygems_version = Gem::Requirement.new(">= 0") if s.respond_to? :required_rubygems_version=
|
11
|
+
s.authors = ["Peter Jihoon Kim"]
|
12
|
+
s.date = %q{2010-07-12}
|
13
|
+
s.description = %q{BBCode Parser for Ruby that supports nested BBCode tags.}
|
14
|
+
s.email = %q{raingrove@gmail.com}
|
15
|
+
s.extra_rdoc_files = [
|
16
|
+
"LICENSE",
|
17
|
+
"README.rdoc"
|
18
|
+
]
|
19
|
+
s.files = [
|
20
|
+
".gitignore",
|
21
|
+
"LICENSE",
|
22
|
+
"README.rdoc",
|
23
|
+
"Rakefile",
|
24
|
+
"VERSION",
|
25
|
+
"init.rb",
|
26
|
+
"lib/rubb.rb",
|
27
|
+
"lib/rubb/node.rb",
|
28
|
+
"lib/rubb/node/image.rb",
|
29
|
+
"lib/rubb/node/quote.rb",
|
30
|
+
"lib/rubb/node/simple.rb",
|
31
|
+
"lib/rubb/node/styled.rb",
|
32
|
+
"lib/rubb/node/text.rb",
|
33
|
+
"lib/rubb/node/url.rb",
|
34
|
+
"lib/rubb/parser.rb",
|
35
|
+
"rubb.gemspec",
|
36
|
+
"test/test_helper.rb",
|
37
|
+
"test/test_rubb.rb"
|
38
|
+
]
|
39
|
+
s.homepage = %q{http://github.com/petejkim/rubb}
|
40
|
+
s.rdoc_options = ["--charset=UTF-8"]
|
41
|
+
s.require_paths = ["lib"]
|
42
|
+
s.rubygems_version = %q{1.3.7}
|
43
|
+
s.summary = %q{BBCode Parser for Ruby that supports nested BBCode tags.}
|
44
|
+
s.test_files = [
|
45
|
+
"test/test_helper.rb",
|
46
|
+
"test/test_rubb.rb"
|
47
|
+
]
|
48
|
+
|
49
|
+
if s.respond_to? :specification_version then
|
50
|
+
current_version = Gem::Specification::CURRENT_SPECIFICATION_VERSION
|
51
|
+
s.specification_version = 3
|
52
|
+
|
53
|
+
if Gem::Version.new(Gem::VERSION) >= Gem::Version.new('1.2.0') then
|
54
|
+
else
|
55
|
+
end
|
56
|
+
else
|
57
|
+
end
|
58
|
+
end
|
59
|
+
|
metadata
CHANGED
@@ -5,8 +5,8 @@ version: !ruby/object:Gem::Version
|
|
5
5
|
segments:
|
6
6
|
- 0
|
7
7
|
- 9
|
8
|
-
-
|
9
|
-
version: 0.9.
|
8
|
+
- 1
|
9
|
+
version: 0.9.1
|
10
10
|
platform: ruby
|
11
11
|
authors:
|
12
12
|
- Peter Jihoon Kim
|
@@ -43,6 +43,7 @@ files:
|
|
43
43
|
- lib/rubb/node/text.rb
|
44
44
|
- lib/rubb/node/url.rb
|
45
45
|
- lib/rubb/parser.rb
|
46
|
+
- rubb.gemspec
|
46
47
|
- test/test_helper.rb
|
47
48
|
- test/test_rubb.rb
|
48
49
|
has_rdoc: true
|