livetext 0.8.66 → 0.8.67
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 +5 -5
- data/lib/livetext.rb +2 -3
- data/lib/standard.rb +0 -2
- metadata +2 -2
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
|
-
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
2
|
+
SHA1:
|
|
3
|
+
metadata.gz: 135eb051e6b8769a361496bb658d0abdade8f970
|
|
4
|
+
data.tar.gz: f09f36de1855b12e687322231814b45928329f24
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 33dc37db9194b4c4f92f84fd5301e7c0af2583d190532f8d7bce70b3bffa67f29724468e4426d3276a70cc68399b1383175f58aa27c3157cad9d28f832923975
|
|
7
|
+
data.tar.gz: 2c48c2bf74d6af39656c5b6bda6d62ac22e4e2c2ba4ce41a9b9e6563e7d3abcb44cf9d44ba5122ca3366a5fd49a1dafc07fac74d09fdd5260e073559a00e30e6
|
data/lib/livetext.rb
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
class Livetext
|
|
2
|
-
VERSION = "0.8.
|
|
2
|
+
VERSION = "0.8.67"
|
|
3
3
|
Path = File.expand_path(File.join(File.dirname(__FILE__)))
|
|
4
4
|
end
|
|
5
5
|
|
|
@@ -154,15 +154,14 @@ class Livetext
|
|
|
154
154
|
end
|
|
155
155
|
|
|
156
156
|
def transform(text)
|
|
157
|
+
@output = File.new("/dev/null", "w")
|
|
157
158
|
result = ""
|
|
158
159
|
enum = text.each_line
|
|
159
160
|
@main.source(enum, "STDIN", 0)
|
|
160
161
|
loop do
|
|
161
162
|
line = @main.nextline
|
|
162
163
|
break if line.nil?
|
|
163
|
-
puts "LINE: #{line}"
|
|
164
164
|
result << transform_line(line)
|
|
165
|
-
puts "result: #{result}"
|
|
166
165
|
end
|
|
167
166
|
result
|
|
168
167
|
end
|
data/lib/standard.rb
CHANGED
|
@@ -200,8 +200,6 @@ module Livetext::Standard
|
|
|
200
200
|
self.extend(newmod)
|
|
201
201
|
init = "init_#{name}"
|
|
202
202
|
self.send(init) if self.respond_to? init
|
|
203
|
-
puts "MIXINS: #{@_mixins.inspect}"
|
|
204
|
-
puts "newmod METHODS: #{newmod.instance_methods.sort}"
|
|
205
203
|
_optional_blank_line
|
|
206
204
|
end
|
|
207
205
|
|
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.
|
|
4
|
+
version: 0.8.67
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- Hal Fulton
|
|
@@ -148,7 +148,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
|
148
148
|
version: '0'
|
|
149
149
|
requirements: []
|
|
150
150
|
rubyforge_project:
|
|
151
|
-
rubygems_version: 2.
|
|
151
|
+
rubygems_version: 2.2.2
|
|
152
152
|
signing_key:
|
|
153
153
|
specification_version: 4
|
|
154
154
|
summary: A smart processor for text
|