livetext 0.6.3 → 0.6.4
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 -4
- 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: d23c90a2364289b4f5e720e6ac84130cefec64d8
|
|
4
|
+
data.tar.gz: cf627678cb3d385bc352af8e21e694ad2e05eaf6
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 82dfce10e7c156429f18d819568287e0d4b5df8a24689b0d3cc6db9db9040fb24c7e4a5e660b2ea64be6f6986fbf6da9dc7c9faadfb5bfef9b1fc77d368bb2b7
|
|
7
|
+
data.tar.gz: a17be3a281be93c67cf919467a002e5fe616bc33712f695552f5d34e38fbd6681d716f0f4828b759f11e6c7f11376a55ed9ab650646e2a7bc138cd7f544f4986
|
data/lib/livetext.rb
CHANGED
|
@@ -15,7 +15,7 @@ class Enumerator
|
|
|
15
15
|
end
|
|
16
16
|
|
|
17
17
|
class Livetext
|
|
18
|
-
VERSION = "0.6.
|
|
18
|
+
VERSION = "0.6.4"
|
|
19
19
|
|
|
20
20
|
Space = " "
|
|
21
21
|
|
|
@@ -633,15 +633,14 @@ class Livetext::System < BasicObject
|
|
|
633
633
|
end
|
|
634
634
|
|
|
635
635
|
def method_missing(name, *args)
|
|
636
|
-
|
|
636
|
+
name = "_def" if name == "def"
|
|
637
|
+
name = "_include" if name == "include"
|
|
637
638
|
$mods.reverse.each do |mod|
|
|
638
|
-
#TTY.puts "mod methods = #{mod.module_methods.inspect}"
|
|
639
639
|
if mod.respond_to?(name)
|
|
640
640
|
mod.send(name, *args)
|
|
641
641
|
return
|
|
642
642
|
end
|
|
643
643
|
end
|
|
644
|
-
# TTY.puts "Got here"
|
|
645
644
|
_puts " Error: Method '#{name}' is not defined."
|
|
646
645
|
puts caller.map {|x| " " + x }
|
|
647
646
|
exit
|
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.6.
|
|
4
|
+
version: 0.6.4
|
|
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-03-
|
|
11
|
+
date: 2017-03-11 00:00:00.000000000 Z
|
|
12
12
|
dependencies: []
|
|
13
13
|
description: A smart text processor extensible in Ruby
|
|
14
14
|
email: rubyhacker@gmail.com
|