Skip to content

Commit effc7e9

Browse files
committed
fix .erb file type recognition; prepare 1.0.2
1 parent 103ba91 commit effc7e9

File tree

3 files changed

+8
-1
lines changed

3 files changed

+8
-1
lines changed

Changes.textile

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,12 @@ p=. _This files lists all changes in the CodeRay library since the 0.9.8 release
44

55
{{toc}}
66

7+
h2. Changes in 1.0.2
8+
9+
Fixes:
10+
11+
* .erb files are recognized as ERB.
12+
713
h2. Changes in 1.0.1
814

915
New:

lib/coderay/helpers/file_type.rb

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -84,6 +84,7 @@ def shebang filename
8484
'css' => :css,
8585
'diff' => :diff,
8686
'dpr' => :delphi,
87+
'erb' => :erb,
8788
'gemspec' => :ruby,
8889
'groovy' => :groovy,
8990
'gvy' => :groovy,

lib/coderay/version.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,3 @@
11
module CodeRay
2-
VERSION = '1.0.1'
2+
VERSION = '1.0.2'
33
end

0 commit comments

Comments
 (0)