highline 1.2.2 → 1.2.3

Sign up to get free protection for your applications and to get access to all the features.
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.3
6
+
7
+ * Treat Cygwin like a Posix OS, instead of a native Windows environment.
8
+
5
9
  == 1.2.2
6
10
 
7
11
  * Minor documentation corrections.
@@ -28,7 +28,7 @@ require "abbrev"
28
28
  #
29
29
  class HighLine
30
30
  # The version of the installed library.
31
- VERSION = "1.2.2".freeze
31
+ VERSION = "1.2.3".freeze
32
32
 
33
33
  # An internal HighLine error. User code does not need to trap this.
34
34
  class QuestionError < StandardError
@@ -17,6 +17,9 @@ class HighLine
17
17
  # dragons!
18
18
  #
19
19
  begin
20
+ # Cygwin will look like Windows, but we want to treat it like a Posix OS:
21
+ raise LoadError, "Cygwin is a Posix OS." if RUBY_PLATFORM =~ /\bcygwin\b/i
22
+
20
23
  require "Win32API" # See if we're on Windows.
21
24
 
22
25
  CHARACTER_MODE = "Win32API" # For Debugging purposes only.
metadata CHANGED
@@ -3,8 +3,8 @@ rubygems_version: 0.8.11
3
3
  specification_version: 1
4
4
  name: highline
5
5
  version: !ruby/object:Gem::Version
6
- version: 1.2.2
7
- date: 2006-10-13 00:00:00 -05:00
6
+ version: 1.2.3
7
+ date: 2006-10-25 00:00:00 -05:00
8
8
  summary: HighLine is a high-level command-line IO library.
9
9
  require_paths:
10
10
  - lib