tbmx 0.2.1 → 0.2.2

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.
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: