livetext 0.8.70 → 0.8.71

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/livetext.rb +3 -4
  3. data/lib/userapi.rb +0 -1
  4. metadata +2 -2
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: e413bcfe4586395dc9143b00a87955be2ae80f1da20d54a2fdc5809db8b99324
4
- data.tar.gz: 81a2d9729aafe869516edccdb145545135b27d881f7d06442b2136db7e6cb1e1
3
+ metadata.gz: 9b9236cbbe00cda8fcaf0c3dd550204d03a241986f6e82cc3e4a848705ed5807
4
+ data.tar.gz: 46aa92b4fb6a3d1fe79f0fdd1fc3709ede6af67b636153fd2abdd10dc539be80
5
5
  SHA512:
6
- metadata.gz: 3972eb3083aa1a1638c26af552947a61346a437668cdf55f2e5b6c9f00f99ff691306bc097c545af1325853b5e49f39d216243be4f55d9d6517c8535c2c1cc36
7
- data.tar.gz: 61b5c70f1695849bb5db9e77edbb7502b506980c9948d845f66776ea9513ba10d72cbb77e87a6649294447a29ba62fdb67827cefab4af19318f8be6d37ea64fa
6
+ metadata.gz: 1c754d3461c7699c45dcbe84ce45fec8e0f9a77b4c56891b5dae5339bc9c18cbfab4bdca975845092a19549b5f3035eae3f19c3c5d7c5dda5a15e1e8db32d12c
7
+ data.tar.gz: 8054676d55ae1d01d332d7d319ce280f066706f78714866f74a4f12a4f48bde69784b030cd2dd3058c4aed8ec7b18bcd230b8094f6e4ef0cc662dbdc4f16a1d4
data/lib/livetext.rb CHANGED
@@ -1,5 +1,5 @@
1
1
  class Livetext
2
- VERSION = "0.8.70"
2
+ VERSION = "0.8.71"
3
3
  Path = File.expand_path(File.join(File.dirname(__FILE__)))
4
4
  end
5
5
 
@@ -129,7 +129,6 @@ class Livetext
129
129
  end
130
130
 
131
131
  def transform_line(line, context=nil)
132
- result = ""
133
132
  context ||= binding
134
133
  @context = context
135
134
  sigil = "." # Can't change yet
@@ -142,7 +141,7 @@ class Livetext
142
141
  elsif line =~ sname
143
142
  handle_sname(line)
144
143
  else
145
- result << line
144
+ @body << line
146
145
  end
147
146
  result
148
147
  end
@@ -165,7 +164,7 @@ class Livetext
165
164
  loop do
166
165
  line = @main.nextline
167
166
  break if line.nil?
168
- process_line(line)
167
+ process_line(line) # transform_line ???
169
168
  end
170
169
  @body
171
170
  end
data/lib/userapi.rb CHANGED
@@ -104,7 +104,6 @@ module Livetext::UserAPI
104
104
  end
105
105
 
106
106
  def _passthru(line, context = nil)
107
- $which = 1
108
107
  return if @_nopass
109
108
  # p [@_nopara, line]
110
109
  _out "<p>" if line == "\n" and ! @_nopara
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: livetext
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.8.70
4
+ version: 0.8.71
5
5
  platform: ruby
6
6
  authors:
7
7
  - Hal Fulton
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2019-04-15 00:00:00.000000000 Z
11
+ date: 2019-04-16 00:00:00.000000000 Z
12
12
  dependencies: []
13
13
  description: A smart text processor extensible in Ruby
14
14
  email: rubyhacker@gmail.com