From 267d1a016b8fecedf7989c8bccb9295837045fb2 Mon Sep 17 00:00:00 2001 From: Matthieu Pernelle Date: Sat, 7 Sep 2024 22:36:40 +0200 Subject: [PATCH 1/2] :heavy_plus_sign: (add theodo_analysis) --- analysis_options.yaml | 2 +- pubspec.lock | 16 ++++++++-------- pubspec.yaml | 2 +- 3 files changed, 10 insertions(+), 10 deletions(-) diff --git a/analysis_options.yaml b/analysis_options.yaml index 799268d..adb61e0 100644 --- a/analysis_options.yaml +++ b/analysis_options.yaml @@ -1 +1 @@ -include: package:very_good_analysis/analysis_options.5.1.0.yaml +include: package:theodo_analysis/analysis_options.yaml diff --git a/pubspec.lock b/pubspec.lock index e2c921c..0136b8f 100644 --- a/pubspec.lock +++ b/pubspec.lock @@ -445,6 +445,14 @@ packages: url: "https://pub.dev" source: hosted version: "0.7.2" + theodo_analysis: + dependency: "direct dev" + description: + name: theodo_analysis + sha256: abec0b6f8203c2dd6502c5118393662cf5a1e7d6616dad976eeb51ef62fd9095 + url: "https://pub.dev" + source: hosted + version: "1.0.1" typed_data: dependency: transitive description: @@ -469,14 +477,6 @@ packages: url: "https://pub.dev" source: hosted version: "2.1.4" - very_good_analysis: - dependency: "direct dev" - description: - name: very_good_analysis - sha256: "9ae7f3a3bd5764fb021b335ca28a34f040cd0ab6eec00a1b213b445dae58a4b8" - url: "https://pub.dev" - source: hosted - version: "5.1.0" vm_service: dependency: transitive description: diff --git a/pubspec.yaml b/pubspec.yaml index 68bad6d..9a6a999 100644 --- a/pubspec.yaml +++ b/pubspec.yaml @@ -13,7 +13,7 @@ dev_dependencies: sdk: flutter melos: ^6.1.0 mocktail: ^1.0.0 - very_good_analysis: ^5.1.0 + theodo_analysis: ^1.0.1 dependencies: connectivity_plus: ^6.0.3 From 6887bf414b3b802af7bf4069a358db8b95df3d28 Mon Sep 17 00:00:00 2001 From: Matthieu Pernelle Date: Sat, 7 Sep 2024 22:37:11 +0200 Subject: [PATCH 2/2] :fire: (remove unsued member) --- test/src/refresh_when_network_available_extension_test.dart | 3 --- 1 file changed, 3 deletions(-) diff --git a/test/src/refresh_when_network_available_extension_test.dart b/test/src/refresh_when_network_available_extension_test.dart index fb671bd..1e8963b 100644 --- a/test/src/refresh_when_network_available_extension_test.dart +++ b/test/src/refresh_when_network_available_extension_test.dart @@ -2,13 +2,10 @@ import 'dart:async'; import 'package:connectivity_plus/connectivity_plus.dart'; import 'package:flutter_test/flutter_test.dart'; -import 'package:mocktail/mocktail.dart'; import 'package:riverpod/riverpod.dart'; import 'package:riverpod_community_extensions/src/connectivity_stream_provider.dart'; import 'package:riverpod_community_extensions/src/refresh_when_network_available_extension.dart'; -class MockConnectivity extends Mock implements Connectivity {} - void main() { TestWidgetsFlutterBinding.ensureInitialized();