diff options
| author | Teddy Wing | 2017-04-29 22:15:19 +0200 | 
|---|---|---|
| committer | Teddy Wing | 2017-04-29 22:15:19 +0200 | 
| commit | 6f4057392857313355769de7fea293b5e50f0779 (patch) | |
| tree | 647d609277ef2334d18847d15e8e342886431f99 /lib | |
| parent | b700c1bef89a67a64f1040fb6bb03c0320eefe91 (diff) | |
| download | dbshell-rails-6f4057392857313355769de7fea293b5e50f0779.tar.bz2 | |
Update `require` paths in database client files
Change the paths in the code to conform to the new file layout
introduced in b700c1bef89a67a64f1040fb6bb03c0320eefe91.
Diffstat (limited to 'lib')
| -rw-r--r-- | lib/dbshell/client/database.rb | 4 | ||||
| -rw-r--r-- | lib/dbshell/rails/tasks/dbshell.rake | 2 | 
2 files changed, 3 insertions, 3 deletions
| diff --git a/lib/dbshell/client/database.rb b/lib/dbshell/client/database.rb index edea777..d77efce 100644 --- a/lib/dbshell/client/database.rb +++ b/lib/dbshell/client/database.rb @@ -1,5 +1,5 @@ -require 'dbshell/sqlite3_client' -require 'dbshell/postgres_client' +require 'dbshell/client/sqlite3' +require 'dbshell/client/postgres'  class DBShell::DatabaseClient    def self.handler(connection_params) diff --git a/lib/dbshell/rails/tasks/dbshell.rake b/lib/dbshell/rails/tasks/dbshell.rake index c901142..c7d3a93 100644 --- a/lib/dbshell/rails/tasks/dbshell.rake +++ b/lib/dbshell/rails/tasks/dbshell.rake @@ -1,4 +1,4 @@ -require 'dbshell/database_client' +require 'dbshell/client/database'  task :dbshell do    env = ENV.fetch('RAILS_ENV', 'development') | 
