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

Enrich Repository class #25

Merged
merged 5 commits into from Jun 21, 2016
Merged

Enrich Repository class #25

merged 5 commits into from Jun 21, 2016

Conversation

rafaparadela
Copy link

This PR closes #24

  • It enriches the repository model.
  • It divides up properties in status and urls sub case classes
  • It adds a decoder to serialise the json returned by github.
  • It adds unit tests for decoders.

@fedefernandez Could you review please? Thank you.

for {
id ← c.downField("id").as[Int]
name ← c.downField("name").as[String]
full_name ← c.downField("name").as[String]
Copy link
Contributor

Choose a reason for hiding this comment

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

-- full_name ← c.downField("name").as[String]
++ full_name ← c.downField("full_name").as[String]

Copy link
Author

Choose a reason for hiding this comment

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

Fixed. Thank you.

@codecov-io
Copy link

codecov-io commented Jun 21, 2016

Current coverage is 86.30%

Merging #25 into master will increase coverage by 6.70%

@@             master        #25   diff @@
==========================================
  Files            14         14          
  Lines           147        219    +72   
  Methods         146        217    +71   
  Messages          0          0          
  Branches          1          2     +1   
==========================================
+ Hits            117        189    +72   
  Misses           30         30          
  Partials          0          0          

Powered by Codecov. Last updated by ee346a0...e5fce40

@fedefernandez
Copy link
Contributor

LGTM!

@rafaparadela rafaparadela merged commit 44c680a into master Jun 21, 2016
@rafaparadela rafaparadela deleted the rafa-24-enrich-repo-class branch June 21, 2016 11:01
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.

Enrich repository model
3 participants