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

Don't create listener until it's needed #34

Merged
merged 5 commits into from
Nov 25, 2014
Merged

Don't create listener until it's needed #34

merged 5 commits into from
Nov 25, 2014

Conversation

dmarcotte
Copy link
Owner

Code that's using this gem as a library dependency may just want to take advantage of its rendering, not its watching, so defer creating a listener until it's needed.

This pull also updates deps and such to ensure tests are green, which includes pinning the optional github-linguist dep to a good version (the latest versions are currently very cranky...)

Code that's using this gem as a library dependency may just want to take
advantage of its rendering, not its watching, so defer creating a
listener until it's needed.
Celluloid started failing in the tests with
`Celluloid::Error: Celluloid is not yet started; use Celluloid.boot`
again.  Update the workaround to get it happy again.
Pin to github-linguist 3.3.1 to avoid problems introduced in later
versions (for a number of versions they relied on a beta constant in
rugged which is now gone and creates an error, and in the latest it
looks like a Pygments constant that html-pipeline relies on disappeared)
dmarcotte added a commit that referenced this pull request Nov 25, 2014
Don't create listener until it's needed
@dmarcotte dmarcotte merged commit aa7c2ac into master Nov 25, 2014
@dmarcotte dmarcotte deleted the lazy-listen branch November 25, 2014 18:25
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.

1 participant