Skip to content

Commit

Permalink
v1.14.1: Oups, fix what 1.8.6 considers syntax error
Browse files Browse the repository at this point in the history
  • Loading branch information
marcandre committed Mar 5, 2010
1 parent 0b34eab commit 1e75b44
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion VERSION.yml
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
---
:major: 1
:minor: 14
:patch: 0
:patch: 1
:build:
4 changes: 2 additions & 2 deletions backports.gemspec
Original file line number Diff line number Diff line change
Expand Up @@ -5,11 +5,11 @@

Gem::Specification.new do |s|
s.name = %q{backports}
s.version = "1.14.0"
s.version = "1.14.1"

s.required_rubygems_version = Gem::Requirement.new(">= 0") if s.respond_to? :required_rubygems_version=
s.authors = ["Marc-Andr\303\251 Lafortune"]
s.date = %q{2010-03-04}
s.date = %q{2010-03-05}
s.description = %q{ Essential backports that enable some of the really nice features of ruby 1.8.7, ruby 1.9 and rails from ruby 1.8.6 and earlier.
}
s.email = %q{github@marc-andre.ca}
Expand Down
2 changes: 1 addition & 1 deletion lib/backports/1.9.2/enumerable.rb
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,7 @@ def join(*args)

def slice_before(arg = Backports::Undefined, &block)
if block_given?
has_init = not(arg.equal? Backports::Undefined)
has_init = !(arg.equal? Backports::Undefined)
else
raise ArgumentError, "wrong number of arguments (0 for 1)" if arg.equal? Backports::Undefined
block = Proc.new{|elem| arg === elem }
Expand Down

0 comments on commit 1e75b44

Please sign in to comment.