Skip to content

Commit

Permalink
Merge pull request #14 from Dhi13man/upgrade-dependencies
Browse files Browse the repository at this point in the history
Upgraded dependencies and package version to 1.2.3
  • Loading branch information
Dhi13man authored Jun 24, 2023
2 parents a8daf12 + 1bed813 commit 3c0c645
Show file tree
Hide file tree
Showing 5 changed files with 33 additions and 13 deletions.
30 changes: 24 additions & 6 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1,16 +1,34 @@
# Files and directories created by pub.
# See https://www.dartlang.org/guides/libraries/private-files

# Files and directories created by pub
.dart_tool/
.packages
build/
# If you're building an application, you may want to check-in your pubspec.lock
pubspec.lock

# Conventional directory for build outputs.
build/

# Omit committing pubspec.lock for library packages; see
# https://dart.dev/guides/libraries/private-files#pubspeclock.
pubspec.lock
# Directory created by dartdoc
# If you don't generate documentation locally you can remove this line.
doc/api/

# dotenv environment variables file
.env*
dotenv*

# Avoid committing generated Javascript files:
*.dart.js
*.info.json # Produced by the --dump-info flag.
*.js # When generated by dart2js. Don't specify *.js if your
# project includes source files written in JavaScript.
*.js_
*.js.deps
*.js.map

# API keys and secrets should not be checked in to source control.
api-keys.json
.flutter-plugins
.flutter-plugins-dependencies

# IDE folders
.vscode
Expand Down
4 changes: 4 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,9 @@
# Releases

## [1.2.3] - 24th June, 2023

- Upgraded dependencies to keep up with the latest versions of the packages.

## [1.2.2] - 15th September, 2022

- Matrix Data Models Null Safety Fixes as per [[#12](https://github.com/Dhi13man/open_route_service/issues/12)].
Expand Down
8 changes: 4 additions & 4 deletions pubspec.yaml
Original file line number Diff line number Diff line change
@@ -1,16 +1,16 @@
name: open_route_service
description: An encapsulation made around openrouteservice APIs, for Dart and Flutter projects, to easily generate Routes and their data.
version: 1.2.2
version: 1.2.3
repository: https://github.com/dhi13man/open_route_service/
homepage: https://github.com/dhi13man/open_route_service/
issue_tracker: https://github.com/Dhi13man/open_route_service/issues

environment:
sdk: '>=2.14.1 <3.0.0'
sdk: '>=2.14.1 <4.0.0'

dependencies:
http: ^0.13.4
http: ^1.0.0

dev_dependencies:
lints: ^1.0.1
lints: ^2.1.1
test: ^1.20.1
3 changes: 1 addition & 2 deletions test/open_route_service_test.dart
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ import 'services/pois_tests.dart';
import 'package:open_route_service/open_route_service.dart';

Future<void> main() async {
// TODO: Change the API key to your own API key to ensure that package works.
// TODO: Change the API key to your own API key to ensure that package works.
String apiKey = 'test';

// Change API key from environment if tests are running on Github Actions.
Expand All @@ -23,7 +23,6 @@ Future<void> main() async {
assert(apiKey == 'test');
apiKey = Platform.environment['ORS_API_KEY']!;
}

// Dummy Coordinates
const ORSCoordinate dirStartCoordinate =
ORSCoordinate(latitude: 37.4220698, longitude: -122.0862784);
Expand Down
1 change: 0 additions & 1 deletion test/services/directions_tests.dart
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
import 'dart:math';

import 'package:open_route_service/open_route_service.dart';
import 'package:open_route_service/src/models/direction_data_models.dart';
import 'package:test/test.dart';

void directionsTests({
Expand Down

0 comments on commit 3c0c645

Please sign in to comment.