livetext 0.8.2 → 0.8.3
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/dsl/tutorial.rb +1 -1
- data/lib/livetext.rb +1 -1
- data/lib/standard.rb +26 -4
- data/livetext.gemspec +2 -2
- data/test/{testfiles → data}/basic_formatting/expected-error.txt +0 -0
- data/test/{testfiles → data}/basic_formatting/expected-output.txt +0 -0
- data/test/{testfiles → data}/basic_formatting/source.ltx +0 -0
- data/test/{testfiles → data}/block_comment/expected-error.txt +0 -0
- data/test/{testfiles → data}/block_comment/expected-output.txt +0 -0
- data/test/{testfiles → data}/block_comment/source.ltx +0 -0
- data/test/{testfiles → data}/comments_ignored_1/expected-error.txt +0 -0
- data/test/{testfiles → data}/comments_ignored_1/expected-output.txt +0 -0
- data/test/{testfiles → data}/comments_ignored_1/source.ltx +0 -0
- data/test/{testfiles → data}/copy_is_raw/expected-error.txt +0 -0
- data/test/{testfiles → data}/copy_is_raw/expected-output.txt +0 -0
- data/test/{testfiles → data}/copy_is_raw/rawtext.inc +0 -0
- data/test/{testfiles → data}/copy_is_raw/source.ltx +0 -0
- data/test/{testfiles → data}/crap +0 -0
- data/test/{testfiles → data}/def_method/expected-error.txt +0 -0
- data/test/{testfiles → data}/def_method/expected-output.txt +0 -0
- data/test/{testfiles → data}/def_method/source.ltx +0 -0
- data/test/{testfiles → data}/error_inc_line_num/expected-error.txt +0 -0
- data/test/{testfiles → data}/error_inc_line_num/expected-output.txt +0 -0
- data/test/{testfiles → data}/error_inc_line_num/file2.ltx +0 -0
- data/test/{testfiles → data}/error_inc_line_num/source.ltx +0 -0
- data/test/{testfiles → data}/error_invalid_name/expected-error.txt +0 -0
- data/test/{testfiles → data}/error_invalid_name/expected-output.txt +0 -0
- data/test/{testfiles → data}/error_invalid_name/source.ltx +0 -0
- data/test/{testfiles → data}/error_line_num/expected-error.txt +0 -0
- data/test/{testfiles → data}/error_line_num/expected-output.txt +0 -0
- data/test/{testfiles → data}/error_line_num/source.ltx +0 -0
- data/test/{testfiles → data}/error_mismatched_end/expected-error.txt +0 -0
- data/test/{testfiles → data}/error_mismatched_end/expected-output.txt +0 -0
- data/test/{testfiles → data}/error_mismatched_end/source.ltx +0 -0
- data/test/{testfiles → data}/error_missing_end/expected-error.txt +0 -0
- data/test/{testfiles → data}/error_missing_end/expected-output.txt +0 -0
- data/test/{testfiles → data}/error_missing_end/source.ltx +0 -0
- data/test/{testfiles → data}/error_name_not_permitted/expected-error.txt +0 -0
- data/test/{testfiles → data}/error_name_not_permitted/expected-output.txt +0 -0
- data/test/{testfiles → data}/error_name_not_permitted/source.ltx +0 -0
- data/test/{testfiles → data}/error_no_such_copy/expected-error.txt +0 -0
- data/test/{testfiles → data}/error_no_such_copy/expected-output.txt +0 -0
- data/test/{testfiles → data}/error_no_such_copy/source.ltx +0 -0
- data/test/{testfiles → data}/error_no_such_inc/expected-error.txt +0 -0
- data/test/{testfiles → data}/error_no_such_inc/expected-output.txt +0 -0
- data/test/{testfiles → data}/error_no_such_inc/source.ltx +0 -0
- data/test/{testfiles → data}/error_no_such_mixin/expected-error.txt +0 -0
- data/test/{testfiles → data}/error_no_such_mixin/expected-output.txt +0 -0
- data/test/{testfiles → data}/error_no_such_mixin/source.ltx +0 -0
- data/test/{testfiles → data}/example_alpha/expected-error.txt +0 -0
- data/test/{testfiles → data}/example_alpha/expected-output.txt +0 -0
- data/test/{testfiles → data}/example_alpha/source.ltx +0 -0
- data/test/{testfiles → data}/example_alpha2/expected-error.txt +0 -0
- data/test/{testfiles → data}/example_alpha2/expected-output.txt +0 -0
- data/test/{testfiles → data}/example_alpha2/source.ltx +0 -0
- data/test/{testfiles → data}/fixit +0 -0
- data/test/{testfiles → data}/functions/expected-error.txt +0 -0
- data/test/{testfiles → data}/functions/expected-output.txt +0 -0
- data/test/{testfiles → data}/functions/source.ltx +0 -0
- data/test/{testfiles → data}/hello_world/expected-error.txt +0 -0
- data/test/{testfiles → data}/hello_world/expected-output.txt +0 -0
- data/test/{testfiles → data}/hello_world/source.ltx +0 -0
- data/test/{testfiles → data}/lines.txt +0 -0
- data/test/{testfiles → data}/more_complex_vars/expected-error.txt +0 -0
- data/test/{testfiles → data}/more_complex_vars/expected-output.txt +0 -0
- data/test/{testfiles → data}/more_complex_vars/source.ltx +0 -0
- data/test/{testfiles/raw_text_block → data/raw_lines}/expected-error.txt +0 -0
- data/test/data/raw_lines/expected-output.txt +13 -0
- data/test/data/raw_lines/source.ltx +11 -0
- data/test/{testfiles/simple_copy → data/raw_text_block}/expected-error.txt +0 -0
- data/test/{testfiles → data}/raw_text_block/expected-output.txt +0 -0
- data/test/{testfiles → data}/raw_text_block/rawtext.inc +0 -0
- data/test/{testfiles → data}/raw_text_block/source.ltx +0 -0
- data/test/{testfiles/simple_include → data/simple_copy}/expected-error.txt +0 -0
- data/test/{testfiles → data}/simple_copy/expected-output.txt +0 -0
- data/test/{testfiles → data}/simple_copy/simplefile.inc +0 -0
- data/test/{testfiles → data}/simple_copy/source.ltx +0 -0
- data/test/{testfiles/simple_mixin → data/simple_include}/expected-error.txt +0 -0
- data/test/{testfiles → data}/simple_include/expected-output.txt +0 -0
- data/test/{testfiles → data}/simple_include/simplefile.inc +0 -0
- data/test/{testfiles → data}/simple_include/source.ltx +0 -0
- data/test/{testfiles/simple_vars → data/simple_mixin}/expected-error.txt +0 -0
- data/test/{testfiles → data}/simple_mixin/expected-output.txt +0 -0
- data/test/{testfiles → data}/simple_mixin/simple_mixin.rb +0 -0
- data/test/{testfiles → data}/simple_mixin/source.ltx +0 -0
- data/test/{testfiles/single_raw_line → data/simple_vars}/expected-error.txt +0 -0
- data/test/{testfiles → data}/simple_vars/expected-output.txt +0 -0
- data/test/{testfiles → data}/simple_vars/source.ltx +0 -0
- data/test/data/single_raw_line/expected-error.txt +0 -0
- data/test/{testfiles → data}/single_raw_line/expected-output.txt +0 -0
- data/test/{testfiles → data}/single_raw_line/source.ltx +0 -0
- data/test/newtest +2 -2
- data/test/test.rb +21 -44
- metadata +91 -89
- data/README.html +0 -960
- data/test/ftest.rb +0 -109
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 5a8938581492de05ebcf702ca43f6524a662689e
|
4
|
+
data.tar.gz: 44cb2fc546d711d343794e07fa65de02b9f31e83
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 39a807828e56ffc15d43f429ca7b948c75e35c13398a44e5f605f0dde9b09075d263eab137503184e426322014f5915262f33375b12581e2b4f2608dc8ee565a
|
7
|
+
data.tar.gz: e551aba9882ff52cc0c1d1496eebde47da96658b37094889d6976be1a877d7c8a2a8482bb7c090c0881b38bec9bc3bf37b0f4f1349e1e1ffeff2d876cb2bed7f
|
data/dsl/tutorial.rb
CHANGED
@@ -75,7 +75,7 @@ end
|
|
75
75
|
def testcase
|
76
76
|
name = _args.first
|
77
77
|
_puts "\n<font size=+1><b>Test: </font><font size=+2><tt>#{name}</tt></font></b></h3><br>"
|
78
|
-
src, exp = "
|
78
|
+
src, exp = "#{Data}/#{name}/source.ltx", "{Data}/#{name}/expected-output.txt"
|
79
79
|
@_args = [src, exp] # Better way to do this??
|
80
80
|
put_table(src, exp)
|
81
81
|
_puts "<br>"
|
data/lib/livetext.rb
CHANGED
data/lib/standard.rb
CHANGED
@@ -147,10 +147,6 @@ module Livetext::Standard
|
|
147
147
|
_error!(err)
|
148
148
|
end
|
149
149
|
|
150
|
-
def nopass
|
151
|
-
@_nopass = true
|
152
|
-
end
|
153
|
-
|
154
150
|
def set
|
155
151
|
assigns = @_data.chomp.split(/, */)
|
156
152
|
# Do a better way?
|
@@ -220,6 +216,32 @@ module Livetext::Standard
|
|
220
216
|
self._debug = false if arg == "off"
|
221
217
|
end
|
222
218
|
|
219
|
+
def passthru
|
220
|
+
# FIXME - add check for args size (helpers); _onoff helper??
|
221
|
+
onoff = _args.first
|
222
|
+
case onoff
|
223
|
+
when nil; @_nopass = false
|
224
|
+
when "on"; @_nopass = false
|
225
|
+
when "off"; @_nopass = true
|
226
|
+
else _error!("Unknown arg '#{onoff}'")
|
227
|
+
end
|
228
|
+
end
|
229
|
+
|
230
|
+
def nopass
|
231
|
+
@_nopass = true
|
232
|
+
end
|
233
|
+
|
234
|
+
def para
|
235
|
+
# FIXME - add check for args size (helpers); _onoff helper??
|
236
|
+
onoff = _args.first
|
237
|
+
case onoff
|
238
|
+
when nil; @_nopara = false
|
239
|
+
when "on"; @_nopara = false
|
240
|
+
when "off"; @_nopara = true
|
241
|
+
else _error!("Unknown arg '#{onoff}'")
|
242
|
+
end
|
243
|
+
end
|
244
|
+
|
223
245
|
def nopara
|
224
246
|
@_nopara = true
|
225
247
|
end
|
data/livetext.gemspec
CHANGED
@@ -17,10 +17,10 @@ Gem::Specification.new do |s|
|
|
17
17
|
|
18
18
|
# Files...
|
19
19
|
main = Find.find("bin").to_a + Find.find("lib").to_a + Find.find("dsl").to_a
|
20
|
-
misc = %w[./README.
|
20
|
+
misc = %w[./README.ltx ./README.md livetext.gemspec]
|
21
21
|
test = Find.find("test").to_a
|
22
22
|
|
23
23
|
s.files = main + misc + test
|
24
24
|
s.homepage = 'https://github.com/Hal9000/livetext'
|
25
|
-
s.license
|
25
|
+
s.license = "Ruby's license"
|
26
26
|
end
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
data/test/newtest
CHANGED
data/test/test.rb
CHANGED
@@ -1,18 +1,24 @@
|
|
1
|
-
|
1
|
+
def minitest?
|
2
|
+
require 'minitest/autorun'
|
3
|
+
end
|
4
|
+
|
5
|
+
abort "minitest gem is not installed" unless minitest?
|
6
|
+
|
2
7
|
|
3
8
|
$LOAD_PATH << "./lib"
|
4
9
|
|
5
10
|
require 'livetext'
|
6
11
|
|
7
|
-
# How these tests work - see the block comment at the bottom.
|
8
|
-
|
9
12
|
class TestingLivetext < MiniTest::Test
|
10
13
|
|
11
14
|
TTY = File.open("/dev/tty","w")
|
15
|
+
Data = "test/data"
|
12
16
|
|
13
17
|
TestLines = []
|
14
18
|
|
15
|
-
|
19
|
+
Dir.chdir(Data)
|
20
|
+
|
21
|
+
f = File.open("lines.txt")
|
16
22
|
loop do
|
17
23
|
item = []
|
18
24
|
4.times { item << f.gets.chomp }
|
@@ -35,12 +41,16 @@ class TestingLivetext < MiniTest::Test
|
|
35
41
|
end
|
36
42
|
end
|
37
43
|
|
38
|
-
|
39
|
-
|
40
|
-
|
41
|
-
|
42
|
-
|
43
|
-
|
44
|
+
TestDirs = Dir.entries(".").reject {|f| ! File.directory?(f) } - %w[. ..]
|
45
|
+
|
46
|
+
TestDirs.each do |tdir|
|
47
|
+
define_method("test_#{tdir}") do
|
48
|
+
external_files(tdir)
|
49
|
+
end
|
50
|
+
end
|
51
|
+
|
52
|
+
def external_files(base)
|
53
|
+
Dir.chdir(base) do
|
44
54
|
src, out, exp = "source.ltx", "actual-output.txt", "expected-output.txt"
|
45
55
|
err, erx = "actual-error.txt", "expected-error.txt"
|
46
56
|
cmd = "../../../bin/livetext #{src} >#{out} 2>#{err}"
|
@@ -58,39 +68,6 @@ class TestingLivetext < MiniTest::Test
|
|
58
68
|
end
|
59
69
|
end
|
60
70
|
|
61
|
-
def test_hello_world; external_files end
|
62
|
-
def test_basic_formatting; external_files end
|
63
|
-
|
64
|
-
def test_comments_ignored_1; external_files end
|
65
|
-
def test_block_comment; external_files end
|
66
|
-
|
67
|
-
def test_error_line_num; external_files end
|
68
|
-
def test_error_inc_line_num; external_files end
|
69
|
-
def test_error_invalid_name; external_files end
|
70
|
-
def test_error_no_such_mixin; external_files end
|
71
|
-
def test_error_no_such_inc; external_files end
|
72
|
-
def test_error_no_such_copy; external_files end
|
73
|
-
def test_error_name_not_permitted; external_files end
|
74
|
-
def test_error_missing_end; external_files end
|
75
|
-
def test_error_mismatched_end; external_files end
|
76
|
-
|
77
|
-
def test_simple_vars; external_files end
|
78
|
-
def test_more_complex_vars; external_files end
|
79
|
-
|
80
|
-
def test_def_method; external_files end
|
81
|
-
|
82
|
-
def test_single_raw_line; external_files end
|
83
|
-
|
84
|
-
def test_simple_include; external_files end
|
85
|
-
def test_simple_mixin; external_files end
|
86
|
-
def test_simple_copy; external_files end
|
87
|
-
def test_copy_is_raw; external_files end
|
88
|
-
def test_raw_text_block; external_files end
|
89
|
-
|
90
|
-
def test_example_alpha; external_files end
|
91
|
-
def test_example_alpha2; external_files end
|
92
|
-
|
93
|
-
def test_functions; external_files end
|
94
71
|
end
|
95
72
|
|
96
73
|
|
@@ -101,7 +78,7 @@ call external_files.
|
|
101
78
|
|
102
79
|
The external_files method works this way:
|
103
80
|
- If the test (caller) method is test_my_silly_feature, then we will
|
104
|
-
look for a directory called
|
81
|
+
look for a directory called data/my_silly_feature
|
105
82
|
- In here, there must be a source.ltx, expected-output.txt, and expected-error.txt
|
106
83
|
- Technically, any of these can be empty
|
107
84
|
- We run livetext on the source and compare actual vs expected (stdout, stderr)
|
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.3
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Hal Fulton
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2017-04-
|
11
|
+
date: 2017-04-04 00:00:00.000000000 Z
|
12
12
|
dependencies: []
|
13
13
|
description: A smart text processor extensible in Ruby
|
14
14
|
email: rubyhacker@gmail.com
|
@@ -17,7 +17,6 @@ executables:
|
|
17
17
|
extensions: []
|
18
18
|
extra_rdoc_files: []
|
19
19
|
files:
|
20
|
-
- "./README.html"
|
21
20
|
- "./README.ltx"
|
22
21
|
- "./README.md"
|
23
22
|
- bin/livetext
|
@@ -37,93 +36,95 @@ files:
|
|
37
36
|
- test/affirm/kbks.jpg
|
38
37
|
- test/affirm/lm-kbks.lt
|
39
38
|
- test/cleanup
|
40
|
-
- test/
|
39
|
+
- test/data/basic_formatting/expected-error.txt
|
40
|
+
- test/data/basic_formatting/expected-output.txt
|
41
|
+
- test/data/basic_formatting/source.ltx
|
42
|
+
- test/data/block_comment/expected-error.txt
|
43
|
+
- test/data/block_comment/expected-output.txt
|
44
|
+
- test/data/block_comment/source.ltx
|
45
|
+
- test/data/comments_ignored_1/expected-error.txt
|
46
|
+
- test/data/comments_ignored_1/expected-output.txt
|
47
|
+
- test/data/comments_ignored_1/source.ltx
|
48
|
+
- test/data/copy_is_raw/expected-error.txt
|
49
|
+
- test/data/copy_is_raw/expected-output.txt
|
50
|
+
- test/data/copy_is_raw/rawtext.inc
|
51
|
+
- test/data/copy_is_raw/source.ltx
|
52
|
+
- test/data/crap
|
53
|
+
- test/data/def_method/expected-error.txt
|
54
|
+
- test/data/def_method/expected-output.txt
|
55
|
+
- test/data/def_method/source.ltx
|
56
|
+
- test/data/error_inc_line_num/expected-error.txt
|
57
|
+
- test/data/error_inc_line_num/expected-output.txt
|
58
|
+
- test/data/error_inc_line_num/file2.ltx
|
59
|
+
- test/data/error_inc_line_num/source.ltx
|
60
|
+
- test/data/error_invalid_name/expected-error.txt
|
61
|
+
- test/data/error_invalid_name/expected-output.txt
|
62
|
+
- test/data/error_invalid_name/source.ltx
|
63
|
+
- test/data/error_line_num/expected-error.txt
|
64
|
+
- test/data/error_line_num/expected-output.txt
|
65
|
+
- test/data/error_line_num/source.ltx
|
66
|
+
- test/data/error_mismatched_end/expected-error.txt
|
67
|
+
- test/data/error_mismatched_end/expected-output.txt
|
68
|
+
- test/data/error_mismatched_end/source.ltx
|
69
|
+
- test/data/error_missing_end/expected-error.txt
|
70
|
+
- test/data/error_missing_end/expected-output.txt
|
71
|
+
- test/data/error_missing_end/source.ltx
|
72
|
+
- test/data/error_name_not_permitted/expected-error.txt
|
73
|
+
- test/data/error_name_not_permitted/expected-output.txt
|
74
|
+
- test/data/error_name_not_permitted/source.ltx
|
75
|
+
- test/data/error_no_such_copy/expected-error.txt
|
76
|
+
- test/data/error_no_such_copy/expected-output.txt
|
77
|
+
- test/data/error_no_such_copy/source.ltx
|
78
|
+
- test/data/error_no_such_inc/expected-error.txt
|
79
|
+
- test/data/error_no_such_inc/expected-output.txt
|
80
|
+
- test/data/error_no_such_inc/source.ltx
|
81
|
+
- test/data/error_no_such_mixin/expected-error.txt
|
82
|
+
- test/data/error_no_such_mixin/expected-output.txt
|
83
|
+
- test/data/error_no_such_mixin/source.ltx
|
84
|
+
- test/data/example_alpha/expected-error.txt
|
85
|
+
- test/data/example_alpha/expected-output.txt
|
86
|
+
- test/data/example_alpha/source.ltx
|
87
|
+
- test/data/example_alpha2/expected-error.txt
|
88
|
+
- test/data/example_alpha2/expected-output.txt
|
89
|
+
- test/data/example_alpha2/source.ltx
|
90
|
+
- test/data/fixit
|
91
|
+
- test/data/functions/expected-error.txt
|
92
|
+
- test/data/functions/expected-output.txt
|
93
|
+
- test/data/functions/source.ltx
|
94
|
+
- test/data/hello_world/expected-error.txt
|
95
|
+
- test/data/hello_world/expected-output.txt
|
96
|
+
- test/data/hello_world/source.ltx
|
97
|
+
- test/data/lines.txt
|
98
|
+
- test/data/more_complex_vars/expected-error.txt
|
99
|
+
- test/data/more_complex_vars/expected-output.txt
|
100
|
+
- test/data/more_complex_vars/source.ltx
|
101
|
+
- test/data/raw_lines/expected-error.txt
|
102
|
+
- test/data/raw_lines/expected-output.txt
|
103
|
+
- test/data/raw_lines/source.ltx
|
104
|
+
- test/data/raw_text_block/expected-error.txt
|
105
|
+
- test/data/raw_text_block/expected-output.txt
|
106
|
+
- test/data/raw_text_block/rawtext.inc
|
107
|
+
- test/data/raw_text_block/source.ltx
|
108
|
+
- test/data/simple_copy/expected-error.txt
|
109
|
+
- test/data/simple_copy/expected-output.txt
|
110
|
+
- test/data/simple_copy/simplefile.inc
|
111
|
+
- test/data/simple_copy/source.ltx
|
112
|
+
- test/data/simple_include/expected-error.txt
|
113
|
+
- test/data/simple_include/expected-output.txt
|
114
|
+
- test/data/simple_include/simplefile.inc
|
115
|
+
- test/data/simple_include/source.ltx
|
116
|
+
- test/data/simple_mixin/expected-error.txt
|
117
|
+
- test/data/simple_mixin/expected-output.txt
|
118
|
+
- test/data/simple_mixin/simple_mixin.rb
|
119
|
+
- test/data/simple_mixin/source.ltx
|
120
|
+
- test/data/simple_vars/expected-error.txt
|
121
|
+
- test/data/simple_vars/expected-output.txt
|
122
|
+
- test/data/simple_vars/source.ltx
|
123
|
+
- test/data/single_raw_line/expected-error.txt
|
124
|
+
- test/data/single_raw_line/expected-output.txt
|
125
|
+
- test/data/single_raw_line/source.ltx
|
41
126
|
- test/newtest
|
42
127
|
- test/test.rb
|
43
|
-
- test/testfiles/basic_formatting/expected-error.txt
|
44
|
-
- test/testfiles/basic_formatting/expected-output.txt
|
45
|
-
- test/testfiles/basic_formatting/source.ltx
|
46
|
-
- test/testfiles/block_comment/expected-error.txt
|
47
|
-
- test/testfiles/block_comment/expected-output.txt
|
48
|
-
- test/testfiles/block_comment/source.ltx
|
49
|
-
- test/testfiles/comments_ignored_1/expected-error.txt
|
50
|
-
- test/testfiles/comments_ignored_1/expected-output.txt
|
51
|
-
- test/testfiles/comments_ignored_1/source.ltx
|
52
|
-
- test/testfiles/copy_is_raw/expected-error.txt
|
53
|
-
- test/testfiles/copy_is_raw/expected-output.txt
|
54
|
-
- test/testfiles/copy_is_raw/rawtext.inc
|
55
|
-
- test/testfiles/copy_is_raw/source.ltx
|
56
|
-
- test/testfiles/crap
|
57
|
-
- test/testfiles/def_method/expected-error.txt
|
58
|
-
- test/testfiles/def_method/expected-output.txt
|
59
|
-
- test/testfiles/def_method/source.ltx
|
60
|
-
- test/testfiles/error_inc_line_num/expected-error.txt
|
61
|
-
- test/testfiles/error_inc_line_num/expected-output.txt
|
62
|
-
- test/testfiles/error_inc_line_num/file2.ltx
|
63
|
-
- test/testfiles/error_inc_line_num/source.ltx
|
64
|
-
- test/testfiles/error_invalid_name/expected-error.txt
|
65
|
-
- test/testfiles/error_invalid_name/expected-output.txt
|
66
|
-
- test/testfiles/error_invalid_name/source.ltx
|
67
|
-
- test/testfiles/error_line_num/expected-error.txt
|
68
|
-
- test/testfiles/error_line_num/expected-output.txt
|
69
|
-
- test/testfiles/error_line_num/source.ltx
|
70
|
-
- test/testfiles/error_mismatched_end/expected-error.txt
|
71
|
-
- test/testfiles/error_mismatched_end/expected-output.txt
|
72
|
-
- test/testfiles/error_mismatched_end/source.ltx
|
73
|
-
- test/testfiles/error_missing_end/expected-error.txt
|
74
|
-
- test/testfiles/error_missing_end/expected-output.txt
|
75
|
-
- test/testfiles/error_missing_end/source.ltx
|
76
|
-
- test/testfiles/error_name_not_permitted/expected-error.txt
|
77
|
-
- test/testfiles/error_name_not_permitted/expected-output.txt
|
78
|
-
- test/testfiles/error_name_not_permitted/source.ltx
|
79
|
-
- test/testfiles/error_no_such_copy/expected-error.txt
|
80
|
-
- test/testfiles/error_no_such_copy/expected-output.txt
|
81
|
-
- test/testfiles/error_no_such_copy/source.ltx
|
82
|
-
- test/testfiles/error_no_such_inc/expected-error.txt
|
83
|
-
- test/testfiles/error_no_such_inc/expected-output.txt
|
84
|
-
- test/testfiles/error_no_such_inc/source.ltx
|
85
|
-
- test/testfiles/error_no_such_mixin/expected-error.txt
|
86
|
-
- test/testfiles/error_no_such_mixin/expected-output.txt
|
87
|
-
- test/testfiles/error_no_such_mixin/source.ltx
|
88
|
-
- test/testfiles/example_alpha/expected-error.txt
|
89
|
-
- test/testfiles/example_alpha/expected-output.txt
|
90
|
-
- test/testfiles/example_alpha/source.ltx
|
91
|
-
- test/testfiles/example_alpha2/expected-error.txt
|
92
|
-
- test/testfiles/example_alpha2/expected-output.txt
|
93
|
-
- test/testfiles/example_alpha2/source.ltx
|
94
|
-
- test/testfiles/fixit
|
95
|
-
- test/testfiles/functions/expected-error.txt
|
96
|
-
- test/testfiles/functions/expected-output.txt
|
97
|
-
- test/testfiles/functions/source.ltx
|
98
|
-
- test/testfiles/hello_world/expected-error.txt
|
99
|
-
- test/testfiles/hello_world/expected-output.txt
|
100
|
-
- test/testfiles/hello_world/source.ltx
|
101
|
-
- test/testfiles/lines.txt
|
102
|
-
- test/testfiles/more_complex_vars/expected-error.txt
|
103
|
-
- test/testfiles/more_complex_vars/expected-output.txt
|
104
|
-
- test/testfiles/more_complex_vars/source.ltx
|
105
|
-
- test/testfiles/raw_text_block/expected-error.txt
|
106
|
-
- test/testfiles/raw_text_block/expected-output.txt
|
107
|
-
- test/testfiles/raw_text_block/rawtext.inc
|
108
|
-
- test/testfiles/raw_text_block/source.ltx
|
109
|
-
- test/testfiles/simple_copy/expected-error.txt
|
110
|
-
- test/testfiles/simple_copy/expected-output.txt
|
111
|
-
- test/testfiles/simple_copy/simplefile.inc
|
112
|
-
- test/testfiles/simple_copy/source.ltx
|
113
|
-
- test/testfiles/simple_include/expected-error.txt
|
114
|
-
- test/testfiles/simple_include/expected-output.txt
|
115
|
-
- test/testfiles/simple_include/simplefile.inc
|
116
|
-
- test/testfiles/simple_include/source.ltx
|
117
|
-
- test/testfiles/simple_mixin/expected-error.txt
|
118
|
-
- test/testfiles/simple_mixin/expected-output.txt
|
119
|
-
- test/testfiles/simple_mixin/simple_mixin.rb
|
120
|
-
- test/testfiles/simple_mixin/source.ltx
|
121
|
-
- test/testfiles/simple_vars/expected-error.txt
|
122
|
-
- test/testfiles/simple_vars/expected-output.txt
|
123
|
-
- test/testfiles/simple_vars/source.ltx
|
124
|
-
- test/testfiles/single_raw_line/expected-error.txt
|
125
|
-
- test/testfiles/single_raw_line/expected-output.txt
|
126
|
-
- test/testfiles/single_raw_line/source.ltx
|
127
128
|
- test/try.lt
|
128
129
|
- test/try2.lt
|
129
130
|
homepage: https://github.com/Hal9000/livetext
|
@@ -146,8 +147,9 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
146
147
|
version: '0'
|
147
148
|
requirements: []
|
148
149
|
rubyforge_project:
|
149
|
-
rubygems_version: 2.
|
150
|
+
rubygems_version: 2.4.2
|
150
151
|
signing_key:
|
151
152
|
specification_version: 4
|
152
153
|
summary: A smart processor for text
|
153
154
|
test_files: []
|
155
|
+
has_rdoc:
|