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

Part1. RxJava2 support #845

Merged
merged 14 commits into from
Nov 9, 2017
Merged

Part1. RxJava2 support #845

merged 14 commits into from
Nov 9, 2017

Conversation

nikitin-da
Copy link
Collaborator

Sorry guys for such huge amount of code, but I have no idea how to make it smaller =(
The both parts (SQLite and ContentResolver) and tests are highly dependent on common api and I'm not sure how interop library can help us.

This part do not handle case when there is no data in storage, I will solve it in next release (proposals about naming of our optional are welcome ;) )

Part of #685

@nikitin-da nikitin-da added this to the v3.0.0 milestone Nov 6, 2017
@nikitin-da nikitin-da self-assigned this Nov 6, 2017
@codecov-io
Copy link

codecov-io commented Nov 6, 2017

Codecov Report

Merging #845 into master will decrease coverage by 0.36%.
The diff coverage is 90.96%.

Impacted file tree graph

@@             Coverage Diff              @@
##             master     #845      +/-   ##
============================================
- Coverage     97.41%   97.05%   -0.37%     
+ Complexity      791      778      -13     
============================================
  Files            91       91              
  Lines          2707     2645      -62     
  Branches        305      297       -8     
============================================
- Hits           2637     2567      -70     
- Misses           38       48      +10     
+ Partials         32       30       -2
Impacted Files Coverage Δ Complexity Δ
...orefresh/storio2/test/AbstractEmissionChecker.java 100% <ø> (ø) 12 <0> (ø) ⬇️
...ernal/CompletableOnSubscribeExecuteAsBlocking.java 0% <0%> (ø) 0 <0> (?)
...operations/put/PreparedPutCollectionOfObjects.java 100% <100%> (ø) 12 <1> (ø) ⬇️
...orio2/sqlite/operations/get/PreparedGetCursor.java 100% <100%> (+1.69%) 5 <1> (-3) ⬇️
...solver/operations/delete/PreparedDeleteObject.java 100% <100%> (ø) 8 <1> (ø) ⬇️
...s/internal/SingleOnSubscribeExecuteAsBlocking.java 100% <100%> (ø) 2 <2> (?)
...ntentresolver/operations/internal/RxJavaUtils.java 100% <100%> (ø) 11 <10> (+1) ⬆️
...internal/FlowableOnSubscribeExecuteAsBlocking.java 100% <100%> (ø) 2 <2> (?)
...sqlite/operations/delete/PreparedDeleteObject.java 100% <100%> (ø) 6 <1> (ø) ⬇️
...orio2/sqlite/operations/put/PreparedPutObject.java 100% <100%> (ø) 6 <1> (ø) ⬇️
... and 34 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 7761600...831c328. Read the comment docs.

Copy link
Member

@artem-zinnatullin artem-zinnatullin left a comment

Choose a reason for hiding this comment

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

LGTM! Took me whole talk session on DroidconSF to review lol

build.gradle Outdated
// TODO remove RxJava1 and Interop once RxJava2 migration will be complete.
rxJava : 'io.reactivex:rxjava:1.2.1',
rxJavaInterop : 'com.github.akarnokd:rxjava2-interop:0.10.0',
rxJava2 : 'io.reactivex.rxjava2:rxjava:2.1.4',
Copy link
Member

Choose a reason for hiding this comment

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

2.1.6

build.gradle Outdated

// TODO remove RxJava1 and Interop once RxJava2 migration will be complete.
rxJava : 'io.reactivex:rxjava:1.2.1',
rxJavaInterop : 'com.github.akarnokd:rxjava2-interop:0.10.0',
Copy link
Member

Choose a reason for hiding this comment

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

0.10.9

@artem-zinnatullin
Copy link
Member

@geralt-encore let's merge this?

@geralt-encore
Copy link
Collaborator

Sorry, just saw this PR after your mention.
I'll review it today, I promise! :)

Copy link
Collaborator

@geralt-encore geralt-encore left a comment

Choose a reason for hiding this comment

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

Awesome! Let's merge it!

@geralt-encore
Copy link
Collaborator

I think that this coverage drop is not that important, so I'll merge it right away

@geralt-encore geralt-encore merged commit 18a6c2b into master Nov 9, 2017
@nikitin-da nikitin-da deleted the az/initial-2.x branch November 9, 2017 10:27
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants