From 5dc4286e749ab1e6bfbb3b194dedd28104ab9d59 Mon Sep 17 00:00:00 2001 From: "Alexander \"PapaTutuWawa" Date: Tue, 8 Nov 2022 20:11:56 +0100 Subject: [PATCH] feat: Fix moxxmpp_socket_tcp's pubspec --- packages/moxxmpp/pubspec.yaml | 20 ++++++------- packages/moxxmpp_socket_tcp/CHANGELOG.md | 2 +- packages/moxxmpp_socket_tcp/pubspec.yaml | 2 +- .../moxxmpp_socket_tcp/test/widget_test.dart | 30 ------------------- 4 files changed, 12 insertions(+), 42 deletions(-) delete mode 100644 packages/moxxmpp_socket_tcp/test/widget_test.dart diff --git a/packages/moxxmpp/pubspec.yaml b/packages/moxxmpp/pubspec.yaml index b75c250..cbcea18 100644 --- a/packages/moxxmpp/pubspec.yaml +++ b/packages/moxxmpp/pubspec.yaml @@ -8,23 +8,23 @@ environment: sdk: '>=2.18.0 <3.0.0' dependencies: - cryptography: 2.0.5 + cryptography: ^2.0.5 freezed: ^2.1.0+1 - freezed_annotation: 2.1.0 - hex: 0.2.0 + freezed_annotation: ^2.1.0 + hex: ^0.2.0 json_serializable: ^6.3.1 - logging: 1.0.2 + logging: ^1.0.2 meta: ^1.7.0 moxlib: hosted: https://git.polynom.me/api/packages/Moxxy/pub - version: 0.1.5 + version: ^0.1.5 omemo_dart: hosted: https://git.polynom.me/api/packages/PapaTutuWawa/pub - version: 0.3.2 - random_string: 2.3.1 - saslprep: 1.0.2 - synchronized: 3.0.0+2 - uuid: 3.0.5 + version: ^0.3.2 + random_string: ^2.3.1 + saslprep: ^1.0.2 + synchronized: ^3.0.0+2 + uuid: ^3.0.5 xml: ^6.1.0 dev_dependencies: diff --git a/packages/moxxmpp_socket_tcp/CHANGELOG.md b/packages/moxxmpp_socket_tcp/CHANGELOG.md index effe43c..a0712a7 100644 --- a/packages/moxxmpp_socket_tcp/CHANGELOG.md +++ b/packages/moxxmpp_socket_tcp/CHANGELOG.md @@ -1,3 +1,3 @@ -## 1.0.0 +## 0.1.0 - Initial version. diff --git a/packages/moxxmpp_socket_tcp/pubspec.yaml b/packages/moxxmpp_socket_tcp/pubspec.yaml index 7fc3e1a..b5359ad 100644 --- a/packages/moxxmpp_socket_tcp/pubspec.yaml +++ b/packages/moxxmpp_socket_tcp/pubspec.yaml @@ -12,7 +12,7 @@ dependencies: meta: ^1.6.0 moxxmpp: hosted: https://git.polynom.me/api/packages/Moxxy/pub - version: 0.1.0 + version: ^0.1.0 dev_dependencies: lints: ^2.0.0 diff --git a/packages/moxxmpp_socket_tcp/test/widget_test.dart b/packages/moxxmpp_socket_tcp/test/widget_test.dart deleted file mode 100644 index 9961d01..0000000 --- a/packages/moxxmpp_socket_tcp/test/widget_test.dart +++ /dev/null @@ -1,30 +0,0 @@ -// This is a basic Flutter widget test. -// -// To perform an interaction with a widget in your test, use the WidgetTester -// utility in the flutter_test package. For example, you can send tap and scroll -// gestures. You can also use WidgetTester to find child widgets in the widget -// tree, read text, and verify that the values of widget properties are correct. - -import 'package:flutter/material.dart'; -import 'package:flutter_test/flutter_test.dart'; - -import 'package:moxxmpp_socket/main.dart'; - -void main() { - testWidgets('Counter increments smoke test', (WidgetTester tester) async { - // Build our app and trigger a frame. - await tester.pumpWidget(const MyApp()); - - // Verify that our counter starts at 0. - expect(find.text('0'), findsOneWidget); - expect(find.text('1'), findsNothing); - - // Tap the '+' icon and trigger a frame. - await tester.tap(find.byIcon(Icons.add)); - await tester.pump(); - - // Verify that our counter has incremented. - expect(find.text('0'), findsNothing); - expect(find.text('1'), findsOneWidget); - }); -}