-
Notifications
You must be signed in to change notification settings - Fork 365
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
Feature/slate generator tweaks #287
Feature/slate generator tweaks #287
Conversation
a better default template name.
@oestrich any feedback? |
def explanation_with_linebreaks | ||
explanation.gsub "\n", "<br>\n" | ||
end | ||
|
||
def write |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
With the update to the SlateWriter, I don't think we need this method any more. I deleted it locally and everything passes.
You shouldn't see to alter the Gemfile, it's already in the gemspec that gets loaded. I was able to get it running without any Gemfile edits but with the With that update and the |
and changed curl to use shell formatter in slate.
1325f34
to
2228570
Compare
Thanks for the quick feedback, appreciate your time. |
Sorry about taking a while to get to this. Looks good now. |
Awesome thanks! |
Firstly, love the slate generation. Totally awesome.
Here are some tweaks to fix up formatting of sections, explanation and curl to be more idiomatic 'slate'.
I found I couldn't run
rake spec
without making those changes in the Gemfile for 'activesupport' and 'thin' - let me know if this is not needed or there's another way and I can remove the commit from the PR.