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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 7ffc9a0f6043c27eb86d259dad9af1a51f29892604cad5de67cdf5f9a4f667fb
4
- data.tar.gz: 757c3349f11e046ef8fe3f39561bf279174e0124130e70555f12540f237a3371
3
+ metadata.gz: 257ff8769efa6a24875d20ec4b53c863e3152ee8e5cc937f63ef0d7aeb1210d1
4
+ data.tar.gz: f0e2cec5b63de75e626874e45eb64cb71d6196215575219741dc45876dc0ec26
5
5
  SHA512:
6
- metadata.gz: b9880c95996d8bc4b979d7ddc23503a343d229ac8efadf39a057c8991f86bee1d130ac14a37d31b2bcade5566c971b5682dfec8b7fb2f907bbb92e0c457ea0dc
7
- data.tar.gz: 774be4d3f59a39dca9eb1678478f15c1f0438cb07133b8dfc256279428de937ea2aca29752f528df75252ea58ffbad391d81990d364bf6ea4c6d8b5d27a02104
6
+ metadata.gz: 3dcbeea59aa67c98851331d2e7edf027b162fe38c4cff9730d5b22e90fe864b9efe04f5e1df383988a9b852d91f2af5a516a24bb1ba1a2494ca780934e039efb
7
+ data.tar.gz: 4a053e7ad294945854e4e816166561076232cabb4a2564292fdbe5050b1a8a2f91f988ab7e2afae1f35fe6a1ab3ebafb54367f9ffa3fbbdd81ae4e0b37fab738
data/bin/rubytext ADDED
@@ -0,0 +1,5 @@
1
+ #!/usr/bin/env ruby
2
+
3
+ require 'rubytext'
4
+
5
+ puts RubyText::Path
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
@@ -1,6 +1,6 @@
1
1
 
2
2
  module RubyText
3
- VERSION = "0.0.26"
3
+ VERSION = "0.0.27"
4
4
 
5
5
  Path = File.expand_path(File.join(File.dirname(__FILE__)))
6
6
  end
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
- # s.executables << "rubytext-demo"
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.26
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-17 00:00:00.000000000 Z
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