Skip to content

Commit 989839d

Browse files
committed
Release/1.0.25 - Update dependencies
1 parent 1f42d5c commit 989839d

File tree

3 files changed

+15
-14
lines changed

3 files changed

+15
-14
lines changed

example/lib/main.dart

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -21,6 +21,7 @@ void main() {
2121

2222
void _setTargetPlatformForDesktop() {
2323
TargetPlatform targetPlatform;
24+
2425
if (Platform.isMacOS) {
2526
targetPlatform = TargetPlatform.iOS;
2627
} else if (Platform.isLinux || Platform.isWindows) {

example/test/data/repository/diet_plan/repository_diet_plan_db_test.dart

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -13,8 +13,10 @@ void main() {
1313
DietPlanProviderContract repository;
1414
SharedPreferences.setMockInitialValues(Map<String, String>());
1515

16-
Store _getStore(Database database) {
17-
return database.getStore('diet_plan_repository_test');
16+
StoreRef<String, Map<String, dynamic>> _getStore(Database database) {
17+
final StoreRef<String, Map<String, dynamic>> store =
18+
stringMapStoreFactory.store('repository_diet');
19+
return store;
1820
}
1921

2022
Future<DietPlanProviderContract> getRepository() async {
@@ -33,9 +35,7 @@ void main() {
3335

3436
tearDown(() async {
3537
final Database database = await getDB();
36-
final Store store = _getStore(database);
37-
store.clear();
38-
database.clear();
38+
_getStore(database).drop(database);
3939
});
4040

4141
test('create DB instance', () async {

pubspec.yaml

Lines changed: 9 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -8,24 +8,24 @@ environment:
88
sdk: ">=2.2.2 <3.0.0"
99

1010
dependencies:
11-
http: ^0.12.0+2
11+
http: ^0.12.0+4
1212
flutter:
1313
sdk: flutter
1414

1515
# Networking
16-
web_socket_channel: ^1.0.13
17-
connectivity: ^0.4.4
16+
web_socket_channel: ^1.1.0
17+
connectivity: ^0.4.6+2
1818

1919
#Database
20-
sembast: ^2.0.1
20+
sembast: ^2.1.2+3
2121
xxtea: ^2.0.2
22-
shared_preferences: ^0.5.3+2
22+
shared_preferences: ^0.5.6
2323

2424
# Utils
25-
path_provider: ^1.1.2
26-
uuid: ^2.0.0
27-
package_info: ^0.4.0+4
28-
devicelocale: ^0.1.1
25+
path_provider: ^1.5.1
26+
uuid: ^2.0.4
27+
package_info: ^0.4.0+13
28+
devicelocale: ^0.2.1
2929

3030
dev_dependencies:
3131
# Testing

0 commit comments

Comments
 (0)