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

Bumping dependencies #77

Merged
merged 4 commits into from
Oct 18, 2018
Merged

Bumping dependencies #77

merged 4 commits into from
Oct 18, 2018

Conversation

alejandrod
Copy link
Contributor

Play 2.6.19
Dropwizard 4.0.3
Scala 2.12.6

Play 2.6.19
Dropwizard 4.0.3
Scala 2.12.6
@codecov-io
Copy link

codecov-io commented Oct 3, 2018

Codecov Report

Merging #77 into master will not change coverage.
The diff coverage is 100%.

Impacted file tree graph

@@           Coverage Diff           @@
##           master      #77   +/-   ##
=======================================
  Coverage   84.12%   84.12%           
=======================================
  Files           4        4           
  Lines          63       63           
  Branches        3        5    +2     
=======================================
  Hits           53       53           
  Misses         10       10
Impacted Files Coverage Δ
...in/scala/com/kenshoo/play/metrics/PlayModule.scala 0% <ø> (ø) ⬆️
.../main/scala/com/kenshoo/play/metrics/Metrics.scala 96.96% <100%> (ø) ⬆️

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update 3c94824...6342341. Read the comment docs.

@alejandrod
Copy link
Contributor Author

@liorhar Do you think we can merge this? I don't see why not. Thanks!

@tzachz
Copy link
Member

tzachz commented Oct 18, 2018

Thanks for the contribution!

I don't see a reason not to merge this, but I'm going to take a minute to go through the Dropwizard Metrics 4.0 release notes to see there are no (bad) surprises there. I'll also try testing this locally with a sample Play project. If all looks good, I'll merge.


//Test
"com.typesafe.play" %% "play-test" % playVersion % Test,
"com.typesafe.play" %% "play-specs2" % playVersion % Test
Copy link
Member

Choose a reason for hiding this comment

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

thanks for the cleanup 👍

@@ -67,7 +68,7 @@ class MetricsImpl @Inject() (lifecycle: ApplicationLifecycle, configuration: Con
}
}

def onStart() = {
def onStart(): ObjectMapper = {
Copy link
Member

Choose a reason for hiding this comment

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

It's not critical, but I think the return type here should be Unit - indeed the method's last expression has type ObjectMapper, but that's just coincidental, it wasn't supposed to be exposed (which just goes to show why public methods should have explicit return types, so thanks for that).

@tzachz tzachz merged commit f24567c into kenshoo:master Oct 18, 2018
@tzachz
Copy link
Member

tzachz commented Oct 18, 2018

New version (2.6.19_0.7.0) is now published (for both Scala 2.12 and 2.11).

Thanks again @alejandrod!

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