From b56724aab5cbaac6b0fc9ffef13038afd01c808d Mon Sep 17 00:00:00 2001 From: "thomashii@dukefirehawk.com" Date: Fri, 14 May 2021 11:57:54 +0800 Subject: [PATCH] Published angel3_http_exception --- packages/http_exception/README.md | 5 ++++- packages/http_exception/example/main.dart | 2 +- ...{angel_http_exception.dart => angel3_http_exception.dart} | 2 +- packages/http_exception/pubspec.yaml | 4 ++-- 4 files changed, 8 insertions(+), 5 deletions(-) rename packages/http_exception/lib/{angel_http_exception.dart => angel3_http_exception.dart} (99%) diff --git a/packages/http_exception/README.md b/packages/http_exception/README.md index 6d8f51fc..a41b8774 100644 --- a/packages/http_exception/README.md +++ b/packages/http_exception/README.md @@ -1,5 +1,8 @@ # http_exception -[![Pub](https://img.shields.io/pub/v/angel_http_exception.svg)](https://pub.dartlang.org/packages/angel_http_exception) +[![version](https://img.shields.io/badge/pub-v2.12.4-brightgreen)](https://pub.dartlang.org/packages/angel3_http_exception) +[![Null Safety](https://img.shields.io/badge/null-safety-brightgreen)](https://dart.dev/null-safety) + +[![License](https://img.shields.io/github/license/dukefirehawk/angel)](https://github.com/dukefirehawk/angel/tree/angel3/http_exception) Exception class that can be serialized to JSON and serialized to clients. Angel's HTTP exception class. diff --git a/packages/http_exception/example/main.dart b/packages/http_exception/example/main.dart index f9c36e31..9361bb5e 100644 --- a/packages/http_exception/example/main.dart +++ b/packages/http_exception/example/main.dart @@ -1,4 +1,4 @@ -import 'package:angel_http_exception/angel_http_exception.dart'; +import 'package:angel3_http_exception/angel3_http_exception.dart'; void main() => throw AngelHttpException.notFound(message: "Can't find that page!"); diff --git a/packages/http_exception/lib/angel_http_exception.dart b/packages/http_exception/lib/angel3_http_exception.dart similarity index 99% rename from packages/http_exception/lib/angel_http_exception.dart rename to packages/http_exception/lib/angel3_http_exception.dart index 8ccd34dc..9ef24735 100644 --- a/packages/http_exception/lib/angel_http_exception.dart +++ b/packages/http_exception/lib/angel3_http_exception.dart @@ -1,4 +1,4 @@ -library angel_http_exception; +library angel3_http_exception; //import 'package:dart2_constant/convert.dart'; import 'dart:convert'; diff --git a/packages/http_exception/pubspec.yaml b/packages/http_exception/pubspec.yaml index a6037c93..d97ac4c2 100644 --- a/packages/http_exception/pubspec.yaml +++ b/packages/http_exception/pubspec.yaml @@ -1,7 +1,7 @@ -name: angel_http_exception +name: angel3_http_exception version: 3.0.0 description: Exception class that can be serialized to JSON and serialized to clients. -homepage: https://github.com/dukefirehawk/angel +homepage: https://github.com/dukefirehawk/angel/tree/angel3/packages/http_exception environment: sdk: '>=2.12.0 <3.0.0' dev_dependencies: