Commit graph

269 commits

Author SHA1 Message Date
fabioCollini
7ada4fbc38 Fix compilation errors in tests 2019-02-11 16:00:38 -05:00
fabioCollini
d749b3a161 Restored interface 2019-02-11 15:34:40 -05:00
fabioCollini
1b9e79a565 Fix some tests 2019-02-11 15:15:08 -05:00
DigitalBuddha
b3a94fa1a8 fixing tests 2019-02-10 20:23:15 -05:00
DigitalBuddha
774e9d9c4b Merge remote-tracking branch 'origin/feature/kotlin_conversion' into feature/coroutines
# Conflicts:
#	app/build.gradle
#	app/src/main/java/com/nytimes/android/sample/SampleApp.kt
#	app/src/main/java/com/nytimes/android/sample/activity/PersistingStoreActivity.java
#	app/src/main/java/com/nytimes/android/sample/activity/StoreActivity.java
#	build.gradle
#	buildsystem/dependencies.gradle
#	filesystem/src/test/java/com/nytimes/android/external/fs3/FilePersisterTest.java
#	filesystem/src/test/java/com/nytimes/android/external/fs3/FileSystemRecordPersisterTest.java
#	filesystem/src/test/java/com/nytimes/android/external/fs3/RecordPersisterTest.java
#	filesystem/src/test/java/com/nytimes/android/external/fs3/SourcePersisterTest.java
#	middleware/src/main/java/com/nytimes/android/external/store3/middleware/GsonParserFactory.kt
#	middleware/src/main/java/com/nytimes/android/external/store3/middleware/GsonReaderParser.kt
#	middleware/src/main/java/com/nytimes/android/external/store3/middleware/GsonSourceParser.kt
#	middleware/src/main/java/com/nytimes/android/external/store3/middleware/GsonStringParser.kt
#	middleware/src/test/java/com/nytimes/android/external/store3/GenericParserStoreTest.java
#	middleware/src/test/java/com/nytimes/android/external/store3/GsonParserFactoryTest.java
#	middleware/src/test/java/com/nytimes/android/external/store3/GsonSourceListParserTest.java
#	store/build.gradle
2019-02-10 19:29:48 -05:00
DigitalBuddha
2d3596e4bb fixing tests 2019-02-10 19:23:00 -05:00
ychescale9
59f9c68342 Update SDK, build tools, gradle, AGP, Kotlin, and library dependencies. (#371)
* Update SDK, build tools, gradle, AGP, Kotlin, and library dependencies.

* Update travis config with new SDK version.
2019-01-07 15:05:05 +01:00
Darío Hereñú
b73d36bb2f Typos on #316 & #334 (#370) 2018-10-30 16:28:40 -04:00
ychescale9
ecea787a3f Remove Deprecated annotation for stream(V key) (#368)
* Remove Deprecated annotation for stream(V key) which was meant to be undeprecated with https://github.com/NYTimes/Store/pull/252.

* Fix CI - remove https://plugins.gradle.org/m2 repository applied to all projects.
2018-10-25 10:43:29 -04:00
Jeremy Tecson
46e0b7fd5a Update README.md (#363)
- Typos
- Format code samples
- Code block usage on types
- Add direct link to RxJava and Wiki
2018-07-26 21:58:45 -04:00
Jeremy Tecson
ce0bea786f Fix typos (#360) 2018-07-21 14:19:58 +02:00
Jeremy Tecson
0dee4f135e Use implementation instead of compile (#362) 2018-07-21 14:00:41 +02:00
Jeremy Tecson
2697f4a30a Add links to mentioned libraries (#361) 2018-07-21 13:56:27 +02:00
Brian Plummer
9b3cc88b3f
last part of filesystem tests conversion (#356)
* rest of filesystem tests

* remove el
2018-07-18 23:18:46 +02:00
Brian Plummer
2da5e1e5fe
convert first half of store tests to kotlin (#353)
* configure kotlin, first test

* first half of store tests

* remove unused imports

* pr feedback, scope and el

* remove charsetTest
2018-07-18 21:54:59 +02:00
Brian Plummer
34ec7d079b
convert jackson middleware tests to kotlin (#355)
* bump jackson rev, include jackson kotlin

* configure jackson for kotlin data classes

* convert tests to kotlin
2018-07-18 21:52:04 +02:00
Brian Plummer
a2a9978359
second part of filesystem tests conversion to kotlin (#354)
* second part of filesystem tests

* pr feedback

* pr feedback, rename tests
2018-07-17 12:35:40 +02:00
Brian Plummer
473650082c
convert first batch of filesystem module tests (#352)
* configure kotlin, convert first test

* convert half the tests

* some pr feedback

* pull up source func
2018-07-13 11:08:16 +02:00
Brian Plummer
31ec45caa6 middleware conversion to kotlin (#351)
* convert middleware to kotlin, start with tests

* convert source

* pr feedback, change mocks to lateinit

* change compile to implementation

* change rest of compile to use implementation, and append version of kotlin

* remove obsolete constructor checks

* pr feedback convert one liners to assignments
2018-07-11 14:02:33 -04:00
Brian Plummer
df71de8bbd
convert moshi middleware to kotlin (#349)
* start conversion of middleware to moshi, tests first

* convert data model of tests

* convert source to kotlin

* pr feedback, change mocks to lateinit
2018-07-10 15:13:44 +02:00
Brian Plummer
fae3ccc828
Convert sample to kotlin (#347)
* start of sample app conversion to kotlin

* go with moshi kotlin codegen instead of immutables

* pr feedback, use lateinit and make non-null

* pr feedback, unwind method
2018-07-10 14:07:50 +02:00
Brian Plummer
830d607157
issue #345 sample crashes on launch, create SampleRoomStore during onCreate (#346) 2018-07-05 21:52:53 -04:00
Tyler Kindy
e4c21b23c8 Update version in README (#343) 2018-07-05 10:01:48 -04:00
Artem Viter
c496decb93 Updating images urls for Store/docs/ru/README.md (#341) 2018-06-18 09:57:41 -04:00
Ramona Harrison
b62cd730ad Prepare next development version. 2018-06-07 14:13:38 -04:00
Ramona Harrison
6ea6f30a6a Prepare for release 3.1.0. 2018-06-07 13:43:16 -04:00
Kevin Cronly
b8df99c4b8 Fixes errors in README (#336) 2018-06-05 09:58:38 -04:00
Mike Nakhimovich
6ac40cd371 StoreRoom (#338)
* roomStore

* kt the app class

* refactor

* fix compilation

* Update .travis.yml

* migrate relevant tests to RoomStore, mark new Room API with @Experimental

* pr feedback

* bump minor rev up

* cleanup store

* create factory, clean up example

* pr comments
2018-05-30 18:56:08 +02:00
Roberto Orgiu
ed378585c2
Merge pull request #328 from pavlospt/fix_memory_policy_default_size
Fix memory policy default size
2018-05-13 14:57:52 -07:00
Tournaris Pavlos-Petros
d92307f0ff Bump AGP to 3.1.2 stable 2018-05-13 22:35:44 +03:00
Jorge Antonio Díaz-Benito Soriano
d26d50a5b6 Remove unnecessary Android-specific stuff (#319) 2018-05-03 09:39:37 -04:00
Kevin Cronly
2866e4bd95 273: Adds comments to the sample app (#335) 2018-04-30 09:58:15 -04:00
Tournaris Pavlos-Petros
799192e108 Fix checkstyle warnings 2018-03-29 23:29:24 +03:00
Tournaris Pavlos-Petros
e3db18a322 Update BuildTool version
* Version 27.0.3 is already used by AGP 3.1, but I updated the
version in dependencies.gradle as well.
2018-03-29 23:22:59 +03:00
Tournaris Pavlos-Petros
3bf22de815 Add google() repository
* Needed for the lint-gradle dependency in :app project
2018-03-29 23:22:08 +03:00
Tournaris Pavlos-Petros
d593ba90ec Update Travis file for BuildTools 27.0.3 2018-03-29 23:07:18 +03:00
Tournaris Pavlos-Petros
7c9e28b573 Add test for MemoryPolicy default size 2018-03-29 23:00:15 +03:00
Joe Cyboski
3fffd21acc
Merge pull request #329 from cybo42/update-readme
Adding docs to README for setting 1.8 compatibility
2018-03-29 13:56:05 -04:00
Joe Cyboski
9f2704bc11 Adding docs to readme for setting 1.8 compatibility 2018-03-29 12:25:03 -04:00
pavlospt
d40f02bd89
Return standard maxSize if not set 2018-03-29 17:13:54 +03:00
pavlospt
fda58beffb
Update Gradle version to 4.4 2018-03-29 16:55:43 +03:00
pavlospt
7d74ccabf0
Update AGP to 3.1.0 stable 2018-03-29 16:55:33 +03:00
Ramona Harrison
d182147d65 Bump sample app to 3.0.1 2018-03-20 17:39:51 -04:00
Saket Narayan
2232264fb2 Add missing reading of expire-after-policy when creating a NoopPersister (#315)
* Set missing expire-after-access policy to NoopPersister's cache (#312)

* Remove comment about PMD from NoopPersister#create()

* Add regression test for #312

* Deprecate MemoryPolicy#isDefaultPolicy() in favor of isDefaultWritePolicy() and isDefaultAccessPolicy()
2018-03-20 19:14:55 +01:00
Ramona Harrison
527a131bbc Prepare next development version. 2018-03-20 14:13:44 -04:00
Ramona Harrison
34ebfcaabe Prepare for release 3.0.1. 2018-03-20 13:40:54 -04:00
Pavlos-Petros Tournaris
6f2f1c12fe Fix issues occured from RxJava1 dependency (#314)
* Remove RxJava1 dependencies
* Fixed an ErrorProne warning
2018-02-20 18:05:46 +01:00
Pavlos-Petros Tournaris
ca615320a8 Update Kotlin & AGP versions (#311)
* Update AGP to stable 3.0.1 version

* Update Kotlin to stable 1.2.21 version
2018-02-02 20:40:45 +01:00
Ramona Harrison
6e9875855a Prepare next development version. 2018-02-01 14:00:19 -05:00
Ramona Harrison
1d0ce5f4c1 Prepare for release 3.0.0. 2018-02-01 13:45:53 -05:00