livetext 0.8.81 → 0.8.82

Sign up to get free protection for your applications and to get access to all the features.
Files changed (4) hide show
  1. checksums.yaml +4 -4
  2. data/lib/formatline.rb +3 -3
  3. data/lib/livetext.rb +1 -1
  4. metadata +1 -1
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: ef8d4d20d509f85b02f3bec9fd06a3e9d6f54968b634b386bea7baa1c84eeb47
4
- data.tar.gz: 926e1b7cf4f8e0aa1b9ee13bea39a31d59a79a606bcd13d5dcb3135d02a23c6b
3
+ metadata.gz: 7041923b573f219f9840264ca00ae087c195e8bb40740b99708f1dd997faebdd
4
+ data.tar.gz: a64013d7d8e8028628bd0ef460e51dcfc98769e53fa76bcd9fb6f35f4638b468
5
5
  SHA512:
6
- metadata.gz: d8b95158a230fba31c2d0226e8bec2d778ae9a569c9cb9fd0af97b6b5788dcb6618adcf52777d383d1a4cab1d140dafe5f3a257693c48fe6c51ca9050a7d9cd3
7
- data.tar.gz: 9d27ab12a8166ca694fd9248a3c7e37b62dec3642a00090f3ae71718785bb4f1ab74f1113afc9c89aaf44cade6c7084a63abce9f2bded440b5723cd33d958e78
6
+ metadata.gz: d66daf9414ba6168414d115e86d7695fe9f4f5bca8f6d04960b3c7b95dbb79f9ac1beb8a079f3c75e3501c0a67745ccd565339a6e10b41c479d499aebf3b6e57
7
+ data.tar.gz: 8b2fe0da41d71a410e0b0386cf2f7b344c459f1619cde8df33729f6f63455465bf4f9d1804dc2ecb893544e62b819491fef56e8606339dfa0fe7f4a8cf4b4275
data/lib/formatline.rb CHANGED
@@ -18,6 +18,8 @@ class FormatLine
18
18
  Param = ["]", "\n", nil]
19
19
  Escape = "\\" # not an ESC char
20
20
 
21
+ Syms = { "*" => :b, "_" => :i, "`" => :t, "~" => :s }
22
+
21
23
  def terminate?(terminators, ch)
22
24
  if terminators.is_a? Regexp
23
25
  terminators === ch
@@ -192,8 +194,6 @@ class FormatLine
192
194
  @token << str unless str.nil?
193
195
  end
194
196
 
195
- Syms = { "*" => :b, "_" => :i, "`" => :t, "~" => :s }
196
-
197
197
  def add_token(kind, token = @token)
198
198
  @tokenlist << [kind, token] unless token.empty?
199
199
  @token = Null.dup
@@ -255,7 +255,7 @@ class FormatLine
255
255
  add_token :str
256
256
  sym = Syms[char]
257
257
  if embedded?
258
- add char # ??? add_token "*", :string
258
+ # add char # ??? add_token "*", :string
259
259
  return
260
260
  end
261
261
  grab
data/lib/livetext.rb CHANGED
@@ -1,5 +1,5 @@
1
1
  class Livetext
2
- VERSION = "0.8.81"
2
+ VERSION = "0.8.82"
3
3
  Path = File.expand_path(File.join(File.dirname(__FILE__)))
4
4
  end
5
5
 
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: livetext
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.8.81
4
+ version: 0.8.82
5
5
  platform: ruby
6
6
  authors:
7
7
  - Hal Fulton