Skip to content

Commit e0cb3c9

Browse files
authored
Merge pull request #1329 from wordpress-mobile/podspec-std
[Tooling] Standardize podspec format
2 parents d26c0ed + 2c23d6f commit e0cb3c9

2 files changed

Lines changed: 34 additions & 54 deletions

File tree

WordPress-Aztec-iOS.podspec

Lines changed: 16 additions & 27 deletions
Original file line numberDiff line numberDiff line change
@@ -1,42 +1,31 @@
1-
#
2-
# Be sure to run `bundle exec pod lib lint WordPress-Aztec-iOS.podspec' to ensure this is a
3-
# valid spec before submitting.
4-
#
5-
# Any lines starting with a # are optional, but their use is encouraged
6-
# To learn more about a Podspec see http://guides.cocoapods.org/syntax/podspec.html
7-
#
8-
91
Pod::Spec.new do |s|
10-
s.name = 'WordPress-Aztec-iOS'
11-
s.version = '1.19.4'
12-
s.summary = 'The native HTML Editor.'
2+
s.name = 'WordPress-Aztec-iOS'
3+
s.version = '1.19.4'
4+
5+
s.summary = 'The native HTML Editor.'
6+
s.description = <<-DESC
7+
The native HTML Editor by Automattic Inc.
138
14-
# This description is used to generate tags and improve search results.
15-
# * Think: What does it do? Why did you write it? What is the focus?
16-
# * Try to keep it short, snappy and to the point.
17-
# * Write the description between the DESC delimiters below.
18-
# * Finally, don't worry about the indent, CocoaPods strips it!
9+
This library provides a UITextView subclass with HTML visual editing capabilities.
10+
DESC
1911

20-
s.description = <<-DESC
21-
The native HTML Editor by Automattic Inc.
22-
DESC
12+
s.homepage = 'https://github.com/wordpress-mobile/AztecEditor-iOS'
13+
s.license = { :type => 'MPLv2', :file => 'LICENSE.md' }
14+
s.author = { 'The WordPress Mobile Team' => 'mobile@wordpress.org' }
2315

24-
s.homepage = 'https://github.com/wordpress-mobile/WordPress-Aztec-iOS'
25-
# s.screenshots = 'www.example.com/screenshots_1', 'www.example.com/screenshots_2'
26-
s.license = { :type => 'MPLv2', :file => 'LICENSE.md' }
27-
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' }
28-
s.source = { :git => 'https://github.com/wordpress-mobile/WordPress-Aztec-iOS.git', :tag => s.version.to_s }
2916
s.ios.deployment_target = '11.0'
3017
s.swift_version = '5.0'
3118

19+
s.source = { :git => 'https://github.com/wordpress-mobile/AztecEditor-iOS.git', :tag => s.version.to_s }
3220
s.module_name = "Aztec"
3321
s.source_files = 'Aztec/Classes/**/*'
3422
s.resource_bundles = {
3523
'WordPress-Aztec-iOS': [
3624
"Aztec/Assets/**/*"
3725
]
3826
}
39-
40-
s.xcconfig = {'OTHER_LDFLAGS' => '-lxml2',
41-
'HEADER_SEARCH_PATHS' => '/usr/include/libxml2'}
27+
s.xcconfig = {
28+
'OTHER_LDFLAGS' => '-lxml2',
29+
'HEADER_SEARCH_PATHS' => '/usr/include/libxml2'
30+
}
4231
end

WordPress-Editor-iOS.podspec

Lines changed: 18 additions & 27 deletions
Original file line numberDiff line numberDiff line change
@@ -1,39 +1,30 @@
1-
#
2-
# Be sure to run `bundle exec pod lib lint WordPress-Editor-iOS.podspec' to ensure this is a
3-
# valid spec before submitting.
4-
#
5-
# Any lines starting with a # are optional, but their use is encouraged
6-
# To learn more about a Podspec see http://guides.cocoapods.org/syntax/podspec.html
7-
#
8-
91
Pod::Spec.new do |s|
10-
s.name = 'WordPress-Editor-iOS'
11-
s.version = '1.19.4'
12-
s.summary = 'The WordPress HTML Editor.'
2+
s.name = 'WordPress-Editor-iOS'
3+
s.version = '1.19.4'
4+
5+
s.summary = 'The WordPress HTML Editor.'
6+
s.description = <<-DESC
7+
The WordPress HTML Editor by Automattic Inc.
138
14-
# This description is used to generate tags and improve search results.
15-
# * Think: What does it do? Why did you write it? What is the focus?
16-
# * Try to keep it short, snappy and to the point.
17-
# * Write the description between the DESC delimiters below.
18-
# * Finally, don't worry about the indent, CocoaPods strips it!
9+
This library provides a UITextView subclass with HTML visual editing capabilities.
10+
Use this library if you want to create an App that interacts with WordPress HTML content.
11+
DESC
1912

20-
s.description = <<-DESC
21-
The WordPress HTML Editor by Automattic Inc.
22-
DESC
13+
s.homepage = 'https://github.com/wordpress-mobile/AztecEditor-iOS'
14+
s.license = { :type => 'MPLv2', :file => 'LICENSE.md' }
15+
s.author = { 'The WordPress Mobile Team' => 'mobile@wordpress.org' }
2316

24-
s.homepage = 'https://github.com/wordpress-mobile/WordPress-Aztec-iOS'
25-
# s.screenshots = 'www.example.com/screenshots_1', 'www.example.com/screenshots_2'
26-
s.license = { :type => 'MPLv2', :file => 'LICENSE.md' }
27-
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' }
28-
s.source = { :git => 'https://github.com/wordpress-mobile/WordPress-Aztec-iOS.git', :tag => s.version.to_s }
2917
s.ios.deployment_target = '11.0'
3018
s.swift_version = '5.0'
19+
20+
s.source = { :git => 'https://github.com/wordpress-mobile/AztecEditor-iOS.git', :tag => s.version.to_s }
3121
s.module_name = "WordPressEditor"
3222
s.source_files = 'WordPressEditor/WordPressEditor/Classes/**/*'
3323
s.resources = 'WordPressEditor/WordPressEditor/Assets/**/*'
34-
35-
s.xcconfig = {'OTHER_LDFLAGS' => '-lxml2',
36-
'HEADER_SEARCH_PATHS' => '/usr/include/libxml2'}
24+
s.xcconfig = {
25+
'OTHER_LDFLAGS' => '-lxml2',
26+
'HEADER_SEARCH_PATHS' => '/usr/include/libxml2'
27+
}
3728

3829
s.dependency "WordPress-Aztec-iOS", s.version.to_s
3930
end

0 commit comments

Comments
 (0)