cmdline 0.0.1 → 0.0.2

Sign up to get free protection for your applications and to get access to all the features.
Files changed (4) hide show
  1. data/CHANGELOG +4 -0
  2. data/Rakefile +1 -1
  3. data/lib/cmdline.rb +2 -2
  4. metadata +2 -2
data/CHANGELOG CHANGED
@@ -1,3 +1,7 @@
1
+ = Version 0.0.2
2
+ === Sun Jul 22 20:58:10 CEST 2007
3
+ minor bugfix handling procs
4
+
1
5
  = Version 0.0.1
2
6
  changed to Version 0.0.1 because gems doesn't handle
3
7
  Version 0.0.0 nicely ...
data/Rakefile CHANGED
@@ -9,7 +9,7 @@ require "rubygems"
9
9
 
10
10
  SHORTNAME ='cmdline' # this should be the rubyforge project name
11
11
  DESC ='Yet Another Command Line Tool'
12
- PKG_VERSION ='0.0.1'
12
+ PKG_VERSION ='0.0.2'
13
13
  LONG_DESC = <<END_DESC
14
14
  Library used to handle command line arguments.
15
15
  END_DESC
@@ -220,9 +220,9 @@ class CommandLine
220
220
  usage "illegal value: #{val} for: #{definition[FLAG_1]}"
221
221
  end
222
222
  elsif check.kind_of? Proc
223
- usage "illegal value: #{val} for: #{definition[FLAG1]}" unless definition[CHECK].call val
223
+ usage "illegal value: #{val} for: #{definition[FLAG_1]}" unless definition[CHECK].call val
224
224
  elsif check.kind_of? Array
225
- usage "illegal value: #{val} for: #{definition[FLAG1]}" unless definition[CHECK].include? val
225
+ usage "illegal value: #{val} for: #{definition[FLAG_1]}" unless definition[CHECK].include? val
226
226
  end
227
227
 
228
228
  return true
metadata CHANGED
@@ -3,8 +3,8 @@ rubygems_version: 0.9.2
3
3
  specification_version: 1
4
4
  name: cmdline
5
5
  version: !ruby/object:Gem::Version
6
- version: 0.0.1
7
- date: 2007-05-12 00:00:00 +02:00
6
+ version: 0.0.2
7
+ date: 2007-07-22 00:00:00 +02:00
8
8
  summary: "cmdline: Yet Another Command Line Tool"
9
9
  require_paths:
10
10
  - lib