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

Upgrade to cats 1.0.1 #136

Merged
merged 7 commits into from
Jan 8, 2018
Merged

Upgrade to cats 1.0.1 #136

merged 7 commits into from
Jan 8, 2018

Conversation

AdrianRaFo
Copy link
Contributor

With freestyle 0.5.1
Fixes #133

@AdrianRaFo AdrianRaFo requested a review from a team January 8, 2018 10:33
@codecov-io
Copy link

codecov-io commented Jan 8, 2018

Codecov Report

Merging #136 into master will increase coverage by 0.46%.
The diff coverage is 100%.

Impacted file tree graph

@@            Coverage Diff             @@
##           master     #136      +/-   ##
==========================================
+ Coverage   94.02%   94.49%   +0.46%     
==========================================
  Files          23       23              
  Lines         469      472       +3     
==========================================
+ Hits          441      446       +5     
+ Misses         28       26       -2
Impacted Files Coverage Δ
core/src/main/scala/schema/package.scala 100% <ø> (ø) ⬆️
core/src/main/scala/implicits.scala 75% <ø> (ø) ⬆️
...ain/scala/query/interpolator/CQLInterpolator.scala 82.6% <ø> (ø) ⬆️
core/src/main/scala/handlers/handlers.scala 97.36% <ø> (ø) ⬆️
core/src/main/scala/api/package.scala 100% <ø> (ø) ⬆️
...src/main/scala/query/mapper/ByteBufferMapper.scala 100% <ø> (ø) ⬆️
...scala/schema/provider/MetadataSchemaProvider.scala 79.16% <ø> (ø) ⬆️
core/src/main/scala/config/reads/datastax.scala 100% <ø> (+2.56%) ⬆️
core/src/main/scala/query/model.scala 100% <ø> (ø) ⬆️
...rc/main/scala/query/mapper/FieldToByteBuffer.scala 100% <ø> (ø) ⬆️
... and 14 more

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 747c784...290b5b5. Read the comment docs.

Copy link

@dominv dominv left a comment

Choose a reason for hiding this comment

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

LGTM

@@ -61,7 +62,7 @@ trait SchemaConversions {
E.flatten {
catchNonFatalAsSchemaError {
val columnsM: M[List[Table.Column]] =
E.traverse(metadata.getColumns.asScala.toList)(toTableColumn[M](_)(E))
Traverse[List].traverse(metadata.getColumns.asScala.toList)(toTableColumn(_))(E)
Copy link
Contributor

Choose a reason for hiding this comment

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

--          Traverse[List].traverse(metadata.getColumns.asScala.toList)(toTableColumn(_))(E)
++          metadata.getColumns.asScala.toList.traverse(toTableColumn(_)(E))

@@ -18,6 +18,7 @@ package freestyle.cassandra
package schema.provider.metadata

import cats.MonadError
import cats.Traverse
Copy link
Contributor

Choose a reason for hiding this comment

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

Not needed

Copy link
Contributor

@fedefernandez fedefernandez left a comment

Choose a reason for hiding this comment

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

giphy

@AdrianRaFo AdrianRaFo merged commit 1f09153 into master Jan 8, 2018
@AdrianRaFo AdrianRaFo deleted the arf-Upgrade-Cats-1.0.1 branch January 8, 2018 12:20
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