cocoapods 1.0.0.beta.6 → 1.0.0.beta.7

Sign up to get free protection for your applications and to get access to all the features.
Files changed (34) hide show
  1. checksums.yaml +4 -4
  2. data/CHANGELOG.md +46 -0
  3. data/lib/cocoapods.rb +2 -1
  4. data/lib/cocoapods/command.rb +1 -1
  5. data/lib/cocoapods/command/init.rb +4 -4
  6. data/lib/cocoapods/command/install.rb +1 -1
  7. data/lib/cocoapods/command/inter_process_communication.rb +3 -3
  8. data/lib/cocoapods/command/list.rb +1 -1
  9. data/lib/cocoapods/command/outdated.rb +1 -1
  10. data/lib/cocoapods/command/repo/add.rb +1 -1
  11. data/lib/cocoapods/command/repo/lint.rb +6 -6
  12. data/lib/cocoapods/command/repo/list.rb +2 -2
  13. data/lib/cocoapods/command/repo/push.rb +13 -15
  14. data/lib/cocoapods/command/repo/update.rb +1 -1
  15. data/lib/cocoapods/command/setup.rb +2 -2
  16. data/lib/cocoapods/command/spec.rb +1 -1
  17. data/lib/cocoapods/config.rb +5 -0
  18. data/lib/cocoapods/core_overrides.rb +1 -0
  19. data/lib/cocoapods/downloader.rb +5 -18
  20. data/lib/cocoapods/downloader/request.rb +1 -10
  21. data/lib/cocoapods/gem_version.rb +1 -1
  22. data/lib/cocoapods/generator/copy_resources_script.rb +17 -17
  23. data/lib/cocoapods/generator/embed_frameworks_script.rb +2 -2
  24. data/lib/cocoapods/generator/info_plist_file.rb +1 -0
  25. data/lib/cocoapods/installer.rb +3 -1
  26. data/lib/cocoapods/installer/analyzer.rb +4 -4
  27. data/lib/cocoapods/installer/target_installer/pod_target_installer.rb +1 -1
  28. data/lib/cocoapods/resolver.rb +9 -6
  29. data/lib/cocoapods/sandbox/path_list.rb +1 -1
  30. data/lib/cocoapods/sources_manager.rb +42 -539
  31. data/lib/cocoapods/user_interface.rb +4 -0
  32. data/lib/cocoapods/user_interface/error_report.rb +1 -1
  33. data/lib/cocoapods/validator.rb +1 -1
  34. metadata +26 -55
@@ -424,6 +424,10 @@ module Pod
424
424
  UI.puts message
425
425
  end
426
426
 
427
+ def print(message)
428
+ UI.print(message)
429
+ end
430
+
427
431
  def warn(message)
428
432
  UI.warn message
429
433
  end
@@ -160,7 +160,7 @@ EOS
160
160
  end
161
161
 
162
162
  def repo_information
163
- SourcesManager.all.map do |source|
163
+ Config.instance.sources_manager.all.map do |source|
164
164
  next unless source.type == 'file system'
165
165
  repo = source.repo
166
166
  Dir.chdir(repo) do
@@ -30,7 +30,7 @@ module Pod
30
30
  # the Source URLs to use in creating a {Podfile}.
31
31
  #
32
32
  def initialize(spec_or_path, source_urls)
33
- @source_urls = source_urls.map { |url| SourcesManager.source_with_name_or_url(url) }.map(&:url)
33
+ @source_urls = source_urls.map { |url| config.sources_manager.source_with_name_or_url(url) }.map(&:url)
34
34
  @linter = Specification::Linter.new(spec_or_path)
35
35
  end
36
36
 
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: 1.0.0.beta.6
4
+ version: 1.0.0.beta.7
5
5
  platform: ruby
6
6
  authors:
7
7
  - Eloy Duran
@@ -11,7 +11,7 @@ authors:
11
11
  autorequire:
12
12
  bindir: bin
13
13
  cert_chain: []
14
- date: 2016-03-14 00:00:00.000000000 Z
14
+ date: 2016-04-14 00:00:00.000000000 Z
15
15
  dependencies:
16
16
  - !ruby/object:Gem::Dependency
17
17
  name: cocoapods-core
@@ -19,14 +19,14 @@ dependencies:
19
19
  requirements:
20
20
  - - '='
21
21
  - !ruby/object:Gem::Version
22
- version: 1.0.0.beta.6
22
+ version: 1.0.0.beta.7
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: 1.0.0.beta.6
29
+ version: 1.0.0.beta.7
30
30
  - !ruby/object:Gem::Dependency
31
31
  name: claide
32
32
  requirement: !ruby/object:Gem::Requirement
@@ -71,22 +71,16 @@ dependencies:
71
71
  name: cocoapods-downloader
72
72
  requirement: !ruby/object:Gem::Requirement
73
73
  requirements:
74
- - - '>='
75
- - !ruby/object:Gem::Version
76
- version: 1.0.0.beta.2
77
- - - <
74
+ - - '='
78
75
  - !ruby/object:Gem::Version
79
- version: '2.0'
76
+ version: 1.0.0.beta.3
80
77
  type: :runtime
81
78
  prerelease: false
82
79
  version_requirements: !ruby/object:Gem::Requirement
83
80
  requirements:
84
- - - '>='
85
- - !ruby/object:Gem::Version
86
- version: 1.0.0.beta.2
87
- - - <
81
+ - - '='
88
82
  - !ruby/object:Gem::Version
89
- version: '2.0'
83
+ version: 1.0.0.beta.3
90
84
  - !ruby/object:Gem::Dependency
91
85
  name: cocoapods-plugins
92
86
  requirement: !ruby/object:Gem::Requirement
@@ -111,62 +105,44 @@ dependencies:
111
105
  name: cocoapods-search
112
106
  requirement: !ruby/object:Gem::Requirement
113
107
  requirements:
114
- - - '>='
115
- - !ruby/object:Gem::Version
116
- version: 1.0.0.beta.1
117
- - - <
108
+ - - '='
118
109
  - !ruby/object:Gem::Version
119
- version: '2.0'
110
+ version: 1.0.0.beta.2
120
111
  type: :runtime
121
112
  prerelease: false
122
113
  version_requirements: !ruby/object:Gem::Requirement
123
114
  requirements:
124
- - - '>='
125
- - !ruby/object:Gem::Version
126
- version: 1.0.0.beta.1
127
- - - <
115
+ - - '='
128
116
  - !ruby/object:Gem::Version
129
- version: '2.0'
117
+ version: 1.0.0.beta.2
130
118
  - !ruby/object:Gem::Dependency
131
119
  name: cocoapods-stats
132
120
  requirement: !ruby/object:Gem::Requirement
133
121
  requirements:
134
- - - '>='
135
- - !ruby/object:Gem::Version
136
- version: 1.0.0.beta.3
137
- - - <
122
+ - - '='
138
123
  - !ruby/object:Gem::Version
139
- version: '2.0'
124
+ version: 1.0.0.beta.4
140
125
  type: :runtime
141
126
  prerelease: false
142
127
  version_requirements: !ruby/object:Gem::Requirement
143
128
  requirements:
144
- - - '>='
145
- - !ruby/object:Gem::Version
146
- version: 1.0.0.beta.3
147
- - - <
129
+ - - '='
148
130
  - !ruby/object:Gem::Version
149
- version: '2.0'
131
+ version: 1.0.0.beta.4
150
132
  - !ruby/object:Gem::Dependency
151
133
  name: cocoapods-trunk
152
134
  requirement: !ruby/object:Gem::Requirement
153
135
  requirements:
154
- - - '>='
155
- - !ruby/object:Gem::Version
156
- version: 1.0.0.beta.2
157
- - - <
136
+ - - '='
158
137
  - !ruby/object:Gem::Version
159
- version: '2.0'
138
+ version: 1.0.0.beta.3
160
139
  type: :runtime
161
140
  prerelease: false
162
141
  version_requirements: !ruby/object:Gem::Requirement
163
142
  requirements:
164
- - - '>='
165
- - !ruby/object:Gem::Version
166
- version: 1.0.0.beta.2
167
- - - <
143
+ - - '='
168
144
  - !ruby/object:Gem::Version
169
- version: '2.0'
145
+ version: 1.0.0.beta.3
170
146
  - !ruby/object:Gem::Dependency
171
147
  name: cocoapods-try
172
148
  requirement: !ruby/object:Gem::Requirement
@@ -205,22 +181,16 @@ dependencies:
205
181
  name: xcodeproj
206
182
  requirement: !ruby/object:Gem::Requirement
207
183
  requirements:
208
- - - '>='
209
- - !ruby/object:Gem::Version
210
- version: 1.0.0.beta.3
211
- - - <
184
+ - - '='
212
185
  - !ruby/object:Gem::Version
213
- version: '2.0'
186
+ version: 1.0.0.beta.4
214
187
  type: :runtime
215
188
  prerelease: false
216
189
  version_requirements: !ruby/object:Gem::Requirement
217
190
  requirements:
218
- - - '>='
219
- - !ruby/object:Gem::Version
220
- version: 1.0.0.beta.3
221
- - - <
191
+ - - '='
222
192
  - !ruby/object:Gem::Version
223
- version: '2.0'
193
+ version: 1.0.0.beta.4
224
194
  - !ruby/object:Gem::Dependency
225
195
  name: activesupport
226
196
  requirement: !ruby/object:Gem::Requirement
@@ -386,6 +356,7 @@ files:
386
356
  - lib/cocoapods/command/spec/which.rb
387
357
  - lib/cocoapods/command/update.rb
388
358
  - lib/cocoapods/config.rb
359
+ - lib/cocoapods/core_overrides.rb
389
360
  - lib/cocoapods/downloader.rb
390
361
  - lib/cocoapods/downloader/cache.rb
391
362
  - lib/cocoapods/downloader/request.rb
@@ -476,7 +447,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
476
447
  version: '0'
477
448
  requirements: []
478
449
  rubyforge_project:
479
- rubygems_version: 2.6.2
450
+ rubygems_version: 2.6.3
480
451
  signing_key:
481
452
  specification_version: 3
482
453
  summary: The Cocoa library package manager.