mini_readline 0.4.6 → 0.4.7

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: 72da0352d9a3adb0946c9902542b9f79f8c01260
4
- data.tar.gz: 4025883e28e90d1258818b51c9f30c7c3dc680e6
3
+ metadata.gz: c258802bc2c9779efd9062aa4b6d50f19d3e8540
4
+ data.tar.gz: 96b527444a58d81cc9a7ef4328054890cc239c4f
5
5
  SHA512:
6
- metadata.gz: 17cf75c0a4f72b861b37343b183b2bfa48d61b8db58bf62f35ea4b9335e476f8390e64fb23397ed60df7139364a0d3cc5f795aeeb4579f56d4a701c14bb36002
7
- data.tar.gz: e50bd96abeb77a6ecb9baf4784f6482f00fb3c7030d542fa9daae1126c6650529476b03de3612d2ec68811e72c2eccff51ba7ddd562b5d82b0863cea9540c4f4
6
+ metadata.gz: 56b5a86b39142fa437ba2f014bef4e206da4592b5ac30a93365ef335c6dfd9f5fa41beda17a2e9a86a76aa3077a4804c59a49acff9fcb01ebfda4a4185560d94
7
+ data.tar.gz: 82a77237b2b2df780330590f10268a187324724db9a663bd5a06950e0158f58897314b9bc225965ac7128a82ebb12f449ce2b5f1b51bec3e63e1dc26da9eb11e
data/README.md CHANGED
@@ -118,7 +118,13 @@ require 'mini_readline'
118
118
  ```
119
119
  Note that if the readline gem is subsequently required after the mini_readline
120
120
  gem, it will redefine the Readline constant, generating a warning message on
121
- $stderr.
121
+ $stderr. If that is an issue, the following should ensure that the
122
+ mini_readline gem stays in charge.
123
+ ```ruby
124
+ require 'readline'
125
+ $force_alias_read_line_module = true
126
+ require 'mini_readline'
127
+ ```
122
128
 
123
129
  ### Native Mode
124
130
 
data/bin/irbm ADDED
@@ -0,0 +1,10 @@
1
+ #!/usr/bin/env ruby
2
+ #
3
+ # Run irb with mini_readline
4
+ #
5
+
6
+ require 'irb'
7
+ $force_alias_read_line_module = true
8
+ require 'mini_readline'
9
+ puts "Starting an IRB console with mini_readline."
10
+ IRB.start
@@ -1,4 +1,4 @@
1
1
  module MiniReadline
2
2
  #The current version of the mini_readline gem.
3
- VERSION = "0.4.6"
3
+ VERSION = "0.4.7"
4
4
  end
@@ -13,7 +13,8 @@ Gem::Specification.new do |spec|
13
13
  spec.description = "A gem for console command entry with line edit "+
14
14
  "and history. This gem is like the standard readline " +
15
15
  "gem except that it has been redesigned, simplified, " +
16
- "and extensively cleaned up."
16
+ "and extensively cleaned up. Also includes the irbm " +
17
+ "utility, which is IRB + Mini_readline."
17
18
 
18
19
  spec.homepage = "http://teuthida-technologies.com/"
19
20
  spec.license = "MIT"
data/rakefile.rb CHANGED
@@ -31,7 +31,6 @@ end
31
31
  desc "Fire up an IRB session with mini_readline."
32
32
  task :console do
33
33
  require 'irb'
34
- require 'irb/completion'
35
34
  $force_alias_read_line_module = true
36
35
  require './lib/mini_readline'
37
36
  puts "Starting an IRB console with mini_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.4.6
4
+ version: 0.4.7
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-04-26 00:00:00.000000000 Z
11
+ date: 2016-05-02 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: minitest
@@ -68,10 +68,11 @@ dependencies:
68
68
  version: '10.0'
69
69
  description: A gem for console command entry with line edit and history. This gem
70
70
  is like the standard readline gem except that it has been redesigned, simplified,
71
- and extensively cleaned up.
71
+ and extensively cleaned up. Also includes the irbm utility, which is IRB + Mini_readline.
72
72
  email:
73
73
  - peter.c.camilleri@gmail.com
74
- executables: []
74
+ executables:
75
+ - irbm
75
76
  extensions: []
76
77
  extra_rdoc_files: []
77
78
  files:
@@ -79,6 +80,7 @@ files:
79
80
  - Gemfile
80
81
  - LICENSE.txt
81
82
  - README.md
83
+ - bin/irbm
82
84
  - lib/mini_readline.rb
83
85
  - lib/mini_readline/exceptions.rb
84
86
  - lib/mini_readline/options.rb