albino 1.2.0 → 1.2.1

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/Rakefile +1 -1
  2. data/albino.gemspec +1 -1
  3. data/lib/albino.rb +2 -2
  4. metadata +3 -3
data/Rakefile CHANGED
@@ -79,7 +79,7 @@ task :release => :build do
79
79
  sh "git commit --allow-empty -a -m 'Release #{version}'"
80
80
  sh "git tag v#{version}"
81
81
  sh "git push origin master"
82
- sh "git push v#{version}"
82
+ sh "git push --tags"
83
83
  sh "gem push pkg/#{name}-#{version}.gem"
84
84
  end
85
85
 
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.0'
16
+ s.version = '1.2.1'
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.0'
48
+ VERSION = '1.2.1'
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-z\-\_\+\#\,\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: 31
4
+ hash: 29
5
5
  prerelease: false
6
6
  segments:
7
7
  - 1
8
8
  - 2
9
- - 0
10
- version: 1.2.0
9
+ - 1
10
+ version: 1.2.1
11
11
  platform: ruby
12
12
  authors:
13
13
  - Chris Wanstrath