-
Notifications
You must be signed in to change notification settings - Fork 29
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #47 from SaltechSystems/adding-workflows
Added workflows
- Loading branch information
Showing
6 changed files
with
132 additions
and
51 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,27 @@ | ||
name: Dart CI | ||
|
||
on: | ||
push: | ||
branches: [ master ] | ||
pull_request: | ||
branches: [ master ] | ||
|
||
jobs: | ||
build: | ||
|
||
runs-on: ubuntu-latest | ||
|
||
# container: | ||
# image: google/dart:latest | ||
|
||
steps: | ||
- uses: actions/checkout@v2 | ||
- uses: subosito/flutter-action@v1 | ||
with: | ||
channel: 'stable' | ||
- name: Install dependencies | ||
run: flutter pub get | ||
- name: Run tests | ||
run: flutter test | ||
- name: Publish dry run | ||
run: flutter pub publish --dry-run |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,41 @@ | ||
name: Publish package to pub.dev | ||
|
||
on: | ||
release: | ||
types: [ created, | ||
|
||
jobs: | ||
|
||
build: | ||
|
||
runs-on: ubuntu-latest | ||
|
||
container: | ||
image: google/dart:latest | ||
|
||
steps: | ||
- uses: actions/checkout@v2 | ||
- uses: subosito/flutter-action@v1 | ||
with: | ||
channel: 'stable' | ||
- name: Setup credentials | ||
run: | | ||
mkdir -p ~/.pub-cache | ||
cat <<EOF > ~/.pub-cache/credentials.json | ||
{ | ||
"accessToken":"${{ secrets.OAUTH_ACCESS_TOKEN }}", | ||
"refreshToken":"${{ secrets.OAUTH_REFRESH_TOKEN }}", | ||
"tokenEndpoint":"https://accounts.google.com/o/oauth2/token", | ||
"scopes": [ "openid", "https://www.googleapis.com/auth/userinfo.email" ], | ||
"expiration": 1593616628458 | ||
} | ||
EOF | ||
- name: Install dependencies | ||
run: flutter pub get | ||
- name: Document plugin | ||
run: | | ||
export FLUTTER_ROOT="$FLUTTER_HOME" | ||
pub global activate dartdoc | ||
pub global run dartdoc | ||
- name: Publish plugin | ||
run: flutter pub publish |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,79 +1,84 @@ | ||
## 2.5.0 | ||
## 2.7.1+2 | ||
|
||
* Initial Release for the plugin using Couchbase Mobile 2.5 | ||
* Added indexes | ||
* Added explain to queries | ||
|
||
## 2.5.1 | ||
## 2.7.1+1 | ||
|
||
* Updated documentation | ||
* Fixed issue with optional Session cookieName | ||
|
||
## 2.5.1+1 | ||
## 2.7.1 | ||
|
||
* Changed return type of class Database documentWithId from Map to Document | ||
* Populated doc/api using dartdoc | ||
* Fixed some format issues | ||
* Update libraries to version 2.7.1 | ||
* Fixed example for logging out | ||
* Updated console logging to Debug for debug mode / Error for everything else | ||
* Removed file logging | ||
|
||
## 2.5.1+2 | ||
## 2.7.0+3 | ||
|
||
* Added all classes as part of couchbase_lite library to eliminate the need to import every class individually | ||
* Giving a simplified example and advanced example | ||
|
||
## 2.5.1+3 | ||
## 2.7.0+2 | ||
|
||
* Fixed issue with Replication EventChannel | ||
* Added Travis CI and Code Coverage with Coveralls | ||
* Added support for the having clause | ||
* Fixed some issues with Queries | ||
* Updated documentation | ||
|
||
## 2.5.1+4 | ||
## 2.7.0+1 | ||
|
||
* Updated documentation | ||
* Added more test cases | ||
* Updated Examples to use bloc pattern | ||
|
||
# 2.5.1+5 | ||
## 2.7.0 | ||
|
||
* Fixed Replicator Configuration bug which required certain variables like Pinned Certificate to not receive an Platform Error | ||
* Changed the Map object in Document from unmodifiable to a modifiable copy of the Map object | ||
* Renamed the functions In,Is,As to in,iS,aS to comply with flutter plugin standards | ||
* Added a destroy method to Replicator for cleaning up variable references and listeners | ||
* Updated Coubchbase Lite libraries to version 2.7.0 | ||
* Migrated to Android X | ||
* Added concurrency control | ||
|
||
# 2.5.1+6 | ||
# 2.5.1+8 | ||
|
||
* Fixed an issue where Query Listeners were not being released | ||
* Fixed an issue where the database reference was not being released on close for Android | ||
* Fixed a bug on Android which results in an error for not posting results on the UI Thread | ||
|
||
# 2.5.1+7 | ||
|
||
* Deprecated Database saveDocument methods and replaced with save taking a MutableDocument as an argument | ||
* Fixed a concurrent modification exception with query listeners | ||
|
||
# 2.5.1+8 | ||
# 2.5.1+6 | ||
|
||
* Fixed a bug on Android which results in an error for not posting results on the UI Thread | ||
* Fixed an issue where Query Listeners were not being released | ||
* Fixed an issue where the database reference was not being released on close for Android | ||
|
||
## 2.7.0 | ||
# 2.5.1+5 | ||
|
||
* Updated Coubchbase Lite libraries to version 2.7.0 | ||
* Migrated to Android X | ||
* Added concurrency control | ||
* Fixed Replicator Configuration bug which required certain variables like Pinned Certificate to not receive an Platform Error | ||
* Changed the Map object in Document from unmodifiable to a modifiable copy of the Map object | ||
* Renamed the functions In,Is,As to in,iS,aS to comply with flutter plugin standards | ||
* Added a destroy method to Replicator for cleaning up variable references and listeners | ||
|
||
## 2.7.0+1 | ||
## 2.5.1+4 | ||
|
||
* Updated Examples to use bloc pattern | ||
* Updated documentation | ||
* Added more test cases | ||
|
||
## 2.7.0+2 | ||
## 2.5.1+3 | ||
|
||
* Updated documentation | ||
* Fixed issue with Replication EventChannel | ||
* Added Travis CI and Code Coverage with Coveralls | ||
* Added support for the having clause | ||
* Fixed some issues with Queries | ||
|
||
## 2.7.0+3 | ||
## 2.5.1+2 | ||
|
||
* Giving a simplified example and advanced example | ||
* Added all classes as part of couchbase_lite library to eliminate the need to import every class individually | ||
|
||
## 2.7.1 | ||
## 2.5.1+1 | ||
|
||
* Update libraries to version 2.7.1 | ||
* Fixed example for logging out | ||
* Updated console logging to Debug for debug mode / Error for everything else | ||
* Removed file logging | ||
* Changed return type of class Database documentWithId from Map to Document | ||
* Populated doc/api using dartdoc | ||
* Fixed some format issues | ||
|
||
## 2.7.1+1 | ||
## 2.5.1 | ||
|
||
* Updated documentation | ||
|
||
## 2.5.0 | ||
|
||
* Fixed issue with optional Session cookieName | ||
* Initial Release for the plugin using Couchbase Mobile 2.5 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1 +1 @@ | ||
{"_info":"// This is a generated file; do not edit or check into version control.","dependencyGraph":[{"name":"couchbase_lite","dependencies":[]},{"name":"package_info","dependencies":[]},{"name":"url_launcher","dependencies":["url_launcher_web","url_launcher_macos"]},{"name":"url_launcher_macos","dependencies":[]},{"name":"url_launcher_web","dependencies":[]}]} | ||
{"_info":"// This is a generated file; do not edit or check into version control.","dependencyGraph":[{"name":"couchbase_lite","dependencies":[]},{"name":"package_info","dependencies":[]},{"name":"url_launcher","dependencies":["url_launcher_web","url_launcher_linux","url_launcher_macos"]},{"name":"url_launcher_linux","dependencies":[]},{"name":"url_launcher_macos","dependencies":[]},{"name":"url_launcher_web","dependencies":[]}]} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters