rubytext 0.0.26 → 0.0.27
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/rubytext +5 -0
- data/lib/rubytext.rb +1 -2
- data/lib/version.rb +1 -1
- data/rubytext.gemspec +3 -2
- metadata +5 -3
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 257ff8769efa6a24875d20ec4b53c863e3152ee8e5cc937f63ef0d7aeb1210d1
|
|
4
|
+
data.tar.gz: f0e2cec5b63de75e626874e45eb64cb71d6196215575219741dc45876dc0ec26
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 3dcbeea59aa67c98851331d2e7edf027b162fe38c4cff9730d5b22e90fe864b9efe04f5e1df383988a9b852d91f2af5a516a24bb1ba1a2494ca780934e039efb
|
|
7
|
+
data.tar.gz: 4a053e7ad294945854e4e816166561076232cabb4a2564292fdbe5050b1a8a2f91f988ab7e2afae1f35fe6a1ab3ebafb54367f9ffa3fbbdd81ae4e0b37fab738
|
data/bin/rubytext
ADDED
data/lib/rubytext.rb
CHANGED
|
@@ -209,11 +209,10 @@ debug "delegate: colors are #@fg, #@bg"
|
|
|
209
209
|
end
|
|
210
210
|
str = sprintf(*args)
|
|
211
211
|
flag = true if sym != :print && str[-1] != "\n"
|
|
212
|
-
# color-handling code here
|
|
212
|
+
# FIXME: color-handling code here
|
|
213
213
|
str.each_char do |ch|
|
|
214
214
|
ch == "\n" ? crlf : @win.addch(ch)
|
|
215
215
|
end
|
|
216
|
-
# @win.addstr(str)
|
|
217
216
|
crlf if flag
|
|
218
217
|
@win.refresh
|
|
219
218
|
end
|
data/lib/version.rb
CHANGED
data/rubytext.gemspec
CHANGED
|
@@ -14,16 +14,17 @@ Gem::Specification.new do |s|
|
|
|
14
14
|
s.description = "Uses the curses gem and extends functionality and ease of use in Ruby."
|
|
15
15
|
s.authors = ["Hal Fulton"]
|
|
16
16
|
s.email = 'rubyhacker@gmail.com'
|
|
17
|
-
|
|
17
|
+
s.executables << "rubytext"
|
|
18
18
|
s.add_runtime_dependency 'curses'
|
|
19
19
|
|
|
20
20
|
# Files...
|
|
21
21
|
main = Find.find("lib").to_a
|
|
22
|
+
bin = Find.find("bin").to_a
|
|
22
23
|
|
|
23
24
|
misc = %w[./README.md ./rubytext.gemspec]
|
|
24
25
|
# test = Find.find("test").to_a
|
|
25
26
|
|
|
26
|
-
s.files = main + misc # + test
|
|
27
|
+
s.files = main + bin + misc # + test
|
|
27
28
|
s.homepage = 'https://github.com/Hal9000/rubytext'
|
|
28
29
|
s.license = "Ruby License"
|
|
29
30
|
end
|
metadata
CHANGED
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: rubytext
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 0.0.
|
|
4
|
+
version: 0.0.27
|
|
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-11-
|
|
11
|
+
date: 2018-11-18 00:00:00.000000000 Z
|
|
12
12
|
dependencies:
|
|
13
13
|
- !ruby/object:Gem::Dependency
|
|
14
14
|
name: curses
|
|
@@ -26,12 +26,14 @@ dependencies:
|
|
|
26
26
|
version: '0'
|
|
27
27
|
description: Uses the curses gem and extends functionality and ease of use in Ruby.
|
|
28
28
|
email: rubyhacker@gmail.com
|
|
29
|
-
executables:
|
|
29
|
+
executables:
|
|
30
|
+
- rubytext
|
|
30
31
|
extensions: []
|
|
31
32
|
extra_rdoc_files: []
|
|
32
33
|
files:
|
|
33
34
|
- "./README.md"
|
|
34
35
|
- "./rubytext.gemspec"
|
|
36
|
+
- bin/rubytext
|
|
35
37
|
- lib/rubytext.rb
|
|
36
38
|
- lib/version.rb
|
|
37
39
|
homepage: https://github.com/Hal9000/rubytext
|