Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

chore: update dependencies #7

Merged
merged 2 commits into from
May 22, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 4 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,7 @@
## 0.0.4

* :arrow_up: Updated dependencies

## 0.0.3

* :sparkles: Added addBetween iterable extension by @Guldem in https://github.com/DutchCodingCompany/dcc_toolkit/pull/3
Expand Down
File renamed without changes.
16 changes: 8 additions & 8 deletions pubspec.yaml
Original file line number Diff line number Diff line change
@@ -1,28 +1,28 @@
name: dcc_toolkit
description: "Internal toolkit package used by the DCC team."
version: 0.0.3
version: 0.0.4
homepage: https://dutchcodingcompany.com
repository: https://github.com/DutchCodingCompany/dcc_toolkit

environment:
sdk: '>=3.1.0 <4.0.0'
flutter: ">=3.10.0"
sdk: '>=3.4.0 <4.0.0'
flutter: ">=3.22.0"

dependencies:
chopper: ^7.0.9
chopper: ^8.0.0
collection: ^1.18.0
flutter:
sdk: flutter
freezed_annotation: ^2.4.1
intl: ^0.18.0
intl: ^0.19.0
logging: ^1.2.0

dev_dependencies:
flutter_test:
sdk: flutter
http: ^1.1.2
mocktail: ^1.0.2
parameterized_test: ^1.1.3
http: ^1.2.1
mocktail: ^1.0.3
parameterized_test: ^2.0.0
very_good_analysis: ^5.1.0


Expand Down
4 changes: 2 additions & 2 deletions test/chopper/color_converter_test.dart
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ import 'package:flutter_test/flutter_test.dart';
import 'package:parameterized_test/parameterized_test.dart';

void main() {
parameterizedTest2('converts color to json value', [
parameterizedTest('converts color to json value', [
[const Color(0xFF000000), '#ff000000'],
[const Color(0xFFFF0000), '#ffff0000'],
[const Color(0xFFFFFF00), '#ffffff00'],
Expand All @@ -17,7 +17,7 @@ void main() {
expect(result, expected);
});

parameterizedTest2('converts json value to color', [
parameterizedTest('converts json value to color', [
[const Color(0xFF000000), '#ff000000'],
[const Color(0xFFFF0000), '#ffff0000'],
[const Color(0xFFFFFF00), '#ffffff00'],
Expand Down
2 changes: 1 addition & 1 deletion test/common/extensions/iterable_test.dart
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ import 'package:flutter_test/flutter_test.dart';
import 'package:parameterized_test/parameterized_test.dart';

void main() {
parameterizedTest2('addBetween tests', [
parameterizedTest('addBetween tests', [
[
<int>[],
<int>[],
Expand Down
2 changes: 1 addition & 1 deletion test/common/result/result_test.dart
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ import 'package:parameterized_test/parameterized_test.dart';

void main() {
final testExceptionResult = Failure<int>(Exception('test'));
parameterizedTest3('comparing 2 results should return true if equal', [
parameterizedTest('comparing 2 results should return true if equal', [
[const Success<int>(1), const Success<int>(1), true],
[const Success<int>(1), const Success<int>(2), false],
[const Success<int>(1), const Loading<int>(), false],
Expand Down
4 changes: 2 additions & 2 deletions test/logger/bolt_logger_test.dart
Original file line number Diff line number Diff line change
Expand Up @@ -74,7 +74,7 @@ void main() {
BoltLogger.charge([memoryCharge]);
});

parameterizedGroup1('BoltLogger/extension function tests', [true, false],
parameterizedGroup('BoltLogger/extension function tests', [true, false],
(bool useBoltLogger) {
test('zap/shock sends a message via a ZapEvent to a charge', () {
if (useBoltLogger) {
Expand Down Expand Up @@ -114,7 +114,7 @@ void main() {
expect(memoryCharge.items[1].origin.level, Level.SEVERE);
});

parameterizedTest1(
parameterizedTest(
'zap/shock sends a LogLevel via a ZapEvent to a Charge', [
Level.ALL,
Level.CONFIG,
Expand Down
Loading