diff options
author | Teddy Wing | 2017-04-29 21:55:48 +0200 |
---|---|---|
committer | Teddy Wing | 2017-04-29 21:55:48 +0200 |
commit | b700c1bef89a67a64f1040fb6bb03c0320eefe91 (patch) | |
tree | c7173b62b8a7d6f33c41544e14139c8b5f4a6a5a /lib | |
parent | cf14e894685c695c7ecbaa2c119e2ea414afc00a (diff) | |
download | dbshell-rails-b700c1bef89a67a64f1040fb6bb03c0320eefe91.tar.bz2 |
Rename database client files to put them in a `Client` module
Will be modifying the class names in the next commit. Here we change the
file names & locations of the database client files.
The format changes thusly:
<adapter>_client.rb -> client/<adapter>.rb
This organisation feels cleaner to me. Wasn't liking the previous
structure.
Diffstat (limited to 'lib')
-rw-r--r-- | lib/dbshell/client/database.rb (renamed from lib/dbshell/database_client.rb) | 0 | ||||
-rw-r--r-- | lib/dbshell/client/postgres.rb (renamed from lib/dbshell/postgres_client.rb) | 0 | ||||
-rw-r--r-- | lib/dbshell/client/sqlite3.rb (renamed from lib/dbshell/sqlite3_client.rb) | 0 |
3 files changed, 0 insertions, 0 deletions
diff --git a/lib/dbshell/database_client.rb b/lib/dbshell/client/database.rb index edea777..edea777 100644 --- a/lib/dbshell/database_client.rb +++ b/lib/dbshell/client/database.rb diff --git a/lib/dbshell/postgres_client.rb b/lib/dbshell/client/postgres.rb index 1c1c663..1c1c663 100644 --- a/lib/dbshell/postgres_client.rb +++ b/lib/dbshell/client/postgres.rb diff --git a/lib/dbshell/sqlite3_client.rb b/lib/dbshell/client/sqlite3.rb index adc71ef..adc71ef 100644 --- a/lib/dbshell/sqlite3_client.rb +++ b/lib/dbshell/client/sqlite3.rb |