Skip to content

Commit

Permalink
Merge pull request #56 from TesteurManiak/dev
Browse files Browse the repository at this point in the history
Dev
  • Loading branch information
TesteurManiak authored May 12, 2023
2 parents 6d45c5a + e3d892c commit 3df8b4a
Show file tree
Hide file tree
Showing 87 changed files with 753 additions and 1,878 deletions.
6 changes: 3 additions & 3 deletions .github/workflows/dart.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ jobs:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: dart-lang/setup-dart@v1.3
- uses: dart-lang/setup-dart@v1.5.0
- name: Install dependencies
run: dart pub get
- name: Analyze project source
Expand All @@ -28,14 +28,14 @@ jobs:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: dart-lang/setup-dart@v1.3
- uses: dart-lang/setup-dart@v1.5.0
- id: install
name: Install Dependencies
run: dart pub get
- name: Run tests
run: dart run coverage:test_with_coverage
- name: Collect and report coverage
uses: coverallsapp/github-action@1.1.3
uses: coverallsapp/github-action@v1.2.5
with:
github-token: ${{ secrets.GITHUB_TOKEN }}

Expand Down
7 changes: 7 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,12 @@
# Changelog

## [2.0.0]

* Fixed `toJson()` format
* Updated linting
* Updated example to be a Dart executable
* Updated Dart SDK constraint to `>=3.0.0 <4.0.0`

## [1.1.1]

* Added CREATED ([#46](https://github.com/TesteurManiak/icalendar_parser/issues/46))
Expand Down
16 changes: 13 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -84,6 +84,7 @@ PRODID:-//hacksw/handcal//NONSGML v1.0//EN
CALSCALE:GREGORIAN
METHOD:PUBLISH
BEGIN:VEVENT
CREATED:19960329T133000Z
UID:uid1@example.com
DTSTAMP:19970714T170000Z
ORGANIZER;CN=John Doe:MAILTO:john.doe@example.com
Expand All @@ -106,14 +107,23 @@ END:VCALENDAR
"data": [
{
"type": "VEVENT",
"created": {
"dt": "19960329T133000Z"
},
"uid": "uid1@example.com",
"dtstamp": "1997-07-14T17:00:00.000Z",
"dtstamp": {
"dt": "19970714T170000Z"
},
"organizer": {
"name": "John Doe",
"mail": "john.doe@example.com"
},
"dtstart": "1997-07-14T17:00:00.000Z",
"dtend": "1997-07-15T03:59:59.000Z",
"dtstart": {
"dt": "19970714T170000Z"
},
"dtend": {
"dt": "19970715T035959Z"
},
"summary": "Bastille Day Party",
"geo": {
"latitude": 48.85299,
Expand Down
14 changes: 1 addition & 13 deletions analysis_options.yaml
Original file line number Diff line number Diff line change
@@ -1,13 +1 @@
include: package:lint/analysis_options_package.yaml

linter:
rules:
# Util classes are awesome!
# avoid_classes_with_only_static_members: false

# Make constructors the first thing in every class
# sort_constructors_first: true

# Choose wisely, but you don't have to
# prefer_double_quotes: true
# prefer_single_quotes: true
include: package:fd_lints/dart.yaml
5 changes: 0 additions & 5 deletions example/.flutter-plugins 2

This file was deleted.

5 changes: 0 additions & 5 deletions example/.flutter-plugins 3

This file was deleted.

1 change: 0 additions & 1 deletion example/.flutter-plugins-dependencies 2

This file was deleted.

1 change: 0 additions & 1 deletion example/.flutter-plugins-dependencies 3

This file was deleted.

42 changes: 2 additions & 40 deletions example/.gitignore
Original file line number Diff line number Diff line change
@@ -1,41 +1,3 @@
# Miscellaneous
*.class
*.log
*.pyc
*.swp
.DS_Store
.atom/
.buildlog/
.history
.svn/

# IntelliJ related
*.iml
*.ipr
*.iws
.idea/

# The .vscode folder contains launch configuration and tasks you configure in
# VS Code which you may wish to be included in version control, so this line
# is commented out by default.
#.vscode/

# Flutter/Dart/Pub related
**/doc/api/
**/ios/Flutter/.last_build_id
# https://dart.dev/guides/libraries/private-files
# Created by `dart pub`
.dart_tool/
.flutter-plugins
.flutter-plugins-dependencies
.packages
.pub-cache/
.pub/
/build/

# Web related
lib/generated_plugin_registrant.dart

# Symbolication related
app.*.symbols

# Obfuscation related
app.*.map.json
10 changes: 0 additions & 10 deletions example/.metadata

This file was deleted.

18 changes: 2 additions & 16 deletions example/README.md
Original file line number Diff line number Diff line change
@@ -1,16 +1,2 @@
# example

A new Flutter project.

## Getting Started

This project is a starting point for a Flutter application.

A few resources to get you started if this is your first Flutter project:

- [Lab: Write your first Flutter app](https://flutter.dev/docs/get-started/codelab)
- [Cookbook: Useful Flutter samples](https://flutter.dev/docs/cookbook)

For help getting started with Flutter, view our
[online documentation](https://flutter.dev/docs), which offers tutorials,
samples, guidance on mobile development, and a full API reference.
A sample command-line application with an entrypoint in `bin/`, library code
in `lib/`, and example unit test in `test/`.
30 changes: 30 additions & 0 deletions example/analysis_options.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,30 @@
# This file configures the static analysis results for your project (errors,
# warnings, and lints).
#
# This enables the 'recommended' set of lints from `package:lints`.
# This set helps identify many issues that may lead to problems when running
# or consuming Dart code, and enforces writing Dart using a single, idiomatic
# style and format.
#
# If you want a smaller set of lints you can change this to specify
# 'package:lints/core.yaml'. These are just the most critical lints
# (the recommended set includes the core lints).
# The core lints are also what is used by pub.dev for scoring packages.

include: package:lints/recommended.yaml

# Uncomment the following section to specify additional rules.

# linter:
# rules:
# - camel_case_types

# analyzer:
# exclude:
# - path/to/excluded/files/**

# For more information about the core and recommended set of lints, see
# https://dart.dev/go/core-lints

# For additional information about configuring this file, see
# https://dart.dev/guides/language/analysis-options
11 changes: 0 additions & 11 deletions example/android/.gitignore

This file was deleted.

63 changes: 0 additions & 63 deletions example/android/app/build.gradle

This file was deleted.

7 changes: 0 additions & 7 deletions example/android/app/src/debug/AndroidManifest.xml

This file was deleted.

47 changes: 0 additions & 47 deletions example/android/app/src/main/AndroidManifest.xml

This file was deleted.

This file was deleted.

12 changes: 0 additions & 12 deletions example/android/app/src/main/res/drawable/launch_background.xml

This file was deleted.

Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
18 changes: 0 additions & 18 deletions example/android/app/src/main/res/values/styles.xml

This file was deleted.

7 changes: 0 additions & 7 deletions example/android/app/src/profile/AndroidManifest.xml

This file was deleted.

Loading

0 comments on commit 3df8b4a

Please sign in to comment.