Skip to content

Commit

Permalink
Fix for ruby 1.8.7
Browse files Browse the repository at this point in the history
  • Loading branch information
Josep M. Bach committed Dec 5, 2010
1 parent 593a072 commit 5787d6f
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion Gemfile.lock
@@ -1,7 +1,7 @@
PATH PATH
remote: . remote: .
specs: specs:
hijacker (0.1.0) hijacker (0.1.1)
trollop trollop


GEM GEM
Expand Down
2 changes: 1 addition & 1 deletion lib/hijacker.rb
Expand Up @@ -7,7 +7,7 @@ module Hijacker


# Methods that won't be hijacked in any case # Methods that won't be hijacked in any case
REJECTED_METHODS = (Object.instance_methods | Module.methods | %w{< <= > >= __original_[\w\d]+ [^\w\d]+}) REJECTED_METHODS = (Object.instance_methods | Module.methods | %w{< <= > >= __original_[\w\d]+ [^\w\d]+})
FORBIDDEN_CLASSES = [Array, Hash, String, Fixnum, Float, Numeric, Symbol, Proc, Class, Object, BasicObject, Module] FORBIDDEN_CLASSES = [Array, Hash, String, Fixnum, Float, Numeric, Symbol, Proc, Class, Object, Module]


class << self class << self


Expand Down
2 changes: 1 addition & 1 deletion lib/hijacker/version.rb
@@ -1,3 +1,3 @@
module Hijacker module Hijacker
VERSION = "0.1.0" VERSION = "0.1.1"
end end

0 comments on commit 5787d6f

Please sign in to comment.