summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKornelius Kalnbach <murphy@rubychan.de>2011-10-26 13:05:20 +0200
committerKornelius Kalnbach <murphy@rubychan.de>2011-10-26 13:05:20 +0200
commiteffc7e9465859fa6385faecc935ffad50823b381 (patch)
tree8983ba236466f318de1422f3236e951713e6a290
parent103ba91ff14e886968a4a0be5e121b9cacf13ade (diff)
downloadcoderay-effc7e9465859fa6385faecc935ffad50823b381.tar.gz
fix .erb file type recognition; prepare 1.0.2v1.0.2
-rw-r--r--Changes.textile6
-rw-r--r--lib/coderay/helpers/file_type.rb1
-rw-r--r--lib/coderay/version.rb2
3 files changed, 8 insertions, 1 deletions
diff --git a/Changes.textile b/Changes.textile
index efe48a2..9135f67 100644
--- a/Changes.textile
+++ b/Changes.textile
@@ -4,6 +4,12 @@ p=. _This files lists all changes in the CodeRay library since the 0.9.8 release
{{toc}}
+h2. Changes in 1.0.2
+
+Fixes:
+
+* .erb files are recognized as ERB.
+
h2. Changes in 1.0.1
New:
diff --git a/lib/coderay/helpers/file_type.rb b/lib/coderay/helpers/file_type.rb
index 7b9939c..cbe0bfc 100644
--- a/lib/coderay/helpers/file_type.rb
+++ b/lib/coderay/helpers/file_type.rb
@@ -84,6 +84,7 @@ module CodeRay
'css' => :css,
'diff' => :diff,
'dpr' => :delphi,
+ 'erb' => :erb,
'gemspec' => :ruby,
'groovy' => :groovy,
'gvy' => :groovy,
diff --git a/lib/coderay/version.rb b/lib/coderay/version.rb
index b6cc192..e6b8386 100644
--- a/lib/coderay/version.rb
+++ b/lib/coderay/version.rb
@@ -1,3 +1,3 @@
module CodeRay
- VERSION = '1.0.1'
+ VERSION = '1.0.2'
end