From cf1eef865fd56a66f37f18e7d2cf47dce9831f44 Mon Sep 17 00:00:00 2001 From: thomashii Date: Sun, 19 Dec 2021 10:44:45 +0800 Subject: [PATCH] Updated redis --- packages/redis/CHANGELOG.md | 4 +++ packages/redis/LICENSE | 42 +++++++++++++++++----------- packages/redis/README.md | 7 ++--- packages/redis/analysis_options.yaml | 5 +--- packages/redis/pubspec.yaml | 9 +++--- 5 files changed, 38 insertions(+), 29 deletions(-) diff --git a/packages/redis/CHANGELOG.md b/packages/redis/CHANGELOG.md index dc866456..02bd0bb3 100644 --- a/packages/redis/CHANGELOG.md +++ b/packages/redis/CHANGELOG.md @@ -1,5 +1,9 @@ # Change Log +## 2.0.1 + +* Updated linter to `package:lints` + ## 2.0.0 * Migrated to support Dart SDK 2.12.x NNBD diff --git a/packages/redis/LICENSE b/packages/redis/LICENSE index bb161745..df5e0635 100644 --- a/packages/redis/LICENSE +++ b/packages/redis/LICENSE @@ -1,21 +1,29 @@ -MIT License (MIT) +BSD 3-Clause License -Copyright (c) 2021 dukefirehawk.com +Copyright (c) 2021, dukefirehawk.com +All rights reserved. -Permission is hereby granted, free of charge, to any person obtaining a copy -of this software and associated documentation files (the "Software"), to deal -in the Software without restriction, including without limitation the rights -to use, copy, modify, merge, publish, distribute, sublicense, and/or sell -copies of the Software, and to permit persons to whom the Software is -furnished to do so, subject to the following conditions: +Redistribution and use in source and binary forms, with or without +modification, are permitted provided that the following conditions are met: -The above copyright notice and this permission notice shall be included in all -copies or substantial portions of the Software. +1. Redistributions of source code must retain the above copyright notice, this + list of conditions and the following disclaimer. -THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR -IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, -FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE -AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER -LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, -OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE -SOFTWARE. +2. Redistributions in binary form must reproduce the above copyright notice, + this list of conditions and the following disclaimer in the documentation + and/or other materials provided with the distribution. + +3. Neither the name of the copyright holder nor the names of its + contributors may be used to endorse or promote products derived from + this software without specific prior written permission. + +THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" +AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE +IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE +DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE +FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL +DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR +SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER +CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, +OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE +OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. diff --git a/packages/redis/README.md b/packages/redis/README.md index 6cac3b7c..8470a369 100644 --- a/packages/redis/README.md +++ b/packages/redis/README.md @@ -1,10 +1,9 @@ # Angel3 Redis -[![version](https://img.shields.io/badge/pub-v2.0.0-brightgreen)](https://pub.dartlang.org/packages/angel3_redis) +![Pub Version (including pre-releases)](https://img.shields.io/pub/v/angel3_redis?include_prereleases) [![Null Safety](https://img.shields.io/badge/null-safety-brightgreen)](https://dart.dev/null-safety) [![Gitter](https://img.shields.io/gitter/room/angel_dart/discussion)](https://gitter.im/angel_dart/discussion) - -[![License](https://img.shields.io/github/license/dukefirehawk/angel)](https://github.com/dukefirehawk/angel/tree/angel3/packages/redis/LICENSE) +[![License](https://img.shields.io/github/license/dukefirehawk/angel)](https://github.com/dukefirehawk/angel/tree/master/packages/redis/LICENSE) **Forked from `angel_redis` to support NNBD** @@ -18,7 +17,7 @@ In your `pubspec.yaml`: ```yaml dependencies: - angel3_framework: ^4.0.0 + angel3_framework: ^4.2.0 angel3_redis: ^2.0.0 ``` diff --git a/packages/redis/analysis_options.yaml b/packages/redis/analysis_options.yaml index c230cee7..ea2c9e94 100644 --- a/packages/redis/analysis_options.yaml +++ b/packages/redis/analysis_options.yaml @@ -1,4 +1 @@ -include: package:pedantic/analysis_options.yaml -analyzer: - strong-mode: - implicit-casts: false \ No newline at end of file +include: package:lints/recommended.yaml \ No newline at end of file diff --git a/packages/redis/pubspec.yaml b/packages/redis/pubspec.yaml index f6dfc1d2..7ae4dbf0 100644 --- a/packages/redis/pubspec.yaml +++ b/packages/redis/pubspec.yaml @@ -1,13 +1,14 @@ name: angel3_redis -version: 2.0.0 +version: 2.0.1 description: An Angel3 service provider for Redis. Works well for caching volatile data. -homepage: https://github.com/dukefirehawk/angel/tree/angel3/packages/redis +homepage: https://angel3-framework.web.app/ +repository: https://github.com/dukefirehawk/angel/tree/master/packages/redis environment: sdk: '>=2.12.0 <3.0.0' dependencies: - angel3_framework: ^4.0.0 + angel3_framework: ^4.2.0 angel3_http_exception: ^3.0.0 resp_client: ^1.2.0 dev_dependencies: test: ^1.17.8 - pedantic: ^1.11.1 + lints: ^1.0.0