cocoapods 0.33.1 → 0.34.0.rc1

Sign up to get free protection for your applications and to get access to all the features.
Files changed (74) hide show
  1. checksums.yaml +4 -4
  2. data/CHANGELOG.md +171 -46
  3. data/README.md +9 -9
  4. data/bin/pod +5 -5
  5. data/bin/sandbox-pod +2 -6
  6. data/lib/cocoapods.rb +4 -4
  7. data/lib/cocoapods/command.rb +12 -10
  8. data/lib/cocoapods/command/init.rb +12 -13
  9. data/lib/cocoapods/command/inter_process_communication.rb +6 -17
  10. data/lib/cocoapods/command/lib.rb +27 -24
  11. data/lib/cocoapods/command/list.rb +9 -9
  12. data/lib/cocoapods/command/outdated.rb +4 -9
  13. data/lib/cocoapods/command/project.rb +57 -19
  14. data/lib/cocoapods/command/push.rb +0 -1
  15. data/lib/cocoapods/command/repo.rb +14 -15
  16. data/lib/cocoapods/command/repo/push.rb +24 -19
  17. data/lib/cocoapods/command/search.rb +12 -13
  18. data/lib/cocoapods/command/setup.rb +10 -9
  19. data/lib/cocoapods/command/spec.rb +67 -63
  20. data/lib/cocoapods/config.rb +21 -54
  21. data/lib/cocoapods/downloader.rb +0 -1
  22. data/lib/cocoapods/executable.rb +3 -8
  23. data/lib/cocoapods/external_sources.rb +2 -4
  24. data/lib/cocoapods/external_sources/abstract_external_source.rb +15 -10
  25. data/lib/cocoapods/external_sources/downloader_source.rb +0 -2
  26. data/lib/cocoapods/external_sources/path_source.rb +1 -4
  27. data/lib/cocoapods/external_sources/podspec_source.rb +1 -3
  28. data/lib/cocoapods/gem_version.rb +1 -2
  29. data/lib/cocoapods/generator/acknowledgements.rb +5 -8
  30. data/lib/cocoapods/generator/acknowledgements/markdown.rb +5 -7
  31. data/lib/cocoapods/generator/acknowledgements/plist.rb +9 -10
  32. data/lib/cocoapods/generator/bridge_support.rb +1 -1
  33. data/lib/cocoapods/generator/copy_resources_script.rb +10 -14
  34. data/lib/cocoapods/generator/dummy_source.rb +3 -3
  35. data/lib/cocoapods/generator/prefix_header.rb +15 -16
  36. data/lib/cocoapods/generator/target_environment_header.rb +122 -36
  37. data/lib/cocoapods/generator/xcconfig.rb +0 -4
  38. data/lib/cocoapods/generator/xcconfig/aggregate_xcconfig.rb +74 -65
  39. data/lib/cocoapods/generator/xcconfig/private_pod_xcconfig.rb +92 -95
  40. data/lib/cocoapods/generator/xcconfig/public_pod_xcconfig.rb +48 -51
  41. data/lib/cocoapods/generator/xcconfig/xcconfig_helper.rb +10 -10
  42. data/lib/cocoapods/hooks/installer_representation.rb +15 -18
  43. data/lib/cocoapods/hooks/library_representation.rb +4 -8
  44. data/lib/cocoapods/hooks/pod_representation.rb +1 -5
  45. data/lib/cocoapods/hooks_manager.rb +63 -0
  46. data/lib/cocoapods/installer.rb +60 -47
  47. data/lib/cocoapods/installer/analyzer.rb +60 -62
  48. data/lib/cocoapods/installer/analyzer/sandbox_analyzer.rb +5 -8
  49. data/lib/cocoapods/installer/file_references_installer.rb +7 -10
  50. data/lib/cocoapods/installer/hooks_context.rb +74 -0
  51. data/lib/cocoapods/installer/migrator.rb +99 -0
  52. data/lib/cocoapods/installer/pod_source_installer.rb +9 -29
  53. data/lib/cocoapods/installer/target_installer.rb +7 -17
  54. data/lib/cocoapods/installer/target_installer/aggregate_target_installer.rb +40 -41
  55. data/lib/cocoapods/installer/target_installer/pod_target_installer.rb +43 -54
  56. data/lib/cocoapods/installer/user_project_integrator.rb +54 -10
  57. data/lib/cocoapods/installer/user_project_integrator/target_integrator.rb +66 -117
  58. data/lib/cocoapods/installer/user_project_integrator/target_integrator/xcconfig_integrator.rb +116 -0
  59. data/lib/cocoapods/open_uri.rb +1 -2
  60. data/lib/cocoapods/project.rb +34 -8
  61. data/lib/cocoapods/resolver.rb +43 -21
  62. data/lib/cocoapods/sandbox.rb +80 -75
  63. data/lib/cocoapods/sandbox/file_accessor.rb +3 -8
  64. data/lib/cocoapods/sandbox/headers_store.rb +6 -7
  65. data/lib/cocoapods/sandbox/path_list.rb +7 -10
  66. data/lib/cocoapods/sources_manager.rb +81 -49
  67. data/lib/cocoapods/target.rb +18 -12
  68. data/lib/cocoapods/target/aggregate_target.rb +43 -18
  69. data/lib/cocoapods/target/pod_target.rb +37 -4
  70. data/lib/cocoapods/user_interface.rb +19 -18
  71. data/lib/cocoapods/user_interface/error_report.rb +23 -4
  72. data/lib/cocoapods/validator.rb +30 -33
  73. metadata +100 -73
  74. data/lib/cocoapods/command/help.rb +0 -25
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: cocoapods
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.33.1
4
+ version: 0.34.0.rc1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Eloy Duran
@@ -9,7 +9,7 @@ authors:
9
9
  autorequire:
10
10
  bindir: bin
11
11
  cert_chain: []
12
- date: 2014-05-20 00:00:00.000000000 Z
12
+ date: 2014-09-13 00:00:00.000000000 Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: cocoapods-core
@@ -17,200 +17,228 @@ dependencies:
17
17
  requirements:
18
18
  - - '='
19
19
  - !ruby/object:Gem::Version
20
- version: 0.33.1
20
+ version: 0.34.0.rc1
21
21
  type: :runtime
22
22
  prerelease: false
23
23
  version_requirements: !ruby/object:Gem::Requirement
24
24
  requirements:
25
25
  - - '='
26
26
  - !ruby/object:Gem::Version
27
- version: 0.33.1
27
+ version: 0.34.0.rc1
28
28
  - !ruby/object:Gem::Dependency
29
29
  name: claide
30
30
  requirement: !ruby/object:Gem::Requirement
31
31
  requirements:
32
- - - "~>"
32
+ - - ~>
33
33
  - !ruby/object:Gem::Version
34
- version: 0.6.1
34
+ version: 0.7.0
35
35
  type: :runtime
36
36
  prerelease: false
37
37
  version_requirements: !ruby/object:Gem::Requirement
38
38
  requirements:
39
- - - "~>"
39
+ - - ~>
40
40
  - !ruby/object:Gem::Version
41
- version: 0.6.1
41
+ version: 0.7.0
42
42
  - !ruby/object:Gem::Dependency
43
43
  name: xcodeproj
44
44
  requirement: !ruby/object:Gem::Requirement
45
45
  requirements:
46
- - - "~>"
46
+ - - ~>
47
47
  - !ruby/object:Gem::Version
48
- version: 0.17.0
48
+ version: 0.19.1
49
49
  type: :runtime
50
50
  prerelease: false
51
51
  version_requirements: !ruby/object:Gem::Requirement
52
52
  requirements:
53
- - - "~>"
53
+ - - ~>
54
54
  - !ruby/object:Gem::Version
55
- version: 0.17.0
55
+ version: 0.19.1
56
56
  - !ruby/object:Gem::Dependency
57
57
  name: cocoapods-downloader
58
58
  requirement: !ruby/object:Gem::Requirement
59
59
  requirements:
60
- - - "~>"
60
+ - - ~>
61
61
  - !ruby/object:Gem::Version
62
- version: 0.6.1
62
+ version: 0.7.0
63
63
  type: :runtime
64
64
  prerelease: false
65
65
  version_requirements: !ruby/object:Gem::Requirement
66
66
  requirements:
67
- - - "~>"
67
+ - - ~>
68
68
  - !ruby/object:Gem::Version
69
- version: 0.6.1
69
+ version: 0.7.0
70
70
  - !ruby/object:Gem::Dependency
71
71
  name: cocoapods-plugins
72
72
  requirement: !ruby/object:Gem::Requirement
73
73
  requirements:
74
- - - "~>"
74
+ - - ~>
75
75
  - !ruby/object:Gem::Version
76
- version: 0.2.0
76
+ version: 0.3.1
77
77
  type: :runtime
78
78
  prerelease: false
79
79
  version_requirements: !ruby/object:Gem::Requirement
80
80
  requirements:
81
- - - "~>"
81
+ - - ~>
82
82
  - !ruby/object:Gem::Version
83
- version: 0.2.0
83
+ version: 0.3.1
84
84
  - !ruby/object:Gem::Dependency
85
85
  name: cocoapods-try
86
86
  requirement: !ruby/object:Gem::Requirement
87
87
  requirements:
88
- - - "~>"
88
+ - - ~>
89
89
  - !ruby/object:Gem::Version
90
- version: 0.3.0
90
+ version: 0.4.0
91
91
  type: :runtime
92
92
  prerelease: false
93
93
  version_requirements: !ruby/object:Gem::Requirement
94
94
  requirements:
95
- - - "~>"
95
+ - - ~>
96
96
  - !ruby/object:Gem::Version
97
- version: 0.3.0
97
+ version: 0.4.0
98
98
  - !ruby/object:Gem::Dependency
99
99
  name: cocoapods-trunk
100
100
  requirement: !ruby/object:Gem::Requirement
101
101
  requirements:
102
- - - "~>"
102
+ - - ~>
103
103
  - !ruby/object:Gem::Version
104
- version: 0.1.1
104
+ version: 0.2.0
105
105
  type: :runtime
106
106
  prerelease: false
107
107
  version_requirements: !ruby/object:Gem::Requirement
108
108
  requirements:
109
- - - "~>"
109
+ - - ~>
110
110
  - !ruby/object:Gem::Version
111
- version: 0.1.1
111
+ version: 0.2.0
112
112
  - !ruby/object:Gem::Dependency
113
113
  name: colored
114
114
  requirement: !ruby/object:Gem::Requirement
115
115
  requirements:
116
- - - "~>"
116
+ - - ~>
117
117
  - !ruby/object:Gem::Version
118
118
  version: '1.2'
119
119
  type: :runtime
120
120
  prerelease: false
121
121
  version_requirements: !ruby/object:Gem::Requirement
122
122
  requirements:
123
- - - "~>"
123
+ - - ~>
124
124
  - !ruby/object:Gem::Version
125
125
  version: '1.2'
126
126
  - !ruby/object:Gem::Dependency
127
127
  name: escape
128
128
  requirement: !ruby/object:Gem::Requirement
129
129
  requirements:
130
- - - "~>"
130
+ - - ~>
131
131
  - !ruby/object:Gem::Version
132
132
  version: 0.0.4
133
133
  type: :runtime
134
134
  prerelease: false
135
135
  version_requirements: !ruby/object:Gem::Requirement
136
136
  requirements:
137
- - - "~>"
137
+ - - ~>
138
138
  - !ruby/object:Gem::Version
139
139
  version: 0.0.4
140
140
  - !ruby/object:Gem::Dependency
141
141
  name: json_pure
142
142
  requirement: !ruby/object:Gem::Requirement
143
143
  requirements:
144
- - - "~>"
144
+ - - ~>
145
145
  - !ruby/object:Gem::Version
146
146
  version: '1.8'
147
147
  type: :runtime
148
148
  prerelease: false
149
149
  version_requirements: !ruby/object:Gem::Requirement
150
150
  requirements:
151
- - - "~>"
151
+ - - ~>
152
152
  - !ruby/object:Gem::Version
153
153
  version: '1.8'
154
154
  - !ruby/object:Gem::Dependency
155
155
  name: open4
156
156
  requirement: !ruby/object:Gem::Requirement
157
157
  requirements:
158
- - - "~>"
158
+ - - ~>
159
159
  - !ruby/object:Gem::Version
160
160
  version: '1.3'
161
161
  type: :runtime
162
162
  prerelease: false
163
163
  version_requirements: !ruby/object:Gem::Requirement
164
164
  requirements:
165
- - - "~>"
165
+ - - ~>
166
166
  - !ruby/object:Gem::Version
167
167
  version: '1.3'
168
168
  - !ruby/object:Gem::Dependency
169
169
  name: activesupport
170
170
  requirement: !ruby/object:Gem::Requirement
171
171
  requirements:
172
- - - ">="
172
+ - - '>='
173
173
  - !ruby/object:Gem::Version
174
174
  version: 3.2.15
175
- - - "<"
175
+ - - <
176
176
  - !ruby/object:Gem::Version
177
177
  version: '4'
178
178
  type: :runtime
179
179
  prerelease: false
180
180
  version_requirements: !ruby/object:Gem::Requirement
181
181
  requirements:
182
- - - ">="
182
+ - - '>='
183
183
  - !ruby/object:Gem::Version
184
184
  version: 3.2.15
185
- - - "<"
185
+ - - <
186
186
  - !ruby/object:Gem::Version
187
187
  version: '4'
188
188
  - !ruby/object:Gem::Dependency
189
189
  name: nap
190
190
  requirement: !ruby/object:Gem::Requirement
191
191
  requirements:
192
- - - "~>"
192
+ - - ~>
193
193
  - !ruby/object:Gem::Version
194
- version: '0.7'
194
+ version: '0.8'
195
195
  type: :runtime
196
196
  prerelease: false
197
197
  version_requirements: !ruby/object:Gem::Requirement
198
198
  requirements:
199
- - - "~>"
199
+ - - ~>
200
+ - !ruby/object:Gem::Version
201
+ version: '0.8'
202
+ - !ruby/object:Gem::Dependency
203
+ name: bundler
204
+ requirement: !ruby/object:Gem::Requirement
205
+ requirements:
206
+ - - ~>
207
+ - !ruby/object:Gem::Version
208
+ version: '1.3'
209
+ type: :development
210
+ prerelease: false
211
+ version_requirements: !ruby/object:Gem::Requirement
212
+ requirements:
213
+ - - ~>
214
+ - !ruby/object:Gem::Version
215
+ version: '1.3'
216
+ - !ruby/object:Gem::Dependency
217
+ name: rake
218
+ requirement: !ruby/object:Gem::Requirement
219
+ requirements:
220
+ - - '>='
221
+ - !ruby/object:Gem::Version
222
+ version: '0'
223
+ type: :development
224
+ prerelease: false
225
+ version_requirements: !ruby/object:Gem::Requirement
226
+ requirements:
227
+ - - '>='
200
228
  - !ruby/object:Gem::Version
201
- version: '0.7'
229
+ version: '0'
202
230
  - !ruby/object:Gem::Dependency
203
231
  name: bacon
204
232
  requirement: !ruby/object:Gem::Requirement
205
233
  requirements:
206
- - - "~>"
234
+ - - ~>
207
235
  - !ruby/object:Gem::Version
208
236
  version: '1.1'
209
237
  type: :development
210
238
  prerelease: false
211
239
  version_requirements: !ruby/object:Gem::Requirement
212
240
  requirements:
213
- - - "~>"
241
+ - - ~>
214
242
  - !ruby/object:Gem::Version
215
243
  version: '1.1'
216
244
  description: |-
@@ -228,14 +256,6 @@ executables:
228
256
  extensions: []
229
257
  extra_rdoc_files: []
230
258
  files:
231
- - CHANGELOG.md
232
- - LICENSE
233
- - README.md
234
- - bin/pod
235
- - bin/sandbox-pod
236
- - lib/cocoapods.rb
237
- - lib/cocoapods/command.rb
238
- - lib/cocoapods/command/help.rb
239
259
  - lib/cocoapods/command/init.rb
240
260
  - lib/cocoapods/command/inter_process_communication.rb
241
261
  - lib/cocoapods/command/lib.rb
@@ -243,85 +263,92 @@ files:
243
263
  - lib/cocoapods/command/outdated.rb
244
264
  - lib/cocoapods/command/project.rb
245
265
  - lib/cocoapods/command/push.rb
246
- - lib/cocoapods/command/repo.rb
247
266
  - lib/cocoapods/command/repo/push.rb
267
+ - lib/cocoapods/command/repo.rb
248
268
  - lib/cocoapods/command/search.rb
249
269
  - lib/cocoapods/command/setup.rb
250
270
  - lib/cocoapods/command/spec.rb
271
+ - lib/cocoapods/command.rb
251
272
  - lib/cocoapods/config.rb
252
273
  - lib/cocoapods/downloader.rb
253
274
  - lib/cocoapods/executable.rb
254
- - lib/cocoapods/external_sources.rb
255
275
  - lib/cocoapods/external_sources/abstract_external_source.rb
256
276
  - lib/cocoapods/external_sources/downloader_source.rb
257
277
  - lib/cocoapods/external_sources/path_source.rb
258
278
  - lib/cocoapods/external_sources/podspec_source.rb
279
+ - lib/cocoapods/external_sources.rb
259
280
  - lib/cocoapods/gem_version.rb
260
- - lib/cocoapods/generator/acknowledgements.rb
261
281
  - lib/cocoapods/generator/acknowledgements/markdown.rb
262
282
  - lib/cocoapods/generator/acknowledgements/plist.rb
283
+ - lib/cocoapods/generator/acknowledgements.rb
263
284
  - lib/cocoapods/generator/bridge_support.rb
264
285
  - lib/cocoapods/generator/copy_resources_script.rb
265
286
  - lib/cocoapods/generator/dummy_source.rb
266
287
  - lib/cocoapods/generator/prefix_header.rb
267
288
  - lib/cocoapods/generator/target_environment_header.rb
268
- - lib/cocoapods/generator/xcconfig.rb
269
289
  - lib/cocoapods/generator/xcconfig/aggregate_xcconfig.rb
270
290
  - lib/cocoapods/generator/xcconfig/private_pod_xcconfig.rb
271
291
  - lib/cocoapods/generator/xcconfig/public_pod_xcconfig.rb
272
292
  - lib/cocoapods/generator/xcconfig/xcconfig_helper.rb
293
+ - lib/cocoapods/generator/xcconfig.rb
273
294
  - lib/cocoapods/hooks/installer_representation.rb
274
295
  - lib/cocoapods/hooks/library_representation.rb
275
296
  - lib/cocoapods/hooks/pod_representation.rb
276
- - lib/cocoapods/installer.rb
277
- - lib/cocoapods/installer/analyzer.rb
297
+ - lib/cocoapods/hooks_manager.rb
278
298
  - lib/cocoapods/installer/analyzer/sandbox_analyzer.rb
299
+ - lib/cocoapods/installer/analyzer.rb
279
300
  - lib/cocoapods/installer/file_references_installer.rb
301
+ - lib/cocoapods/installer/hooks_context.rb
302
+ - lib/cocoapods/installer/migrator.rb
280
303
  - lib/cocoapods/installer/pod_source_installer.rb
281
- - lib/cocoapods/installer/target_installer.rb
282
304
  - lib/cocoapods/installer/target_installer/aggregate_target_installer.rb
283
305
  - lib/cocoapods/installer/target_installer/pod_target_installer.rb
284
- - lib/cocoapods/installer/user_project_integrator.rb
306
+ - lib/cocoapods/installer/target_installer.rb
307
+ - lib/cocoapods/installer/user_project_integrator/target_integrator/xcconfig_integrator.rb
285
308
  - lib/cocoapods/installer/user_project_integrator/target_integrator.rb
309
+ - lib/cocoapods/installer/user_project_integrator.rb
310
+ - lib/cocoapods/installer.rb
286
311
  - lib/cocoapods/open_uri.rb
287
312
  - lib/cocoapods/project.rb
288
313
  - lib/cocoapods/resolver.rb
289
- - lib/cocoapods/sandbox.rb
290
314
  - lib/cocoapods/sandbox/file_accessor.rb
291
315
  - lib/cocoapods/sandbox/headers_store.rb
292
316
  - lib/cocoapods/sandbox/path_list.rb
317
+ - lib/cocoapods/sandbox.rb
293
318
  - lib/cocoapods/sources_manager.rb
294
- - lib/cocoapods/target.rb
295
319
  - lib/cocoapods/target/aggregate_target.rb
296
320
  - lib/cocoapods/target/pod_target.rb
297
- - lib/cocoapods/user_interface.rb
321
+ - lib/cocoapods/target.rb
298
322
  - lib/cocoapods/user_interface/error_report.rb
323
+ - lib/cocoapods/user_interface.rb
299
324
  - lib/cocoapods/validator.rb
325
+ - lib/cocoapods.rb
326
+ - bin/pod
327
+ - bin/sandbox-pod
328
+ - README.md
329
+ - LICENSE
330
+ - CHANGELOG.md
300
331
  homepage: https://github.com/CocoaPods/CocoaPods
301
332
  licenses:
302
333
  - MIT
303
334
  metadata: {}
304
- post_install_message: "\nCHANGELOG:\n\n## 0.33.1\n\n##### Bug Fixes\n\n* Fix `pod
305
- spec lint` for `json` podspecs. \n [Fabio Pelosin][irrationalfab]\n [#2157](https://github.com/CocoaPods/CocoaPods/issues/2157)\n\n*
306
- Fixed downloader issues related to `json` podspecs. \n [Fabio Pelosin][irrationalfab]\n
307
- \ [#2158](https://github.com/CocoaPods/CocoaPods/issues/2158)\n\n* Fixed `--no-ansi`
308
- flag in help banners. \n [Fabio Pelosin][irrationalfab]\n [#34](https://github.com/CocoaPods/CLAide/issues/34)\n\n"
335
+ post_install_message:
309
336
  rdoc_options: []
310
337
  require_paths:
311
338
  - lib
312
339
  required_ruby_version: !ruby/object:Gem::Requirement
313
340
  requirements:
314
- - - ">="
341
+ - - '>='
315
342
  - !ruby/object:Gem::Version
316
343
  version: 1.8.7
317
344
  required_rubygems_version: !ruby/object:Gem::Requirement
318
345
  requirements:
319
- - - ">="
346
+ - - '>='
320
347
  - !ruby/object:Gem::Version
321
348
  version: '0'
322
349
  requirements: []
323
350
  rubyforge_project:
324
- rubygems_version: 2.2.2
351
+ rubygems_version: 2.0.14
325
352
  signing_key:
326
353
  specification_version: 3
327
354
  summary: An Objective-C library package manager.
@@ -1,25 +0,0 @@
1
- module Pod
2
- class Command
3
- class Help < Command
4
- self.summary = 'Show help for the given command.'
5
- self.arguments = [
6
- ['COMMAND', :optional]
7
- ]
8
-
9
- def initialize(argv)
10
- @help_command = Pod::Command.parse(argv)
11
- super
12
- end
13
-
14
- def run
15
- help_command.help!
16
- end
17
-
18
- private
19
-
20
- def help_command
21
- @help_command
22
- end
23
- end
24
- end
25
- end