From c393b107587213eaa77c8f91c22e190662a42cfe Mon Sep 17 00:00:00 2001 From: Neevash Ramdial Date: Sun, 25 Oct 2020 18:17:06 -0400 Subject: [PATCH 1/3] update podspec meta info Signed-off-by: Neevash Ramdial --- packages/battery_plus/macos/battery_plus.podspec | 3 +-- .../macos/battery_plus_macos.podspec | 10 +++++----- 2 files changed, 6 insertions(+), 7 deletions(-) diff --git a/packages/battery_plus/macos/battery_plus.podspec b/packages/battery_plus/macos/battery_plus.podspec index a925d1b26b..e13bf20fd9 100644 --- a/packages/battery_plus/macos/battery_plus.podspec +++ b/packages/battery_plus/macos/battery_plus.podspec @@ -6,8 +6,7 @@ Pod::Spec.new do |s| s.version = '0.0.1' s.summary = 'No-op implementation of the macos battery_plus to avoid build issues on macos' s.description = <<-DESC - No-op implementation of the battery_plus plugin to avoid build issues on macos. - https://github.com/flutter/flutter/issues/46618 +A Flutter plugin for accessing information about the battery state(full, charging, discharging). DESC s.homepage = 'https://github.com/fluttercommunity/plus_plugins/tree/master/packages/battery_plus' s.license = { :file => '../LICENSE' } diff --git a/packages/battery_plus_macos/macos/battery_plus_macos.podspec b/packages/battery_plus_macos/macos/battery_plus_macos.podspec index 1763a30bd3..86e36d69a0 100644 --- a/packages/battery_plus_macos/macos/battery_plus_macos.podspec +++ b/packages/battery_plus_macos/macos/battery_plus_macos.podspec @@ -5,14 +5,14 @@ Pod::Spec.new do |s| s.name = 'battery_plus_macos' s.version = '0.0.1' - s.summary = 'A new flutter plugin project.' + s.summary = 'Flutter Battery Plus' s.description = <<-DESC -A new flutter plugin project. +A Flutter plugin for accessing information about the battery state(full, charging, discharging). DESC - s.homepage = 'http://example.com' + s.homepage = 'https://github.com/fluttercommunity/plus_plugins/tree/main/packages/battery_plus_macos' s.license = { :file => '../LICENSE' } - s.author = { 'Your Company' => 'email@example.com' } - s.source = { :path => '.' } + s.author = { 'Flutter Community' => 'authors@fluttercommunity.dev' } + s.source = { :path => 'https://github.com/fluttercommunity/plus_plugins/tree/main/packages/battery_plus_macos' } s.source_files = 'Classes/**/*' s.dependency 'FlutterMacOS' From 6823123a3d3093e41ade9f183e1a85e661af7ac5 Mon Sep 17 00:00:00 2001 From: Neevash Ramdial Date: Sun, 25 Oct 2020 18:17:33 -0400 Subject: [PATCH 2/3] Update pubspec description Signed-off-by: Neevash Ramdial --- packages/battery_plus/pubspec.yaml | 2 +- packages/battery_plus_macos/pubspec.yaml | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/packages/battery_plus/pubspec.yaml b/packages/battery_plus/pubspec.yaml index d6cd2955b5..d9ee2fa40f 100644 --- a/packages/battery_plus/pubspec.yaml +++ b/packages/battery_plus/pubspec.yaml @@ -1,5 +1,5 @@ name: battery_plus -description: Flutter plugin for accessing information about the battery state(full, charging, discharging) on Android and iOS. +description: Flutter plugin for accessing information about the battery state(full, charging, discharging). homepage: https://github.com/fluttercommunity/plus_plugins/tree/main/packages/battery_plus version: 0.8.0 diff --git a/packages/battery_plus_macos/pubspec.yaml b/packages/battery_plus_macos/pubspec.yaml index a8b7e6cfde..c230b9abc4 100644 --- a/packages/battery_plus_macos/pubspec.yaml +++ b/packages/battery_plus_macos/pubspec.yaml @@ -1,5 +1,5 @@ name: battery_plus_macos -description: macOS implementation of the battery_plus plugin +description: An implementation for the macos platform of the Flutter `battery_plus` plugin. homepage: https://plus.fluttercommunity.dev/ repository: https://github.com/fluttercommunity/plus_plugins/tree/main/packages/ version: 0.1.0 From 30f8d5f30ceb0aaf8fbe94c1bca25a42eaa8b052 Mon Sep 17 00:00:00 2001 From: Neevash Ramdial Date: Sun, 25 Oct 2020 19:33:17 -0400 Subject: [PATCH 3/3] Add link to macos podspec bug --- AUTHORS | 3 ++- packages/battery_plus/macos/battery_plus.podspec | 5 +++-- 2 files changed, 5 insertions(+), 3 deletions(-) diff --git a/AUTHORS b/AUTHORS index cf627cfdd6..dd574b2325 100644 --- a/AUTHORS +++ b/AUTHORS @@ -1,4 +1,5 @@ Majid Hajian Simon Lightfoot J-P Nurmi -Miguel Beltran \ No newline at end of file +Miguel Beltran +Neevash Ramdial diff --git a/packages/battery_plus/macos/battery_plus.podspec b/packages/battery_plus/macos/battery_plus.podspec index e13bf20fd9..2efa3f7513 100644 --- a/packages/battery_plus/macos/battery_plus.podspec +++ b/packages/battery_plus/macos/battery_plus.podspec @@ -6,8 +6,9 @@ Pod::Spec.new do |s| s.version = '0.0.1' s.summary = 'No-op implementation of the macos battery_plus to avoid build issues on macos' s.description = <<-DESC -A Flutter plugin for accessing information about the battery state(full, charging, discharging). - DESC + No-op implementation of the battery_plus plugin to avoid build issues on macos. +https://github.com/flutter/flutter/issues/46618 + DESC s.homepage = 'https://github.com/fluttercommunity/plus_plugins/tree/master/packages/battery_plus' s.license = { :file => '../LICENSE' } s.author = { 'Flutter Community' => 'authors@fluttercommunity.dev' }