Skip to content

Commit

Permalink
Merge branch 'dev' into main
Browse files Browse the repository at this point in the history
  • Loading branch information
TesteurManiak committed Jul 8, 2022
2 parents eea5bc6 + 2820201 commit 7d16855
Show file tree
Hide file tree
Showing 5 changed files with 37 additions and 21 deletions.
5 changes: 5 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,10 @@
# Changelog

## [1.0.2] - 08/07/2022

* Added EXDATE ([#37](https://github.com/TesteurManiak/icalendar_parser/pull/37) from [LucaCoduriV](https://github.com/LucaCoduriV))
* Removed dependency to [collection](https://pub.dev/packages/collection)

## [1.0.1+1] - 07/04/2022

* Updated linting rules
Expand Down
25 changes: 9 additions & 16 deletions example/pubspec.lock
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@ packages:
name: collection
url: "https://pub.dartlang.org"
source: hosted
version: "1.15.0"
version: "1.16.0"
cupertino_icons:
dependency: "direct main"
description:
Expand All @@ -56,7 +56,7 @@ packages:
name: fake_async
url: "https://pub.dartlang.org"
source: hosted
version: "1.2.0"
version: "1.3.0"
ffi:
dependency: transitive
description:
Expand Down Expand Up @@ -87,7 +87,7 @@ packages:
path: ".."
relative: true
source: path
version: "1.0.1"
version: "1.0.1+1"
intl:
dependency: transitive
description:
Expand All @@ -108,7 +108,7 @@ packages:
name: material_color_utilities
url: "https://pub.dartlang.org"
source: hosted
version: "0.1.3"
version: "0.1.4"
meta:
dependency: transitive
description:
Expand All @@ -122,7 +122,7 @@ packages:
name: path
url: "https://pub.dartlang.org"
source: hosted
version: "1.8.0"
version: "1.8.1"
path_provider:
dependency: "direct main"
description:
Expand Down Expand Up @@ -190,7 +190,7 @@ packages:
name: source_span
url: "https://pub.dartlang.org"
source: hosted
version: "1.8.1"
version: "1.8.2"
stack_trace:
dependency: transitive
description:
Expand Down Expand Up @@ -225,21 +225,14 @@ packages:
name: test_api
url: "https://pub.dartlang.org"
source: hosted
version: "0.4.8"
typed_data:
dependency: transitive
description:
name: typed_data
url: "https://pub.dartlang.org"
source: hosted
version: "1.3.0"
version: "0.4.9"
vector_math:
dependency: transitive
description:
name: vector_math
url: "https://pub.dartlang.org"
source: hosted
version: "2.1.1"
version: "2.1.2"
win32:
dependency: transitive
description:
Expand All @@ -255,5 +248,5 @@ packages:
source: hosted
version: "0.1.0"
sdks:
dart: ">=2.14.0 <3.0.0"
dart: ">=2.17.0-0 <3.0.0"
flutter: ">=1.12.13+hotfix.5"
2 changes: 1 addition & 1 deletion pubspec.lock
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@ packages:
source: hosted
version: "1.2.0"
collection:
dependency: "direct main"
dependency: "direct dev"
description:
name: collection
url: "https://pub.dartlang.org"
Expand Down
7 changes: 3 additions & 4 deletions pubspec.yaml
Original file line number Diff line number Diff line change
@@ -1,15 +1,14 @@
name: icalendar_parser
description: Package to parse iCalendar (.ics) files written in pure Dart.
version: 1.0.1+1
version: 1.0.2
homepage: https://github.com/TesteurManiak
repository: https://github.com/TesteurManiak/icalendar_parser

environment:
sdk: '>=2.12.0 <3.0.0'
sdk: ">=2.12.0 <3.0.0"

dev_dependencies:
collection: ^1.16.0
coverage: ^1.2.0
lint: ^1.8.2
test: ^1.20.2
dependencies:
collection: ^1.16.0
19 changes: 19 additions & 0 deletions test/ics_datetime_test.dart
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
import 'package:icalendar_parser/icalendar_parser.dart';
import 'package:test/test.dart';

void main() {
group('IcsDateTime', () {
group('hashCode', () {
test(
'two object with the same properties should have the same hashCode',
() {
final d1 = IcsDateTime(tzid: 'Europe/Zurich', dt: '20220415T145500');
final d2 = IcsDateTime(tzid: 'Europe/Zurich', dt: '20220415T145500');

expect(d1.hashCode, d2.hashCode);
expect(d1, d2);
},
);
});
});
}

0 comments on commit 7d16855

Please sign in to comment.