highline 1.2.3 → 1.2.4

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.
Files changed (3) hide show
  1. data/CHANGELOG +4 -0
  2. data/lib/highline.rb +2 -2
  3. metadata +4 -3
data/CHANGELOG CHANGED
@@ -2,6 +2,10 @@
2
2
 
3
3
  Below is a complete listing of changes for each revision of HighLine.
4
4
 
5
+ == 1.2.4
6
+
7
+ * Fixed a crash causing bug when using menus, reported by Patrick Hof.
8
+
5
9
  == 1.2.3
6
10
 
7
11
  * Treat Cygwin like a Posix OS, instead of a native Windows environment.
@@ -28,7 +28,7 @@ require "abbrev"
28
28
  #
29
29
  class HighLine
30
30
  # The version of the installed library.
31
- VERSION = "1.2.3".freeze
31
+ VERSION = "1.2.4".freeze
32
32
 
33
33
  # An internal HighLine error. User code does not need to trap this.
34
34
  class QuestionError < StandardError
@@ -243,7 +243,7 @@ class HighLine
243
243
  # Set _answer_type_ so we can double as the Question for ask().
244
244
  @menu.answer_type = if @menu.shell
245
245
  lambda do |command| # shell-style selection
246
- first_word = command.split.first
246
+ first_word = command.to_s.split.first
247
247
 
248
248
  options = @menu.options
249
249
  options.extend(OptionParser::Completion)
metadata CHANGED
@@ -1,10 +1,10 @@
1
1
  --- !ruby/object:Gem::Specification
2
- rubygems_version: 0.8.11
2
+ rubygems_version: 0.9.1
3
3
  specification_version: 1
4
4
  name: highline
5
5
  version: !ruby/object:Gem::Version
6
- version: 1.2.3
7
- date: 2006-10-25 00:00:00 -05:00
6
+ version: 1.2.4
7
+ date: 2007-01-17 00:00:00 -06:00
8
8
  summary: HighLine is a high-level command-line IO library.
9
9
  require_paths:
10
10
  - lib
@@ -25,6 +25,7 @@ required_ruby_version: !ruby/object:Gem::Version::Requirement
25
25
  platform: ruby
26
26
  signing_key:
27
27
  cert_chain:
28
+ post_install_message:
28
29
  authors:
29
30
  - James Edward Gray II
30
31
  files: