livetext 0.7.0 → 0.7.1
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 -5
- metadata +3 -2
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA1:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: df24e0cbe9a3f4391eef57d4bd0574711e65e175
|
|
4
|
+
data.tar.gz: 891f6d330f4e6d2fd0decd0f863ac40deb1f5d77
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: c36b73c36a7098e92454da35e1a6087a1bd0e50b1c351e5f6a235ca2988df79e211b47a934a68fb8aaf494cdda07e022c3607eca24d0cc9cdfa52e6bea6b7e8f
|
|
7
|
+
data.tar.gz: 8019031d4822367265d76cfc14218d1ab3c572068091936fff7fca59187f6f82c4c17101bec018ddaa0aee05c03b8cf2fdb6a332f6f1f20c3ec44b5fadfd454b
|
data/lib/livetext.rb
CHANGED
|
@@ -8,7 +8,7 @@ require_relative "#{Plugins}/pyggish"
|
|
|
8
8
|
|
|
9
9
|
|
|
10
10
|
class Livetext
|
|
11
|
-
VERSION = "0.7.
|
|
11
|
+
VERSION = "0.7.1"
|
|
12
12
|
|
|
13
13
|
Space = " "
|
|
14
14
|
|
|
@@ -265,6 +265,7 @@ class Livetext
|
|
|
265
265
|
|
|
266
266
|
def _passthru(line)
|
|
267
267
|
return if @_nopass
|
|
268
|
+
TTY.puts "nopara = #@_nopara"
|
|
268
269
|
_puts "<p>" if line == "\n" and ! @_nopara
|
|
269
270
|
_formatting(line)
|
|
270
271
|
_substitution(line)
|
|
@@ -321,6 +322,7 @@ class Livetext
|
|
|
321
322
|
|
|
322
323
|
def say
|
|
323
324
|
str = _substitution(@_data)
|
|
325
|
+
TTY.puts str
|
|
324
326
|
_optional_blank_line
|
|
325
327
|
end
|
|
326
328
|
|
|
@@ -512,8 +514,6 @@ class Livetext
|
|
|
512
514
|
|
|
513
515
|
###### Livetext
|
|
514
516
|
|
|
515
|
-
attr_accessor :file, :lnum, :source_files
|
|
516
|
-
|
|
517
517
|
def initialize(input = ::STDIN, output = ::STDOUT)
|
|
518
518
|
@input = input
|
|
519
519
|
@output = output
|
|
@@ -525,8 +525,6 @@ class Livetext
|
|
|
525
525
|
@_file_num = 0
|
|
526
526
|
@_nopass = false
|
|
527
527
|
@_nopara = false
|
|
528
|
-
|
|
529
|
-
@lnum = 0
|
|
530
528
|
end
|
|
531
529
|
|
|
532
530
|
# def method_missing(name, *args)
|
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.7.
|
|
4
|
+
version: 0.7.1
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- Hal Fulton
|
|
@@ -102,8 +102,9 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
|
102
102
|
version: '0'
|
|
103
103
|
requirements: []
|
|
104
104
|
rubyforge_project:
|
|
105
|
-
rubygems_version: 2.
|
|
105
|
+
rubygems_version: 2.4.2
|
|
106
106
|
signing_key:
|
|
107
107
|
specification_version: 4
|
|
108
108
|
summary: A smart processor for text
|
|
109
109
|
test_files: []
|
|
110
|
+
has_rdoc:
|