cmd 0.7.1 → 0.7.2

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 (4) hide show
  1. data/CHANGELOG +7 -0
  2. data/Rakefile +1 -1
  3. data/lib/cmd.rb +1 -6
  4. metadata +1 -1
data/CHANGELOG CHANGED
@@ -1,5 +1,12 @@
1
1
  = Cmd Changelog
2
2
 
3
+ == Version 0.7.2
4
+
5
+ * Breaking the assignment to READLINE_SUPPORTED over multiple lines did not
6
+ appease RDoc. Fortunately Dave Thomas showed me several ways that I could
7
+ accomplish the same thing whilst appeasing RDoc. Sadly another minor bug fix
8
+ release :\ [Dave Thomas]
9
+
3
10
  == Version 0.7.1
4
11
 
5
12
  * Broke assignment to READLINE_SUPPORTED over several lines as removing the
data/Rakefile CHANGED
@@ -9,7 +9,7 @@ require 'date'
9
9
  require 'rbconfig'
10
10
 
11
11
  PKG_NAME = 'cmd'
12
- PKG_VERSION = '0.7.1'
12
+ PKG_VERSION = '0.7.2'
13
13
  PKG_FILE_NAME = "#{PKG_NAME}-#{PKG_VERSION}"
14
14
  PKG_DESTINATION = "../#{PKG_NAME}"
15
15
  PKG_AUTHOR = 'Marcel Molina Jr.'
data/lib/cmd.rb CHANGED
@@ -1,9 +1,4 @@
1
- READLINE_SUPPORTED = begin
2
- require 'readline'
3
- true
4
- rescue LoadError
5
- end
6
-
1
+ READLINE_SUPPORTED = (require 'readline'; true) rescue false
7
2
  require 'abbrev'
8
3
 
9
4
  # A simple framework for writing line-oriented command interpreters, based
metadata CHANGED
@@ -3,7 +3,7 @@ rubygems_version: 0.8.8
3
3
  specification_version: 1
4
4
  name: cmd
5
5
  version: !ruby/object:Gem::Version
6
- version: 0.7.1
6
+ version: 0.7.2
7
7
  date: 2005-04-11
8
8
  summary: A generic class to build line-oriented command interpreters.
9
9
  require_paths: