Commit graph

359 commits

Author SHA1 Message Date
Mike Nakhimovich
025d302668 Put Community project back in 2017-08-29 16:18:37 -04:00
ctborg
16c43b01a7 Update and rename License.md to LICENSE (#269) 2017-08-24 16:26:33 -04:00
Ramona Harrison
0b7b6fb325 Accept SDK license with travis + bump sample app to 3.0.0-beta (#268) 2017-08-18 14:32:09 -04:00
Jorge Antonio Díaz-Benito Soriano
dac878e2ce Gradle updates (#266)
* Gradle Wrapper (all) 3.3 -> 4.1

* Gradle plugin for Android 2.3.2 -> 3.0.0-beta2

This requires upgrading the errorprone plugin to 0.0.11. Also, see
https://stackoverflow.com/questions/44196672/aapt2-compile-failed-invalid-dimen-on-android-3-0-canary-1

gradle plugin

* SDK Build Tools 25.0.2 -> 26.0.1

* Remove retrolambda

* Log error from subscription on PersistingStoreActivity for consistency

* Update dependency inclusion directives to those of the 3.0 plugin

Also, jsr305 and javax usages have been taken from compile to compileOnly
since they are not required beyond.

* Add dependencies that previously were resolved through leaked ones from other artifacts

Now dependency leaks are eliminated thanks to 'implementation' from the 3.0 version of the gradle plugin.

* Remove coupling between middlewares and cache

* Replace mockito-all by mockito-core

mockito-all causes problems related to hamcrest when used with JUnit. See
https://tedvinke.wordpress.com/2013/12/17/mixing-junit-hamcrest-and-mockito-explaining-nosuchmethoderror/

* Remove unused dependency.

* Build Tools 26.0.1 on Travis

* Suppress PMD.AvoidThrowingNullPointerException for the time being

* Avoid PMD synthetic accessor warning
2017-08-17 13:48:12 -04:00
Jorge Antonio Díaz-Benito Soriano
c0eb4331b5 Kotlin 1.1.4 for store-kotlin (#267) 2017-08-17 07:58:44 -04:00
Brian Plummer
fbc61915ac add in missing store-logo image (#261) 2017-07-26 19:25:05 -04:00
Ramona Harrison
c018915d31 Fix broken image links (#259)
Fix broken image links (#259)
2017-07-26 19:08:53 -04:00
Ramona Harrison
21fc584e2d Prepare next development version. 2017-07-26 11:54:00 -04:00
Ramona Harrison
982f3baa09 Prepare for release 3.0.0-beta. 2017-07-26 11:31:30 -04:00
Mike Nakhimovich
ad58fad050 fix stream for a single barcode (#252) 2017-07-26 11:23:18 -04:00
Vasilis Charalampakis
7e0198cbb4 Return object with meta data (#250)
* Add Result

* Make Store return Result<Parsed> objects

* Add basic tests

* Fix checkstyle & PMD

* Remove get name from Result

* Fix Result equality

* Enumerate Source

* Remove .DS_Store files
2017-07-25 17:31:10 -04:00
Brian Plummer
30b1771170 forward port of readAll/clearAll to rxjava2 branch (#254) 2017-07-24 16:40:37 -04:00
Mike Nakhimovich
1ee8d659fb upgrade external dependencies (#257)
* upgrade external dependencies

* update build tools in travis

* put kotlin standardlib back in

* fix build
2017-07-24 16:40:22 -04:00
Joe Cyboski
044aba83f5 Adding file masks to .gitignore (#258)
Adding file masks to .gitignore (#258)
2017-07-24 14:56:21 -04:00
Mike Nakhimovich
db5adc9130 Create CODE_OF_CONDUCT.md 2017-07-24 14:12:01 -04:00
Wojciech Dziemianczyk
bc911a4223 Change Store logo (#253)
Update README.md
2017-07-24 12:05:18 -04:00
Eric Cochran
c2d1a038c6 Update to Moshi 1.5.0. (#246) 2017-07-17 14:18:38 -04:00
Eric Cochran
f7adcfa9d7 Remove intermediate streams. (#247) 2017-07-17 14:18:28 -04:00
Kevin Cronly
325ce19abf README updated to reflect changes from rx2 (#243) 2017-07-13 20:24:13 -04:00
Pedro Carrillo
bf79676dad #225 Charset for rx2 branch (#239)
* #225 for rx2 branch

* adding end line
2017-07-07 11:31:19 -04:00
Jorge Antonio Díaz-Benito Soriano
10d0cf6d07 Add store-kotlin module (#229)
* Add store-kotlin module

* Remove useless file

* Fix package in AndroidManifest

* Refactor module tests to assertJ

* Remove wrong annotation

* Add store-kotlin artifact to README

* Add module README

* Add KDoc to Javadoc jar

* Add Experimental annotation

* Mark all public store-kotlin classes as @Experimental

* Replace use of rx's @Experimental with local one instead
2017-06-22 21:22:34 -04:00
Ramona Harrison
9926293696 Bump sample app to 3.0.0-alpha 2017-05-23 18:39:08 -04:00
Ramona Harrison
a85a04f9c1 Prepare next development version. 2017-05-23 18:23:02 -04:00
Ramona Harrison
047fbf3615 Prepare for release 3.0.0-alpha. 2017-05-23 18:15:13 -04:00
Ramona Harrison
730fa5bb66 Prepare next development version. (#222)
* Prepare next development version.

* Update deploy script branch for Rx2 branch
2017-05-23 17:39:00 -04:00
Ramona Harrison
8b4b186aaf Refactor package name to store3 for the Rx2 branch (#220)
* Refactor package name to store3 for the Rx2 branch

* Fix cache autoimports

* Fix LocalCache imports
2017-05-23 13:27:32 -04:00
Ramona Harrison
2c2872504b Include develop changes in Rx2 branch (#214)
* Update README.md

* Update README.md

* Update README.md (#175)

* Update README.md

* Close source after  write to filesystem

* Refactor FSFileTest to rx2 package

* remove null check on source and annotate arg with NonNull

* Standardize store.stream() to only emit new items

* Standardize store.stream() to only emit new items

* Remove unneeded call to asObservable()

* Update README.md

* Update README.md

* Fixed PMD violation God Class for RealInternalStore (#179)

* Update README.md

* Fixing dependency importation typo (#186)

* Mike/test (#195)

* new test

* Refactor NoNetworkTest to rx2 package

* Typo fixed (#202)

* Typo fixed

* Simplified by removing generics

* Update build.gradle (#193)

rename app id for sample app

* Add a missing Source.close() call (#200)

* Add Retrolambda plugin on the rest modules (#205)

* Add Retrolambda plugin on the rest modules and modify sample app for new config

* Suppress PMD violation on equals()

* Add Raw to BufferedSource transformer (#198)

* expireAfterAccess added to MemoryPolicy (#199)

* Add test coverage for MemoryPolicyBuilder (#210)

* Add test coverage for MemoryPolicyBuilder

* Checkstyle new line at EOF

* Fix PMD

* Refactor MemoryPolicyBuilderTest to rx2 package

* Deprecate setExpireAfter and getExpireAfter (#211)
2017-05-19 10:25:04 -04:00
Shane Fitzpatrick
47c463ba8a Add lambdas to Store and Filesystem modules (rx2) (#189) 2017-05-01 16:44:44 -04:00
Tair
20445fff13 RxJava2 Migration: Return single/maybe where appropriate. (#185)
* RxJava2 Migration: Return single/maybe where appropriate.

* Remove no longer used class.

* Pull in the fix for #181 from develop.

* Re-iterated solution #181 issue.
2017-04-24 16:37:45 -04:00
Mike Nakhimovich
f009e11a0b Feature/rx2 package rename (#171)
* first pass at store2 artifacts
2017-03-23 17:48:16 -04:00
Maksim Moiseikin
a9ed871834 Port to RxJava 2 (#155)
* Port Store artifact to RxJava 2
2017-03-23 16:29:47 -04:00
Kevin AUDE
de6f55ed1b Remove apt dependency and use annotationProcessor instead (#166) 2017-03-23 07:19:20 -04:00
Maksim Moiseikin
aa53a3c285 Translate Readme to Russian (#153)
* Translate Readme to Russian
2017-03-21 10:31:52 -04:00
Brian Plummer
554bb25a32 persisterIsStale() should return false if record is missing or policy is unspecified (#164)
* persisterIsStale() should return false if record is missing or policy is unspecified

* Updated store network stale test
2017-03-20 16:39:18 -04:00
Mike Nakhimovich
b384629498 Update CHANGELOG.md 2017-03-13 20:07:19 -04:00
Brian Plummer
b8c4b56641 update sample to use store version 2.0.2 (#159) 2017-03-13 18:38:50 -04:00
Plummer
3dba807258 Prepare next development version. 2017-03-13 17:08:50 -04:00
Plummer
7e87c254d5 Prepare for release 2.0.2 2017-03-13 16:56:36 -04:00
Pavlos-Petros Tournaris
e216242040 Fix NoopPersister wrong caching duration (#151)
* Fix NoopPersister wrong caching duration
2017-03-10 13:20:57 -05:00
Alex
fe6e23a265 Fix typo, "seperate" to "separate" (#154) 2017-03-09 07:35:45 -05:00
Alexio Mota
c8dce443a3 Merge pull request #149 from pavlospt/fix_sample_app
Fix sample app to init Store on Application creation
2017-03-07 17:12:40 -05:00
Alexio Mota
9de21b9ba3 Merge pull request #146 from aminelaadhari/feature/EnhanceModulesDependencies
Remove dagger dependency and clean unused dependencies from modules
2017-03-07 15:00:31 -05:00
Tournaris Pavlos-Petros
9f8e88e027 Fix sample app to init Store on Application creation 2017-03-07 21:16:26 +02:00
Amine Laadhari
10eb6ee0a4 Add Inject annotations with the correct dependency 2017-03-07 18:28:38 +01:00
Amine Laadhari
986fc456bd Remove dagger dependency and clean unused dependencies from modules 2017-03-06 17:40:53 +01:00
Brian Plummer
d6ed9c7916 modify clearMemory() to call regular clear() since they are equivalant… (#144)
* modify clearMemory() to call regular clear() since they are equivalant,  bullet-proof BreadthFirstFileTreeIterator
2017-03-02 11:24:24 -05:00
Plummer
aada5df067 Prepare next development version. 2017-02-28 15:46:16 -05:00
Plummer
0ff02895c6 Prepare for release 2.0.1 2017-02-28 15:31:13 -05:00
Mike Nakhimovich
9b512e7345 fix clear one barcode (#141) 2017-02-27 16:48:05 -05:00
Pavlos-Petros Tournaris
a7e536cc25 Add FileSystemRecordPersisterFactory (#140)
* Add FileSystemRecordPersisterFactory
2017-02-23 16:30:28 -05:00