Skip to content

Commit

Permalink
- chore: bumped permission_handler to ^11.3.1
Browse files Browse the repository at this point in the history
- chore: changed rxdart dependency constraints to support version `>=0.27.0 <0.29.0`
  • Loading branch information
BreX900 committed Jul 23, 2024
1 parent d9ac7e9 commit 023a86c
Show file tree
Hide file tree
Showing 6 changed files with 33 additions and 35 deletions.
4 changes: 4 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,9 @@
# CHANGELOG

## 1.3.0 (2024-07-23)
- chore: bumped permission_handler to `^11.3.1`
- chore: changed rxdart dependency constraints to support version `>=0.27.0 <0.29.0`

## 1.2.0 (2024-02-06)
- fix: bumped down the permission handler package version to enable the integration of the saf
package in other projects
Expand Down
4 changes: 2 additions & 2 deletions kuama_core/pubspec.yaml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
name: kuama_core
description: A starting point for Dart libraries or applications.
publish_to: 'none'
version: 1.2.0
version: 1.3.0

environment:
sdk: '>=3.0.0 <4.0.0'
Expand All @@ -12,7 +12,7 @@ scripts:
dependencies:
get_it: ^7.2.0 # Global packages version
tuple: ^2.0.1
rxdart:
rxdart: '>=0.27.0 <0.29.0'

dev_dependencies:
mek_lints: ^1.0.0
Expand Down
13 changes: 7 additions & 6 deletions kuama_permissions/example/pubspec.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,8 @@ publish_to: 'none' # Remove this line if you wish to publish to pub.dev
version: 1.0.0+1

environment:
sdk: ">=2.16.2 <3.0.0"
sdk: ">=3.0.0 <4.0.0"

dependencies:
flutter:
sdk: flutter
Expand All @@ -20,13 +21,13 @@ dependencies:
path: kuama_position
ref: 0.2.4

shared_preferences: ^2.0.15
geolocator: ^9.0.0
shared_preferences: ^2.2.3
geolocator: ^12.0.0

riverbloc: ^1.0.0+2
get_it: ^7.2.0
riverbloc: ^2.3.0
get_it: ^7.7.0

flutter_riverpod: ^1.0.4
flutter_riverpod: ^2.5.1

dependency_overrides:
kuama_core:
Expand Down
19 changes: 8 additions & 11 deletions kuama_permissions/pubspec.yaml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
name: kuama_permissions
description: A starting point for Dart libraries or applications.
publish_to: 'none'
version: 1.2.0
version: 1.3.0

environment:
sdk: '>=3.0.0 <4.0.0'
Expand All @@ -14,22 +14,21 @@ scripts:
build:index: dart pub global run index_generator

dependencies:
flutter:
sdk: flutter
flutter: { sdk: flutter }

kuama_core:
git:
url: https://github.com/Kuama-IT/kuama_dart.git
path: kuama_core
ref: 1.2.0
ref: 1.3.0

permission_handler_platform_interface: ^3.12.0
permission_handler: ^10.2.0
permission_handler_platform_interface: ^4.2.1
permission_handler: ^11.3.1
shared_preferences: ^2.1.0

meta: # Version defined in kuama_core
get_it: # Version defined in kuama_core
rxdart: ^0.27.7
rxdart: '>=0.27.0 <0.29.0'
collection: ^1.17.0
bloc: ^8.1.1
bloc_concurrency: ^0.2.1
Expand All @@ -39,17 +38,15 @@ dependencies:
dev_dependencies:
mek_lints: ^1.0.0

flutter_test:
sdk: flutter
flutter_test: { sdk: flutter }

mocktail: ^0.3.0

build_runner: ^2.4.6
mek_data_class_generator: ^1.5.1

dependency_overrides:
kuama_core:
path: ../kuama_core
kuama_core: { path: ../kuama_core }

index_generator:
page_width: 100
Expand Down
6 changes: 3 additions & 3 deletions kuama_permissions/test/blocs/permissions_bloc_test.dart
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,7 @@ void main() {

when(() => mockState.checkCanCheck(any())).thenReturn(false);

bloc.check({Permission.calendarReadOnly});
bloc.check({Permission.calendarFullAccess});

expect(bloc.state, state);
});
Expand Down Expand Up @@ -127,7 +127,7 @@ void main() {

when(() => mockState.checkCanRequest(any())).thenReturn(false);

bloc.request({Permission.calendarReadOnly});
bloc.request({Permission.calendarFullAccess});

expect(bloc.state, state);
});
Expand Down Expand Up @@ -309,7 +309,7 @@ void main() {

when(() => mockState.checkCanAsk(any())).thenReturn(false);

bloc.ask({Permission.calendarReadOnly});
bloc.ask({Permission.calendarFullAccess});

expect(bloc.state, state);
});
Expand Down
22 changes: 9 additions & 13 deletions kuama_position/pubspec.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -12,42 +12,38 @@ scripts:
build:index: dart pub global run index_generator

dependencies:
flutter:
sdk: flutter
flutter: { sdk: flutter }

kuama_core:
git:
url: https://github.com/Kuama-IT/kuama_dart.git
path: kuama_core
ref: 1.2.0
ref: 1.3.0
kuama_permissions:
git:
url: https://github.com/Kuama-IT/kuama_dart.git
path: kuama_permissions
ref: 1.2.0
ref: 1.3.0


geolocator_platform_interface: ^4.0.7
geolocator: ^9.0.2
geolocator_platform_interface: ^4.2.4
geolocator: ^12.0.0

get_it: # Version defined in kuama_core
rxdart: ^0.27.7
rxdart: '>=0.27.0 <0.29.0'
pure_extensions: ^5.0.0
bloc: ^8.1.1
bloc_concurrency: ^0.2.1
equatable: ^2.0.5

dependency_overrides:
kuama_core:
path: ../kuama_core
kuama_permissions:
path: ../kuama_permissions
kuama_core: { path: ../kuama_core }
kuama_permissions: { path: ../kuama_permissions }

dev_dependencies:
mek_lints: ^1.0.0

flutter_test:
sdk: flutter
flutter_test: { sdk: flutter }

mocktail: ^0.3.0

Expand Down

0 comments on commit 023a86c

Please sign in to comment.