Skip to content

Commit

Permalink
Merge pull request #190 from guyluz11/dev
Browse files Browse the repository at this point in the history
Updating packages
  • Loading branch information
guyluz11 authored Nov 1, 2023
2 parents 081cb48 + 20fea72 commit 7c70549
Show file tree
Hide file tree
Showing 5 changed files with 29 additions and 27 deletions.
3 changes: 0 additions & 3 deletions analysis_options.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -31,6 +31,3 @@ linter:
avoid_classes_with_only_static_members: false

sort_constructors_first: true

# Good packages document everything
public_member_api_docs: true
15 changes: 11 additions & 4 deletions lib/infrastructure/datasources/hive_d/hive_d.dart
Original file line number Diff line number Diff line change
Expand Up @@ -43,10 +43,17 @@ class IsarD {
logger.i('Path of isar (deprecated): $isarFolderPath');

await Isar.initializeIsarCore(download: true);
isar = await Isar.open([
IsarDevicesDSchema,
IsarDatabaseInformationDSchema,
]);
if (isarFolderPath == null) {
return false;
}

isar = await Isar.open(
[
IsarDevicesDSchema,
IsarDatabaseInformationDSchema,
],
directory: isarFolderPath!,
);

finishedInitializing = true;
}
Expand Down

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

30 changes: 14 additions & 16 deletions pubspec.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ homepage: https://cybearjinni.com


environment:
sdk: ^2.18.0
sdk: ^3.1.5

dependencies:
# Functional programming thingies, let you use multiple return types
Expand All @@ -15,36 +15,34 @@ dependencies:
# Allow returning more than one type of object
equatable: ^2.0.5
# Convenient code generator for get_it
injectable: ^1.5.4 # Does not work on my armhf32, can be lack of ram https://TypeAdaptergithub.com/dart-lang/pub/issues/2347
injectable: ^2.3.2 # Does not work on my armhf32, can be lack of ram https://TypeAdaptergithub.com/dart-lang/pub/issues/2347
# For the injection, allow accessing an object from anywhere in an App
get_it: ^7.2.0
get_it: ^7.6.4
# A high performance, open source, general RPC framework that puts mobile and HTTP/2 first.
grpc: ^3.1.0
grpc: ^3.2.4
# Checks for an internet connection by opening a socket
internet_connection_checker: ^1.0.0+1
# Extremely fast, easy to use, and fully async NoSQL database.
isar: ^3.0.4
isar: ^3.1.0+1
# Collection of lint rules for Dart and Flutter projects
lint: ^1.10.0
lint: ^2.1.2
# Small, easy to use and extensible logger which prints beautiful logs.
logger: ^1.1.0
logger: ^2.0.2+1
# Process run helpers for Linux/Win/Mac.
process_run: ^0.12.3+2
process_run: ^0.13.2
# Provides parse, inspect, and manipulate stack traces
stack_trace: ^1.11.0
uuid: ^3.0.7
stack_trace: ^1.11.1
uuid: ^4.1.0


dev_dependencies:
build_runner:

# A generator for injectable library
injectable_generator: ^1.5.5 # Does not work on my armhf32, can be lack of ram https://github.com/dart-lang/pub/issues/2347
injectable_generator: ^2.4.1 # Does not work on my armhf32, can be lack of ram https://github.com/dart-lang/pub/issues/2347

# Code generator for the Isar Database. Finds classes annotated with @Collection.
isar_generator: ^3.0.4
isar_generator: ^3.1.0+1
# Library for mocks
mockito: ^5.3.2
test: ^1.22.0


mockito: ^5.4.2
test: ^1.24.9

0 comments on commit 7c70549

Please sign in to comment.