Spira.repositories in threads #43

Closed
wants to merge 1 commit into
from

Conversation

Projects
None yet
2 participants

cordawyn commented Oct 9, 2011

After some pondering (and more experience using Spira in a RoR project) I decided against storing the global list of repositories in Thread.current. I really don't see a reason behind this. Anyone?

This change allows one to do "Spira.add_repository" per "config/environments/*" in Rails, for example. Which is good, I think.

Also, Spira.settings appears to be obsolete now, so I've deleted it as well.
Tests are included.

Owner

bendiken commented Aug 27, 2014

This project has moved to ruby-rdf/spira. If this pull request is still relevant, please rebase and resubmit it over there.

@bendiken bendiken closed this Aug 27, 2014

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment