tbmx 0.2.1 → 0.2.2

Sign up to get free protection for your applications and to get access to all the features.
Files changed (2) hide show
  1. data/lib/tbmx.rb +1 -1
  2. metadata +1 -1
data/lib/tbmx.rb CHANGED
@@ -176,7 +176,7 @@ module TBMX
176
176
 
177
177
  def tokenize
178
178
  @tokens = []
179
- rest = text
179
+ rest = text.gsub("\r", "")
180
180
  while rest.length > 0
181
181
  if result = BackslashToken.matches?(rest) or # Single Character Tokens
182
182
  result = LeftBraceToken.matches?(rest) or
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: tbmx
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.2.1
4
+ version: 0.2.2
5
5
  prerelease:
6
6
  platform: ruby
7
7
  authors: