Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions Gemfile
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,7 @@ gem 'minitest-global_expectations'
gem 'pg'
gem 'pry'
gem 'rake', '~> 13.0'
gem 'reline'
gem 'rubocop', '~> 1.21'
gem 'rubocop-minitest'
gem 'rubocop-rake'
Expand Down
14 changes: 10 additions & 4 deletions Readme.adoc
Original file line number Diff line number Diff line change
Expand Up @@ -139,14 +139,20 @@ spgt_test=#

## Development

After checking out the repo, run `bin/setup` to install dependencies. Then, run `rake test` to run the tests. You can also run `bin/console` for an interactive prompt that will allow you to experiment.
After checking out the repo, run `bundle install` or `bin/setup` to install dependencies.

To install this gem onto your local machine, run `bundle exec rake install`.
Then, either set the PGT_SPEC_DB environment variable to an existing PostgreSQL db of your choice,
or run `rake createdb` to create a testing one (`spgt_test`).

Finally run `rake spec` to run the tests.

You can also run `bin/console` for an interactive prompt that will allow you to experiment.

To install this gem from source onto your local machine, run `bundle exec rake install`.

### Conventional Commits & Commit Messages

This project uses the {conventional-commits}
specification for commit messages, as well as for PR titles.
This project uses the {conventional-commits} specification for commit messages, as well as for PR titles.
This allows for automated (by {release-please}) release management, changelog generation, and versioning.
Please follow the specification when writing commit messages.

Expand Down
4 changes: 2 additions & 2 deletions bin/console
Original file line number Diff line number Diff line change
Expand Up @@ -7,5 +7,5 @@ require 'sequel/pgt_outbox'
# You can add fixtures and/or initialization code here to make experimenting
# with your gem easier. You can also use a different console, if you like.

require 'irb'
IRB.start(__FILE__)
require 'pry'
Rubyists::PgtOutbox.pry
Loading