breakout_parser 0.0.15 → 0.0.16
Sign up to get free protection for your applications and to get access to all the features.
- data/ChangeLog +4 -0
- data/ext/breakout_parser/lex.yy.c +656 -638
- data/ext/breakout_parser/parser.l +1 -0
- data/spec/parser_spec.rb +1 -0
- metadata +20 -9
@@ -140,6 +140,7 @@ extern size_t in_buf_len;
|
|
140
140
|
|
141
141
|
#[0-9]+/[ \t\r\n,.;()?!:-] { yylval.svalue = yytext; return TICKET_LINK; }
|
142
142
|
\[\[ticket:[0-9]+(\|[^\[\]]+)?\]\] { yylval.svalue = yytext; return TICKET_LINK; }
|
143
|
+
\[\[issue:[0-9]+(\|[^\[\]]+)?\]\] { yylval.svalue = yytext; return TICKET_LINK; }
|
143
144
|
|
144
145
|
\[\[revision:[0-9]+(\|[^\[\]]+)?\]\] { yylval.svalue = yytext+11; return SVN_REVISION_LINK; }
|
145
146
|
\[\[revision:[0-9a-f]+(\|[^\[\]]+)?\]\] { yylval.svalue = yytext+11; return GIT_REVISION_LINK; }
|
data/spec/parser_spec.rb
CHANGED
@@ -823,6 +823,7 @@ describe 'BreakoutParser' do
|
|
823
823
|
a["#with&"] = %Q|<a href="#h-#{hex_string("with&")}" title="#with&" class="wiki_link">#with&amp</a>|
|
824
824
|
|
825
825
|
a["ticket:234"] = '<a href="/spaces/test_space/tickets/234">#234</a>'
|
826
|
+
a["issue:234"] = '<a href="/spaces/test_space/tickets/234">#234</a>'
|
826
827
|
a["revision:1f4bdab77be696efd"] =
|
827
828
|
'<a href="/code/test_space/git/changesets/1f4bdab77be696efd">revision:1f4bdab77be696efd</a>'
|
828
829
|
a["revision:12345"] =
|
metadata
CHANGED
@@ -1,7 +1,12 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: breakout_parser
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
|
4
|
+
prerelease: false
|
5
|
+
segments:
|
6
|
+
- 0
|
7
|
+
- 0
|
8
|
+
- 16
|
9
|
+
version: 0.0.16
|
5
10
|
platform: ruby
|
6
11
|
authors:
|
7
12
|
- Andrey "Zed" Zaikin
|
@@ -9,19 +14,23 @@ autorequire:
|
|
9
14
|
bindir: bin
|
10
15
|
cert_chain: []
|
11
16
|
|
12
|
-
date: 2010-
|
17
|
+
date: 2010-07-20 00:00:00 +06:00
|
13
18
|
default_executable:
|
14
19
|
dependencies:
|
15
20
|
- !ruby/object:Gem::Dependency
|
16
21
|
name: rspec
|
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
|
27
|
+
segments:
|
28
|
+
- 1
|
29
|
+
- 2
|
30
|
+
- 9
|
23
31
|
version: 1.2.9
|
24
|
-
|
32
|
+
type: :development
|
33
|
+
version_requirements: *id001
|
25
34
|
description: BreakoutParser
|
26
35
|
email: zed.0xff@gmail.com
|
27
36
|
executables: []
|
@@ -59,18 +68,20 @@ required_ruby_version: !ruby/object:Gem::Requirement
|
|
59
68
|
requirements:
|
60
69
|
- - ">="
|
61
70
|
- !ruby/object:Gem::Version
|
71
|
+
segments:
|
72
|
+
- 0
|
62
73
|
version: "0"
|
63
|
-
version:
|
64
74
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
65
75
|
requirements:
|
66
76
|
- - ">="
|
67
77
|
- !ruby/object:Gem::Version
|
78
|
+
segments:
|
79
|
+
- 0
|
68
80
|
version: "0"
|
69
|
-
version:
|
70
81
|
requirements: []
|
71
82
|
|
72
83
|
rubyforge_project:
|
73
|
-
rubygems_version: 1.3.
|
84
|
+
rubygems_version: 1.3.6
|
74
85
|
signing_key:
|
75
86
|
specification_version: 3
|
76
87
|
summary: BreakoutParser
|