aboutsummaryrefslogtreecommitdiffstats
AgeCommit message (Collapse)Author
2017-04-29postgres_client_spec.rb: Use integer port instead of stringTeddy Wing
Match the expected type with the input.
2017-04-29postgres_client_spec.rb: Add missing `it` blockTeddy Wing
Forgot to add an `it` block for my test, which resulted in it failing with a non-obvious error message.
2017-04-29Add `DBShell::PostgresClient` stubTeddy Wing
Make an empty container to pass the basic tests.
2017-04-29Add preliminary test for `DBShell::PostgresClient`Teddy Wing
Thinking up an interface for generating command line arguments for the `psql` command. Based on Django's dbshell: https://github.com/django/django/blob/66150f7cf61bc09547fa98586790df596eff6d77/tests/dbshell/test_postgresql_psycopg2.py
2017-04-29Rakefile: Add TestTaskTeddy Wing
Make it easier for us to run our specs.
2017-04-29Rakefile: Use single quotesTeddy Wing
Get rid of auto-generated double quotes in the `require` call.
2017-04-29dbshell.rake: Figure out how to get database connection info from RailsTeddy Wing
2017-04-29Add a test Rake taskTeddy Wing
Create a stub for our Rake task to see something working. Inspired by https://github.com/paulelliott/fabrication/blob/b470cd817e1973c14e3253cd76606cf934942ca1/lib/fabrication.rb
2017-04-29Change `Dbshell` to `DBShell`Teddy Wing
Use proper capitalisation for our module name.
2017-04-29Generate Ruby Gem contents with BundlerTeddy Wing
Created from: $ bundle gem dbshell-rails