mini_readline 0.6.7 → 0.6.8

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: ceacc828df705967b25a0f557c94851e37eb2453
4
- data.tar.gz: 166a205727e1be37dbdcbc451e3541e44477e81c
3
+ metadata.gz: 9ae245afb8c0c06f6ceb938eca139ce122ac986d
4
+ data.tar.gz: 9aa4b9661e8d2b2e9d645a1ec3158347d351a81b
5
5
  SHA512:
6
- metadata.gz: 8f4a068c51f1c7e9db78e75f9274537726d4fe37e003106a6651d4536de01ecbd117f10e7fa4c7ab0cfc6121738bc4067ab6aeedccf2f710bc57c91da0d00ea0
7
- data.tar.gz: 5541574214dbfa7d6b68908287022e8fb6aeae0ed80d361b2de3ac588ae7b244dd50c01b2328f89eb1f4756f6297141c4e4b645abb272d768034294bebe1856e
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 command history.
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 of Ruby programs
8
- as opposed to a UN*X shell program. It will also try to correct a number of
9
- irritating issues encountered when running under a Windows platform.
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
- The original readline tried to support older versions of Ruby.
13
-
14
- **Note:** A pull request against the rb-readline project was submitted on
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
@@ -6,7 +6,7 @@
6
6
  require 'irb'
7
7
  require 'mini_readline'
8
8
 
9
- puts "Starting an IRB console with mini_readline."
9
+ puts "Starting an IRB console with mini_readline (#{MiniReadline::VERSION})."
10
10
  puts
11
11
 
12
12
  module IRB
@@ -1,4 +1,4 @@
1
1
  module MiniReadline
2
2
  #The current version of the mini_readline gem.
3
- VERSION = "0.6.7"
3
+ VERSION = "0.6.8"
4
4
  end
@@ -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. Its
15
- creation was motivated by the bugs and eternal pull
16
- requests of that same gem. Further frustration was
17
- caused by the fact the the system readline gem seems
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.7
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-09-23 00:00:00.000000000 Z
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. Its creation was motivated by the bugs and eternal
71
- pull requests of that same gem. Further frustration was caused by the fact the the
72
- system readline gem seems to use a special load path that bypasses the normal gem
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.2
157
+ rubygems_version: 2.2.3
160
158
  signing_key:
161
159
  specification_version: 4
162
160
  summary: A simplified replacement for readline.