cocoapods 0.39.0.rc.1 → 0.39.0

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: b9b6307f3481f68a070b2041113029c82645970c
4
- data.tar.gz: e2930c2cd0e469383e9f12957ea91d3e577e02ba
3
+ metadata.gz: faef02d18b96b452059e2320463fa0b61d6f2317
4
+ data.tar.gz: 9ca4b8a059653de8a621dc056f45c7d702c025dc
5
5
  SHA512:
6
- metadata.gz: d2f291a5925c5f21e2798eec82e84f90ba152b4cfdf464bd47e76dbfc1e111dd32ddf6b934b2ba9f7458f6775f61e2933a4c72af14986f74512158e9f15be846
7
- data.tar.gz: 8cd1087485caa43c0ea13619e73f28f79f925ee92767797c3622380ec724e746223057632484020b6bede6b089fe1eb4b59f79ff29ea80816bea92f5f612c711
6
+ metadata.gz: 9afc353dc010bb5078514f39d3186f5520d125fd2625736802ff81f5a86f2d632b2943d1002f1a10c6d0f030d06b28464732fddc2e28430fb17df657dce17cfc
7
+ data.tar.gz: 799727556030db50216391e3a78982b6348d1a04a0739b709c5e488774c392ee0966f48f3dce5f3e4c6251336e60f6d6fd447e78c90a4cdadca890763c3a4b25
@@ -4,6 +4,22 @@ 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 (2015-10-09)
8
+
9
+ ##### Enhancements
10
+
11
+ * Podfile-specified options are passed to plugins as hashes that treat string
12
+ and symbol keys identically.
13
+ [Samuel Giddins](https://github.com/segiddins)
14
+ [#3354](https://github.com/CocoaPods/CocoaPods/issues/3354)
15
+
16
+ ##### Bug Fixes
17
+
18
+ * Only link dynamic vendored frameworks and libraries of pod dependencies.
19
+ [Kevin Coleman](https://github.com/kcoleman731)
20
+ [#4336](https://github.com/CocoaPods/CocoaPods/issues/4336)
21
+
22
+
7
23
  ## 0.39.0.rc.1 (2015-10-05)
8
24
 
9
25
  ##### Enhancements
@@ -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.rc.1' unless defined? Pod::VERSION
4
+ VERSION = '0.39.0' unless defined? Pod::VERSION
5
5
  end
@@ -52,11 +52,12 @@ module Pod
52
52
  def self.add_settings_for_file_accessors_of_target(target, xcconfig)
53
53
  target.file_accessors.each do |file_accessor|
54
54
  XCConfigHelper.add_spec_build_settings_to_xcconfig(file_accessor.spec_consumer, xcconfig)
55
+ XCConfigHelper.add_static_dependency_build_settings(target, xcconfig, file_accessor)
55
56
  end
56
- XCConfigHelper.add_vendored_dependency_build_settings(target, xcconfig)
57
+ XCConfigHelper.add_dynamic_dependency_build_settings(target, xcconfig)
57
58
  end
58
59
 
59
- # Adds build settings for vendored frameworks and libraries.
60
+ # Adds build settings for static vendored frameworks and libraries.
60
61
  #
61
62
  # @param [PodTarget] target
62
63
  # The pod target, which holds the list of +Spec::FileAccessor+.
@@ -64,19 +65,39 @@ module Pod
64
65
  # @param [Xcodeproj::Config] xcconfig
65
66
  # The xcconfig to edit.
66
67
  #
67
- def self.add_vendored_dependency_build_settings(target, xcconfig)
68
+ # @param [Spec::FileAccessor] file_accessor
69
+ # The file accessor, which holds the list of static frameworks.
70
+ #
71
+ def self.add_static_dependency_build_settings(target, xcconfig, file_accessor)
72
+ file_accessor.vendored_static_frameworks.each do |vendored_static_framework|
73
+ XCConfigHelper.add_framework_build_settings(vendored_static_framework, xcconfig, target.sandbox.root)
74
+ end
75
+ file_accessor.vendored_static_libraries.each do |vendored_static_library|
76
+ XCConfigHelper.add_library_build_settings(vendored_static_library, xcconfig, target.sandbox.root)
77
+ end
78
+ end
79
+
80
+ # Adds build settings for dynamic vendored frameworks and libraries.
81
+ #
82
+ # @param [PodTarget] target
83
+ # The pod target, which holds the list of +Spec::FileAccessor+.
84
+ #
85
+ # @param [Xcodeproj::Config] xcconfig
86
+ # The xcconfig to edit.
87
+ #
88
+ def self.add_dynamic_dependency_build_settings(target, xcconfig)
68
89
  if target.requires_frameworks?
69
90
  target.dependent_targets.each do |dependent_target|
70
- XCConfigHelper.add_vendored_dependency_build_settings(dependent_target, xcconfig)
91
+ XCConfigHelper.add_dynamic_dependency_build_settings(dependent_target, xcconfig)
71
92
  end
72
93
  end
73
94
 
74
95
  target.file_accessors.each do |file_accessor|
75
- file_accessor.vendored_frameworks.each do |vendored_framework|
76
- XCConfigHelper.add_framework_build_settings(vendored_framework, xcconfig, target.sandbox.root)
96
+ file_accessor.vendored_dynamic_frameworks.each do |vendored_dynamic_framework|
97
+ XCConfigHelper.add_framework_build_settings(vendored_dynamic_framework, xcconfig, target.sandbox.root)
77
98
  end
78
- file_accessor.vendored_libraries.each do |vendored_library|
79
- XCConfigHelper.add_library_build_settings(vendored_library, xcconfig, target.sandbox.root)
99
+ file_accessor.vendored_dynamic_libraries.each do |vendored_dynamic_library|
100
+ XCConfigHelper.add_library_build_settings(vendored_dynamic_library, xcconfig, target.sandbox.root)
80
101
  end
81
102
  end
82
103
  end
@@ -1,4 +1,4 @@
1
- require 'rubygems'
1
+ require 'active_support/core_ext/hash/indifferent_access'
2
2
 
3
3
  module Pod
4
4
  # Provides support for the hook system of CocoaPods. The system is designed
@@ -112,7 +112,9 @@ module Pod
112
112
  "`#{hook.block.source_location.first}`" do
113
113
  block = hook.block
114
114
  if block.arity > 1
115
- block.call(context, whitelisted_plugins[hook.plugin_name])
115
+ user_options = whitelisted_plugins[hook.plugin_name]
116
+ user_options = user_options.with_indifferent_access if user_options
117
+ block.call(context, user_options)
116
118
  else
117
119
  block.call(context)
118
120
  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.rc.1
4
+ version: 0.39.0
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: 2015-10-05 00:00:00.000000000 Z
14
+ date: 2015-10-09 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: 0.39.0.rc.1
22
+ version: 0.39.0
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.rc.1
29
+ version: 0.39.0
30
30
  - !ruby/object:Gem::Dependency
31
31
  name: claide
32
32
  requirement: !ruby/object:Gem::Requirement
@@ -47,14 +47,14 @@ dependencies:
47
47
  requirements:
48
48
  - - ~>
49
49
  - !ruby/object:Gem::Version
50
- version: 0.28.1
50
+ version: 0.28.2
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
- version: 0.28.1
57
+ version: 0.28.2
58
58
  - !ruby/object:Gem::Dependency
59
59
  name: cocoapods-downloader
60
60
  requirement: !ruby/object:Gem::Requirement