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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 3c1f012f90e3c3277fabe104afa18e611c073778
4
- data.tar.gz: c34f498e9cb500a930627725b54fbdb04bd102ec
3
+ metadata.gz: 0067ef8e0292870cfae52690f8986b2be7cbc84a
4
+ data.tar.gz: b5a1db51355599ab473aafe50c6610137711effe
5
5
  SHA512:
6
- metadata.gz: 4b4552a5ad0a7279fb22571f2957e4878117e7871f059925ffcc73ead40946052a89812972ec509ff8b0f852a65dbf696614a7b8940fc423e36dd6baf4c2b3f0
7
- data.tar.gz: ead1ef4b73eb84cdf8dad9199310dabef600cf6404cf65c44677b399f092ba96d4cd0d7f19181137ca1b402571d7e96f6d39977acdf2ad76b37bb1f39a75b84d
6
+ metadata.gz: 7668435ddb3f59d24f1b9eddd6fdea65d937224f67804362830815a562de29e6eedc7d734327d254a55716d6102f1e5292c4b1b8533b252431fc79a08a618cbd
7
+ data.tar.gz: 786971375f80a9c5e1f3750bace221bef64c5fc2f9d98c6185d3bd466fbeec8700ad75d9c4b25610c62936c237e56461264d6fb79ba86b0322fcaed7cb119a54
@@ -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
@@ -2,6 +2,6 @@
2
2
 
3
3
  module Rouge
4
4
  def self.version
5
- "1.7.1"
5
+ "1.7.2"
6
6
  end
7
7
  end
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.1
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-09-18 00:00:00.000000000 Z
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: