mini_readline 0.6.7 → 0.6.8
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/README.md +12 -13
- data/bin/irbm +1 -1
- data/lib/mini_readline/version.rb +1 -1
- data/mini_readline.gemspec +4 -9
- metadata +6 -8
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 9ae245afb8c0c06f6ceb938eca139ce122ac986d
|
4
|
+
data.tar.gz: 9aa4b9661e8d2b2e9d645a1ec3158347d351a81b
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 47de3ca150396c1163f04da730f3f2c403c4f3ff72dee8a1f4069f15dd0b40ca1ca49d5f2fc51d6a8e6b6f504087423d00c5cfac2ee217ca50386739958bb300
|
7
|
+
data.tar.gz: f380c80b7bc5608d962e7aaa1d2af4a53687469c72b5b28a5179dd29a5d89b0a1d9daadb99c53e82cf05c580f08ac55c16752f558861235eba55bddd683005ff
|
data/README.md
CHANGED
@@ -1,22 +1,17 @@
|
|
1
1
|
# MiniReadline
|
2
2
|
|
3
3
|
This gem is used to get console style input from the user, with support for
|
4
|
-
inline editing and
|
4
|
+
inline editing, command history, and stock or customizable auto-complete.
|
5
5
|
|
6
6
|
The mini readline gem is an experiment in replacing the standard readline gem
|
7
|
-
that is part of Ruby. The mini readline will focus on the needs
|
8
|
-
|
9
|
-
|
7
|
+
that is part of Ruby. The mini readline project will try to focus on the needs
|
8
|
+
of Ruby programs. It will also try to correct a number of irritating issues
|
9
|
+
encountered when running cross platform environments.
|
10
10
|
|
11
|
-
The mini_readline gem is designed for use with MRI version 1.9.3 or later.
|
12
|
-
|
13
|
-
|
14
|
-
|
15
|
-
April 24, 2016. This fixes the outstanding issues with windows operation with
|
16
|
-
low risk to other platforms. However I do not much expect to come of this
|
17
|
-
effort. There are two year old pull request languishing away, so it looks like
|
18
|
-
support for the original rb-readline has ended. I will move forward with the
|
19
|
-
mini_readline gem as I can at least support my own code.
|
11
|
+
The mini_readline gem is designed for use with MRI version 1.9.3 or later. The
|
12
|
+
long term goal is to be as portable to as many versions of ruby as is
|
13
|
+
possible. To this end, portability usage (problem) experiences are especially
|
14
|
+
desired. (See the Testing and Contributing sections below.)
|
20
15
|
|
21
16
|
## Installation
|
22
17
|
|
@@ -160,6 +155,10 @@ before the mini_readline gem is required, aliasing *will* take place.
|
|
160
155
|
$force_alias_read_line_module = true
|
161
156
|
require 'mini_readline'
|
162
157
|
```
|
158
|
+
Note: Using the $force_alias_read_line_module setting now generates a warning.
|
159
|
+
|
160
|
+
mini_readline: $force_alias_read_line_module is deprecated.
|
161
|
+
|
163
162
|
3) Else, if the readline gem is already loaded, *no* aliasing will take place.
|
164
163
|
```ruby
|
165
164
|
require 'readline'
|
data/bin/irbm
CHANGED
data/mini_readline.gemspec
CHANGED
@@ -11,15 +11,10 @@ Gem::Specification.new do |spec|
|
|
11
11
|
|
12
12
|
spec.summary = "A simplified replacement for readline."
|
13
13
|
spec.description = %{A gem, for console command entry with line edit and
|
14
|
-
history, inspired by the standard readline gem.
|
15
|
-
|
16
|
-
|
17
|
-
|
18
|
-
to use a special load path that bypasses the normal
|
19
|
-
gem protocols. Also included are four sample
|
20
|
-
auto-complete agents and the irbm utility, which is
|
21
|
-
irb + mini_readline and not an Intermediate Range
|
22
|
-
Ballistic Missile.
|
14
|
+
history, inspired by the standard readline gem. Also
|
15
|
+
included are four sample auto-complete agents and the
|
16
|
+
irbm utility, which is irb + mini_readline and not an
|
17
|
+
Intermediate Range Ballistic Missile.
|
23
18
|
}.gsub(/\s+/, ' ').strip
|
24
19
|
|
25
20
|
spec.homepage = "http://teuthida-technologies.com/"
|
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.8
|
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-
|
11
|
+
date: 2016-10-13 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: minitest
|
@@ -67,11 +67,9 @@ dependencies:
|
|
67
67
|
- !ruby/object:Gem::Version
|
68
68
|
version: '10.0'
|
69
69
|
description: A gem, for console command entry with line edit and history, inspired
|
70
|
-
by the standard readline gem.
|
71
|
-
|
72
|
-
|
73
|
-
protocols. Also included are four sample auto-complete agents and the irbm utility,
|
74
|
-
which is irb + mini_readline and not an Intermediate Range Ballistic Missile.
|
70
|
+
by the standard readline gem. Also included are four sample auto-complete agents
|
71
|
+
and the irbm utility, which is irb + mini_readline and not an Intermediate Range
|
72
|
+
Ballistic Missile.
|
75
73
|
email:
|
76
74
|
- peter.c.camilleri@gmail.com
|
77
75
|
executables:
|
@@ -156,7 +154,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
156
154
|
version: '0'
|
157
155
|
requirements: []
|
158
156
|
rubyforge_project:
|
159
|
-
rubygems_version: 2.2.
|
157
|
+
rubygems_version: 2.2.3
|
160
158
|
signing_key:
|
161
159
|
specification_version: 4
|
162
160
|
summary: A simplified replacement for readline.
|