Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
48 commits
Select commit Hold shift + click to select a range
630045c
initial refractor - temporary removal of tests (changing to Spek)
adamint Nov 3, 2018
3c4d112
add SpotifyException - continue refractor of classes
adamint Nov 3, 2018
7550f22
move distribution into another package
adamint Nov 3, 2018
ddfcb38
begin including robust tests - PublicTracksAPI are the first
adamint Nov 3, 2018
f1c0e9d
add testing on 5/8 non-client apis, rework refresh logic
adamint Nov 4, 2018
c9116cb
add PublicArtistsAPI tests and update documentation
adamint Nov 4, 2018
6079a4d
additional tests for Albums and Artists APIs
adamint Nov 4, 2018
0bd1b45
additional recommendation tests added
adamint Nov 4, 2018
49553cf
update readme to reflect how to test
adamint Nov 4, 2018
8782d05
refractor test api declaration into its own class
adamint Nov 5, 2018
f5248ca
add experimental PagingObject#getAll()
adamint Nov 5, 2018
c8585bd
refractor distribution gradle script back to the main project
adamint Dec 1, 2018
6c28e23
convenience methods to get full objects
adamint Dec 24, 2018
b1444ce
fix client playlist tests
adamint Dec 25, 2018
e02b554
introduce friendly DSL builder
adamint Dec 27, 2018
923ac68
introduce java-friendly, less verbose builder
adamint Dec 27, 2018
3c2091b
add builder, some following tests
adamint Dec 27, 2018
aef66fb
Cleanup repo
molikuner Dec 27, 2018
caec344
Merge pull request #18 from molikuner/dev
adamint Dec 28, 2018
c6788b4
update markdown files
adamint Dec 28, 2018
8818354
add documentation to warn users about #13 - fix for now
adamint Dec 28, 2018
b0c751f
fix #20 & refractor asserts into assertTrue
adamint Dec 28, 2018
35ebdec
re-add circlci config
adamint Dec 28, 2018
ad7e43f
erronenous step
adamint Dec 28, 2018
cc7ae0b
update spek
adamint Dec 28, 2018
3f90c14
update circleci config
adamint Dec 28, 2018
a5c2448
condense ClientLibraryAPI methods (remove redundancy)
adamint Dec 28, 2018
18ddc8d
change PagingObject#getAll to return PagingObjects list
adamint Dec 28, 2018
8313666
most people don't want pagingobjects returned
adamint Dec 28, 2018
28729ca
most people don't want pagingobjects returned
adamint Dec 28, 2018
e2fdc57
in endpoints returning PagingObjects, exchange SpotifyRestActions wi…
adamint Dec 28, 2018
b00d0cb
in endpoints returning PagingObjects, exchange SpotifyRestActions wi…
adamint Dec 28, 2018
1ea963a
now that inline funcs are gone, methods internalized
adamint Dec 28, 2018
0fe5e0d
now that inline funcs are gone, methods internalized
adamint Dec 28, 2018
3c7e91b
removed application information
adamint Dec 28, 2018
506998c
removed application information
adamint Dec 28, 2018
9fe0b34
Merge branch 'dev' of https://github.com/adamint/spotify-web-api-kotl…
adamint Dec 28, 2018
07f8ebb
update readme
adamint Dec 28, 2018
dd707a0
fix odd wording
adamint Dec 28, 2018
6f52e64
Add URI as inline classes
molikuner Dec 27, 2018
e4eed05
Use inline uri classes
molikuner Dec 27, 2018
02c85fa
SpotifyURIs can be regular classes, abstract
adamint Dec 28, 2018
7e6cf66
use SpotifyUri input field instead of parameter
adamint Dec 28, 2018
5b75359
Merge pull request #19 from molikuner/inlineUris
adamint Dec 28, 2018
37366f9
Remove redundant code
molikuner Dec 28, 2018
0925e31
Merge pull request #24 from molikuner/inlineUris
adamint Dec 28, 2018
3ef3ba4
use ktlint to standardize code style
adamint Dec 28, 2018
3edec80
update documentation
adamint Dec 28, 2018
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
15 changes: 8 additions & 7 deletions .circleci/config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ jobs:
docker:
# specify the version you desire here
- image: circleci/openjdk:8-jdk

# Specify service dependencies here if necessary
# CircleCI maintains a library of pre-built images
# documented at https://circleci.com/docs/2.0/circleci-images/
Expand All @@ -20,23 +20,24 @@ jobs:
# Customize the JVM maximum heap limit
JVM_OPTS: -Xmx3200m
TERM: dumb

steps:
- checkout

# Download and cache dependencies
- restore_cache:
keys:
- v1-dependencies-{{ checksum "build.gradle" }}
# fallback to using the latest cache if no exact match is found
- v1-dependencies-
- v1-dependencies-{{ checksum "build.gradle" }}
# fallback to using the latest cache if no exact match is found
- v1-dependencies-

- run: gradle dependencies

- save_cache:
paths:
- ~/.gradle
key: v1-dependencies-{{ checksum "build.gradle" }}

# run tests!
- run: gradle test
- run: gradle test -PclientId=$SPOTIFY_CLIENT_ID -PclientSecret=$SPOTIFY_CLIENT_SECRET

128 changes: 128 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,128 @@

# Created by https://www.gitignore.io/api/gradle,kotlin,intellij
# Edit at https://www.gitignore.io/?templates=gradle,kotlin,intellij

### Intellij ###
# Covers JetBrains IDEs: IntelliJ, RubyMine, PhpStorm, AppCode, PyCharm, CLion, Android Studio and WebStorm
# Reference: https://intellij-support.jetbrains.com/hc/en-us/articles/206544839

# User-specific stuff
.idea/**/workspace.xml
.idea/**/tasks.xml
.idea/**/usage.statistics.xml
.idea/**/dictionaries
.idea/**/shelf

# Generated files
.idea/**/contentModel.xml

# Sensitive or high-churn files
.idea/**/dataSources/
.idea/**/dataSources.ids
.idea/**/dataSources.local.xml
.idea/**/sqlDataSources.xml
.idea/**/dynamic.xml
.idea/**/uiDesigner.xml
.idea/**/dbnavigator.xml

# Gradle
.idea/**/gradle.xml
.idea/**/libraries

# Gradle and Maven with auto-import
# When using Gradle or Maven with auto-import, you should exclude module files,
# since they will be recreated, and may cause churn. Uncomment if using
# auto-import.
.idea/modules.xml
.idea/*.iml
.idea/modules

# CMake
cmake-build-*/

# Mongo Explorer plugin
.idea/**/mongoSettings.xml

# File-based project format
*.iws

# IntelliJ
out/

# mpeltonen/sbt-idea plugin
.idea_modules/

# JIRA plugin
atlassian-ide-plugin.xml

# Cursive Clojure plugin
.idea/replstate.xml

# Crashlytics plugin (for Android Studio and IntelliJ)
com_crashlytics_export_strings.xml
crashlytics.properties
crashlytics-build.properties
fabric.properties

# Editor-based Rest Client
.idea/httpRequests

# Android studio 3.1+ serialized cache file
.idea/caches/build_file_checksums.ser

### Intellij Patch ###
# Comment Reason: https://github.com/joeblau/gitignore.io/issues/186#issuecomment-215987721

# *.iml
# modules.xml
# .idea/misc.xml
# *.ipr

# Sonarlint plugin
.idea/sonarlint

### Kotlin ###
# Compiled class file
*.class

# Log file
*.log

# BlueJ files
*.ctxt

# Mobile Tools for Java (J2ME)
.mtj.tmp/

# Package Files #
*.jar
*.war
*.nar
*.ear
*.zip
*.tar.gz
*.rar

# virtual machine crash logs, see http://www.java.com/en/download/help/error_hotspot.xml
hs_err_pid*

### Gradle ###
.gradle
/build/

# Ignore Gradle GUI config
gradle-app.setting

# Avoid ignoring Gradle wrapper jar file (.jar files are usually ignored)
!gradle-wrapper.jar

# Cache of project
.gradletasknamecache

# # Work around https://youtrack.jetbrains.com/issue/IDEA-116898
# gradle/wrapper/gradle-wrapper.properties

### Gradle Patch ###
**/build/

# End of https://www.gitignore.io/api/gradle,kotlin,intellij
11 changes: 0 additions & 11 deletions .idea/compiler.xml

This file was deleted.

4 changes: 4 additions & 0 deletions .idea/encodings.xml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

19 changes: 0 additions & 19 deletions .idea/gradle.xml

This file was deleted.

4 changes: 2 additions & 2 deletions .idea/kotlinc.xml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

74 changes: 0 additions & 74 deletions .idea/libraries/Arquillian_JUnit_Release.xml

This file was deleted.

11 changes: 0 additions & 11 deletions .idea/libraries/Gradle__com_google_code_gson_gson_2_8_1.xml

This file was deleted.

11 changes: 0 additions & 11 deletions .idea/libraries/Gradle__junit_junit_4_12.xml

This file was deleted.

11 changes: 0 additions & 11 deletions .idea/libraries/Gradle__org_hamcrest_hamcrest_core_1_3.xml

This file was deleted.

11 changes: 0 additions & 11 deletions .idea/libraries/Gradle__org_jetbrains_annotations_13_0.xml

This file was deleted.

This file was deleted.

This file was deleted.

This file was deleted.

Loading