livetext 0.8.70 → 0.8.71
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.
- checksums.yaml +4 -4
- data/lib/livetext.rb +3 -4
- data/lib/userapi.rb +0 -1
- metadata +2 -2
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 9b9236cbbe00cda8fcaf0c3dd550204d03a241986f6e82cc3e4a848705ed5807
|
|
4
|
+
data.tar.gz: 46aa92b4fb6a3d1fe79f0fdd1fc3709ede6af67b636153fd2abdd10dc539be80
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
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.
|
|
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
|
-
|
|
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
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.
|
|
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-
|
|
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
|