mini_readline 0.6.2 → 0.6.3

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
  SHA1:
3
- metadata.gz: 69ab1aa8f3067beadb6cdb13347e21ed49a7ded9
4
- data.tar.gz: e52f6ba38c806cbaf5ea2bdedb52eea35963238e
3
+ metadata.gz: c5ddc6a871c38d411642616cbac4de44c9a1c70f
4
+ data.tar.gz: 56493ba01fa93eb825956fcfb9618d002da8b676
5
5
  SHA512:
6
- metadata.gz: 2388bc618f6a11c90b070926924a7397d52b33c0bad9d3bb6dad299d8afea6df9003c5c51641d908e733db68c0038ba82a59ef4332302201b0d4bfd435792da8
7
- data.tar.gz: 168b2ce0f5d055d495ba8ff762a35f29e98484b6012b63d070962d1c0fe96435ccd6c98d43aeb098941df649f386db68fb33e7cdd1c74bd62c1c13cc59dd2975
6
+ metadata.gz: 57fa6ee1baa1af25e8730abb94495c7f2493e731b1f1f8ee1293c7e0d6e601e26b067be321b1bd6414ebe375416fad72f9ab59e48f208ac4645a60abd50fbfb6
7
+ data.tar.gz: 6fa28ed47391a1d295db390b82b1c8adf9610b28cf58d0778a79004d52f9b9459f8756f71d2fc0a054d1429da3d979e7979f5d9162e672c7dacf8ad27ebae666
data/README.md CHANGED
@@ -62,7 +62,8 @@ End of Input | Ctrl-Z | Alt-z
62
62
 
63
63
  ### Notes
64
64
  * The label "Other" is an umbrella that bundles together the Linux, Mac,
65
- and Cygwin platforms. On systems lacking an Alt key, these sequences may be
65
+ and Cygwin platforms.
66
+ * On "Other" systems lacking an Alt key, these sequences may be
66
67
  replaced by Escape followed by the appropriate letter.
67
68
  * References to Pad keys under Windows assume that Num Lock is not engaged.
68
69
  * Support for End of Input is controlled by the eoi_detect option. See options
@@ -123,6 +124,7 @@ and
123
124
  ```ruby
124
125
  MiniReadline.readline('>', false)
125
126
  ```
127
+ While it does require some small changes, the latter form is the preferred one.
126
128
 
127
129
  ##### Module Aliasing
128
130
 
@@ -316,7 +318,7 @@ This auto-complete for files and folders is designed to automatically select
316
318
  the appropriate folder separator character and use quotes when files contain
317
319
  embedded spaces. This is a good choice when building commands with files that
318
320
  will be passed to the command line processor in multi-platform, portable
319
- environments.
321
+ environments. Please see the Important Security Note below.
320
322
 
321
323
  ### Adding Custom Auto-Completers
322
324
  It is possible, and fairly straightforward to add application specific
@@ -434,10 +436,19 @@ welcomed!!!**
434
436
 
435
437
  ## Contributing
436
438
 
437
- Comments, suggestions, criticisms, bug reports, and pull requests are welcome
438
- on GitHub at:
439
+ #### Plan A
439
440
 
440
- https://github.com/PeterCamilleri/mini_readline.
441
+ 1. Fork it ( https://github.com/PeterCamilleri/mini_readline/fork )
442
+ 2. Switch to the development branch ('git branch development')
443
+ 3. Create your feature branch ('git checkout -b my-new-feature')
444
+ 4. Commit your changes ('git commit -am "Add some feature"')
445
+ 5. Push to the branch ('git push origin my-new-feature')
446
+ 6. Create new Pull Request
447
+
448
+ #### Plan B
449
+
450
+ Go to the GitHub repository and raise an issue calling attention to some
451
+ aspect that could use some TLC or a suggestion or an idea.
441
452
 
442
453
 
443
454
  ## License
data/lib/mini_readline.rb CHANGED
@@ -28,21 +28,6 @@ module MiniReadline
28
28
  @reader.readline(prompt: prompt, history: history)
29
29
  end
30
30
 
31
- #A stub.
32
- def self.input=(input)
33
- input
34
- end
35
-
36
- #A stub.
37
- def self.output=(output)
38
- output
39
- end
40
-
41
- #A stub.
42
- def self.readline_attempted_completion_function(*_)
43
- nil
44
- end
45
-
46
31
  end
47
32
 
48
33
  #Optionally: Setup the module alias for Readline
@@ -1,4 +1,4 @@
1
1
  module MiniReadline
2
2
  #The current version of the mini_readline gem.
3
- VERSION = "0.6.2"
3
+ VERSION = "0.6.3"
4
4
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: mini_readline
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.6.2
4
+ version: 0.6.3
5
5
  platform: ruby
6
6
  authors:
7
7
  - Peter Camilleri
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2016-08-30 00:00:00.000000000 Z
11
+ date: 2016-09-08 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: minitest