rubyment 0.4.25421266 → 0.4.25424079

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.
Files changed (3) hide show
  1. checksums.yaml +4 -4
  2. data/lib/rubyment.rb +5 -5
  3. metadata +1 -1
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: f3cf5f393692d86f56ec7ae005f248e37f27984d
4
- data.tar.gz: 81765d975abbb790820c0de5db2b5a1f61ff5c8a
3
+ metadata.gz: 1ff7a4a4d7833abeb6544a322d496a8a012f2451
4
+ data.tar.gz: abe34678415cc25c917d1a6b70d0cc8b998c52d6
5
5
  SHA512:
6
- metadata.gz: 46f41aaeadd44170dbc8472520198f97043b719dc3a1b6ae3fe2678de5a22e565ad118584192a95c34903cdf521108b79889cc1177512e4c175ae6961ece36b4
7
- data.tar.gz: da2b1a63e53cddb54b654d8c353b08a655ffa554dcf2d5863aef9efe78afc999143c2e184e242b9ae2d42d52455471dc43c05fdcdd189822237c44bf4decdced
6
+ metadata.gz: 4863e72aae5e881132d30ba14c7f98f4b5163c298e2baeac79ca3884f8175603fd608dc99fa2576e145dd1c9c71fdc4371506d841439b8bebb734985d7a94412
7
+ data.tar.gz: 5127f379861cbfbed45b7dbddca26c9f20f5f57a91639d296ed7cf083b1c9c4f0f246595bb5b13ab70293f2194a6cc71c59953835b1c80c6ad9c60de4e78d2bd
data/lib/rubyment.rb CHANGED
@@ -261,7 +261,7 @@ class Rubyment
261
261
  # useful for reading file contents, e.g.
262
262
  def input_non_empty_string_or_multiline_prompt args=ARGV
263
263
  stderr = @memory[:stderr]
264
- stderr.print "multiline[control-D to stop]:"
264
+ stderr.print "multiline[enter + control-D to stop]:"
265
265
  args.shift.to_s.split("\0").first || readlines.join
266
266
  end
267
267
 
@@ -272,7 +272,7 @@ class Rubyment
272
272
  # useful for reading file contents, e.g.
273
273
  def input_non_empty_filepath_or_contents_or_multiline_prompt args=ARGV
274
274
  stderr = @memory[:stderr]
275
- stderr.print "multiline[control-D to stop]:"
275
+ stderr.print "multiline[enter + control-D to stop]:"
276
276
  (filepath_or_contents args.shift).to_s.split("\0").first || readlines.join
277
277
  end
278
278
 
@@ -306,7 +306,7 @@ class Rubyment
306
306
  def input_multi_line args=ARGV
307
307
  stderr = @memory[:stderr]
308
308
  stdin = @memory[:stdin]
309
- stderr.print "multiline[control-D to stop]:"
309
+ stderr.print "multiline[enter + control-D to stop]:"
310
310
  args.shift.to_s.split("\0").first || stdin.readlines.join
311
311
  end
312
312
 
@@ -318,7 +318,7 @@ class Rubyment
318
318
  stderr = @memory[:stderr]
319
319
  stdin = @memory[:stdin]
320
320
  require "io/console"
321
- stderr.print "multiline[control-D to stop]:"
321
+ stderr.print "multiline[enter + control-D to stop]:"
322
322
  args.shift.to_s.split("\0").first || stdin.noecho{ stdin.readlines}.join.chomp
323
323
  end
324
324
 
@@ -613,7 +613,7 @@ class Rubyment
613
613
  require "io/console"
614
614
 
615
615
  data = ""
616
- stderr.print "multi_line_data[ data 1/3, echoing, control-D to stop]:"
616
+ stderr.print "multi_line_data[ data 1/3, echoing, enter + control-D to stop]:"
617
617
  data += args.shift || (stdin.readlines.join rescue readlines.join)
618
618
  stderr.puts
619
619
  stderr.print "data_file [data 2/3]:"
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: rubyment
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.4.25421266
4
+ version: 0.4.25424079
5
5
  platform: ruby
6
6
  authors:
7
7
  - Ribamar Santarosa