Skip to content

Commit d321d4c

Browse files
authored
chore: release video_player_service v.1.0.0 (#1)
2 parents 1961dd7 + f89ebf3 commit d321d4c

File tree

8 files changed

+342
-44
lines changed

8 files changed

+342
-44
lines changed

.github/workflows/main.yaml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,9 @@ concurrency:
55
cancel-in-progress: true
66

77
on:
8+
push:
9+
branches:
10+
- main
811
pull_request:
912
branches:
1013
- main

CONTRIBUTING.md

Lines changed: 37 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,37 @@
1+
# Contributing to Shared Preferences Service
2+
3+
First off, thanks for taking the time to contribute!
4+
5+
The following is a set of guidelines for contributing to the library and related packages. These are mostly guidelines, not rules. Use your best judgment, and feel free to propose changes to this document in a pull request.
6+
7+
## Proposing a Change
8+
9+
We recommend filing an issue if you intend to change the public API or make any non-trivial changes to the implementation. It lets us reach an agreement on your proposal before you put significant effort into it.
10+
11+
If you’re only fixing a bug, it’s fine to submit a pull request right away, but we still recommend filing an issue detailing what you’re fixing. It is helpful if we don’t accept that specific fix but want to keep track of the issue.
12+
13+
## Creating a Pull Request
14+
15+
Before creating a pull request please:
16+
17+
1. Fork the repository and create your branch from `main`.
18+
1. Install all dependencies (`flutter packages get` or `pub get`).
19+
1. Squash your commits and ensure you have a meaningful commit message.
20+
1. If you’ve fixed a bug or added code that should be tested, add tests!
21+
Pull Requests without 100% test coverage will not be approved.
22+
1. Ensure the test suite passes.
23+
1. If you've changed the public API, make sure to update/add documentation.
24+
1. Format your code (`dart format .`).
25+
1. Analyze your code (`dart analyze --fatal-infos --fatal-warnings .`).
26+
1. Create the Pull Request.
27+
1. Verify that all status checks are passing.
28+
29+
While the prerequisites above must be satisfied before having your pull request reviewed, the reviewer(s) may ask you to complete additional design work, tests, or other changes before your pull request can be ultimately accepted.
30+
31+
## Getting in Touch
32+
33+
If you want to just ask a question or get feedback on an idea, you can post it as a GitHub issue.
34+
35+
## License
36+
37+
By contributing to animated_svg, you agree that your contributions will be licensed under its [license](LICENSE).

LICENSE

Lines changed: 28 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,28 @@
1+
BSD 3-Clause License
2+
3+
Copyright (c) 2023, BBK Development
4+
5+
Redistribution and use in source and binary forms, with or without
6+
modification, are permitted provided that the following conditions are met:
7+
8+
1. Redistributions of source code must retain the above copyright notice, this
9+
list of conditions and the following disclaimer.
10+
11+
2. Redistributions in binary form must reproduce the above copyright notice,
12+
this list of conditions and the following disclaimer in the documentation
13+
and/or other materials provided with the distribution.
14+
15+
3. Neither the name of the copyright holder nor the names of its
16+
contributors may be used to endorse or promote products derived from
17+
this software without specific prior written permission.
18+
19+
THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
20+
AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
21+
IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE
22+
DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE
23+
FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
24+
DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR
25+
SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER
26+
CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY,
27+
OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
28+
OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.

README.md

Lines changed: 21 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,16 @@
1-
# Video Player Service
1+
# <p align="center">Video Player Service</p>
22

3+
<div align="center">
4+
5+
[![video_player_service][build_status_badge]][workflow_link]
6+
![coverage][coverage_badge]
37
[![style: very good analysis][very_good_analysis_badge]][very_good_analysis_link]
48
[![Powered by Mason](https://img.shields.io/endpoint?url=https%3A%2F%2Ftinyurl.com%2Fmason-badge)](https://github.com/felangel/mason)
5-
[![License: MIT][license_badge]][license_link]
9+
[![License: BSD-3-Clause][license_badge]][license_link]
10+
11+
</div>
612

7-
A Very Good Project created by Very Good CLI.
13+
This service wraps the [video_player][video_player_link] and provides secure usage of the plugin by handling exceptions.
814

915
## Installation 💻
1016

@@ -15,6 +21,12 @@ Add `video_player_service` to your `pubspec.yaml`:
1521
```yaml
1622
dependencies:
1723
video_player_service:
24+
25+
dependencies:
26+
video_player_service:
27+
git:
28+
url: https://github.com/BBKDevelopment/Video-Player-Service.git
29+
ref: v1.0.0
1830
```
1931
2032
Install it:
@@ -57,10 +69,14 @@ genhtml coverage/lcov.info -o coverage/
5769
open coverage/index.html
5870
```
5971

72+
[video_player_link]: https://github.com/flutter/packages/tree/main/packages/video_player/video_player
73+
[workflow_link]: https://github.com/BBKDevelopment/Video-Player-Service/actions/workflows/main.yaml
74+
[build_status_badge]: https://github.com/BBKDevelopment/Video-Player-Service/actions/workflows/main.yaml/badge.svg
75+
[coverage_badge]: coverage_badge.svg
6076
[flutter_install_link]: https://docs.flutter.dev/get-started/install
6177
[github_actions_link]: https://docs.github.com/en/actions/learn-github-actions
62-
[license_badge]: https://img.shields.io/badge/license-MIT-blue.svg
63-
[license_link]: https://opensource.org/licenses/MIT
78+
[license_badge]: https://img.shields.io/badge/license-BSD%203%E2%80%93Clause-blue.svg
79+
[license_link]: https://opensource.org/licenses/bsd-3-clause
6480
[logo_black]: https://raw.githubusercontent.com/VGVentures/very_good_brand/main/styles/README/vgv_logo_black.png#gh-light-mode-only
6581
[logo_white]: https://raw.githubusercontent.com/VGVentures/very_good_brand/main/styles/README/vgv_logo_white.png#gh-dark-mode-only
6682
[mason_link]: https://github.com/felangel/mason

lib/src/CHANGELOG.md

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
## 1.0.0
2+
3+
* feat: initial release of `video_player_service` 🎉

0 commit comments

Comments
 (0)