From 5658c23cb23cbb457978af70d271c6d9bdf1d212 Mon Sep 17 00:00:00 2001 From: Alan Mantoux Date: Mon, 7 Nov 2022 20:53:13 +0100 Subject: [PATCH] Update remaining legacy labels --- LICENSE | 23 +++++++++++++++++- coverage.sh | 5 ++++ .../{giphy_get.webp => giphy_selector.webp} | Bin .../{giphy_get_2.png => giphy_selector_2.png} | Bin ...t_widget.gif => giphy_selector_widget.gif} | Bin example/lib/main.dart | 4 +-- test/giphy_get_test.dart | 2 +- 7 files changed, 30 insertions(+), 4 deletions(-) create mode 100644 coverage.sh rename example/assets/demo/{giphy_get.webp => giphy_selector.webp} (100%) rename example/assets/demo/{giphy_get_2.png => giphy_selector_2.png} (100%) rename example/assets/demo/{giphy_get_widget.gif => giphy_selector_widget.gif} (100%) diff --git a/LICENSE b/LICENSE index ba75c69..14fc97f 100644 --- a/LICENSE +++ b/LICENSE @@ -1 +1,22 @@ -TODO: Add your license here. +MIT License + +Copyright (c) 2020 Bazo SPA + +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: + +The above copyright notice and this permission notice shall be included in all +copies or substantial portions of the Software. + +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. + diff --git a/coverage.sh b/coverage.sh new file mode 100644 index 0000000..b9604b3 --- /dev/null +++ b/coverage.sh @@ -0,0 +1,5 @@ +#!/usr/bin/env bash + +flutter test --coverage test +genhtml coverage/lcov.info -o coverage/html +open coverage/html/index.html diff --git a/example/assets/demo/giphy_get.webp b/example/assets/demo/giphy_selector.webp similarity index 100% rename from example/assets/demo/giphy_get.webp rename to example/assets/demo/giphy_selector.webp diff --git a/example/assets/demo/giphy_get_2.png b/example/assets/demo/giphy_selector_2.png similarity index 100% rename from example/assets/demo/giphy_get_2.png rename to example/assets/demo/giphy_selector_2.png diff --git a/example/assets/demo/giphy_get_widget.gif b/example/assets/demo/giphy_selector_widget.gif similarity index 100% rename from example/assets/demo/giphy_get_widget.gif rename to example/assets/demo/giphy_selector_widget.gif diff --git a/example/lib/main.dart b/example/lib/main.dart index 981bfaa..94359be 100644 --- a/example/lib/main.dart +++ b/example/lib/main.dart @@ -24,7 +24,7 @@ class MyApp extends StatelessWidget { @override Widget build(BuildContext context) { return MaterialApp( - title: 'Giphy Get Demo', + title: 'Demo', theme: ThemeData( brightness: Brightness.light, primarySwatch: Colors.blue, @@ -45,7 +45,7 @@ class MyApp extends StatelessWidget { Locale('es', ''), Locale('fr', ''), ], - home: const MyHomePage(title: 'Giphy Get Demo'), + home: const MyHomePage(title: 'Demo'), themeMode: ThemeMode.system, ); } diff --git a/test/giphy_get_test.dart b/test/giphy_get_test.dart index 769caf0..6ba92ba 100644 --- a/test/giphy_get_test.dart +++ b/test/giphy_get_test.dart @@ -2,7 +2,7 @@ import 'package:flutter/services.dart'; import 'package:flutter_test/flutter_test.dart'; void main() { - const MethodChannel channel = MethodChannel('giphy_get'); + const MethodChannel channel = MethodChannel('giphy_selector'); TestWidgetsFlutterBinding.ensureInitialized();