livetext 0.8.29 → 0.8.30
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/dsl/bookish.rb +5 -5
- data/dsl/pyggish.rb +1 -1
- data/lib/livetext.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA1:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 82b68f8bed09c43060d1924fb9326e05701f63ca
|
|
4
|
+
data.tar.gz: f4cea87d02d3b66c15ea639028b1eab1d9a2fb21
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 456c1e13990245edc7b3dfa1763d44b761203093e72578bc822e2913eb6ef6452e56dc8c12455fe8313a50b074258ed75e3d2daf7caafe2b6883e785e979d4c4
|
|
7
|
+
data.tar.gz: df65d763359a056818b8579707c45d2b25b46aef248a309747df7cf0d0802299944b90618b5e09c782445acd4bbaa94d484bd158d5102a56c45f5095c566250b
|
data/dsl/bookish.rb
CHANGED
|
@@ -115,7 +115,7 @@ def sec
|
|
|
115
115
|
@section = "#@chapter.#@sec"
|
|
116
116
|
# _errout("section #@section")
|
|
117
117
|
@toc << "#{_nbsp(3)}<b>#@section</b> #@_data<br>"
|
|
118
|
-
|
|
118
|
+
# _next_output(_slug(@_data))
|
|
119
119
|
_puts "<h3>#@section #{@_data}</h3>\n"
|
|
120
120
|
end
|
|
121
121
|
|
|
@@ -124,7 +124,7 @@ def subsec
|
|
|
124
124
|
@subsec = "#@chapter.#@sec.#@sec2"
|
|
125
125
|
@toc << "#{_nbsp(6)}<b>#@subsec</b> #@_data<br>"
|
|
126
126
|
# _errout("section #@subsec")
|
|
127
|
-
|
|
127
|
+
# _next_output(_slug(@_data))
|
|
128
128
|
_puts "<h3>#@subsec #{@_data}</h3>\n"
|
|
129
129
|
end
|
|
130
130
|
|
|
@@ -134,7 +134,7 @@ def table2
|
|
|
134
134
|
extra = _args[2]
|
|
135
135
|
delim = " :: "
|
|
136
136
|
_puts "<br><center><table border=1 width=#{wide}% cellpadding=5>"
|
|
137
|
-
lines = _body
|
|
137
|
+
lines = _body(true)
|
|
138
138
|
lines.map! {|line| _formatting(line) }
|
|
139
139
|
|
|
140
140
|
lines.each do |line|
|
|
@@ -155,7 +155,7 @@ def table
|
|
|
155
155
|
title = @_data
|
|
156
156
|
delim = " :: "
|
|
157
157
|
_puts "<br><center><table border=1 width=90% cellpadding=5>"
|
|
158
|
-
lines = _body
|
|
158
|
+
lines = _body(true)
|
|
159
159
|
maxw = nil
|
|
160
160
|
lines.each do |line|
|
|
161
161
|
_formatting(line)
|
|
@@ -176,7 +176,7 @@ def table
|
|
|
176
176
|
end
|
|
177
177
|
_puts "</table>"
|
|
178
178
|
@toc << "#{_nbsp(8)}<b>Table #@chapter.#@table_num</b> #{title}<br>"
|
|
179
|
-
|
|
179
|
+
# _next_output(_slug("table_#{title}"))
|
|
180
180
|
_puts "<b>Table #@chapter.#@table_num #{title}</b></center><br>"
|
|
181
181
|
end
|
|
182
182
|
|
data/dsl/pyggish.rb
CHANGED
|
@@ -168,7 +168,7 @@ def fragment
|
|
|
168
168
|
_debug "-- fragment: lexer = #{lexer.inspect}"
|
|
169
169
|
code = ""
|
|
170
170
|
code << "# Ruby code\n\n" if lexer == :ruby
|
|
171
|
-
_body {|line| code << " " + line }
|
|
171
|
+
_body(true) {|line| code << " " + line }
|
|
172
172
|
_debug "code = \n#{code}\n-----"
|
|
173
173
|
params = "(code, lexer: #{lexer.inspect}, options: {})"
|
|
174
174
|
_debug "-- pygments params = #{params}"
|
data/lib/livetext.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.30
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- Hal Fulton
|
|
8
8
|
autorequire:
|
|
9
9
|
bindir: bin
|
|
10
10
|
cert_chain: []
|
|
11
|
-
date: 2018-07-
|
|
11
|
+
date: 2018-07-05 00:00:00.000000000 Z
|
|
12
12
|
dependencies: []
|
|
13
13
|
description: A smart text processor extensible in Ruby
|
|
14
14
|
email: rubyhacker@gmail.com
|