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

Feature/slate generator tweaks #287

Merged
merged 7 commits into from
Jun 23, 2016

Conversation

rpocklin
Copy link
Contributor

@rpocklin rpocklin commented May 27, 2016

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.

@rpocklin
Copy link
Contributor Author

rpocklin commented Jun 1, 2016

@oestrich any feedback?

def explanation_with_linebreaks
explanation.gsub "\n", "<br>\n"
end

def write
Copy link
Contributor

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.

@oestrich
Copy link
Contributor

oestrich commented Jun 1, 2016

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 require 'bundler/setup' line in spec_helper.

With that update and the write method I would call this good to go.

@rpocklin rpocklin force-pushed the feature/slate-generator-tweaks branch from 1325f34 to 2228570 Compare June 1, 2016 22:20
@rpocklin
Copy link
Contributor Author

rpocklin commented Jun 1, 2016

Thanks for the quick feedback, appreciate your time.
I've made the changes made to PR.

@oestrich
Copy link
Contributor

Sorry about taking a while to get to this. Looks good now.

@oestrich oestrich merged commit fce1cd5 into zipmark:master Jun 23, 2016
@rpocklin
Copy link
Contributor Author

Awesome thanks!

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