cocoapods 1.6.0.rc.1 → 1.6.0.rc.2

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 22d034f2584a2be7eca9591e3e96aadfe0d69bdf
4
- data.tar.gz: ccef570c47e3403cb37da66528683828e71ade6a
3
+ metadata.gz: d233d9b66203555df515f80f06b7344e507e7b6f
4
+ data.tar.gz: 6a8c2f222b3eb5ef854fbdd65af033d77ea861cb
5
5
  SHA512:
6
- metadata.gz: 59c090cf2cd1dfc0d4e6f486d4eb6f223314a8f992a7428b71b6f9b8cf1f29b2cf032642d1e2d6f49a3b3f6421c68437b4527326fc27d3c35ae11e2bcdfe64b3
7
- data.tar.gz: 378668cdae9cb9086bac89df9a94841f2a33b539bd57020c3b42362f287a385ab1e72cd727da1a093cb1a6f3128aa8885bf1a41aabeb9017e87753fed619dff0
6
+ metadata.gz: 54fcdddb7e3128c5c6f037c1513500df7351971a35ca6585e2536032bbf3ac99d56b71b439b4919c8597addbeb6bb70d478422779aa0ff5edc8355a04559f1c1
7
+ data.tar.gz: 18167232fc760887b07c6b97b085164cbd1dc476dcc585e32f392f03efe855e3f7643e43133feaf4041310d1d41ffb36ba282e4b853abdbc7476a52d5553a67a
@@ -4,6 +4,18 @@ 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
+ ## 1.6.0.rc.2 (2019-01-29)
8
+
9
+ ##### Enhancements
10
+
11
+ * None.
12
+
13
+ ##### Bug Fixes
14
+
15
+ * Fix linking of vendored libraries and frameworks in pod targets
16
+ [Wes Campaigne](https://github.com/Westacular)
17
+ [#8453](https://github.com/CocoaPods/CocoaPods/issues/8453)
18
+
7
19
  ## 1.6.0.rc.1 (2019-01-25)
8
20
 
9
21
  ##### Enhancements
@@ -1,5 +1,5 @@
1
1
  module Pod
2
2
  # The version of the CocoaPods command line tool.
3
3
  #
4
- VERSION = '1.6.0.rc.1'.freeze unless defined? Pod::VERSION
4
+ VERSION = '1.6.0.rc.2'.freeze unless defined? Pod::VERSION
5
5
  end
@@ -601,13 +601,24 @@ module Pod
601
601
 
602
602
  # @!group Libraries
603
603
 
604
+ # Converts array of library path references to just the names to use
605
+ # link each library, e.g. from '/path/to/libSomething.a' to 'Something'
606
+ #
607
+ # @param [Array<String>] libraries
608
+ #
609
+ # @return [Array<String>]
610
+ #
611
+ def linker_names_from_libraries(libraries)
612
+ libraries.map { |l| File.basename(l, l.extname).sub(/\Alib/, '') }
613
+ end
614
+
604
615
  # @return [Array<String>]
605
616
  define_build_settings_method :libraries, :memoized => true, :sorted => true, :uniqued => true do
606
617
  return [] if (!target.requires_frameworks? || target.static_framework?) && !test_xcconfig?
607
618
 
608
619
  libraries = []
609
620
  if test_xcconfig? || target.requires_frameworks? && !target.static_framework?
610
- libraries.concat vendored_static_frameworks.map { |l| File.basename(l, '.framework') }
621
+ libraries.concat linker_names_from_libraries(vendored_static_libraries)
611
622
  libraries.concat libraries_to_import
612
623
  end
613
624
  if test_xcconfig?
@@ -621,7 +632,7 @@ module Pod
621
632
  define_build_settings_method :static_libraries_to_import, :memoized => true do
622
633
  static_libraries_to_import = []
623
634
  unless target.should_build? && target.requires_frameworks? && !target.static_framework?
624
- static_libraries_to_import.concat vendored_static_libraries.map { |l| File.basename(l, l.extname).sub(/\Alib/, '') }
635
+ static_libraries_to_import.concat linker_names_from_libraries(vendored_static_libraries)
625
636
  end
626
637
  static_libraries_to_import << target.product_basename if target.should_build? && !target.requires_frameworks?
627
638
  static_libraries_to_import
@@ -629,7 +640,7 @@ module Pod
629
640
 
630
641
  # @return [Array<String>]
631
642
  define_build_settings_method :dynamic_libraries_to_import, :memoized => true do
632
- vendored_dynamic_libraries.map { |l| File.basename(l, l.extname).sub(/\Alib/, '') } +
643
+ linker_names_from_libraries(vendored_dynamic_libraries) +
633
644
  spec_consumers.flat_map(&:libraries)
634
645
  end
635
646
 
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.6.0.rc.1
4
+ version: 1.6.0.rc.2
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: 2019-01-24 00:00:00.000000000 Z
14
+ date: 2019-01-29 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.6.0.rc.1
22
+ version: 1.6.0.rc.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: 1.6.0.rc.1
29
+ version: 1.6.0.rc.2
30
30
  - !ruby/object:Gem::Dependency
31
31
  name: claide
32
32
  requirement: !ruby/object:Gem::Requirement
@@ -273,16 +273,22 @@ dependencies:
273
273
  name: fourflusher
274
274
  requirement: !ruby/object:Gem::Requirement
275
275
  requirements:
276
- - - "~>"
276
+ - - ">="
277
+ - !ruby/object:Gem::Version
278
+ version: 2.2.0
279
+ - - "<"
277
280
  - !ruby/object:Gem::Version
278
- version: 2.1.0
281
+ version: '3.0'
279
282
  type: :runtime
280
283
  prerelease: false
281
284
  version_requirements: !ruby/object:Gem::Requirement
282
285
  requirements:
283
- - - "~>"
286
+ - - ">="
287
+ - !ruby/object:Gem::Version
288
+ version: 2.2.0
289
+ - - "<"
284
290
  - !ruby/object:Gem::Version
285
- version: 2.1.0
291
+ version: '3.0'
286
292
  - !ruby/object:Gem::Dependency
287
293
  name: gh_inspector
288
294
  requirement: !ruby/object:Gem::Requirement