mini_readline 0.6.2 → 0.6.3
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/README.md +16 -5
- data/lib/mini_readline.rb +0 -15
- data/lib/mini_readline/version.rb +1 -1
- 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: c5ddc6a871c38d411642616cbac4de44c9a1c70f
|
4
|
+
data.tar.gz: 56493ba01fa93eb825956fcfb9618d002da8b676
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
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.
|
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
|
-
|
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
|
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.
|
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
|
11
|
+
date: 2016-09-08 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: minitest
|