rouge 1.7.1 → 1.7.2
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/rouge/lexers/ruby.rb +9 -1
- data/lib/rouge/version.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 0067ef8e0292870cfae52690f8986b2be7cbc84a
|
4
|
+
data.tar.gz: b5a1db51355599ab473aafe50c6610137711effe
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 7668435ddb3f59d24f1b9eddd6fdea65d937224f67804362830815a562de29e6eedc7d734327d254a55716d6102f1e5292c4b1b8533b252431fc79a08a618cbd
|
7
|
+
data.tar.gz: 786971375f80a9c5e1f3750bace221bef64c5fc2f9d98c6185d3bd466fbeec8700ad75d9c4b25610c62936c237e56461264d6fb79ba86b0322fcaed7cb119a54
|
data/lib/rouge/lexers/ruby.rb
CHANGED
@@ -341,6 +341,15 @@ module Rouge
|
|
341
341
|
end
|
342
342
|
|
343
343
|
state :method_call do
|
344
|
+
rule %r(/) do
|
345
|
+
token Operator
|
346
|
+
goto :expr_start
|
347
|
+
end
|
348
|
+
|
349
|
+
rule(//) { goto :method_call_spaced }
|
350
|
+
end
|
351
|
+
|
352
|
+
state :method_call_spaced do
|
344
353
|
mixin :whitespace
|
345
354
|
|
346
355
|
rule %r([%/]=) do
|
@@ -350,7 +359,6 @@ module Rouge
|
|
350
359
|
|
351
360
|
rule %r((/)(?=\S|\s*/)) do
|
352
361
|
token Str::Regex
|
353
|
-
groups Text, Str::Regex
|
354
362
|
goto :slash_regex
|
355
363
|
end
|
356
364
|
|
data/lib/rouge/version.rb
CHANGED
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: rouge
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.7.
|
4
|
+
version: 1.7.2
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Jeanine Adkisson
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2014-
|
11
|
+
date: 2014-10-05 00:00:00.000000000 Z
|
12
12
|
dependencies: []
|
13
13
|
description: Rouge aims to a be a simple, easy-to-extend drop-in replacement for pygments.
|
14
14
|
email:
|