lib/sequel_rails/storage/jdbc.rb in sequel-rails-0.5.1 vs lib/sequel_rails/storage/jdbc.rb in sequel-rails-0.6.0
- old
+ new
@@ -13,10 +13,10 @@
def _is_sqlite?
config['adapter'].match(/^jdbc:sqlite/)
end
def _root_url
- config['url'].scan(/^jdbc:mysql:\/\/\w*:?\d*/).first
+ config['url'].scan(/^jdbc:mysql:\/\/[\w\.]*:?\d*/).first
end
def db_name
config['database']
end