rouge 0.2.11 → 0.2.12

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -189,13 +189,14 @@ module Rouge
189
189
 
190
190
  state :tdqs do
191
191
  rule /"""/, 'Literal.String', :pop!
192
+ rule /"/, 'Literal.String'
192
193
  mixin :strings_double
193
194
  mixin :nl
194
195
  end
195
196
 
196
197
  state :tsqs do
197
198
  rule /'''/, 'Literal.String', :pop!
198
- rule /[^\\'%\n]+/, 'Literal.String'
199
+ rule /'/, 'Literal.String'
199
200
  mixin :strings_single
200
201
  mixin :nl
201
202
  end
@@ -64,6 +64,7 @@ module Rouge
64
64
 
65
65
  if interp
66
66
  mixin :string_intp_escaped
67
+ rule /#/, toktype
67
68
  else
68
69
  rule /[\\#]/, toktype
69
70
  end
@@ -1,5 +1,5 @@
1
1
  module Rouge
2
2
  def self.version
3
- "0.2.11"
3
+ "0.2.12"
4
4
  end
5
5
  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: 0.2.11
4
+ version: 0.2.12
5
5
  prerelease:
6
6
  platform: ruby
7
7
  authors:
@@ -9,7 +9,7 @@ authors:
9
9
  autorequire:
10
10
  bindir: bin
11
11
  cert_chain: []
12
- date: 2013-02-04 00:00:00.000000000 Z
12
+ date: 2013-02-07 00:00:00.000000000 Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: thor