cocoapods 0.16.0.rc4 → 0.16.0.rc5

Sign up to get free protection for your applications and to get access to all the features.
@@ -1,3 +1,30 @@
1
+ ## 0.16.0.rc5
2
+ [CocoaPods](https://github.com/CocoaPods/CocoaPods/compare/0.16.0.rc4...0.16.0.rc5)
3
+
4
+ ###### Deprecated
5
+
6
+ - The usage of specifications defined in a Podfile is deprecated. Use the
7
+ `:podspec` option with a file path instead. Complete removal will most
8
+ probably happen in 0.17.0.
9
+ [#549](https://github.com/CocoaPods/CocoaPods/issues/549)
10
+ [#616](https://github.com/CocoaPods/CocoaPods/issues/616)
11
+ [#525](https://github.com/CocoaPods/CocoaPods/issues/525)
12
+
13
+ ###### Bug fixes
14
+
15
+ - Always consider inline podspecs as needing installation.
16
+ - Fix detection when the lib has already been integrated with the user’s target.
17
+ [#643](https://github.com/CocoaPods/CocoaPods/issues/643)
18
+ [#614](https://github.com/CocoaPods/CocoaPods/issues/614)
19
+ [#613](https://github.com/CocoaPods/CocoaPods/issues/613)
20
+
21
+ ## 0.16.0.rc4
22
+ [CocoaPods](https://github.com/CocoaPods/CocoaPods/compare/0.16.0.rc3...0.16.0.rc4)
23
+
24
+ ###### Bug fixes
25
+
26
+ - Fix for Rake 0.9.3
27
+
1
28
  ## 0.16.0.rc3
2
29
  [CocoaPods](https://github.com/CocoaPods/CocoaPods/compare/0.16.0.rc2...0.16.0.rc3) • [Xcodeproj](https://github.com/CocoaPods/Xcodeproj/compare/0.4.0.rc1...0.4.0.rc6)
3
30
 
@@ -12,7 +12,7 @@ unless Gem::Version::Requirement.new('>= 1.4.0').satisfied_by?(Gem::Version.new(
12
12
  end
13
13
 
14
14
  module Pod
15
- VERSION = '0.16.0.rc4'
15
+ VERSION = '0.16.0.rc5'
16
16
 
17
17
  class PlainInformative < StandardError
18
18
  end
@@ -59,4 +59,5 @@ end
59
59
 
60
60
  if ENV['COCOA_PODS_ENV'] == 'development'
61
61
  require 'awesome_print'
62
+ require 'pry'
62
63
  end
@@ -258,7 +258,7 @@ Pod::Spec.new do |s|
258
258
  #
259
259
  # s.author = '#{data[:author_name]}', 'other author'
260
260
 
261
- # Specify the location from where the source should be retreived.
261
+ # Specify the location from where the source should be retrieved.
262
262
  #
263
263
  s.source = { :git => "#{data[:source_url]}", #{data[:ref_type]} => "#{data[:ref]}" }
264
264
  # s.source = { :svn => 'http://EXAMPLE/#{data[:name]}/tags/1.0.0' }
@@ -292,9 +292,9 @@ Pod::Spec.new do |s|
292
292
  # made available to the application. If the pattern is a directory then the
293
293
  # path will automatically have '*.h' appended.
294
294
  #
295
- # Also allows the use of the FileList class like `source_files does.
295
+ # Also allows the use of the FileList class like `source_files' does.
296
296
  #
297
- # If you do not explicitely set the list of public header files,
297
+ # If you do not explicitly set the list of public header files,
298
298
  # all headers of source_files will be made public.
299
299
  #
300
300
  # s.public_header_files = 'Classes/**/*.h'
@@ -302,7 +302,7 @@ Pod::Spec.new do |s|
302
302
  # A list of resources included with the Pod. These are copied into the
303
303
  # target bundle with a build phase script.
304
304
  #
305
- # Also allows the use of the FileList class like `source_files does.
305
+ # Also allows the use of the FileList class like `source_files' does.
306
306
  #
307
307
  # s.resource = "icon.png"
308
308
  # s.resources = "Resources/*.png"
@@ -310,7 +310,7 @@ Pod::Spec.new do |s|
310
310
  # A list of paths to preserve after installing the Pod.
311
311
  # CocoaPods cleans by default any file that is not used.
312
312
  # Please don't include documentation, example, and test files.
313
- # Also allows the use of the FileList class like `source_files does.
313
+ # Also allows the use of the FileList class like `source_files' does.
314
314
  #
315
315
  # s.preserve_paths = "FilesToSave", "MoreFilesToSave"
316
316
 
@@ -140,7 +140,7 @@ module Pod
140
140
  # Reject any target that already has this Pods library in one of its frameworks build phases
141
141
  target.frameworks_build_phase.files.any? do |build_file|
142
142
  file_ref = build_file.file_ref
143
- !file_ref.proxy? && file_ref.name == @target_definition.lib_name
143
+ !file_ref.proxy? && file_ref.display_name == @target_definition.lib_name
144
144
  end
145
145
  end
146
146
  end
@@ -192,7 +192,7 @@ module Pod
192
192
 
193
193
  if dependency.nil?
194
194
  result[:removed] << pod_name
195
- elsif !dependency.match_version?(version) || dependency.external_source != external_source
195
+ elsif dependency.inline? || !dependency.match_version?(version) || dependency.external_source != external_source
196
196
  result[:changed] << pod_name
197
197
  else
198
198
  result[:unchanged] << pod_name
@@ -380,30 +380,16 @@ module Pod
380
380
  #
381
381
  # pod 'JSONKit', :podspec => 'https://raw.github.com/gist/1346394/1d26570f68ca27377a27430c65841a0880395d72/JSONKit.podspec'
382
382
  #
383
+ # Or, if no living soul has created a podspec for the library that you want
384
+ # to use yet, you will have to specify the library yourself. In which case
385
+ # you can specify a file path with the `:podspec` option as well.
383
386
  #
384
- # ### For a library without any available podspec
385
- #
386
- # Finally, if no living soul has created a podspec, for the library you want
387
- # to use, yet, you will have to specify the library yourself.
388
- #
389
- #
390
- # When you omit arguments and pass a block to `pod`, an instance of
391
- # Pod::Specification is yielded to the block. This is the same class which
392
- # is normally used to specify a Pod.
393
- #
394
- # ```
395
- # pod do |spec|
396
- # spec.name = 'JSONKit'
397
- # spec.version = '1.4'
398
- # spec.source = { :git => 'https://github.com/johnezang/JSONKit.git', :tag => 'v1.4' }
399
- # spec.source_files = 'JSONKit.*'
400
- # end
401
- # ```
402
387
  #
403
388
  #
404
389
  # For more info on the definition of a Pod::Specification see:
405
390
  # https://github.com/CocoaPods/CocoaPods/wiki/A-pod-specification
406
391
  def pod(*name_and_version_requirements, &block)
392
+ warn "[DEPRECATED] Inline specs are deprecated, use the `:podspec` option." if block_given?
407
393
  @target_definition.target_dependencies << Dependency.new(*name_and_version_requirements, &block)
408
394
  end
409
395
 
@@ -139,9 +139,9 @@ module Pod
139
139
  def removed_pods
140
140
  return [] unless lockfile
141
141
  unless @removed_pods
142
- previusly_installed = lockfile.pods_names.map { |pod_name| pod_name.split('/').first }
142
+ previously_installed = lockfile.pods_names.map { |pod_name| pod_name.split('/').first }
143
143
  installed = specs.map { |spec| spec.name.split('/').first }
144
- @removed_pods = previusly_installed - installed
144
+ @removed_pods = previously_installed - installed
145
145
  end
146
146
  @removed_pods
147
147
  end
@@ -110,7 +110,7 @@ module Pod
110
110
  # that the user should take.
111
111
  #
112
112
  # @param [String] message The message to print.
113
- # @param [Actions] actions The actions that the user should take.
113
+ # @param [Array] actions The actions that the user should take.
114
114
  #
115
115
  # return [void]
116
116
  #
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.16.0.rc4
4
+ version: 0.16.0.rc5
5
5
  prerelease: 7
6
6
  platform: ruby
7
7
  authors:
@@ -254,9 +254,6 @@ required_ruby_version: !ruby/object:Gem::Requirement
254
254
  - - ! '>='
255
255
  - !ruby/object:Gem::Version
256
256
  version: '0'
257
- segments:
258
- - 0
259
- hash: 2644456105808695160
260
257
  required_rubygems_version: !ruby/object:Gem::Requirement
261
258
  none: false
262
259
  requirements:
@@ -265,7 +262,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
265
262
  version: '0'
266
263
  requirements: []
267
264
  rubyforge_project:
268
- rubygems_version: 1.8.24
265
+ rubygems_version: 1.8.23
269
266
  signing_key:
270
267
  specification_version: 3
271
268
  summary: An Objective-C library package manager.