cocoapods 0.39.0.beta.1 → 0.39.0.beta.2

Sign up to get free protection for your applications and to get access to all the features.
Files changed (32) hide show
  1. checksums.yaml +4 -4
  2. data/CHANGELOG.md +9 -0
  3. data/lib/cocoapods/gem_version.rb +1 -1
  4. metadata +35 -63
  5. data/lib/cocoapods/command/cache/clean.rb +0 -90
  6. data/lib/cocoapods/command/cache/list.rb +0 -69
  7. data/lib/cocoapods/command/repo/add.rb +0 -53
  8. data/lib/cocoapods/command/repo/lint.rb +0 -77
  9. data/lib/cocoapods/command/repo/list.rb +0 -93
  10. data/lib/cocoapods/command/repo/push.rb +0 -223
  11. data/lib/cocoapods/command/repo/remove.rb +0 -36
  12. data/lib/cocoapods/command/repo/update.rb +0 -27
  13. data/lib/cocoapods/command/spec/cat.rb +0 -51
  14. data/lib/cocoapods/command/spec/create.rb +0 -279
  15. data/lib/cocoapods/command/spec/edit.rb +0 -94
  16. data/lib/cocoapods/command/spec/lint.rb +0 -119
  17. data/lib/cocoapods/command/spec/which.rb +0 -43
  18. data/lib/cocoapods/generator/acknowledgements/markdown.rb +0 -38
  19. data/lib/cocoapods/generator/acknowledgements/plist.rb +0 -80
  20. data/lib/cocoapods/generator/xcconfig/aggregate_xcconfig.rb +0 -260
  21. data/lib/cocoapods/generator/xcconfig/pod_xcconfig.rb +0 -83
  22. data/lib/cocoapods/generator/xcconfig/xcconfig_helper.rb +0 -213
  23. data/lib/cocoapods/installer/analyzer/analysis_result.rb +0 -46
  24. data/lib/cocoapods/installer/analyzer/locking_dependency_analyzer.rb +0 -79
  25. data/lib/cocoapods/installer/analyzer/sandbox_analyzer.rb +0 -262
  26. data/lib/cocoapods/installer/analyzer/specs_state.rb +0 -76
  27. data/lib/cocoapods/installer/analyzer/target_inspection_result.rb +0 -41
  28. data/lib/cocoapods/installer/analyzer/target_inspector.rb +0 -203
  29. data/lib/cocoapods/installer/target_installer/aggregate_target_installer.rb +0 -186
  30. data/lib/cocoapods/installer/target_installer/pod_target_installer.rb +0 -297
  31. data/lib/cocoapods/installer/user_project_integrator/target_integrator.rb +0 -318
  32. data/lib/cocoapods/installer/user_project_integrator/target_integrator/xcconfig_integrator.rb +0 -173
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: d1420d88dc55621f1b695039e95c0d2b207059af
4
- data.tar.gz: 903496d7fb071cb9f992aca7f58d628a5374b13c
3
+ metadata.gz: b949eb8c6611d5d066240e8c840b072a1724b362
4
+ data.tar.gz: b7ffd732b85a767d75daa5efcfb407f429c03e33
5
5
  SHA512:
6
- metadata.gz: 86c8964744a122ba470863001645ae7a2f5c8e78ebdb42d617bed0cd615a4d51f16d84cef4743820fdb303acef2218882ec90b187d641cc7b88afc50ea4952e1
7
- data.tar.gz: 82031782768e442164f66026279a4703e84053ad3721760626baecde02485ca83d5254d6ef4cd7893a2078fefc9af876d412c7d8438006b4835427fe51553faa
6
+ metadata.gz: fdf769bff108c4622347b987dd38ddd805ff987415d3c42a89fccaa75098111c54e9a0e998019d46ed63f48598945563946485f2b820fe1c8c80e5e2e646bb9f
7
+ data.tar.gz: ca930900a069d05574f37991451501b488be0a273402c07777bb2843a4d9a76b81601b5f3dc79cf7fb6790220962e8ad5a45621fa63e3e5d7811400d6d42d8fb
@@ -4,6 +4,15 @@ To install or update CocoaPods see this [guide](http://docs.cocoapods.org/guides
4
4
 
5
5
  To install release candidates run `[sudo] gem install cocoapods --pre`
6
6
 
7
+ ## 0.39.0.beta.2 (2015-08-27)
8
+
9
+ ##### Bug Fixes
10
+
11
+ * Ensure all gem files are readable.
12
+ [Samuel Giddins](https://github.com/segiddins)
13
+ [#4085](https://github.com/CocoaPods/CocoaPods/issues/4085)
14
+
15
+
7
16
  ## 0.39.0.beta.1 (2015-08-26)
8
17
 
9
18
  ##### Breaking
@@ -1,5 +1,5 @@
1
1
  module Pod
2
2
  # The version of the cocoapods command line tool.
3
3
  #
4
- VERSION = '0.39.0.beta.1' unless defined? Pod::VERSION
4
+ VERSION = '0.39.0.beta.2' unless defined? Pod::VERSION
5
5
  end
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.39.0.beta.1
4
+ version: 0.39.0.beta.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - Eloy Duran
@@ -19,222 +19,222 @@ dependencies:
19
19
  requirements:
20
20
  - - '='
21
21
  - !ruby/object:Gem::Version
22
- version: 0.39.0.beta.1
22
+ version: 0.39.0.beta.2
23
23
  type: :runtime
24
24
  prerelease: false
25
25
  version_requirements: !ruby/object:Gem::Requirement
26
26
  requirements:
27
27
  - - '='
28
28
  - !ruby/object:Gem::Version
29
- version: 0.39.0.beta.1
29
+ version: 0.39.0.beta.2
30
30
  - !ruby/object:Gem::Dependency
31
31
  name: claide
32
32
  requirement: !ruby/object:Gem::Requirement
33
33
  requirements:
34
- - - ~>
34
+ - - "~>"
35
35
  - !ruby/object:Gem::Version
36
36
  version: 0.9.1
37
37
  type: :runtime
38
38
  prerelease: false
39
39
  version_requirements: !ruby/object:Gem::Requirement
40
40
  requirements:
41
- - - ~>
41
+ - - "~>"
42
42
  - !ruby/object:Gem::Version
43
43
  version: 0.9.1
44
44
  - !ruby/object:Gem::Dependency
45
45
  name: xcodeproj
46
46
  requirement: !ruby/object:Gem::Requirement
47
47
  requirements:
48
- - - ~>
48
+ - - "~>"
49
49
  - !ruby/object:Gem::Version
50
50
  version: 0.27.0
51
51
  type: :runtime
52
52
  prerelease: false
53
53
  version_requirements: !ruby/object:Gem::Requirement
54
54
  requirements:
55
- - - ~>
55
+ - - "~>"
56
56
  - !ruby/object:Gem::Version
57
57
  version: 0.27.0
58
58
  - !ruby/object:Gem::Dependency
59
59
  name: cocoapods-downloader
60
60
  requirement: !ruby/object:Gem::Requirement
61
61
  requirements:
62
- - - ~>
62
+ - - "~>"
63
63
  - !ruby/object:Gem::Version
64
64
  version: 0.9.2
65
65
  type: :runtime
66
66
  prerelease: false
67
67
  version_requirements: !ruby/object:Gem::Requirement
68
68
  requirements:
69
- - - ~>
69
+ - - "~>"
70
70
  - !ruby/object:Gem::Version
71
71
  version: 0.9.2
72
72
  - !ruby/object:Gem::Dependency
73
73
  name: cocoapods-plugins
74
74
  requirement: !ruby/object:Gem::Requirement
75
75
  requirements:
76
- - - ~>
76
+ - - "~>"
77
77
  - !ruby/object:Gem::Version
78
78
  version: 0.4.2
79
79
  type: :runtime
80
80
  prerelease: false
81
81
  version_requirements: !ruby/object:Gem::Requirement
82
82
  requirements:
83
- - - ~>
83
+ - - "~>"
84
84
  - !ruby/object:Gem::Version
85
85
  version: 0.4.2
86
86
  - !ruby/object:Gem::Dependency
87
87
  name: cocoapods-stats
88
88
  requirement: !ruby/object:Gem::Requirement
89
89
  requirements:
90
- - - ~>
90
+ - - "~>"
91
91
  - !ruby/object:Gem::Version
92
92
  version: 0.6.0
93
93
  type: :runtime
94
94
  prerelease: false
95
95
  version_requirements: !ruby/object:Gem::Requirement
96
96
  requirements:
97
- - - ~>
97
+ - - "~>"
98
98
  - !ruby/object:Gem::Version
99
99
  version: 0.6.0
100
100
  - !ruby/object:Gem::Dependency
101
101
  name: cocoapods-try
102
102
  requirement: !ruby/object:Gem::Requirement
103
103
  requirements:
104
- - - ~>
104
+ - - "~>"
105
105
  - !ruby/object:Gem::Version
106
106
  version: 0.5.0
107
107
  type: :runtime
108
108
  prerelease: false
109
109
  version_requirements: !ruby/object:Gem::Requirement
110
110
  requirements:
111
- - - ~>
111
+ - - "~>"
112
112
  - !ruby/object:Gem::Version
113
113
  version: 0.5.0
114
114
  - !ruby/object:Gem::Dependency
115
115
  name: cocoapods-trunk
116
116
  requirement: !ruby/object:Gem::Requirement
117
117
  requirements:
118
- - - ~>
118
+ - - "~>"
119
119
  - !ruby/object:Gem::Version
120
120
  version: 0.6.2
121
121
  type: :runtime
122
122
  prerelease: false
123
123
  version_requirements: !ruby/object:Gem::Requirement
124
124
  requirements:
125
- - - ~>
125
+ - - "~>"
126
126
  - !ruby/object:Gem::Version
127
127
  version: 0.6.2
128
128
  - !ruby/object:Gem::Dependency
129
129
  name: molinillo
130
130
  requirement: !ruby/object:Gem::Requirement
131
131
  requirements:
132
- - - ~>
132
+ - - "~>"
133
133
  - !ruby/object:Gem::Version
134
134
  version: 0.3.1
135
135
  type: :runtime
136
136
  prerelease: false
137
137
  version_requirements: !ruby/object:Gem::Requirement
138
138
  requirements:
139
- - - ~>
139
+ - - "~>"
140
140
  - !ruby/object:Gem::Version
141
141
  version: 0.3.1
142
142
  - !ruby/object:Gem::Dependency
143
143
  name: colored
144
144
  requirement: !ruby/object:Gem::Requirement
145
145
  requirements:
146
- - - ~>
146
+ - - "~>"
147
147
  - !ruby/object:Gem::Version
148
148
  version: '1.2'
149
149
  type: :runtime
150
150
  prerelease: false
151
151
  version_requirements: !ruby/object:Gem::Requirement
152
152
  requirements:
153
- - - ~>
153
+ - - "~>"
154
154
  - !ruby/object:Gem::Version
155
155
  version: '1.2'
156
156
  - !ruby/object:Gem::Dependency
157
157
  name: escape
158
158
  requirement: !ruby/object:Gem::Requirement
159
159
  requirements:
160
- - - ~>
160
+ - - "~>"
161
161
  - !ruby/object:Gem::Version
162
162
  version: 0.0.4
163
163
  type: :runtime
164
164
  prerelease: false
165
165
  version_requirements: !ruby/object:Gem::Requirement
166
166
  requirements:
167
- - - ~>
167
+ - - "~>"
168
168
  - !ruby/object:Gem::Version
169
169
  version: 0.0.4
170
170
  - !ruby/object:Gem::Dependency
171
171
  name: activesupport
172
172
  requirement: !ruby/object:Gem::Requirement
173
173
  requirements:
174
- - - '>='
174
+ - - ">="
175
175
  - !ruby/object:Gem::Version
176
176
  version: 3.2.15
177
177
  type: :runtime
178
178
  prerelease: false
179
179
  version_requirements: !ruby/object:Gem::Requirement
180
180
  requirements:
181
- - - '>='
181
+ - - ">="
182
182
  - !ruby/object:Gem::Version
183
183
  version: 3.2.15
184
184
  - !ruby/object:Gem::Dependency
185
185
  name: nap
186
186
  requirement: !ruby/object:Gem::Requirement
187
187
  requirements:
188
- - - ~>
188
+ - - "~>"
189
189
  - !ruby/object:Gem::Version
190
190
  version: '0.8'
191
191
  type: :runtime
192
192
  prerelease: false
193
193
  version_requirements: !ruby/object:Gem::Requirement
194
194
  requirements:
195
- - - ~>
195
+ - - "~>"
196
196
  - !ruby/object:Gem::Version
197
197
  version: '0.8'
198
198
  - !ruby/object:Gem::Dependency
199
199
  name: bundler
200
200
  requirement: !ruby/object:Gem::Requirement
201
201
  requirements:
202
- - - ~>
202
+ - - "~>"
203
203
  - !ruby/object:Gem::Version
204
204
  version: '1.3'
205
205
  type: :development
206
206
  prerelease: false
207
207
  version_requirements: !ruby/object:Gem::Requirement
208
208
  requirements:
209
- - - ~>
209
+ - - "~>"
210
210
  - !ruby/object:Gem::Version
211
211
  version: '1.3'
212
212
  - !ruby/object:Gem::Dependency
213
213
  name: rake
214
214
  requirement: !ruby/object:Gem::Requirement
215
215
  requirements:
216
- - - '>='
216
+ - - ">="
217
217
  - !ruby/object:Gem::Version
218
218
  version: '0'
219
219
  type: :development
220
220
  prerelease: false
221
221
  version_requirements: !ruby/object:Gem::Requirement
222
222
  requirements:
223
- - - '>='
223
+ - - ">="
224
224
  - !ruby/object:Gem::Version
225
225
  version: '0'
226
226
  - !ruby/object:Gem::Dependency
227
227
  name: bacon
228
228
  requirement: !ruby/object:Gem::Requirement
229
229
  requirements:
230
- - - ~>
230
+ - - "~>"
231
231
  - !ruby/object:Gem::Version
232
232
  version: '1.1'
233
233
  type: :development
234
234
  prerelease: false
235
235
  version_requirements: !ruby/object:Gem::Requirement
236
236
  requirements:
237
- - - ~>
237
+ - - "~>"
238
238
  - !ruby/object:Gem::Version
239
239
  version: '1.1'
240
240
  description: |-
@@ -262,8 +262,6 @@ files:
262
262
  - lib/cocoapods.rb
263
263
  - lib/cocoapods/command.rb
264
264
  - lib/cocoapods/command/cache.rb
265
- - lib/cocoapods/command/cache/clean.rb
266
- - lib/cocoapods/command/cache/list.rb
267
265
  - lib/cocoapods/command/init.rb
268
266
  - lib/cocoapods/command/inter_process_communication.rb
269
267
  - lib/cocoapods/command/lib.rb
@@ -271,20 +269,9 @@ files:
271
269
  - lib/cocoapods/command/outdated.rb
272
270
  - lib/cocoapods/command/project.rb
273
271
  - lib/cocoapods/command/repo.rb
274
- - lib/cocoapods/command/repo/add.rb
275
- - lib/cocoapods/command/repo/lint.rb
276
- - lib/cocoapods/command/repo/list.rb
277
- - lib/cocoapods/command/repo/push.rb
278
- - lib/cocoapods/command/repo/remove.rb
279
- - lib/cocoapods/command/repo/update.rb
280
272
  - lib/cocoapods/command/search.rb
281
273
  - lib/cocoapods/command/setup.rb
282
274
  - lib/cocoapods/command/spec.rb
283
- - lib/cocoapods/command/spec/cat.rb
284
- - lib/cocoapods/command/spec/create.rb
285
- - lib/cocoapods/command/spec/edit.rb
286
- - lib/cocoapods/command/spec/lint.rb
287
- - lib/cocoapods/command/spec/which.rb
288
275
  - lib/cocoapods/config.rb
289
276
  - lib/cocoapods/downloader.rb
290
277
  - lib/cocoapods/downloader/cache.rb
@@ -298,8 +285,6 @@ files:
298
285
  - lib/cocoapods/external_sources/podspec_source.rb
299
286
  - lib/cocoapods/gem_version.rb
300
287
  - lib/cocoapods/generator/acknowledgements.rb
301
- - lib/cocoapods/generator/acknowledgements/markdown.rb
302
- - lib/cocoapods/generator/acknowledgements/plist.rb
303
288
  - lib/cocoapods/generator/bridge_support.rb
304
289
  - lib/cocoapods/generator/copy_resources_script.rb
305
290
  - lib/cocoapods/generator/dummy_source.rb
@@ -310,18 +295,9 @@ files:
310
295
  - lib/cocoapods/generator/prefix_header.rb
311
296
  - lib/cocoapods/generator/umbrella_header.rb
312
297
  - lib/cocoapods/generator/xcconfig.rb
313
- - lib/cocoapods/generator/xcconfig/aggregate_xcconfig.rb
314
- - lib/cocoapods/generator/xcconfig/pod_xcconfig.rb
315
- - lib/cocoapods/generator/xcconfig/xcconfig_helper.rb
316
298
  - lib/cocoapods/hooks_manager.rb
317
299
  - lib/cocoapods/installer.rb
318
300
  - lib/cocoapods/installer/analyzer.rb
319
- - lib/cocoapods/installer/analyzer/analysis_result.rb
320
- - lib/cocoapods/installer/analyzer/locking_dependency_analyzer.rb
321
- - lib/cocoapods/installer/analyzer/sandbox_analyzer.rb
322
- - lib/cocoapods/installer/analyzer/specs_state.rb
323
- - lib/cocoapods/installer/analyzer/target_inspection_result.rb
324
- - lib/cocoapods/installer/analyzer/target_inspector.rb
325
301
  - lib/cocoapods/installer/file_references_installer.rb
326
302
  - lib/cocoapods/installer/migrator.rb
327
303
  - lib/cocoapods/installer/pod_source_installer.rb
@@ -331,11 +307,7 @@ files:
331
307
  - lib/cocoapods/installer/pre_install_hooks_context.rb
332
308
  - lib/cocoapods/installer/source_provider_hooks_context.rb
333
309
  - lib/cocoapods/installer/target_installer.rb
334
- - lib/cocoapods/installer/target_installer/aggregate_target_installer.rb
335
- - lib/cocoapods/installer/target_installer/pod_target_installer.rb
336
310
  - lib/cocoapods/installer/user_project_integrator.rb
337
- - lib/cocoapods/installer/user_project_integrator/target_integrator.rb
338
- - lib/cocoapods/installer/user_project_integrator/target_integrator/xcconfig_integrator.rb
339
311
  - lib/cocoapods/open_uri.rb
340
312
  - lib/cocoapods/project.rb
341
313
  - lib/cocoapods/resolver.rb
@@ -363,12 +335,12 @@ require_paths:
363
335
  - lib
364
336
  required_ruby_version: !ruby/object:Gem::Requirement
365
337
  requirements:
366
- - - '>='
338
+ - - ">="
367
339
  - !ruby/object:Gem::Version
368
340
  version: 2.0.0
369
341
  required_rubygems_version: !ruby/object:Gem::Requirement
370
342
  requirements:
371
- - - '>='
343
+ - - ">="
372
344
  - !ruby/object:Gem::Version
373
345
  version: '0'
374
346
  requirements: []
@@ -1,90 +0,0 @@
1
- module Pod
2
- class Command
3
- class Cache < Command
4
- class Clean < Cache
5
- self.summary = 'Remove the cache for pods'
6
-
7
- self.description = <<-DESC
8
- Remove the cache for a given pod, or clear the cache completely.
9
-
10
- If there is multiple cache for various versions of the requested pod,
11
- you will be asked which one to clean. Use `--all` to clean them all.
12
-
13
- If you don't give a pod `NAME`, you need to specify the `--all`
14
- flag (this is to avoid cleaning all the cache by mistake).
15
- DESC
16
-
17
- self.arguments = [
18
- CLAide::Argument.new('NAME', false),
19
- ]
20
-
21
- def self.options
22
- [[
23
- '--all', 'Remove all the cached pods without asking'
24
- ]].concat(super)
25
- end
26
-
27
- def initialize(argv)
28
- @pod_name = argv.shift_argument
29
- @wipe_all = argv.flag?('all')
30
- super
31
- end
32
-
33
- def run
34
- if @pod_name.nil?
35
- # Note: at that point, @wipe_all is always true (thanks to `validate!`)
36
- # Remove all
37
- clear_cache
38
- else
39
- # Remove only cache for this pod
40
- cache_descriptors = @cache.cache_descriptors_per_pod[@pod_name]
41
- if cache_descriptors.nil?
42
- UI.notice("No cache for pod named #{@pod_name} found")
43
- elsif cache_descriptors.count > 1 && !@wipe_all
44
- # Ask which to remove
45
- choices = cache_descriptors.map { |c| "#{@pod_name} v#{c[:version]} (#{pod_type(c)})" }
46
- index = UI.choose_from_array(choices, 'Which pod cache do you want to remove?')
47
- remove_caches([cache_descriptors[index]])
48
- else
49
- # Remove all found cache of this pod
50
- remove_caches(cache_descriptors)
51
- end
52
- end
53
- end
54
-
55
- def validate!
56
- super
57
- if @pod_name.nil? && !@wipe_all
58
- # Security measure, to avoid removing the pod cache too agressively by mistake
59
- help! 'You should either specify a pod name or use the --all flag'
60
- end
61
- end
62
-
63
- private
64
-
65
- # Removes the specified cache
66
- #
67
- # @param [Array<Hash>] cache_descriptors
68
- # An array of caches to remove, each specified with the same
69
- # hash as cache_descriptors_per_pod especially :spec_file and :slug
70
- #
71
- def remove_caches(cache_descriptors)
72
- cache_descriptors.each do |desc|
73
- UI.message("Removing spec #{desc[:spec_file]} (v#{desc[:version]})") do
74
- FileUtils.rm(desc[:spec_file])
75
- end
76
- UI.message("Removing cache #{desc[:slug]}") do
77
- FileUtils.rm_rf(desc[:slug])
78
- end
79
- end
80
- end
81
-
82
- def clear_cache
83
- UI.message("Removing the whole cache dir #{@cache.root}") do
84
- FileUtils.rm_rf(@cache.root)
85
- end
86
- end
87
- end
88
- end
89
- end
90
- end