Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Use Sequel::Model #37

Merged
merged 18 commits into from
Oct 26, 2015
Merged

Use Sequel::Model #37

merged 18 commits into from
Oct 26, 2015

Conversation

smellsblue
Copy link
Contributor

Get rid of Gemstash::DBHelper and use Sequel::Model with corresponding model classes instead.

This is based off #36, so merging it will include both.

smellsblue and others added 18 commits October 23, 2015 16:17
Helper method read_gem for reading contents of test gem
… spec

Disconnect DB and flush cache on private gemstash server specs, otherwise problems
Keep a single DB instance and use it everywhere
Break out migration logic so specs can do it when deleting the database file
Preserve environment when running setup_spec, otherwise it breaks other specs
Clean the test path specs are run, otherwise past runs could affect the next run
Use forwardable in Gemstash::Cache
Drop need for Gemstash::DB::Rubygem.find_id
Thanks @pcarranza!
@pcarranza
Copy link
Contributor

👍 I like it, smaller objects 😄

smellsblue added a commit that referenced this pull request Oct 26, 2015
@smellsblue smellsblue merged commit 14b7de3 into master Oct 26, 2015
@smellsblue smellsblue deleted the use-sequel-models branch October 26, 2015 21:56
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants