Skip to content

Commit

Permalink
Merge pull request #143 from rinukkusu/dependabot/pub/json_serializab…
Browse files Browse the repository at this point in the history
…le-6.6.1

Bump json_serializable from 4.1.4 to 6.6.1
  • Loading branch information
rinukkusu authored Mar 8, 2023
2 parents b78390b + 69449fc commit 50c7366
Show file tree
Hide file tree
Showing 8 changed files with 475 additions and 569 deletions.
6 changes: 3 additions & 3 deletions .github/workflows/dart.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,11 +8,11 @@ jobs:
runs-on: ubuntu-latest

container:
image: google/dart:latest
image: dart:latest

steps:
- uses: actions/checkout@v1
- name: Install dependencies
run: pub get
run: dart pub get
- name: Run tests
run: pub run test
run: dart test
4 changes: 4 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,9 @@
# Changelog

## 0.9.1
- bump dependency versions
- regenerate serialization models

## 0.9.0

- add new-releases endpoint
Expand Down
8 changes: 4 additions & 4 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -184,14 +184,14 @@ Please file feature requests and bugs at the [issue tracker][tracker].
## Development

### Generating JSON Serializers
Run `pub run build_runner build` to generate JSON serializers via [json_serializable][].
Run `pub run build_runner watch` to continuously rebuild serializers in the background when files are updated.
Run `dart run build_runner build` to generate JSON serializers via [json_serializable][].
Run `dart run build_runner watch` to continuously rebuild serializers in the background when files are updated.

### Running tests
Run `pub run test` to run all of the tests in `test/spotify_test.dart`.
Run `dart test` to run all of the tests in `test/spotify_test.dart`.

### Running example code
Run `pub run example/example` to run the example code. You'll need to modify `example/example.dart` to use your Spotify client ID and secret.
Run `dart example/example` to run the example code. You'll need to modify `example/example.dart` to use your Spotify client ID and secret.

If you would like to run the example that accesses your user data (such as currently playing song etc.), run `pub run example/example_auth.dart`. There, you are requested to
enter your redirect url (see the comment above [`redirectUri`](#authorization-code-flow)). After that, you are requested to call a given url (or paste it into your browser). That url will do a redirect in your browser. You should copy and paste this redirected url into your console to see the currently playing song and your available devices.
Expand Down
Loading

0 comments on commit 50c7366

Please sign in to comment.