trainbbcode 0.3.0 → 0.3.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (47) hide show
  1. data/Manifest +0 -43
  2. data/Rakefile +1 -1
  3. data/lib/trainbbcode.rb +7 -4
  4. data/trainbbcode.gemspec +3 -3
  5. metadata +3 -45
  6. data/rails_generators/syntaxhighlighter/syntaxhighlighter_generator.rb +0 -30
  7. data/rails_generators/syntaxhighlighter/templates/scripts/clipboard.swf +0 -0
  8. data/rails_generators/syntaxhighlighter/templates/scripts/shBrushAS3.js +0 -61
  9. data/rails_generators/syntaxhighlighter/templates/scripts/shBrushBash.js +0 -66
  10. data/rails_generators/syntaxhighlighter/templates/scripts/shBrushCSharp.js +0 -67
  11. data/rails_generators/syntaxhighlighter/templates/scripts/shBrushColdFusion.js +0 -102
  12. data/rails_generators/syntaxhighlighter/templates/scripts/shBrushCpp.js +0 -99
  13. data/rails_generators/syntaxhighlighter/templates/scripts/shBrushCss.js +0 -93
  14. data/rails_generators/syntaxhighlighter/templates/scripts/shBrushDelphi.js +0 -57
  15. data/rails_generators/syntaxhighlighter/templates/scripts/shBrushDiff.js +0 -43
  16. data/rails_generators/syntaxhighlighter/templates/scripts/shBrushErlang.js +0 -54
  17. data/rails_generators/syntaxhighlighter/templates/scripts/shBrushGroovy.js +0 -69
  18. data/rails_generators/syntaxhighlighter/templates/scripts/shBrushJScript.js +0 -52
  19. data/rails_generators/syntaxhighlighter/templates/scripts/shBrushJava.js +0 -59
  20. data/rails_generators/syntaxhighlighter/templates/scripts/shBrushJavaFX.js +0 -60
  21. data/rails_generators/syntaxhighlighter/templates/scripts/shBrushPerl.js +0 -74
  22. data/rails_generators/syntaxhighlighter/templates/scripts/shBrushPhp.js +0 -91
  23. data/rails_generators/syntaxhighlighter/templates/scripts/shBrushPlain.js +0 -35
  24. data/rails_generators/syntaxhighlighter/templates/scripts/shBrushPowerShell.js +0 -76
  25. data/rails_generators/syntaxhighlighter/templates/scripts/shBrushPython.js +0 -66
  26. data/rails_generators/syntaxhighlighter/templates/scripts/shBrushRuby.js +0 -57
  27. data/rails_generators/syntaxhighlighter/templates/scripts/shBrushScala.js +0 -53
  28. data/rails_generators/syntaxhighlighter/templates/scripts/shBrushSql.js +0 -68
  29. data/rails_generators/syntaxhighlighter/templates/scripts/shBrushVb.js +0 -58
  30. data/rails_generators/syntaxhighlighter/templates/scripts/shBrushXml.js +0 -71
  31. data/rails_generators/syntaxhighlighter/templates/scripts/shCore.js +0 -30
  32. data/rails_generators/syntaxhighlighter/templates/scripts/shLegacy.js +0 -30
  33. data/rails_generators/syntaxhighlighter/templates/src/shCore.js +0 -2077
  34. data/rails_generators/syntaxhighlighter/templates/src/shLegacy.js +0 -172
  35. data/rails_generators/syntaxhighlighter/templates/styles/help.png +0 -0
  36. data/rails_generators/syntaxhighlighter/templates/styles/magnifier.png +0 -0
  37. data/rails_generators/syntaxhighlighter/templates/styles/page_white_code.png +0 -0
  38. data/rails_generators/syntaxhighlighter/templates/styles/page_white_copy.png +0 -0
  39. data/rails_generators/syntaxhighlighter/templates/styles/printer.png +0 -0
  40. data/rails_generators/syntaxhighlighter/templates/styles/shCore.css +0 -330
  41. data/rails_generators/syntaxhighlighter/templates/styles/shThemeDefault.css +0 -173
  42. data/rails_generators/syntaxhighlighter/templates/styles/shThemeDjango.css +0 -176
  43. data/rails_generators/syntaxhighlighter/templates/styles/shThemeEclipse.css +0 -190
  44. data/rails_generators/syntaxhighlighter/templates/styles/shThemeEmacs.css +0 -175
  45. data/rails_generators/syntaxhighlighter/templates/styles/shThemeFadeToGrey.css +0 -177
  46. data/rails_generators/syntaxhighlighter/templates/styles/shThemeMidnight.css +0 -175
  47. data/rails_generators/syntaxhighlighter/templates/styles/shThemeRDark.css +0 -175
@@ -1,173 +0,0 @@
1
- /**
2
- * SyntaxHighlighter
3
- * http://alexgorbatchev.com/
4
- *
5
- * SyntaxHighlighter is donationware. If you are using it, please donate.
6
- * http://alexgorbatchev.com/wiki/SyntaxHighlighter:Donate
7
- *
8
- * @version
9
- * 2.1.364 (October 15 2009)
10
- *
11
- * @copyright
12
- * Copyright (C) 2004-2009 Alex Gorbatchev.
13
- *
14
- * @license
15
- * This file is part of SyntaxHighlighter.
16
- *
17
- * SyntaxHighlighter is free software: you can redistribute it and/or modify
18
- * it under the terms of the GNU Lesser General Public License as published by
19
- * the Free Software Foundation, either version 3 of the License, or
20
- * (at your option) any later version.
21
- *
22
- * SyntaxHighlighter is distributed in the hope that it will be useful,
23
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
24
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
25
- * GNU General Public License for more details.
26
- *
27
- * You should have received a copy of the GNU General Public License
28
- * along with SyntaxHighlighter. If not, see <http://www.gnu.org/copyleft/lesser.html>.
29
- */
30
- /************************************
31
- * Default Syntax Highlighter theme.
32
- *
33
- * Interface elements.
34
- ************************************/
35
-
36
- .syntaxhighlighter
37
- {
38
- background-color: #fff !important;
39
- }
40
-
41
- /* Highlighed line number */
42
- .syntaxhighlighter .line.highlighted .number
43
- {
44
- color: black !important;
45
- }
46
-
47
- /* Highlighed line */
48
- .syntaxhighlighter .line.highlighted.alt1,
49
- .syntaxhighlighter .line.highlighted.alt2
50
- {
51
- background-color: #e0e0e0 !important;
52
- }
53
-
54
- /* Gutter line numbers */
55
- .syntaxhighlighter .line .number
56
- {
57
- color: #afafaf !important;
58
- }
59
-
60
- /* Add border to the lines */
61
- .syntaxhighlighter .line .content
62
- {
63
- border-left: 3px solid #6CE26C !important;
64
- color: #000 !important;
65
- }
66
-
67
- .syntaxhighlighter.printing .line .content
68
- {
69
- border: 0 !important;
70
- }
71
-
72
- /* First line */
73
- .syntaxhighlighter .line.alt1
74
- {
75
- background-color: #fff !important;
76
- }
77
-
78
- /* Second line */
79
- .syntaxhighlighter .line.alt2
80
- {
81
- background-color: #F8F8F8 !important;
82
- }
83
-
84
- .syntaxhighlighter .toolbar
85
- {
86
- background-color: #F8F8F8 !important;
87
- border: #E7E5DC solid 1px !important;
88
- }
89
-
90
- .syntaxhighlighter .toolbar a
91
- {
92
- color: #a0a0a0 !important;
93
- }
94
-
95
- .syntaxhighlighter .toolbar a:hover
96
- {
97
- color: red !important;
98
- }
99
-
100
- /************************************
101
- * Actual syntax highlighter colors.
102
- ************************************/
103
- .syntaxhighlighter .plain,
104
- .syntaxhighlighter .plain a
105
- {
106
- color: #000 !important;
107
- }
108
-
109
- .syntaxhighlighter .comments,
110
- .syntaxhighlighter .comments a
111
- {
112
- color: #008200 !important;
113
- }
114
-
115
- .syntaxhighlighter .string,
116
- .syntaxhighlighter .string a
117
- {
118
- color: blue !important;
119
- }
120
-
121
- .syntaxhighlighter .keyword
122
- {
123
- color: #069 !important;
124
- font-weight: bold !important;
125
- }
126
-
127
- .syntaxhighlighter .preprocessor
128
- {
129
- color: gray !important;
130
- }
131
-
132
- .syntaxhighlighter .variable
133
- {
134
- color: #a70 !important;
135
- }
136
-
137
- .syntaxhighlighter .value
138
- {
139
- color: #090 !important;
140
- }
141
-
142
- .syntaxhighlighter .functions
143
- {
144
- color: #ff1493 !important;
145
- }
146
-
147
- .syntaxhighlighter .constants
148
- {
149
- color: #0066CC !important;
150
- }
151
-
152
- .syntaxhighlighter .script
153
- {
154
- background-color: yellow !important;
155
- }
156
-
157
- .syntaxhighlighter .color1,
158
- .syntaxhighlighter .color1 a
159
- {
160
- color: #808080 !important;
161
- }
162
-
163
- .syntaxhighlighter .color2,
164
- .syntaxhighlighter .color2 a
165
- {
166
- color: #ff1493 !important;
167
- }
168
-
169
- .syntaxhighlighter .color3,
170
- .syntaxhighlighter .color3 a
171
- {
172
- color: red !important;
173
- }
@@ -1,176 +0,0 @@
1
- /**
2
- * SyntaxHighlighter
3
- * http://alexgorbatchev.com/
4
- *
5
- * SyntaxHighlighter is donationware. If you are using it, please donate.
6
- * http://alexgorbatchev.com/wiki/SyntaxHighlighter:Donate
7
- *
8
- * @version
9
- * 2.1.364 (October 15 2009)
10
- *
11
- * @copyright
12
- * Copyright (C) 2004-2009 Alex Gorbatchev.
13
- *
14
- * @license
15
- * This file is part of SyntaxHighlighter.
16
- *
17
- * SyntaxHighlighter is free software: you can redistribute it and/or modify
18
- * it under the terms of the GNU Lesser General Public License as published by
19
- * the Free Software Foundation, either version 3 of the License, or
20
- * (at your option) any later version.
21
- *
22
- * SyntaxHighlighter is distributed in the hope that it will be useful,
23
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
24
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
25
- * GNU General Public License for more details.
26
- *
27
- * You should have received a copy of the GNU General Public License
28
- * along with SyntaxHighlighter. If not, see <http://www.gnu.org/copyleft/lesser.html>.
29
- */
30
- /**
31
- * Django SyntaxHighlighter theme
32
- */
33
-
34
- /************************************
35
- * Interface elements.
36
- ************************************/
37
-
38
- .syntaxhighlighter
39
- {
40
- background-color: #0B2F20 !important;
41
- }
42
-
43
- /* Gutter line numbers */
44
- .syntaxhighlighter .line .number
45
- {
46
- color: #497958 !important;
47
- }
48
-
49
- /* Add border to the lines */
50
- .syntaxhighlighter .line .content
51
- {
52
- border-left: 3px solid #41A83E !important;
53
- color: #B9BDB6 !important;
54
- }
55
-
56
- .syntaxhighlighter.printing .line .content
57
- {
58
- border: 0 !important;
59
- }
60
-
61
- /* First line */
62
- .syntaxhighlighter .line.alt1
63
- {
64
- }
65
-
66
- /* Second line */
67
- .syntaxhighlighter .line.alt2
68
- {
69
- background-color: #0a2b1d !important;
70
- }
71
-
72
- /* Highlighed line number */
73
- .syntaxhighlighter .line.highlighted .number
74
- {
75
- background-color: #336442 !important;
76
- color: #fff !important;
77
- }
78
-
79
- /* Highlighed line */
80
- .syntaxhighlighter .line.highlighted.alt1,
81
- .syntaxhighlighter .line.highlighted.alt2
82
- {
83
- background-color: #336442 !important;
84
- }
85
-
86
- .syntaxhighlighter .toolbar
87
- {
88
- background-color: #245032 !important;
89
- border: #0B2F20 solid 1px !important;
90
- }
91
-
92
- .syntaxhighlighter .toolbar a
93
- {
94
- color: #C4B14A !important;
95
- }
96
-
97
- .syntaxhighlighter .toolbar a:hover
98
- {
99
- color: #FFE862 !important;
100
- }
101
-
102
- /************************************
103
- * Actual syntax highlighter colors.
104
- ************************************/
105
- .syntaxhighlighter .plain,
106
- .syntaxhighlighter .plain a
107
- {
108
- color: #F8F8F8 !important;
109
- }
110
-
111
- .syntaxhighlighter .comments,
112
- .syntaxhighlighter .comments a
113
- {
114
- color: #336442 !important;
115
- font-style: italic !important;
116
- }
117
-
118
- .syntaxhighlighter .string,
119
- .syntaxhighlighter .string a
120
- {
121
- color: #9DF39F !important;
122
- }
123
-
124
- .syntaxhighlighter .keyword
125
- {
126
- color: #96DD3B !important;
127
- font-weight: bold !important;
128
- }
129
-
130
- .syntaxhighlighter .preprocessor
131
- {
132
- color: #91BB9E !important;
133
- }
134
-
135
- .syntaxhighlighter .variable
136
- {
137
- color: #FFAA3E !important;
138
- }
139
-
140
- .syntaxhighlighter .value
141
- {
142
- color: #F7E741 !important;
143
- }
144
-
145
- .syntaxhighlighter .functions
146
- {
147
- color: #FFAA3E !important;
148
- }
149
-
150
- .syntaxhighlighter .constants
151
- {
152
- color: #E0E8FF !important;
153
- }
154
-
155
- .syntaxhighlighter .script
156
- {
157
- background-color: #497958 !important;
158
- }
159
-
160
- .syntaxhighlighter .color1,
161
- .syntaxhighlighter .color1 a
162
- {
163
- color: #EB939A !important;
164
- }
165
-
166
- .syntaxhighlighter .color2,
167
- .syntaxhighlighter .color2 a
168
- {
169
- color: #91BB9E !important;
170
- }
171
-
172
- .syntaxhighlighter .color3,
173
- .syntaxhighlighter .color3 a
174
- {
175
- color: #EDEF7D !important;
176
- }
@@ -1,190 +0,0 @@
1
- /**
2
- * SyntaxHighlighter
3
- * http://alexgorbatchev.com/
4
- *
5
- * SyntaxHighlighter is donationware. If you are using it, please donate.
6
- * http://alexgorbatchev.com/wiki/SyntaxHighlighter:Donate
7
- *
8
- * @version
9
- * 2.1.364 (October 15 2009)
10
- *
11
- * @copyright
12
- * Copyright (C) 2004-2009 Alex Gorbatchev.
13
- *
14
- * @license
15
- * This file is part of SyntaxHighlighter.
16
- *
17
- * SyntaxHighlighter is free software: you can redistribute it and/or modify
18
- * it under the terms of the GNU Lesser General Public License as published by
19
- * the Free Software Foundation, either version 3 of the License, or
20
- * (at your option) any later version.
21
- *
22
- * SyntaxHighlighter is distributed in the hope that it will be useful,
23
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
24
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
25
- * GNU General Public License for more details.
26
- *
27
- * You should have received a copy of the GNU General Public License
28
- * along with SyntaxHighlighter. If not, see <http://www.gnu.org/copyleft/lesser.html>.
29
- */
30
- /**
31
- * Eclipse IDE SyntaxHighlighter color theme
32
- * (C) Code-House
33
- * http://blog.code-house.org/2009/10/xml-i-adnotacje-kod-ogolnego-przeznaczenia-i-jpa/
34
- */
35
-
36
- .syntaxhighlighter
37
- {
38
- background-color: #fff !important;
39
- }
40
-
41
- /* Highlighed line number */
42
- .syntaxhighlighter .line.highlighted .number
43
- {
44
- background-color: #c3defe !important;
45
- }
46
-
47
- /* Highlighed line */
48
- .syntaxhighlighter .line.highlighted.alt1,
49
- .syntaxhighlighter .line.highlighted.alt2
50
- {
51
- background-color: #c3defe !important;
52
- }
53
-
54
- /* Gutter line numbers */
55
- .syntaxhighlighter .line .number
56
- {
57
- color: #787878 !important;
58
- background-color: #fff !important;
59
- }
60
-
61
- /* Add border to the lines */
62
- .syntaxhighlighter .line .content
63
- {
64
- border-left: 1px solid #d4d0c8 !important;
65
- color: #000 !important;
66
- }
67
-
68
- .syntaxhighlighter.printing .line .content
69
- {
70
- border: 0 !important;
71
- }
72
-
73
- /* First line */
74
- .syntaxhighlighter .line.alt1
75
- {
76
- background-color: #fff !important;
77
- }
78
-
79
- /* Second line */
80
- .syntaxhighlighter .line.alt2
81
- {
82
- background-color: #fff !important;
83
- }
84
-
85
- .syntaxhighlighter .toolbar
86
- {
87
- background-color: #F8F8F8 !important;
88
- border: #E7E5DC solid 1px !important;
89
- }
90
-
91
- .syntaxhighlighter .toolbar a
92
- {
93
- color: #a0a0a0 !important;
94
- }
95
-
96
- .syntaxhighlighter .toolbar a:hover
97
- {
98
- color: red !important;
99
- }
100
-
101
- /************************************
102
- * Actual syntax highlighter colors.
103
- ************************************/
104
- .syntaxhighlighter .plain,
105
- .syntaxhighlighter .plain a
106
- {
107
- color: #000 !important;
108
- }
109
-
110
- .syntaxhighlighter .comments,
111
- .syntaxhighlighter .comments a
112
- {
113
- color: #3f5fbf !important;
114
- }
115
-
116
- .syntaxhighlighter .string,
117
- .syntaxhighlighter .string a
118
- {
119
- color: #2a00ff !important;
120
- }
121
-
122
- .syntaxhighlighter .keyword
123
- {
124
- color: #7f0055 !important;
125
- font-weight: bold !important;
126
- }
127
-
128
- .syntaxhighlighter .preprocessor
129
- {
130
- color: #646464 !important;
131
- }
132
-
133
- .syntaxhighlighter .variable
134
- {
135
- color: #a70 !important;
136
- }
137
-
138
- .syntaxhighlighter .value
139
- {
140
- color: #090 !important;
141
- }
142
-
143
- .syntaxhighlighter .functions
144
- {
145
- color: #ff1493 !important;
146
- }
147
-
148
- .syntaxhighlighter .constants
149
- {
150
- color: #0066CC !important;
151
- }
152
-
153
- .syntaxhighlighter .script
154
- {
155
- background-color: yellow !important;
156
- }
157
-
158
- .syntaxhighlighter .color1,
159
- .syntaxhighlighter .color1 a
160
- {
161
- color: #808080 !important;
162
- }
163
-
164
- .syntaxhighlighter .color2,
165
- .syntaxhighlighter .color2 a
166
- {
167
- color: #ff1493 !important;
168
- }
169
-
170
- .syntaxhighlighter .color3,
171
- .syntaxhighlighter .color3 a
172
- {
173
- color: red !important;
174
- }
175
-
176
-
177
- .xml .keyword {
178
- color: #3f7f7f !important;
179
- font-weight: normal !important;
180
- }
181
-
182
- .xml .color1,
183
- .xml .color1 a{
184
- color: #7f007f !important;
185
- }
186
-
187
- .xml .string {
188
- font-style: italic !important;
189
- color: #2a00ff !important;
190
- }