albino 1.2.1 → 1.2.2

Sign up to get free protection for your applications and to get access to all the features.
Files changed (3) hide show
  1. data/albino.gemspec +1 -1
  2. data/lib/albino.rb +2 -2
  3. metadata +3 -3
data/albino.gemspec CHANGED
@@ -13,7 +13,7 @@ Gem::Specification.new do |s|
13
13
  ## If your rubyforge_project name is different, then edit it and comment out
14
14
  ## the sub! line in the Rakefile
15
15
  s.name = 'albino'
16
- s.version = '1.2.1'
16
+ s.version = '1.2.2'
17
17
  s.date = '2011-01-11'
18
18
  s.rubyforge_project = 'albino'
19
19
 
data/lib/albino.rb CHANGED
@@ -45,7 +45,7 @@ require 'albino/process'
45
45
  class Albino
46
46
  class ShellArgumentError < ArgumentError; end
47
47
 
48
- VERSION = '1.2.1'
48
+ VERSION = '1.2.2'
49
49
 
50
50
  class << self
51
51
  attr_accessor :bin
@@ -95,7 +95,7 @@ class Albino
95
95
  if flag !~ /^[a-z]+$/i
96
96
  raise ShellArgumentError, "Flag is invalid: #{flag.inspect}"
97
97
  end
98
- if value !~ /^[a-z0-9\-\_\+\#\,\s]+$/i
98
+ if value !~ /^[a-z0-9\-\_\+\=\#\,\s]+$/i
99
99
  raise ShellArgumentError, "Flag value is invalid: -#{flag} #{value.inspect}"
100
100
  end
101
101
  end
metadata CHANGED
@@ -1,13 +1,13 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: albino
3
3
  version: !ruby/object:Gem::Version
4
- hash: 29
4
+ hash: 27
5
5
  prerelease: false
6
6
  segments:
7
7
  - 1
8
8
  - 2
9
- - 1
10
- version: 1.2.1
9
+ - 2
10
+ version: 1.2.2
11
11
  platform: ruby
12
12
  authors:
13
13
  - Chris Wanstrath