File tree Expand file tree Collapse file tree 3 files changed +25
-11
lines changed Expand file tree Collapse file tree 3 files changed +25
-11
lines changed Original file line number Diff line number Diff line change
1
+ # Opt in to new cops by default
2
+ AllCops :
3
+ NewCops : enable
4
+
5
+ # Allow the Podspec filename to match the project
6
+ Naming/FileName :
7
+ Exclude :
8
+ - ' WordPress-Aztec-iOS.podspec'
9
+ - ' WordPress-Editor-iOS.podspec'
10
+ - ' Example/Carthage/Checkouts/Gridicons-iOS/Gridicons.podspec'
Original file line number Diff line number Diff line change
1
+ # frozen_string_literal: true
2
+
1
3
Pod ::Spec . new do |s |
2
4
s . name = 'WordPress-Aztec-iOS'
3
5
s . version = '1.19.8'
@@ -7,21 +9,21 @@ Pod::Spec.new do |s|
7
9
The native HTML Editor by Automattic Inc.
8
10
9
11
This library provides a UITextView subclass with HTML visual editing capabilities.
10
- DESC
12
+ DESC
11
13
12
14
s . homepage = 'https://github.com/wordpress-mobile/AztecEditor-iOS'
13
- s . license = { : type => 'MPLv2' , : file => 'LICENSE.md' }
15
+ s . license = { type : 'MPLv2' , file : 'LICENSE.md' }
14
16
s . author = { 'The WordPress Mobile Team' => '[email protected] ' }
15
17
16
18
s . ios . deployment_target = '11.0'
17
19
s . swift_version = '5.0'
18
20
19
- s . source = { : git => 'https://github.com/wordpress-mobile/AztecEditor-iOS.git' , : tag => s . version . to_s }
20
- s . module_name = " Aztec"
21
+ s . source = { git : 'https://github.com/wordpress-mobile/AztecEditor-iOS.git' , tag : s . version . to_s }
22
+ s . module_name = ' Aztec'
21
23
s . source_files = 'Aztec/Classes/**/*'
22
24
s . resource_bundles = {
23
25
'WordPress-Aztec-iOS' : [
24
- " Aztec/Assets/**/*"
26
+ ' Aztec/Assets/**/*'
25
27
]
26
28
}
27
29
s . xcconfig = {
Original file line number Diff line number Diff line change
1
+ # frozen_string_literal: true
2
+
1
3
Pod ::Spec . new do |s |
2
4
s . name = 'WordPress-Editor-iOS'
3
5
s . version = '1.19.8'
@@ -8,23 +10,23 @@ Pod::Spec.new do |s|
8
10
9
11
This library provides a UITextView subclass with HTML visual editing capabilities.
10
12
Use this library if you want to create an App that interacts with WordPress HTML content.
11
- DESC
13
+ DESC
12
14
13
15
s . homepage = 'https://github.com/wordpress-mobile/AztecEditor-iOS'
14
- s . license = { : type => 'MPLv2' , : file => 'LICENSE.md' }
16
+ s . license = { type : 'MPLv2' , file : 'LICENSE.md' }
15
17
s . author = { 'The WordPress Mobile Team' => '[email protected] ' }
16
18
17
19
s . ios . deployment_target = '11.0'
18
20
s . swift_version = '5.0'
19
-
20
- s . source = { : git => 'https://github.com/wordpress-mobile/AztecEditor-iOS.git' , : tag => s . version . to_s }
21
- s . module_name = " WordPressEditor"
21
+
22
+ s . source = { git : 'https://github.com/wordpress-mobile/AztecEditor-iOS.git' , tag : s . version . to_s }
23
+ s . module_name = ' WordPressEditor'
22
24
s . source_files = 'WordPressEditor/WordPressEditor/Classes/**/*'
23
25
s . resources = 'WordPressEditor/WordPressEditor/Assets/**/*'
24
26
s . xcconfig = {
25
27
'OTHER_LDFLAGS' => '-lxml2' ,
26
28
'HEADER_SEARCH_PATHS' => '/usr/include/libxml2'
27
29
}
28
30
29
- s . dependency " WordPress-Aztec-iOS" , s . version . to_s
31
+ s . dependency ' WordPress-Aztec-iOS' , s . version . to_s
30
32
end
You can’t perform that action at this time.
0 commit comments