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

Pull normalize.css through Rails Assets #839

Merged
merged 1 commit into from
May 12, 2017
Merged

Pull normalize.css through Rails Assets #839

merged 1 commit into from
May 12, 2017

Conversation

tysongach
Copy link
Contributor

The normalize-rails gem has fallen out of date. The current version of
normalize.css is 7.0.0, but the latest version of normalize-rails is
4.1.1.

There have been repeated requests by collaborators of normalize-rails to
be given permissions to deploy new versions, but have gone unfulfilled.

With around 7 months of waiting, it seems time to pull in normalize.css
through other means. This change uses Rails Assets to get normalize.css.
It wraps Bower, which pulls directly through GitHub tags, so it should
always up-to-date.

Ref: https://github.com/markmcconachie/normalize-rails/issues/23
Closes: #835

@@ -1,6 +1,6 @@
@charset "utf-8";

@import "normalize-rails";
@import "normalize-css";

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Imported partial normalize-css should be written as _normalize-css.scss

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This is an error and will be fixed once thoughtbot/guides#486 gets merged.

The normalize-rails gem has fallen out of date. The current version of
normalize.css is 7.0.0, but the latest version of normalize-rails is
4.1.1.

There have been repeated requests by collaborators of normalize-rails to
be given permissions to deploy new versions, but have gone unfulfilled.

With around 7 months of waiting, it seems time to pull in normalize.css
through other means. This change uses Rails Assets to get normalize.css.
It wraps Bower, which pulls directly through GitHub tags, so it should
always up-to-date.

Ref: https://github.com/markmcconachie/normalize-rails/issues/23
Closes: #835
@creuter
Copy link

creuter commented May 11, 2017

LGTM.

@tysongach tysongach merged commit 56fe7b5 into master May 12, 2017
@tysongach tysongach deleted the tg-normalize branch May 12, 2017 19:41
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.

3 participants