From 09c49f0ed3f4bf1f38c38ca01036ceac25b095e5 Mon Sep 17 00:00:00 2001 From: Olivier Halligon Date: Fri, 26 Mar 2021 19:04:12 +0100 Subject: [PATCH 1/5] Standardize WordPress-Aztec-iOS.podspec format --- WordPress-Aztec-iOS.podspec | 43 ++++++++++++++----------------------- 1 file changed, 16 insertions(+), 27 deletions(-) diff --git a/WordPress-Aztec-iOS.podspec b/WordPress-Aztec-iOS.podspec index 1dee3bd72..a9dbef96a 100644 --- a/WordPress-Aztec-iOS.podspec +++ b/WordPress-Aztec-iOS.podspec @@ -1,34 +1,22 @@ -# -# Be sure to run `bundle exec pod lib lint WordPress-Aztec-iOS.podspec' to ensure this is a -# valid spec before submitting. -# -# Any lines starting with a # are optional, but their use is encouraged -# To learn more about a Podspec see http://guides.cocoapods.org/syntax/podspec.html -# - Pod::Spec.new do |s| - s.name = 'WordPress-Aztec-iOS' - s.version = '1.19.4' - s.summary = 'The native HTML Editor.' + s.name = 'WordPress-Aztec-iOS' + s.version = '1.19.4' + + s.summary = 'The native HTML Editor.' + s.description = <<-DESC + The native HTML Editor by Automattic Inc. -# This description is used to generate tags and improve search results. -# * Think: What does it do? Why did you write it? What is the focus? -# * Try to keep it short, snappy and to the point. -# * Write the description between the DESC delimiters below. -# * Finally, don't worry about the indent, CocoaPods strips it! + This library provides a UITextView subclass with HTML visual editing capabilities. + DESC - s.description = <<-DESC - The native HTML Editor by Automattic Inc. - DESC + s.homepage = 'https://github.com/wordpress-mobile/WordPress-Aztec-iOS' + s.license = { :type => 'MPLv2', :file => 'LICENSE.md' } + s.author = { 'The WordPress Mobile Team' => 'mobile@automattic.com' } - s.homepage = 'https://github.com/wordpress-mobile/WordPress-Aztec-iOS' - # s.screenshots = 'www.example.com/screenshots_1', 'www.example.com/screenshots_2' - s.license = { :type => 'MPLv2', :file => 'LICENSE.md' } - s.author = { 'Automattic' => 'mobile@automattic.com', 'Diego Rey Mendez' => 'diego.rey.mendez@automattic.com', 'Sergio Estevao' => 'sergioestevao@gmail.com', 'Jorge Leandro Perez' => 'jorge.perez@automattic.com' } - s.source = { :git => 'https://github.com/wordpress-mobile/WordPress-Aztec-iOS.git', :tag => s.version.to_s } s.ios.deployment_target = '11.0' s.swift_version = '5.0' + s.source = { :git => 'https://github.com/wordpress-mobile/WordPress-Aztec-iOS.git', :tag => s.version.to_s } s.module_name = "Aztec" s.source_files = 'Aztec/Classes/**/*' s.resource_bundles = { @@ -36,7 +24,8 @@ Pod::Spec.new do |s| "Aztec/Assets/**/*" ] } - - s.xcconfig = {'OTHER_LDFLAGS' => '-lxml2', - 'HEADER_SEARCH_PATHS' => '/usr/include/libxml2'} + s.xcconfig = { + 'OTHER_LDFLAGS' => '-lxml2', + 'HEADER_SEARCH_PATHS' => '/usr/include/libxml2' + } end From feef868759f354cd51d7a5fced34d3a84f62c262 Mon Sep 17 00:00:00 2001 From: Olivier Halligon Date: Fri, 26 Mar 2021 19:10:35 +0100 Subject: [PATCH 2/5] Standardize WordPress-Editor-iOS.podspec format --- WordPress-Editor-iOS.podspec | 45 +++++++++++++++--------------------- 1 file changed, 18 insertions(+), 27 deletions(-) diff --git a/WordPress-Editor-iOS.podspec b/WordPress-Editor-iOS.podspec index fcf4e235f..321c8c265 100644 --- a/WordPress-Editor-iOS.podspec +++ b/WordPress-Editor-iOS.podspec @@ -1,39 +1,30 @@ -# -# Be sure to run `bundle exec pod lib lint WordPress-Editor-iOS.podspec' to ensure this is a -# valid spec before submitting. -# -# Any lines starting with a # are optional, but their use is encouraged -# To learn more about a Podspec see http://guides.cocoapods.org/syntax/podspec.html -# - Pod::Spec.new do |s| - s.name = 'WordPress-Editor-iOS' - s.version = '1.19.4' - s.summary = 'The WordPress HTML Editor.' + s.name = 'WordPress-Editor-iOS' + s.version = '1.19.4' + + s.summary = 'The WordPress HTML Editor.' + s.description = <<-DESC + The WordPress HTML Editor by Automattic Inc. -# This description is used to generate tags and improve search results. -# * Think: What does it do? Why did you write it? What is the focus? -# * Try to keep it short, snappy and to the point. -# * Write the description between the DESC delimiters below. -# * Finally, don't worry about the indent, CocoaPods strips it! + This library provides a UITextView subclass with HTML visual editing capabilities. + Use this library if you want to create an App that interacts with WordPress HTML content. + DESC - s.description = <<-DESC - The WordPress HTML Editor by Automattic Inc. - DESC + s.homepage = 'https://github.com/wordpress-mobile/WordPress-Aztec-iOS' + s.license = { :type => 'MPLv2', :file => 'LICENSE.md' } + s.author = { 'The WordPress Mobile Team' => 'mobile@automattic.com' } - s.homepage = 'https://github.com/wordpress-mobile/WordPress-Aztec-iOS' - # s.screenshots = 'www.example.com/screenshots_1', 'www.example.com/screenshots_2' - s.license = { :type => 'MPLv2', :file => 'LICENSE.md' } - s.author = { 'Automattic' => 'mobile@automattic.com', 'Diego Rey Mendez' => 'diego.rey.mendez@automattic.com', 'Sergio Estevao' => 'sergioestevao@gmail.com', 'Jorge Leandro Perez' => 'jorge.perez@automattic.com' } - s.source = { :git => 'https://github.com/wordpress-mobile/WordPress-Aztec-iOS.git', :tag => s.version.to_s } s.ios.deployment_target = '11.0' s.swift_version = '5.0' + + s.source = { :git => 'https://github.com/wordpress-mobile/WordPress-Aztec-iOS.git', :tag => s.version.to_s } s.module_name = "WordPressEditor" s.source_files = 'WordPressEditor/WordPressEditor/Classes/**/*' s.resources = 'WordPressEditor/WordPressEditor/Assets/**/*' - - s.xcconfig = {'OTHER_LDFLAGS' => '-lxml2', - 'HEADER_SEARCH_PATHS' => '/usr/include/libxml2'} + s.xcconfig = { + 'OTHER_LDFLAGS' => '-lxml2', + 'HEADER_SEARCH_PATHS' => '/usr/include/libxml2' + } s.dependency "WordPress-Aztec-iOS", s.version.to_s end From 8e035a97005c3035c495163b06e59ab4cdaeded0 Mon Sep 17 00:00:00 2001 From: Olivier Halligon Date: Fri, 26 Mar 2021 19:19:35 +0100 Subject: [PATCH 3/5] Update git URL to new repo name --- WordPress-Aztec-iOS.podspec | 4 ++-- WordPress-Editor-iOS.podspec | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/WordPress-Aztec-iOS.podspec b/WordPress-Aztec-iOS.podspec index a9dbef96a..2c0cb4b39 100644 --- a/WordPress-Aztec-iOS.podspec +++ b/WordPress-Aztec-iOS.podspec @@ -9,14 +9,14 @@ Pod::Spec.new do |s| This library provides a UITextView subclass with HTML visual editing capabilities. DESC - s.homepage = 'https://github.com/wordpress-mobile/WordPress-Aztec-iOS' + s.homepage = 'https://github.com/wordpress-mobile/AztecEditor-iOS' s.license = { :type => 'MPLv2', :file => 'LICENSE.md' } s.author = { 'The WordPress Mobile Team' => 'mobile@automattic.com' } s.ios.deployment_target = '11.0' s.swift_version = '5.0' - s.source = { :git => 'https://github.com/wordpress-mobile/WordPress-Aztec-iOS.git', :tag => s.version.to_s } + s.source = { :git => 'https://github.com/wordpress-mobile/AztecEditor-iOS.git', :tag => s.version.to_s } s.module_name = "Aztec" s.source_files = 'Aztec/Classes/**/*' s.resource_bundles = { diff --git a/WordPress-Editor-iOS.podspec b/WordPress-Editor-iOS.podspec index 321c8c265..a89d1c35b 100644 --- a/WordPress-Editor-iOS.podspec +++ b/WordPress-Editor-iOS.podspec @@ -10,14 +10,14 @@ Pod::Spec.new do |s| Use this library if you want to create an App that interacts with WordPress HTML content. DESC - s.homepage = 'https://github.com/wordpress-mobile/WordPress-Aztec-iOS' + s.homepage = 'https://github.com/wordpress-mobile/AztecEditor-iOS' s.license = { :type => 'MPLv2', :file => 'LICENSE.md' } s.author = { 'The WordPress Mobile Team' => 'mobile@automattic.com' } s.ios.deployment_target = '11.0' s.swift_version = '5.0' - s.source = { :git => 'https://github.com/wordpress-mobile/WordPress-Aztec-iOS.git', :tag => s.version.to_s } + s.source = { :git => 'https://github.com/wordpress-mobile/AztecEditor-iOS.git', :tag => s.version.to_s } s.module_name = "WordPressEditor" s.source_files = 'WordPressEditor/WordPressEditor/Classes/**/*' s.resources = 'WordPressEditor/WordPressEditor/Assets/**/*' From d60536e400b819aad33a9bbf0496ab32324e2a0d Mon Sep 17 00:00:00 2001 From: Olivier Halligon Date: Fri, 26 Mar 2021 19:23:43 +0100 Subject: [PATCH 4/5] Fix tab vs spaces --- WordPress-Aztec-iOS.podspec | 2 +- WordPress-Editor-iOS.podspec | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/WordPress-Aztec-iOS.podspec b/WordPress-Aztec-iOS.podspec index 2c0cb4b39..342122f5a 100644 --- a/WordPress-Aztec-iOS.podspec +++ b/WordPress-Aztec-iOS.podspec @@ -26,6 +26,6 @@ Pod::Spec.new do |s| } s.xcconfig = { 'OTHER_LDFLAGS' => '-lxml2', - 'HEADER_SEARCH_PATHS' => '/usr/include/libxml2' + 'HEADER_SEARCH_PATHS' => '/usr/include/libxml2' } end diff --git a/WordPress-Editor-iOS.podspec b/WordPress-Editor-iOS.podspec index a89d1c35b..03b6ec0a3 100644 --- a/WordPress-Editor-iOS.podspec +++ b/WordPress-Editor-iOS.podspec @@ -23,7 +23,7 @@ Pod::Spec.new do |s| s.resources = 'WordPressEditor/WordPressEditor/Assets/**/*' s.xcconfig = { 'OTHER_LDFLAGS' => '-lxml2', - 'HEADER_SEARCH_PATHS' => '/usr/include/libxml2' + 'HEADER_SEARCH_PATHS' => '/usr/include/libxml2' } s.dependency "WordPress-Aztec-iOS", s.version.to_s From 2c23d6f876c44345d15f9a2daad2cf765ebecfc9 Mon Sep 17 00:00:00 2001 From: Olivier Halligon Date: Fri, 26 Mar 2021 20:21:49 +0100 Subject: [PATCH 5/5] Fix author email --- WordPress-Aztec-iOS.podspec | 2 +- WordPress-Editor-iOS.podspec | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/WordPress-Aztec-iOS.podspec b/WordPress-Aztec-iOS.podspec index 342122f5a..be122288f 100644 --- a/WordPress-Aztec-iOS.podspec +++ b/WordPress-Aztec-iOS.podspec @@ -11,7 +11,7 @@ Pod::Spec.new do |s| s.homepage = 'https://github.com/wordpress-mobile/AztecEditor-iOS' s.license = { :type => 'MPLv2', :file => 'LICENSE.md' } - s.author = { 'The WordPress Mobile Team' => 'mobile@automattic.com' } + s.author = { 'The WordPress Mobile Team' => 'mobile@wordpress.org' } s.ios.deployment_target = '11.0' s.swift_version = '5.0' diff --git a/WordPress-Editor-iOS.podspec b/WordPress-Editor-iOS.podspec index 03b6ec0a3..aa46ab5f6 100644 --- a/WordPress-Editor-iOS.podspec +++ b/WordPress-Editor-iOS.podspec @@ -12,7 +12,7 @@ Pod::Spec.new do |s| s.homepage = 'https://github.com/wordpress-mobile/AztecEditor-iOS' s.license = { :type => 'MPLv2', :file => 'LICENSE.md' } - s.author = { 'The WordPress Mobile Team' => 'mobile@automattic.com' } + s.author = { 'The WordPress Mobile Team' => 'mobile@wordpress.org' } s.ios.deployment_target = '11.0' s.swift_version = '5.0'