livetext 0.8.28 → 0.8.29
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/bin/livetext +5 -2
- data/dsl/pyggish.rb +1 -1
- data/lib/livetext.rb +1 -1
- metadata +1 -1
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA1:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 3a5b260f06e7dfd0695cdf77e4e0bd6487a4984e
|
|
4
|
+
data.tar.gz: 4faccf31ce99e718dda9383897485457b1f86aa9
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 1b06b55d855af36bf65572d5afa0700f2f1c2930855714fc9b5417f16861d748cb53acda4aa55b6513f399880c6ac111c7a6dbe15e96064805e972507f9af62d
|
|
7
|
+
data.tar.gz: ccdeb0e00258d6e77de17d8f86c36a283d1d64795b48b32a5bb20b77a34371a0727ccf29488db0d2a35dfa4df295e05ef8162e041371b3dfbf2ab23b1857b5bd
|
data/bin/livetext
CHANGED
|
@@ -45,10 +45,14 @@ def usage
|
|
|
45
45
|
livetext --backtrace
|
|
46
46
|
EOF
|
|
47
47
|
puts
|
|
48
|
+
exit
|
|
48
49
|
end
|
|
49
50
|
|
|
51
|
+
usage if ARGV.empty?
|
|
52
|
+
|
|
50
53
|
loop do
|
|
51
54
|
arg = ARGV.shift
|
|
55
|
+
break if arg.nil?
|
|
52
56
|
case arg
|
|
53
57
|
when "-v", "--version"
|
|
54
58
|
puts "#{Livetext::VERSION}\n "
|
|
@@ -65,10 +69,9 @@ loop do
|
|
|
65
69
|
when "-s", "--stdin"
|
|
66
70
|
src = STDIN.read
|
|
67
71
|
x.process(src)
|
|
68
|
-
when
|
|
72
|
+
when "-h", "--help"
|
|
69
73
|
usage
|
|
70
74
|
when Object
|
|
71
75
|
x.process_file(arg, @backtrace)
|
|
72
76
|
end
|
|
73
|
-
break if arg.nil?
|
|
74
77
|
end
|
data/dsl/pyggish.rb
CHANGED
data/lib/livetext.rb
CHANGED