ultraviolet 0.10.2 → 1.0.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (178) hide show
  1. data/.gitmodules +3 -0
  2. data/Gemfile +10 -0
  3. data/Gemfile.lock +28 -0
  4. data/Rakefile +18 -47
  5. data/Readme.md +89 -0
  6. data/bin/theme2latexrender +0 -0
  7. data/bin/theme2xhtmlrender +0 -0
  8. data/bin/uv +0 -0
  9. data/lib/uv.rb +78 -75
  10. data/lib/uv/render_processor.rb +128 -119
  11. data/lib/uv/utility.rb +62 -62
  12. data/lib/uv/version.rb +3 -0
  13. data/spec/spec_helper.rb +2 -0
  14. data/spec/ultraviolet_spec.rb +13 -0
  15. data/ultraviolet.gemspec +15 -0
  16. metadata +123 -271
  17. data/History.txt +0 -25
  18. data/Manifest.txt +0 -233
  19. data/README.txt +0 -52
  20. data/syntax/actionscript.syntax +0 -97
  21. data/syntax/active4d.syntax +0 -276
  22. data/syntax/active4d_html.syntax +0 -311
  23. data/syntax/active4d_ini.syntax +0 -50
  24. data/syntax/active4d_library.syntax +0 -21
  25. data/syntax/ada.syntax +0 -33
  26. data/syntax/antlr.syntax +0 -151
  27. data/syntax/apache.syntax +0 -191
  28. data/syntax/applescript.syntax +0 -384
  29. data/syntax/asp.syntax +0 -70
  30. data/syntax/asp_vb.net.syntax +0 -129
  31. data/syntax/bibtex.syntax +0 -151
  32. data/syntax/blog_html.syntax +0 -41
  33. data/syntax/blog_markdown.syntax +0 -42
  34. data/syntax/blog_text.syntax +0 -27
  35. data/syntax/blog_textile.syntax +0 -27
  36. data/syntax/build.syntax +0 -53
  37. data/syntax/bulletin_board.syntax +0 -287
  38. data/syntax/c++.syntax +0 -109
  39. data/syntax/c.syntax +0 -326
  40. data/syntax/cake.syntax +0 -55
  41. data/syntax/camlp4.syntax +0 -36
  42. data/syntax/cm.syntax +0 -32
  43. data/syntax/coldfusion.syntax +0 -119
  44. data/syntax/context_free.syntax +0 -176
  45. data/syntax/cs.syntax +0 -59
  46. data/syntax/css.syntax +0 -195
  47. data/syntax/css_experimental.syntax +0 -1925
  48. data/syntax/csv.syntax +0 -68
  49. data/syntax/d.syntax +0 -142
  50. data/syntax/diff.syntax +0 -81
  51. data/syntax/dokuwiki.syntax +0 -204
  52. data/syntax/dot.syntax +0 -47
  53. data/syntax/doxygen.syntax +0 -43
  54. data/syntax/dylan.syntax +0 -62
  55. data/syntax/eiffel.syntax +0 -78
  56. data/syntax/erlang.syntax +0 -922
  57. data/syntax/f-script.syntax +0 -80
  58. data/syntax/fortran.syntax +0 -141
  59. data/syntax/fxscript.syntax +0 -142
  60. data/syntax/greasemonkey.syntax +0 -34
  61. data/syntax/gri.syntax +0 -83
  62. data/syntax/groovy.syntax +0 -191
  63. data/syntax/gtd.syntax +0 -22
  64. data/syntax/gtdalt.syntax +0 -143
  65. data/syntax/haml.syntax +0 -88
  66. data/syntax/haskell.syntax +0 -88
  67. data/syntax/html-asp.syntax +0 -27
  68. data/syntax/html.syntax +0 -362
  69. data/syntax/html_django.syntax +0 -36
  70. data/syntax/html_for_asp.net.syntax +0 -424
  71. data/syntax/html_mason.syntax +0 -119
  72. data/syntax/html_rails.syntax +0 -40
  73. data/syntax/html_tcl.syntax +0 -26
  74. data/syntax/icalendar.syntax +0 -32
  75. data/syntax/inform.syntax +0 -48
  76. data/syntax/ini.syntax +0 -55
  77. data/syntax/installer_distribution_script.syntax +0 -77
  78. data/syntax/io.syntax +0 -81
  79. data/syntax/java.syntax +0 -211
  80. data/syntax/javaproperties.syntax +0 -20
  81. data/syntax/javascript.syntax +0 -256
  82. data/syntax/javascript_+_prototype.syntax +0 -72
  83. data/syntax/javascript_+_prototype_bracketed.syntax +0 -140
  84. data/syntax/jquery_javascript.syntax +0 -114
  85. data/syntax/json.syntax +0 -136
  86. data/syntax/languagedefinition.syntax +0 -708
  87. data/syntax/latex.syntax +0 -566
  88. data/syntax/latex_beamer.syntax +0 -41
  89. data/syntax/latex_log.syntax +0 -50
  90. data/syntax/latex_memoir.syntax +0 -64
  91. data/syntax/lexflex.syntax +0 -219
  92. data/syntax/lighttpd.syntax +0 -54
  93. data/syntax/lilypond.syntax +0 -492
  94. data/syntax/lisp.syntax +0 -61
  95. data/syntax/literate_haskell.syntax +0 -24
  96. data/syntax/logo.syntax +0 -29
  97. data/syntax/logtalk.syntax +0 -152
  98. data/syntax/lua.syntax +0 -86
  99. data/syntax/m.syntax +0 -142
  100. data/syntax/macports_portfile.syntax +0 -163
  101. data/syntax/mail.syntax +0 -118
  102. data/syntax/makefile.syntax +0 -36
  103. data/syntax/man.syntax +0 -17
  104. data/syntax/markdown.syntax +0 -543
  105. data/syntax/mediawiki.syntax +0 -567
  106. data/syntax/mel.syntax +0 -92
  107. data/syntax/mips.syntax +0 -66
  108. data/syntax/mod_perl.syntax +0 -50
  109. data/syntax/modula-3.syntax +0 -47
  110. data/syntax/moinmoin.syntax +0 -189
  111. data/syntax/mootools.syntax +0 -572
  112. data/syntax/movable_type.syntax +0 -162
  113. data/syntax/multimarkdown.syntax +0 -39
  114. data/syntax/objective-c++.syntax +0 -18
  115. data/syntax/objective-c.syntax +0 -233
  116. data/syntax/ocaml.syntax +0 -764
  117. data/syntax/ocamllex.syntax +0 -167
  118. data/syntax/ocamlyacc.syntax +0 -184
  119. data/syntax/opengl.syntax +0 -14
  120. data/syntax/pascal.syntax +0 -77
  121. data/syntax/perl.syntax +0 -1115
  122. data/syntax/php.syntax +0 -1253
  123. data/syntax/plain_text.syntax +0 -32
  124. data/syntax/pmwiki.syntax +0 -113
  125. data/syntax/postscript.syntax +0 -114
  126. data/syntax/processing.syntax +0 -106
  127. data/syntax/prolog.syntax +0 -40
  128. data/syntax/property_list.syntax +0 -635
  129. data/syntax/python.syntax +0 -868
  130. data/syntax/python_django.syntax +0 -21
  131. data/syntax/qmake_project.syntax +0 -114
  132. data/syntax/qt_c++.syntax +0 -26
  133. data/syntax/quake3_config.syntax +0 -32
  134. data/syntax/r.syntax +0 -81
  135. data/syntax/r_console.syntax +0 -16
  136. data/syntax/ragel.syntax +0 -201
  137. data/syntax/rd_r_documentation.syntax +0 -91
  138. data/syntax/regexp.syntax +0 -50
  139. data/syntax/regular_expressions_oniguruma.syntax +0 -107
  140. data/syntax/regular_expressions_python.syntax +0 -109
  141. data/syntax/release_notes.syntax +0 -46
  142. data/syntax/remind.syntax +0 -253
  143. data/syntax/restructuredtext.syntax +0 -250
  144. data/syntax/rez.syntax +0 -80
  145. data/syntax/ruby.syntax +0 -1035
  146. data/syntax/ruby_experimental.syntax +0 -145
  147. data/syntax/ruby_on_rails.syntax +0 -88
  148. data/syntax/s5.syntax +0 -69
  149. data/syntax/scheme.syntax +0 -347
  150. data/syntax/scilab.syntax +0 -41
  151. data/syntax/setext.syntax +0 -147
  152. data/syntax/shell-unix-generic.syntax +0 -384
  153. data/syntax/slate.syntax +0 -149
  154. data/syntax/smarty.syntax +0 -63
  155. data/syntax/sql.syntax +0 -237
  156. data/syntax/sql_rails.syntax +0 -18
  157. data/syntax/ssh-config.syntax +0 -33
  158. data/syntax/standard_ml.syntax +0 -121
  159. data/syntax/strings_file.syntax +0 -39
  160. data/syntax/subversion_commit_message.syntax +0 -36
  161. data/syntax/sweave.syntax +0 -84
  162. data/syntax/swig.syntax +0 -57
  163. data/syntax/tcl.syntax +0 -152
  164. data/syntax/template_toolkit.syntax +0 -121
  165. data/syntax/tex.syntax +0 -86
  166. data/syntax/tex_math.syntax +0 -49
  167. data/syntax/textile.syntax +0 -215
  168. data/syntax/tsv.syntax +0 -50
  169. data/syntax/twiki.syntax +0 -241
  170. data/syntax/txt2tags.syntax +0 -79
  171. data/syntax/vectorscript.syntax +0 -57
  172. data/syntax/xhtml_1.0.syntax +0 -4027
  173. data/syntax/xml.syntax +0 -180
  174. data/syntax/xml_strict.syntax +0 -92
  175. data/syntax/xsl.syntax +0 -60
  176. data/syntax/yaml.syntax +0 -160
  177. data/syntax/yui_javascript.syntax +0 -176
  178. data/test/test_uv.rb +0 -0
@@ -1,67 +1,67 @@
1
1
  module Uv
2
- def Uv.foreground bg
3
- fg = "#FFFFFF"
4
- 3.times do |i|
5
- fg = "#000000" if bg[i*2+1, 2].hex > 0xFF / 2
6
- end
7
- fg
8
- end
9
-
10
- def Uv.alpha_blend bg, fg
11
- unless bg =~ /^#((\d|[ABCDEF]){3}|(\d|[ABCDEF]){6}|(\d|[ABCDEF]){8})$/i
12
- raise(ArgumentError, "Malformed background color '#{bg}'" )
13
- end
14
- unless fg =~ /^#((\d|[ABCDEF]){3}|(\d|[ABCDEF]){6}|(\d|[ABCDEF]){8})$/i
15
- raise(ArgumentError, "Malformed foreground color '#{fg}'" )
16
- end
17
-
18
- if bg.size == 4
19
- tbg = (fg[1,1].hex * 0xff / 0xf).to_s(16).upcase.rjust(2, '0')
20
- tbg += (fg[2,1].hex * 0xff / 0xf).to_s(16).upcase.rjust(2, '0')
21
- tbg += (fg[3,1].hex * 0xff / 0xf).to_s(16).upcase.rjust(2, '0')
22
- bg = "##{tbg}"
23
- end
24
-
25
- result = ""
26
- if fg.size == 4
27
- result += (fg[1,1].hex * 0xff / 0xf).to_s(16).upcase.rjust(2, '0')
28
- result += (fg[2,1].hex * 0xff / 0xf).to_s(16).upcase.rjust(2, '0')
29
- result += (fg[3,1].hex * 0xff / 0xf).to_s(16).upcase.rjust(2, '0')
30
- elsif fg.size == 9
31
- if bg.size == 7
32
- div0 = bg[1..-1].hex
33
- div1, alpha = fg[1..-1].hex.divmod( 0x100 )
34
- 3.times {
35
- div0, mod0 = div0.divmod( 0x100 )
36
- div1, mod1 = div1.divmod( 0x100 )
37
- result = ((mod0 * alpha + mod1 * ( 0x100 - alpha ) ) / 0x100).to_s(16).upcase.rjust(2, '0') + result
38
- }
39
- else
40
- div_a, alpha_a = bg[1..-1].hex.divmod( 0x100 )
41
- div_b, alpha_b = fg[1..-1].hex.divmod( 0x100 )
42
- alpha = alpha_a + alpha_b * (0x100 - alpha_a)
43
- 3.times {
44
- div_b, c_b = div_b.divmod( 0x100 )
45
- div_a, c_a = div_a.divmod( 0x100 )
46
- result = ((c_a * alpha_a + ( 0x100 - alpha_a ) * alpha_b * c_b ) / alpha).to_s(16).upcase.rjust(2, '0') + result
47
- }
48
- end
49
- #result = "FF00FF"
2
+ def Uv.foreground bg
3
+ fg = "#FFFFFF"
4
+ 3.times do |i|
5
+ fg = "#000000" if bg[i*2+1, 2].hex > 0xFF / 2
6
+ end
7
+ fg
8
+ end
9
+
10
+ def Uv.alpha_blend bg, fg
11
+ unless bg =~ /^#((\d|[ABCDEF]){3}|(\d|[ABCDEF]){6}|(\d|[ABCDEF]){8})$/i
12
+ raise(ArgumentError, "Malformed background color '#{bg}'" )
13
+ end
14
+ unless fg =~ /^#((\d|[ABCDEF]){3}|(\d|[ABCDEF]){6}|(\d|[ABCDEF]){8})$/i
15
+ raise(ArgumentError, "Malformed foreground color '#{fg}'" )
16
+ end
17
+
18
+ if bg.size == 4
19
+ tbg = (fg[1,1].hex * 0xff / 0xf).to_s(16).upcase.rjust(2, '0')
20
+ tbg += (fg[2,1].hex * 0xff / 0xf).to_s(16).upcase.rjust(2, '0')
21
+ tbg += (fg[3,1].hex * 0xff / 0xf).to_s(16).upcase.rjust(2, '0')
22
+ bg = "##{tbg}"
23
+ end
24
+
25
+ result = ""
26
+ if fg.size == 4
27
+ result += (fg[1,1].hex * 0xff / 0xf).to_s(16).upcase.rjust(2, '0')
28
+ result += (fg[2,1].hex * 0xff / 0xf).to_s(16).upcase.rjust(2, '0')
29
+ result += (fg[3,1].hex * 0xff / 0xf).to_s(16).upcase.rjust(2, '0')
30
+ elsif fg.size == 9
31
+ if bg.size == 7
32
+ div0 = bg[1..-1].hex
33
+ div1, alpha = fg[1..-1].hex.divmod( 0x100 )
34
+ 3.times {
35
+ div0, mod0 = div0.divmod( 0x100 )
36
+ div1, mod1 = div1.divmod( 0x100 )
37
+ result = ((mod0 * alpha + mod1 * ( 0x100 - alpha ) ) / 0x100).to_s(16).upcase.rjust(2, '0') + result
38
+ }
50
39
  else
51
- result = fg[1..-1]
40
+ div_a, alpha_a = bg[1..-1].hex.divmod( 0x100 )
41
+ div_b, alpha_b = fg[1..-1].hex.divmod( 0x100 )
42
+ alpha = alpha_a + alpha_b * (0x100 - alpha_a)
43
+ 3.times {
44
+ div_b, c_b = div_b.divmod( 0x100 )
45
+ div_a, c_a = div_a.divmod( 0x100 )
46
+ result = ((c_a * alpha_a + ( 0x100 - alpha_a ) * alpha_b * c_b ) / alpha).to_s(16).upcase.rjust(2, '0') + result
47
+ }
52
48
  end
53
- "##{result}"
54
- end
55
-
56
- def Uv.normalize_color settings, color, fg = false
57
- if color
58
- if fg
59
- alpha_blend( settings["foreground"] ? settings["foreground"] : "#000000FF", color )
60
- else
61
- alpha_blend( settings["background"] ? settings["background"] : "#000000FF", color )
62
- end
49
+ #result = "FF00FF"
50
+ else
51
+ result = fg[1..-1]
52
+ end
53
+ "##{result}"
54
+ end
55
+
56
+ def Uv.normalize_color settings, color, fg = false
57
+ if color
58
+ if fg
59
+ alpha_blend( settings["foreground"] ? settings["foreground"] : "#000000FF", color )
63
60
  else
64
- color
61
+ alpha_blend( settings["background"] ? settings["background"] : "#000000FF", color )
65
62
  end
66
- end
67
- end
63
+ else
64
+ color
65
+ end
66
+ end
67
+ end
@@ -0,0 +1,3 @@
1
+ module Uv
2
+ Version = "1.0.0"
3
+ end
@@ -0,0 +1,2 @@
1
+ $LOAD_PATH.unshift 'lib'
2
+ require 'uv'
@@ -0,0 +1,13 @@
1
+ require File.expand_path('spec/spec_helper')
2
+
3
+ describe Uv do
4
+ # all 2 legacy tests ...
5
+ it "parses blank" do
6
+ Uv.parse('', 'xhtml', 'css').should == %(<pre class="mac_classic"></pre>)
7
+ end
8
+
9
+ it "debugs" do
10
+ STDERR.stub!(:puts) # silence
11
+ Uv.debug('', 'css').is_a?(Textpow::DebugProcessor).should == true
12
+ end
13
+ end
@@ -0,0 +1,15 @@
1
+ $LOAD_PATH.push File.expand_path("../lib", __FILE__)
2
+ require "uv/version"
3
+
4
+ Gem::Specification.new "ultraviolet", Uv::Version do |s|
5
+ s.authors = ["Dizan Vasquez", "Spox", "Chris Hoffman", "Michael Grosser"]
6
+ s.email = ["michael@grosser.it"]
7
+ s.homepage = "https://github.com/grosser/ultraviolet"
8
+ s.summary = "Ultraviolet syntax highlighting gem for Ruby18 and Ruby19"
9
+ s.description = s.summary
10
+ s.license = "MIT"
11
+
12
+ s.files = `git ls-files`.split("\n")
13
+ s.executables = ["theme2xhtmlrender", "theme2latexrender", "uv"]
14
+ s.add_runtime_dependency "textpow", ">=1.3.0"
15
+ end
metadata CHANGED
@@ -1,298 +1,150 @@
1
- --- !ruby/object:Gem::Specification
1
+ --- !ruby/object:Gem::Specification
2
2
  name: ultraviolet
3
- version: !ruby/object:Gem::Version
4
- version: 0.10.2
3
+ version: !ruby/object:Gem::Version
4
+ version: 1.0.0
5
+ prerelease:
5
6
  platform: ruby
6
- authors:
7
+ authors:
7
8
  - Dizan Vasquez
9
+ - Spox
10
+ - Chris Hoffman
11
+ - Michael Grosser
8
12
  autorequire:
9
13
  bindir: bin
10
14
  cert_chain: []
11
-
12
- date: 2008-02-20 00:00:00 +01:00
13
- default_executable:
14
- dependencies:
15
- - !ruby/object:Gem::Dependency
15
+ date: 2012-08-19 00:00:00.000000000 Z
16
+ dependencies:
17
+ - !ruby/object:Gem::Dependency
16
18
  name: textpow
17
- version_requirement:
18
- version_requirements: !ruby/object:Gem::Requirement
19
- requirements:
20
- - - ">="
21
- - !ruby/object:Gem::Version
22
- version: 0.10.0
23
- version:
24
- description: Ultraviolet is a syntax highlighting library and engine. It uses TextMate[http://macromates.com/] syntax files and parses them using the Textpow[http://textpow.rubyforge.org] library. It supports more than 60 programming languages out of the box.
25
- email: dichodaemon@gmail.com
26
- executables:
19
+ requirement: !ruby/object:Gem::Requirement
20
+ none: false
21
+ requirements:
22
+ - - ! '>='
23
+ - !ruby/object:Gem::Version
24
+ version: 1.3.0
25
+ type: :runtime
26
+ prerelease: false
27
+ version_requirements: !ruby/object:Gem::Requirement
28
+ none: false
29
+ requirements:
30
+ - - ! '>='
31
+ - !ruby/object:Gem::Version
32
+ version: 1.3.0
33
+ description: Ultraviolet syntax highlighting gem for Ruby18 and Ruby19
34
+ email:
35
+ - michael@grosser.it
36
+ executables:
27
37
  - theme2xhtmlrender
28
38
  - theme2latexrender
29
39
  - uv
30
40
  extensions: []
31
-
32
- extra_rdoc_files:
33
- - History.txt
34
- - Manifest.txt
35
- - README.txt
36
- files:
37
- - test/test_uv.rb
38
- - lib/uv/render_processor.rb
39
- - lib/uv/utility.rb
40
- - lib/uv.rb
41
- - bin/theme2xhtmlrender
41
+ extra_rdoc_files: []
42
+ files:
43
+ - .gitmodules
44
+ - Gemfile
45
+ - Gemfile.lock
46
+ - Rakefile
47
+ - Readme.md
42
48
  - bin/theme2latexrender
49
+ - bin/theme2xhtmlrender
43
50
  - bin/uv
44
- - History.txt
45
- - Rakefile
46
- - Manifest.txt
47
- - README.txt
48
- - render/xhtml/files/css/idle.css
49
- - render/xhtml/files/css/lazy.css
50
- - render/xhtml/files/css/espresso_libre.css
51
+ - lib/uv.rb
52
+ - lib/uv/render_processor.rb
53
+ - lib/uv/utility.rb
54
+ - lib/uv/version.rb
55
+ - render/latex/active4d.render
56
+ - render/latex/all_hallows_eve.render
57
+ - render/latex/amy.render
58
+ - render/latex/blackboard.render
59
+ - render/latex/brilliance_black.render
60
+ - render/latex/brilliance_dull.render
61
+ - render/latex/cobalt.render
62
+ - render/latex/dawn.render
63
+ - render/latex/eiffel.render
64
+ - render/latex/espresso_libre.render
65
+ - render/latex/idle.render
66
+ - render/latex/iplastic.render
67
+ - render/latex/lazy.render
68
+ - render/latex/mac_classic.render
69
+ - render/latex/magicwb_amiga.render
70
+ - render/latex/pastels_on_dark.render
71
+ - render/latex/slush_poppies.render
72
+ - render/latex/spacecadet.render
73
+ - render/latex/sunburst.render
74
+ - render/latex/twilight.render
75
+ - render/latex/zenburnesque.render
76
+ - render/old/txt2tags.render
77
+ - render/xhtml/active4d.render
78
+ - render/xhtml/all_hallows_eve.render
79
+ - render/xhtml/amy.render
80
+ - render/xhtml/blackboard.render
81
+ - render/xhtml/brilliance_black.render
82
+ - render/xhtml/brilliance_dull.render
83
+ - render/xhtml/cobalt.render
84
+ - render/xhtml/dawn.render
85
+ - render/xhtml/eiffel.render
86
+ - render/xhtml/espresso_libre.render
87
+ - render/xhtml/files/css/active4d.css
88
+ - render/xhtml/files/css/all_hallows_eve.css
89
+ - render/xhtml/files/css/amy.css
51
90
  - render/xhtml/files/css/blackboard.css
91
+ - render/xhtml/files/css/brilliance_black.css
52
92
  - render/xhtml/files/css/brilliance_dull.css
53
- - render/xhtml/files/css/sunburst.css
54
- - render/xhtml/files/css/amy.css
55
- - render/xhtml/files/css/zenburnesque.css
56
- - render/xhtml/files/css/magicwb_amiga.css
93
+ - render/xhtml/files/css/cobalt.css
57
94
  - render/xhtml/files/css/dawn.css
58
95
  - render/xhtml/files/css/eiffel.css
59
- - render/xhtml/files/css/twilight.css
60
- - render/xhtml/files/css/spacecadet.css
61
- - render/xhtml/files/css/brilliance_black.css
62
- - render/xhtml/files/css/mac_classic.css
63
- - render/xhtml/files/css/active4d.css
64
- - render/xhtml/files/css/slush_poppies.css
65
- - render/xhtml/files/css/cobalt.css
96
+ - render/xhtml/files/css/espresso_libre.css
97
+ - render/xhtml/files/css/idle.css
66
98
  - render/xhtml/files/css/iplastic.css
67
- - render/xhtml/files/css/all_hallows_eve.css
99
+ - render/xhtml/files/css/lazy.css
100
+ - render/xhtml/files/css/mac_classic.css
101
+ - render/xhtml/files/css/magicwb_amiga.css
68
102
  - render/xhtml/files/css/pastels_on_dark.css
103
+ - render/xhtml/files/css/slush_poppies.css
104
+ - render/xhtml/files/css/spacecadet.css
105
+ - render/xhtml/files/css/sunburst.css
106
+ - render/xhtml/files/css/twilight.css
107
+ - render/xhtml/files/css/zenburnesque.css
69
108
  - render/xhtml/idle.render
109
+ - render/xhtml/iplastic.render
70
110
  - render/xhtml/lazy.render
71
- - render/xhtml/espresso_libre.render
72
- - render/xhtml/blackboard.render
73
- - render/xhtml/brilliance_dull.render
74
- - render/xhtml/sunburst.render
75
- - render/xhtml/amy.render
76
- - render/xhtml/zenburnesque.render
77
- - render/xhtml/magicwb_amiga.render
78
- - render/xhtml/dawn.render
79
- - render/xhtml/eiffel.render
80
- - render/xhtml/twilight.render
81
- - render/xhtml/spacecadet.render
82
- - render/xhtml/brilliance_black.render
83
111
  - render/xhtml/mac_classic.render
84
- - render/xhtml/active4d.render
85
- - render/xhtml/slush_poppies.render
86
- - render/xhtml/cobalt.render
87
- - render/xhtml/iplastic.render
88
- - render/xhtml/all_hallows_eve.render
112
+ - render/xhtml/magicwb_amiga.render
89
113
  - render/xhtml/pastels_on_dark.render
90
- - render/latex/mac_classic.render
91
- - render/latex/active4d.render
92
- - render/latex/cobalt.render
93
- - render/latex/magicwb_amiga.render
94
- - render/latex/pastels_on_dark.render
95
- - render/latex/iplastic.render
96
- - render/latex/idle.render
97
- - render/latex/lazy.render
98
- - render/latex/espresso_libre.render
99
- - render/latex/brilliance_dull.render
100
- - render/latex/blackboard.render
101
- - render/latex/sunburst.render
102
- - render/latex/amy.render
103
- - render/latex/zenburnesque.render
104
- - render/latex/dawn.render
105
- - render/latex/eiffel.render
106
- - render/latex/twilight.render
107
- - render/latex/spacecadet.render
108
- - render/latex/slush_poppies.render
109
- - render/latex/brilliance_black.render
110
- - render/latex/all_hallows_eve.render
111
- - render/old/txt2tags.render
112
- - syntax/logo.syntax
113
- - syntax/dylan.syntax
114
- - syntax/latex_log.syntax
115
- - syntax/textile.syntax
116
- - syntax/build.syntax
117
- - syntax/latex_memoir.syntax
118
- - syntax/lexflex.syntax
119
- - syntax/lisp.syntax
120
- - syntax/gtd.syntax
121
- - syntax/m.syntax
122
- - syntax/ocaml.syntax
123
- - syntax/d.syntax
124
- - syntax/cm.syntax
125
- - syntax/ocamlyacc.syntax
126
- - syntax/opengl.syntax
127
- - syntax/pascal.syntax
128
- - syntax/lua.syntax
129
- - syntax/active4d.syntax
130
- - syntax/mel.syntax
131
- - syntax/r.syntax
132
- - syntax/r_console.syntax
133
- - syntax/smarty.syntax
134
- - syntax/latex.syntax
135
- - syntax/prolog.syntax
136
- - syntax/rez.syntax
137
- - syntax/asp.syntax
138
- - syntax/xhtml_1.0.syntax
139
- - syntax/icalendar.syntax
140
- - syntax/mootools.syntax
141
- - syntax/scheme.syntax
142
- - syntax/xml.syntax
143
- - syntax/mail.syntax
144
- - syntax/swig.syntax
145
- - syntax/slate.syntax
146
- - syntax/sweave.syntax
147
- - syntax/qmake_project.syntax
148
- - syntax/release_notes.syntax
149
- - syntax/html_tcl.syntax
150
- - syntax/html.syntax
151
- - syntax/c.syntax
152
- - syntax/pmwiki.syntax
153
- - syntax/ruby.syntax
154
- - syntax/csv.syntax
155
- - syntax/ruby_on_rails.syntax
156
- - syntax/xsl.syntax
157
- - syntax/yaml.syntax
158
- - syntax/io.syntax
159
- - syntax/java.syntax
160
- - syntax/gri.syntax
161
- - syntax/movable_type.syntax
162
- - syntax/cs.syntax
163
- - syntax/css.syntax
164
- - syntax/c++.syntax
165
- - syntax/haml.syntax
166
- - syntax/dot.syntax
167
- - syntax/tsv.syntax
168
- - syntax/ruby_experimental.syntax
169
- - syntax/man.syntax
170
- - syntax/bibtex.syntax
171
- - syntax/objective-c.syntax
172
- - syntax/subversion_commit_message.syntax
173
- - syntax/ocamllex.syntax
174
- - syntax/tcl.syntax
175
- - syntax/tex.syntax
176
- - syntax/ragel.syntax
177
- - syntax/shell-unix-generic.syntax
178
- - syntax/inform.syntax
179
- - syntax/sql.syntax
180
- - syntax/python.syntax
181
- - syntax/modula-3.syntax
182
- - syntax/cake.syntax
183
- - syntax/logtalk.syntax
184
- - syntax/ini.syntax
185
- - syntax/diff.syntax
186
- - syntax/fortran.syntax
187
- - syntax/txt2tags.syntax
188
- - syntax/s5.syntax
189
- - syntax/scilab.syntax
190
- - syntax/mips.syntax
191
- - syntax/twiki.syntax
192
- - syntax/perl.syntax
193
- - syntax/fxscript.syntax
194
- - syntax/markdown.syntax
195
- - syntax/lilypond.syntax
196
- - syntax/blog_html.syntax
197
- - syntax/html_mason.syntax
198
- - syntax/jquery_javascript.syntax
199
- - syntax/json.syntax
200
- - syntax/languagedefinition.syntax
201
- - syntax/tex_math.syntax
202
- - syntax/xml_strict.syntax
203
- - syntax/php.syntax
204
- - syntax/doxygen.syntax
205
- - syntax/strings_file.syntax
206
- - syntax/makefile.syntax
207
- - syntax/setext.syntax
208
- - syntax/ada.syntax
209
- - syntax/active4d_ini.syntax
210
- - syntax/active4d_library.syntax
211
- - syntax/antlr.syntax
212
- - syntax/javascript_+_prototype.syntax
213
- - syntax/lighttpd.syntax
214
- - syntax/template_toolkit.syntax
215
- - syntax/sql_rails.syntax
216
- - syntax/ssh-config.syntax
217
- - syntax/mediawiki.syntax
218
- - syntax/moinmoin.syntax
219
- - syntax/javascript.syntax
220
- - syntax/quake3_config.syntax
221
- - syntax/qt_c++.syntax
222
- - syntax/camlp4.syntax
223
- - syntax/multimarkdown.syntax
224
- - syntax/blog_text.syntax
225
- - syntax/blog_textile.syntax
226
- - syntax/bulletin_board.syntax
227
- - syntax/groovy.syntax
228
- - syntax/gtdalt.syntax
229
- - syntax/regular_expressions_python.syntax
230
- - syntax/latex_beamer.syntax
231
- - syntax/remind.syntax
232
- - syntax/regexp.syntax
233
- - syntax/rd_r_documentation.syntax
234
- - syntax/standard_ml.syntax
235
- - syntax/literate_haskell.syntax
236
- - syntax/python_django.syntax
237
- - syntax/restructuredtext.syntax
238
- - syntax/mod_perl.syntax
239
- - syntax/coldfusion.syntax
240
- - syntax/installer_distribution_script.syntax
241
- - syntax/vectorscript.syntax
242
- - syntax/macports_portfile.syntax
243
- - syntax/yui_javascript.syntax
244
- - syntax/actionscript.syntax
245
- - syntax/active4d_html.syntax
246
- - syntax/apache.syntax
247
- - syntax/applescript.syntax
248
- - syntax/asp_vb.net.syntax
249
- - syntax/blog_markdown.syntax
250
- - syntax/context_free.syntax
251
- - syntax/css_experimental.syntax
252
- - syntax/dokuwiki.syntax
253
- - syntax/eiffel.syntax
254
- - syntax/erlang.syntax
255
- - syntax/f-script.syntax
256
- - syntax/haskell.syntax
257
- - syntax/greasemonkey.syntax
258
- - syntax/html-asp.syntax
259
- - syntax/html_django.syntax
260
- - syntax/html_for_asp.net.syntax
261
- - syntax/html_rails.syntax
262
- - syntax/javaproperties.syntax
263
- - syntax/javascript_+_prototype_bracketed.syntax
264
- - syntax/objective-c++.syntax
265
- - syntax/plain_text.syntax
266
- - syntax/postscript.syntax
267
- - syntax/processing.syntax
268
- - syntax/property_list.syntax
269
- - syntax/regular_expressions_oniguruma.syntax
270
- has_rdoc: true
271
- homepage: http://ultraviolet.rubyforge.org
114
+ - render/xhtml/slush_poppies.render
115
+ - render/xhtml/spacecadet.render
116
+ - render/xhtml/sunburst.render
117
+ - render/xhtml/twilight.render
118
+ - render/xhtml/zenburnesque.render
119
+ - spec/spec_helper.rb
120
+ - spec/ultraviolet_spec.rb
121
+ - ultraviolet.gemspec
122
+ homepage: https://github.com/grosser/ultraviolet
123
+ licenses:
124
+ - MIT
272
125
  post_install_message:
273
- rdoc_options:
274
- - --main
275
- - README.txt
276
- require_paths:
126
+ rdoc_options: []
127
+ require_paths:
277
128
  - lib
278
- required_ruby_version: !ruby/object:Gem::Requirement
279
- requirements:
280
- - - ">="
281
- - !ruby/object:Gem::Version
282
- version: "0"
283
- version:
284
- required_rubygems_version: !ruby/object:Gem::Requirement
285
- requirements:
286
- - - ">="
287
- - !ruby/object:Gem::Version
288
- version: "0"
289
- version:
129
+ required_ruby_version: !ruby/object:Gem::Requirement
130
+ none: false
131
+ requirements:
132
+ - - ! '>='
133
+ - !ruby/object:Gem::Version
134
+ version: '0'
135
+ segments:
136
+ - 0
137
+ hash: -2407517066391602406
138
+ required_rubygems_version: !ruby/object:Gem::Requirement
139
+ none: false
140
+ requirements:
141
+ - - ! '>='
142
+ - !ruby/object:Gem::Version
143
+ version: '0'
290
144
  requirements: []
291
-
292
- rubyforge_project: ultraviolet
293
- rubygems_version: 1.0.1
145
+ rubyforge_project:
146
+ rubygems_version: 1.8.24
294
147
  signing_key:
295
- specification_version: 2
296
- summary: Syntax highlighting engine
297
- test_files:
298
- - test/test_uv.rb
148
+ specification_version: 3
149
+ summary: Ultraviolet syntax highlighting gem for Ruby18 and Ruby19
150
+ test_files: []