Skip to content

Refactor and simplify various modules and classes #291

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

Merged
merged 1 commit into from
Jan 12, 2018
Merged

Refactor and simplify various modules and classes #291

merged 1 commit into from
Jan 12, 2018

Conversation

DmitryTsepelev
Copy link
Contributor

Made an attempt to make code more short and readable (e.g. unified interfaces, removed repetitive code, ruby build-in added delegation etc)

@coveralls
Copy link

coveralls commented Jan 12, 2018

Coverage Status

Coverage increased (+0.3%) to 95.442% when pulling 117a150 on DmitryTsepelev:code_cleanup into 03d3b92 on ruby-grape:master.

@LeFnord
Copy link
Member

LeFnord commented Jan 12, 2018

@DmitryTsepelev … please fix the rubocop offences and I'm happy to mörge it

@grape-bot
Copy link

grape-bot commented Jan 12, 2018

1 Error
🚫 One of the lines below found in CHANGELOG.md doesn’t match the expected format. Please make it look like the other lines, pay attention to periods and spaces.
1 Warning
⚠️ There’re library changes, but not tests. That’s OK as long as you’re refactoring existing code.
* [#291](https://github.com/ruby-grape/grape-entity/pull/291) Refactor and simplify various classes and modules
* [#288](https://github.com/ruby-grape/grape-entity/pull/288) Fix wrong argument exception when &:block passed to the expose method  - [@DmitryTsepelev](https://github.com/DmitryTsepelev).

Generated by 🚫 danger

@DmitryTsepelev
Copy link
Contributor Author

@LeFnord Done

@LeFnord
Copy link
Member

LeFnord commented Jan 12, 2018

@DmitryTsepelev … sorry, but please add also a Changelog entry

@coveralls
Copy link

Coverage Status

Coverage increased (+0.9%) to 95.989% when pulling cbed7af on DmitryTsepelev:code_cleanup into 03d3b92 on ruby-grape:master.

@ruby-grape ruby-grape deleted a comment from coveralls Jan 12, 2018
@ruby-grape ruby-grape deleted a comment from coveralls Jan 12, 2018
@ruby-grape ruby-grape deleted a comment from coveralls Jan 12, 2018
@ruby-grape ruby-grape deleted a comment from coveralls Jan 12, 2018
@LeFnord LeFnord merged commit 65d7650 into ruby-grape:master Jan 12, 2018
@DmitryTsepelev DmitryTsepelev deleted the code_cleanup branch January 12, 2018 12:34
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.

4 participants