summaryrefslogtreecommitdiff
path: root/lib/coderay/encoders
diff options
context:
space:
mode:
authorKornelius Kalnbach <murphy@rubychan.de>2011-12-27 04:08:29 +0100
committerKornelius Kalnbach <murphy@rubychan.de>2011-12-27 04:08:29 +0100
commit2afe23ab0a3d17b50f55750241a682403ced4fc8 (patch)
tree19708f1d79ce22eed6b0e90de4760a8cfcc9504b /lib/coderay/encoders
parentc044a7a6eaba9ba47b8fde2cd6bdd444d8f87062 (diff)
parent9c3837e0086ca07f241e9cc74c9fabbeb2d39987 (diff)
downloadcoderay-2afe23ab0a3d17b50f55750241a682403ced4fc8.tar.gz
Merge branch 'master' into multiline-inline-diff
Conflicts: coderay.gemspec
Diffstat (limited to 'lib/coderay/encoders')
-rw-r--r--lib/coderay/encoders/html.rb6
-rw-r--r--lib/coderay/encoders/terminal.rb12
2 files changed, 9 insertions, 9 deletions
diff --git a/lib/coderay/encoders/html.rb b/lib/coderay/encoders/html.rb
index 60dfad1..c32dbd1 100644
--- a/lib/coderay/encoders/html.rb
+++ b/lib/coderay/encoders/html.rb
@@ -109,9 +109,9 @@ module Encoders
:hint => false,
}
- autoload :Output, 'coderay/encoders/html/output'
- autoload :CSS, 'coderay/encoders/html/css'
- autoload :Numbering, 'coderay/encoders/html/numbering'
+ autoload :Output, CodeRay.coderay_path('encoders', 'html', 'output')
+ autoload :CSS, CodeRay.coderay_path('encoders', 'html', 'css')
+ autoload :Numbering, CodeRay.coderay_path('encoders', 'html', 'numbering')
attr_reader :css
diff --git a/lib/coderay/encoders/terminal.rb b/lib/coderay/encoders/terminal.rb
index 15c8a52..005032d 100644
--- a/lib/coderay/encoders/terminal.rb
+++ b/lib/coderay/encoders/terminal.rb
@@ -24,14 +24,14 @@ module CodeRay
:attribute_value => '31',
:binary => '1;35',
:char => {
- :self => '36', :delimiter => '34'
+ :self => '36', :delimiter => '1;34'
},
:class => '1;35',
:class_variable => '36',
:color => '32',
:comment => '37',
- :complex => '34',
- :constant => ['34', '4'],
+ :complex => '1;34',
+ :constant => ['1;34', '4'],
:decoration => '35',
:definition => '1;32',
:directive => ['32', '4'],
@@ -56,7 +56,7 @@ module CodeRay
:predefined_type => '1;30',
:predefined => ['4', '1;34'],
:preprocessor => '36',
- :pseudo_class => '34',
+ :pseudo_class => '1;34',
:regexp => {
:self => '31',
:content => '31',
@@ -77,10 +77,10 @@ module CodeRay
:delimiter => '1;32',
},
:symbol => '1;32',
- :tag => '34',
+ :tag => '1;34',
:type => '1;34',
:value => '36',
- :variable => '34',
+ :variable => '1;34',
:insert => '42',
:delete => '41',