Skip to content

Commit b146b82

Browse files
authored
Use Ruby 1.9 hash syntax in Podfile suggestion comments (#19963)
2 parents 27b5988 + 880311f commit b146b82

File tree

2 files changed

+24
-25
lines changed

2 files changed

+24
-25
lines changed

Podfile

Lines changed: 23 additions & 24 deletions
Original file line numberDiff line numberDiff line change
@@ -31,34 +31,34 @@ def aztec
3131
## When using a tagged version, feel free to comment out the WordPress-Aztec-iOS line below.
3232
## When using a commit number (during development) you should provide the same commit number for both pods.
3333
##
34-
# pod 'WordPress-Aztec-iOS', :git => 'https://github.com/wordpress-mobile/AztecEditor-iOS.git', :commit => ''
35-
# pod 'WordPress-Editor-iOS', :git => 'https://github.com/wordpress-mobile/AztecEditor-iOS.git', :commit => ''
36-
# pod 'WordPress-Editor-iOS', :git => 'https://github.com/wordpress-mobile/AztecEditor-iOS.git', :tag => ''
37-
# pod 'WordPress-Editor-iOS', :path => '../AztecEditor-iOS'
34+
# pod 'WordPress-Aztec-iOS', git: 'https://github.com/wordpress-mobile/AztecEditor-iOS.git', commit: ''
35+
# pod 'WordPress-Editor-iOS', git: 'https://github.com/wordpress-mobile/AztecEditor-iOS.git', commit: ''
36+
# pod 'WordPress-Editor-iOS', git: 'https://github.com/wordpress-mobile/AztecEditor-iOS.git', tag: ''
37+
# pod 'WordPress-Editor-iOS', path: '../AztecEditor-iOS'
3838
pod 'WordPress-Editor-iOS', '~> 1.19.8'
3939
end
4040

4141
def wordpress_ui
4242
pod 'WordPressUI', '~> 1.12.5'
43-
# pod 'WordPressUI', :git => 'https://github.com/wordpress-mobile/WordPressUI-iOS', :tag => ''
44-
# pod 'WordPressUI', :git => 'https://github.com/wordpress-mobile/WordPressUI-iOS', :branch => ''
45-
# pod 'WordPressUI', :git => 'https://github.com/wordpress-mobile/WordPressUI-iOS', :commit => ''
46-
# pod 'WordPressUI', :path => '../WordPressUI-iOS'
43+
# pod 'WordPressUI', git: 'https://github.com/wordpress-mobile/WordPressUI-iOS', tag: ''
44+
# pod 'WordPressUI', git: 'https://github.com/wordpress-mobile/WordPressUI-iOS', branch: ''
45+
# pod 'WordPressUI', git: 'https://github.com/wordpress-mobile/WordPressUI-iOS', commit: ''
46+
# pod 'WordPressUI', path: '../WordPressUI-iOS'
4747
end
4848

4949
def wordpress_kit
5050
pod 'WordPressKit', '~> 5.0'
51-
# pod 'WordPressKit', :git => 'https://github.com/wordpress-mobile/WordPressKit-iOS.git', :tag => ''
52-
# pod 'WordPressKit', :git => 'https://github.com/wordpress-mobile/WordPressKit-iOS.git', :branch => ''
53-
# pod 'WordPressKit', :git => 'https://github.com/wordpress-mobile/WordPressKit-iOS.git', :commit => ''
54-
# pod 'WordPressKit', :path => '../WordPressKit-iOS'
51+
# pod 'WordPressKit', git: 'https://github.com/wordpress-mobile/WordPressKit-iOS.git', tag: ''
52+
# pod 'WordPressKit', git: 'https://github.com/wordpress-mobile/WordPressKit-iOS.git', branch: ''
53+
# pod 'WordPressKit', git: 'https://github.com/wordpress-mobile/WordPressKit-iOS.git', commit: ''
54+
# pod 'WordPressKit', path: '../WordPressKit-iOS'
5555
end
5656

5757
def kanvas
5858
pod 'Kanvas', '~> 1.4.4'
59-
# pod 'Kanvas', :git => 'https://github.com/tumblr/Kanvas-iOS.git', :tag => ''
60-
# pod 'Kanvas', :git => 'https://github.com/tumblr/Kanvas-iOS.git', :commit => ''
61-
# pod 'Kanvas', :path => '../Kanvas-iOS'
59+
# pod 'Kanvas', git: 'https://github.com/tumblr/Kanvas-iOS.git', tag: ''
60+
# pod 'Kanvas', git: 'https://github.com/tumblr/Kanvas-iOS.git', commit: ''
61+
# pod 'Kanvas', path: '../Kanvas-iOS'
6262
end
6363

6464
def shared_with_all_pods
@@ -219,28 +219,27 @@ abstract_target 'Apps' do
219219

220220
pod 'Automattic-Tracks-iOS', '~> 0.13'
221221
# While in PR
222-
# pod 'Automattic-Tracks-iOS', :git => 'https://github.com/Automattic/Automattic-Tracks-iOS.git', :branch => ''
222+
# pod 'Automattic-Tracks-iOS', git: 'https://github.com/Automattic/Automattic-Tracks-iOS.git', branch: ''
223223
# Local Development
224-
# pod 'Automattic-Tracks-iOS', :path => '~/Projects/Automattic-Tracks-iOS'
224+
# pod 'Automattic-Tracks-iOS', path: '~/Projects/Automattic-Tracks-iOS'
225225

226226
pod 'NSURL+IDN', '~> 0.4'
227227

228228
pod 'WPMediaPicker', '~> 1.8.7'
229-
# pod 'WPMediaPicker', :git => 'https://github.com/wordpress-mobile/MediaPicker-iOS.git', :tag => '1.7.0'
230229
## while PR is in review:
231-
# pod 'WPMediaPicker', :git => 'https://github.com/wordpress-mobile/MediaPicker-iOS.git', :branch => ''
232-
# pod 'WPMediaPicker', :path => '../MediaPicker-iOS'
230+
# pod 'WPMediaPicker', git: 'https://github.com/wordpress-mobile/MediaPicker-iOS.git', branch: ''
231+
# pod 'WPMediaPicker', path: '../MediaPicker-iOS'
233232

234233
pod 'Gridicons', '~> 1.1.0'
235234

236235
pod 'WordPressAuthenticator', '~> 5.1.0-beta.1'
237236
# pod 'WordPressAuthenticator', git: 'https://github.com/wordpress-mobile/WordPressAuthenticator-iOS.git', branch: 'trunk'
238-
# pod 'WordPressAuthenticator', :git => 'https://github.com/wordpress-mobile/WordPressAuthenticator-iOS.git', :commit => ''
239-
# 'WordPressAuthenticator', :path => '../WordPressAuthenticator-iOS'
237+
# pod 'WordPressAuthenticator', git: 'https://github.com/wordpress-mobile/WordPressAuthenticator-iOS.git', commit: ''
238+
# pod 'WordPressAuthenticator', path: '../WordPressAuthenticator-iOS'
240239

241240
pod 'MediaEditor', '~> 1.2.1'
242-
# pod 'MediaEditor', :git => 'https://github.com/wordpress-mobile/MediaEditor-iOS.git', :commit => 'a4178ed9b0f3622faafb41dd12503e26c5523a32'
243-
# pod 'MediaEditor', :path => '../MediaEditor-iOS'
241+
# pod 'MediaEditor', git: 'https://github.com/wordpress-mobile/MediaEditor-iOS.git', commit: ''
242+
# pod 'MediaEditor', path: '../MediaEditor-iOS'
244243

245244
aztec
246245
wordpress_ui

Podfile.lock

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -892,6 +892,6 @@ SPEC CHECKSUMS:
892892
ZendeskSupportSDK: 3a8e508ab1d9dd22dc038df6c694466414e037ba
893893
ZIPFoundation: ae5b4b813d216d3bf0a148773267fff14bd51d37
894894

895-
PODFILE CHECKSUM: f8308fda9ad581e150fd428153ddb030464fe36b
895+
PODFILE CHECKSUM: 9a5962a15ab668001aeacd90bcfbf145409101c9
896896

897897
COCOAPODS: 1.11.2

0 commit comments

Comments
 (0)