File tree Expand file tree Collapse file tree 3 files changed +3
-1
lines changed Expand file tree Collapse file tree 3 files changed +3
-1
lines changed Original file line number Diff line number Diff line change 6
6
by Daniel Svensson.
7
7
* Parse rb_intern_const correctly in C. PR #381 by Sho Hashimoto.
8
8
* Fix broken assets caused by #335 when serving ri. PR #360 by Alex Wood.
9
+ * Don't try to parse svg files. Issue #350 by Sigurd Svela.
9
10
10
11
=== 4.2.2 / 2016-02-09
11
12
Original file line number Diff line number Diff line change @@ -437,7 +437,7 @@ def parse_files files
437
437
438
438
def remove_unparseable files
439
439
files . reject do |file |
440
- file =~ /\. (?:class|eps|erb|scpt\. txt|ttf|yml)$/i or
440
+ file =~ /\. (?:class|eps|erb|scpt\. txt|svg| ttf|yml)$/i or
441
441
( file =~ /tags$/i and
442
442
open ( file , 'rb' ) { |io |
443
443
io . read ( 100 ) =~ /\A (\f \n [^,]+,\d +$|!_TAG_)/
Original file line number Diff line number Diff line change @@ -300,6 +300,7 @@ def test_remove_unparseable
300
300
blah.eps
301
301
blah.erb
302
302
blah.scpt.txt
303
+ blah.svg
303
304
blah.ttf
304
305
blah.yml
305
306
]
You can’t perform that action at this time.
0 commit comments