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 +4 -4
- data/CHANGELOG.md +16 -0
- data/lib/cocoapods/gem_version.rb +1 -1
- data/lib/cocoapods/generator/xcconfig/xcconfig_helper.rb +29 -8
- data/lib/cocoapods/hooks_manager.rb +4 -2
- metadata +6 -6
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: faef02d18b96b452059e2320463fa0b61d6f2317
|
4
|
+
data.tar.gz: 9ca4b8a059653de8a621dc056f45c7d702c025dc
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 9afc353dc010bb5078514f39d3186f5520d125fd2625736802ff81f5a86f2d632b2943d1002f1a10c6d0f030d06b28464732fddc2e28430fb17df657dce17cfc
|
7
|
+
data.tar.gz: 799727556030db50216391e3a78982b6348d1a04a0739b709c5e488774c392ee0966f48f3dce5f3e4c6251336e60f6d6fd447e78c90a4cdadca890763c3a4b25
|
data/CHANGELOG.md
CHANGED
@@ -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
|
@@ -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.
|
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
|
-
|
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.
|
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.
|
76
|
-
XCConfigHelper.add_framework_build_settings(
|
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.
|
79
|
-
XCConfigHelper.add_library_build_settings(
|
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 '
|
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
|
-
|
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
|
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-
|
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
|
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
|
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.
|
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.
|
57
|
+
version: 0.28.2
|
58
58
|
- !ruby/object:Gem::Dependency
|
59
59
|
name: cocoapods-downloader
|
60
60
|
requirement: !ruby/object:Gem::Requirement
|