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

Add linter for serializable resource #996

Merged
merged 1 commit into from
Jul 13, 2015

Conversation

@bf4 bf4 mentioned this pull request Jul 9, 2015
10 tasks
@bf4
Copy link
Member Author

bf4 commented Jul 9, 2015

Transient failure, see #995

@bf4 bf4 mentioned this pull request Jul 9, 2015
@@ -6,6 +6,7 @@ class Serializer
autoload :Configuration
autoload :ArraySerializer
autoload :Adapter
autoload :Lint
Copy link
Member

Choose a reason for hiding this comment

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

why autoload Lint here?

Copy link
Member Author

Choose a reason for hiding this comment

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

Only because it's cheap and easy. I'd be perfectly happy to change it to a require 'active_model/serializer/lint' in the test

Copy link
Member

Choose a reason for hiding this comment

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

no worries, got it 😄

@joaomdmoura
Copy link
Member

LGTM, it's quite a small PR but useful for ppl trying to write some kind os tests. I'm merging it.

joaomdmoura added a commit that referenced this pull request Jul 13, 2015
Add linter for serializable resource
@joaomdmoura joaomdmoura merged commit 7757376 into rails-api:master Jul 13, 2015
@bf4 bf4 deleted the serializer_lint branch August 18, 2015 19:27
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