coderay 0.7.2.165 → 0.7.2.168

Sign up to get free protection for your applications and to get access to all the features.
data/README CHANGED
@@ -18,14 +18,13 @@ And with line numbers.
18
18
  * is what everybody should have on their website
19
19
  * solves all your problems and makes the girls run after you
20
20
 
21
- Version: 0.5.0 (2006.april.16)
21
+ Version: 0.7.2 (2006.july.11)
22
22
  Author:: murphy (Kornelius Kalnbach)
23
23
  Contact:: murphy rubychan de
24
24
  Website:: coderay.rubychan.de[http://coderay.rubychan.de]
25
25
  Old Website:: rd.cYcnus.de/coderay[http://rd.cYcnus.de/coderay]
26
- Copyright:: (c) 2006 by cYcnus
27
26
  License:: GNU LGPL; see LICENSE file in the main directory.
28
- Subversion:: $Id: README 139 2006-04-16 04:31:10Z murphy $
27
+ Subversion:: $Id: README 168 2006-07-11 13:39:47Z murphy $
29
28
 
30
29
  -----
31
30
 
@@ -0,0 +1,4 @@
1
+ #!/usr/bin/env ruby
2
+ require 'coderay'
3
+
4
+ puts CodeRay::Encoders[:html]::CSS.new.stylesheet
@@ -6,7 +6,8 @@ module Scanners
6
6
  register_for :plaintext, :plain
7
7
 
8
8
  def scan_tokens tokens, options
9
- tokens << [scan_until(/\z/), :plain]
9
+ text = (scan_until(/\z/) || '')
10
+ tokens << [text, :plain]
10
11
  end
11
12
 
12
13
  end
metadata CHANGED
@@ -3,7 +3,7 @@ rubygems_version: 0.9.0
3
3
  specification_version: 1
4
4
  name: coderay
5
5
  version: !ruby/object:Gem::Version
6
- version: 0.7.2.165
6
+ version: 0.7.2.168
7
7
  date: 2006-07-11 00:00:00 +02:00
8
8
  summary: CodeRay is a fast syntax highlighter engine for many languages.
9
9
  require_paths:
@@ -63,11 +63,11 @@ files:
63
63
  - "./lib/coderay/scanners/rhtml.rb"
64
64
  - "./lib/coderay/scanners/delphi.rb"
65
65
  - "./lib/coderay/scanners/c.rb"
66
+ - "./lib/coderay/scanners/plaintext.rb"
66
67
  - "./lib/coderay/scanners/_map.rb"
67
68
  - "./lib/coderay/scanners/html.rb"
68
69
  - "./lib/coderay/scanners/ruby.rb"
69
70
  - "./lib/coderay/scanners/xml.rb"
70
- - "./lib/coderay/scanners/plaintext.rb"
71
71
  - "./lib/coderay/scanners/nitro_xhtml.rb"
72
72
  - "./lib/coderay/scanners/ruby/patterns.rb"
73
73
  - "./lib/coderay/styles/cycnus.rb"
@@ -109,6 +109,7 @@ extra_rdoc_files:
109
109
  - "./FOLDERS"
110
110
  executables:
111
111
  - coderay
112
+ - coderay_stylesheet
112
113
  extensions: []
113
114
  requirements:
114
115
  - strscan