Permalink
Browse files

bump version

  • Loading branch information...
joshbuddy committed Jul 21, 2011
1 parent d95d0d8 commit 3ff11c232e19933562d18278c552af9ad4e74630
Showing with 3 additions and 3 deletions.
  1. +2 −2 lib/optitron/tokenizer.rb
  2. +1 −1 lib/optitron/version.rb
@@ -12,14 +12,14 @@ def initialize(parser, opts)
def tokenize
unless @tokens
- @tokens = @opts.map {|t|
+ @tokens = @opts.map do |t|
case t
when /^--([^-][^=]+)=([^=]+)$/ then NamedWithValue.new($1, $2)
when /^--([^-][^=]+)$/ then NamedWithValue.new($1, nil)
when /^-(.*)/ then find_names_values($1)
else Value.new(t)
end
- }
+ end
@tokens.flatten!
end
end
View
@@ -1,3 +1,3 @@
class Optitron
- VERSION = "0.3.2"
+ VERSION = "0.3.3"
end

0 comments on commit 3ff11c2

Please sign in to comment.