Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

fix typo

  • Loading branch information...
commit b4de2f55382af5124c25de2ed33effd6c731f3d2 1 parent 403f42b
@ahoward authored
Showing with 5 additions and 4 deletions.
  1. +2 −1  Rakefile
  2. +2 −2 lib/options.rb
  3. +1 −1  options.gemspec
View
3  Rakefile
@@ -157,7 +157,8 @@ task :release => [:clean, :gemspec, :gem] do
gems = Dir[File.join(This.pkgdir, '*.gem')].flatten
raise "which one? : #{ gems.inspect }" if gems.size > 1
raise "no gems?" if gems.size < 1
- cmd = "rubyforge login && rubyforge add_release #{ This.rubyforge_project } #{ This.lib } #{ This.version } #{ This.pkgdir }/#{ This.gem }"
+ #cmd = "rubyforge login && rubyforge add_release #{ This.rubyforge_project } #{ This.lib } #{ This.version } #{ This.pkgdir }/#{ This.gem }"
+ cmd = "rubyforge add_release #{ This.rubyforge_project } #{ This.lib } #{ This.version } #{ This.pkgdir }/#{ This.gem }"
puts cmd
system cmd
end
View
4 lib/options.rb
@@ -1,5 +1,5 @@
module Options
- Options::VERSION = '2.2.0' unless defined?(Options::VERSION)
+ Options::VERSION = '2.2.1' unless defined?(Options::VERSION)
class << Options
def version
@@ -53,7 +53,7 @@ def parse(args)
when Hash
Options.for(args)
else
- raise ArgumentError, "`args` should be and Array or Hash"
+ raise ArgumentError, "`args` should be an Array or Hash"
end
end
end
View
2  options.gemspec
@@ -3,7 +3,7 @@
Gem::Specification::new do |spec|
spec.name = "options"
- spec.version = "2.1.1"
+ spec.version = "2.2.0"
spec.platform = Gem::Platform::RUBY
spec.summary = "options"
Please sign in to comment.
Something went wrong with that request. Please try again.