Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Removing waring from using regexp in condition.

  • Loading branch information...
commit b611e0d4f823d47f46cc67a35456692a7d226638 1 parent f874498
Pavel Kunc authored
Showing with 1 addition and 1 deletion.
  1. +1 −1  lib/merb/orms/sequel/connection.rb
2  lib/merb/orms/sequel/connection.rb
View
@@ -16,7 +16,7 @@ def sample_source() File.dirname(__FILE__) / "database.yml.sample" end
# ==== Returns
# Bool:: True if using Sequel >= 2.12.0 or False
def new_sequel?
- !!/^(2.12|3)/ =~ ::Sequel.version
+ !!(/^(2.12|3)/ =~ ::Sequel.version)
end
def copy_sample_config
Please sign in to comment.
Something went wrong with that request. Please try again.