rouge 1.7.0 → 1.7.1

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: 93796c1d767a05a20dba729e4a35759571e8fe79
4
- data.tar.gz: ad2c926cffb004c214e4d285c57c19a2b5c4e2e3
3
+ metadata.gz: 3c1f012f90e3c3277fabe104afa18e611c073778
4
+ data.tar.gz: c34f498e9cb500a930627725b54fbdb04bd102ec
5
5
  SHA512:
6
- metadata.gz: 8f39f87c0fbc32086f5de2668e73bb41083505d25d638691bccfa569baebbf9384f9cfa6997a100dd989e54df095f65250edba317d0541a126dd754077358c72
7
- data.tar.gz: c8093c3490d759fc9363744ee4fa34896bc4785da2a7bb797aa48b6e74eb225cce4dbb5d890e06a72374cc9c1f00d4c3b48b706d09c4cc0d4181bee5178eb8d5
6
+ metadata.gz: 4b4552a5ad0a7279fb22571f2957e4878117e7871f059925ffcc73ead40946052a89812972ec509ff8b0f852a65dbf696614a7b8940fc423e36dd6baf4c2b3f0
7
+ data.tar.gz: ead1ef4b73eb84cdf8dad9199310dabef600cf6404cf65c44677b399f092ba96d4cd0d7f19181137ca1b402571d7e96f6d39977acdf2ad76b37bb1f39a75b84d
@@ -341,16 +341,19 @@ module Rouge
341
341
  end
342
342
 
343
343
  state :method_call do
344
- rule %r((\s+)(/)(?=\S|\s*/)) do
345
- groups Text, Str::Regex
346
- goto :slash_regex
347
- end
344
+ mixin :whitespace
348
345
 
349
- rule /(\s*)(%=)/ do
350
- groups Text, Operator
346
+ rule %r([%/]=) do
347
+ token Operator
351
348
  goto :expr_start
352
349
  end
353
350
 
351
+ rule %r((/)(?=\S|\s*/)) do
352
+ token Str::Regex
353
+ groups Text, Str::Regex
354
+ goto :slash_regex
355
+ end
356
+
354
357
  rule(%r((?=\s*/))) { pop! }
355
358
 
356
359
  rule(/\s+/) { token Text; goto :expr_start }
@@ -2,6 +2,6 @@
2
2
 
3
3
  module Rouge
4
4
  def self.version
5
- "1.7.0"
5
+ "1.7.1"
6
6
  end
7
7
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: rouge
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.7.0
4
+ version: 1.7.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Jeanine Adkisson