cocoapods 0.20.2 → 0.21.0.rc1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +7 -0
- data/CHANGELOG.md +26 -0
- data/lib/cocoapods.rb +8 -4
- data/lib/cocoapods/command/spec.rb +5 -14
- data/lib/cocoapods/gem_version.rb +1 -1
- data/lib/cocoapods/generator/copy_resources_script.rb +2 -2
- data/lib/cocoapods/generator/xcconfig.rb +16 -75
- data/lib/cocoapods/generator/xcconfig/aggregate_xcconfig.rb +47 -0
- data/lib/cocoapods/generator/xcconfig/private_pod_xcconfig.rb +45 -0
- data/lib/cocoapods/generator/xcconfig/public_pod_xcconfig.rb +40 -0
- data/lib/cocoapods/hooks/installer_representation.rb +3 -3
- data/lib/cocoapods/installer.rb +74 -39
- data/lib/cocoapods/installer/analyzer.rb +52 -41
- data/lib/cocoapods/installer/file_references_installer.rb +13 -12
- data/lib/cocoapods/installer/target_installer.rb +6 -241
- data/lib/cocoapods/installer/target_installer/aggregate_target_installer.rb +132 -0
- data/lib/cocoapods/installer/target_installer/pod_target_installer.rb +160 -0
- data/lib/cocoapods/installer/user_project_integrator.rb +11 -11
- data/lib/cocoapods/installer/user_project_integrator/target_integrator.rb +70 -50
- data/lib/cocoapods/sandbox.rb +0 -5
- data/lib/cocoapods/sandbox/file_accessor.rb +2 -16
- data/lib/cocoapods/target.rb +116 -0
- data/lib/cocoapods/target/aggregate_target.rb +121 -0
- data/lib/cocoapods/target/pod_target.rb +53 -0
- data/lib/cocoapods/validator.rb +1 -1
- metadata +160 -226
- data/lib/cocoapods/file_list.rb +0 -36
- data/lib/cocoapods/library.rb +0 -202
data/lib/cocoapods/sandbox.rb
CHANGED
@@ -55,10 +55,6 @@ module Pod
|
|
55
55
|
#
|
56
56
|
attr_reader :root
|
57
57
|
|
58
|
-
# @return [HeadersStore] the header directory for the Pods libraries.
|
59
|
-
#
|
60
|
-
attr_reader :build_headers
|
61
|
-
|
62
58
|
# @return [HeadersStore] the header directory for the user targets.
|
63
59
|
#
|
64
60
|
attr_reader :public_headers
|
@@ -67,7 +63,6 @@ module Pod
|
|
67
63
|
#
|
68
64
|
def initialize(root)
|
69
65
|
@root = Pathname.new(root)
|
70
|
-
@build_headers = HeadersStore.new(self, "BuildHeaders")
|
71
66
|
@public_headers = HeadersStore.new(self, "Headers")
|
72
67
|
@predownloaded_pods = []
|
73
68
|
@head_pods = []
|
@@ -172,7 +172,7 @@ module Pod
|
|
172
172
|
# Matches the given patterns to the file present in the root of the path
|
173
173
|
# list.
|
174
174
|
#
|
175
|
-
# @param [Array<String
|
175
|
+
# @param [Array<String>] patterns
|
176
176
|
# The patterns to expand.
|
177
177
|
#
|
178
178
|
# @param [String] dir_pattern
|
@@ -189,22 +189,8 @@ module Pod
|
|
189
189
|
#
|
190
190
|
def expanded_paths(patterns, options = {})
|
191
191
|
return [] if patterns.empty?
|
192
|
-
|
193
|
-
file_lists = patterns.select { |p| p.is_a?(FileList) }
|
194
|
-
glob_patterns = patterns - file_lists
|
195
|
-
|
196
192
|
result = []
|
197
|
-
result << path_list.glob(
|
198
|
-
result << file_lists.map do |file_list|
|
199
|
-
file_list.prepend_patterns(path_list.root)
|
200
|
-
file_list.glob
|
201
|
-
end
|
202
|
-
|
203
|
-
unless file_lists.empty?
|
204
|
-
# TODO Restore warning in 0.17 proper
|
205
|
-
# UI.warn "[#{spec_consumer.spec.name}] The usage of Rake FileList is deprecated. Use `exclude_files`."
|
206
|
-
end
|
207
|
-
|
193
|
+
result << path_list.glob(patterns, options)
|
208
194
|
result.flatten.compact.uniq
|
209
195
|
end
|
210
196
|
|
@@ -0,0 +1,116 @@
|
|
1
|
+
module Pod
|
2
|
+
|
3
|
+
# Model class which describes a Pods target.
|
4
|
+
#
|
5
|
+
# The Target class stores and provides the information necessary for
|
6
|
+
# working with a target in the Podfile and it's dependent libraries.
|
7
|
+
# This class is used to represent both the targets and their libraries.
|
8
|
+
#
|
9
|
+
class Target
|
10
|
+
|
11
|
+
# @return [PBXNativeTarget] the target definition of the Podfile that
|
12
|
+
# generated this target.
|
13
|
+
#
|
14
|
+
attr_reader :target_definition
|
15
|
+
|
16
|
+
# @return [Sandbox] The sandbox where the Pods should be installed.
|
17
|
+
#
|
18
|
+
attr_reader :sandbox
|
19
|
+
|
20
|
+
# @return [String] the name of the library.
|
21
|
+
#
|
22
|
+
def name
|
23
|
+
label
|
24
|
+
end
|
25
|
+
|
26
|
+
# @return [String] the name of the library.
|
27
|
+
#
|
28
|
+
def product_name
|
29
|
+
"lib#{label}.a"
|
30
|
+
end
|
31
|
+
|
32
|
+
# @return [String] the XCConfig namespaced prefix.
|
33
|
+
#
|
34
|
+
def xcconfig_prefix
|
35
|
+
label.upcase.gsub(/[^A-Z]/, '_') + '_'
|
36
|
+
end
|
37
|
+
|
38
|
+
# @return [String] A string suitable for debugging.
|
39
|
+
#
|
40
|
+
def inspect
|
41
|
+
"<#{self.class} name=#{name} platform=#{platform}>"
|
42
|
+
end
|
43
|
+
|
44
|
+
#-------------------------------------------------------------------------#
|
45
|
+
|
46
|
+
# @!group Information storage
|
47
|
+
|
48
|
+
# @return [Hash{String=>Symbol}] A hash representing the user build
|
49
|
+
# configurations where each key corresponds to the name of a
|
50
|
+
# configuration and its value to its type (`:debug` or `:release`).
|
51
|
+
#
|
52
|
+
attr_accessor :user_build_configurations
|
53
|
+
|
54
|
+
# @return [PBXNativeTarget] the target generated in the Pods project for
|
55
|
+
# this library.
|
56
|
+
#
|
57
|
+
attr_accessor :target
|
58
|
+
|
59
|
+
# @return [Platform] the platform for this library.
|
60
|
+
#
|
61
|
+
def platform
|
62
|
+
@platform ||= target_definition.platform
|
63
|
+
end
|
64
|
+
|
65
|
+
#-------------------------------------------------------------------------#
|
66
|
+
|
67
|
+
# @!group Support files
|
68
|
+
|
69
|
+
# @return [Pathname] the folder where to store the support files of this
|
70
|
+
# library.
|
71
|
+
#
|
72
|
+
def support_files_root
|
73
|
+
@sandbox.library_support_files_dir(name)
|
74
|
+
end
|
75
|
+
|
76
|
+
# @return [Pathname] the absolute path of the xcconfig file.
|
77
|
+
#
|
78
|
+
def xcconfig_path
|
79
|
+
support_files_root + "#{label}.xcconfig"
|
80
|
+
end
|
81
|
+
|
82
|
+
# @return [Pathname] the absolute path of the private xcconfig file.
|
83
|
+
#
|
84
|
+
def xcconfig_private_path
|
85
|
+
support_files_root + "#{label}-Private.xcconfig"
|
86
|
+
end
|
87
|
+
|
88
|
+
# @return [Pathname] the absolute path of the header file which contains
|
89
|
+
# the information about the installed pods.
|
90
|
+
#
|
91
|
+
def target_environment_header_path
|
92
|
+
support_files_root + "#{target_definition.label.to_s}-environment.h"
|
93
|
+
end
|
94
|
+
|
95
|
+
# @return [Pathname] the absolute path of the prefix header file.
|
96
|
+
#
|
97
|
+
def prefix_header_path
|
98
|
+
support_files_root + "#{label}-prefix.pch"
|
99
|
+
end
|
100
|
+
|
101
|
+
# @return [Pathname] the absolute path of the bridge support file.
|
102
|
+
#
|
103
|
+
def bridge_support_path
|
104
|
+
support_files_root + "#{label}.bridgesupport"
|
105
|
+
end
|
106
|
+
|
107
|
+
# @return [Pathname] the path of the dummy source generated by CocoaPods
|
108
|
+
#
|
109
|
+
def dummy_source_path
|
110
|
+
support_files_root + "#{label}-dummy.m"
|
111
|
+
end
|
112
|
+
|
113
|
+
#-------------------------------------------------------------------------#
|
114
|
+
|
115
|
+
end
|
116
|
+
end
|
@@ -0,0 +1,121 @@
|
|
1
|
+
module Pod
|
2
|
+
|
3
|
+
# Stores the information relative to the target used to cluster the targets
|
4
|
+
# of the single Pods. The client targets will then depend on this one.
|
5
|
+
#
|
6
|
+
class AggregateTarget < Target
|
7
|
+
|
8
|
+
# @param [TargetDefinition] target_definition @see target_definition
|
9
|
+
# @param [Sandbox] sandbox @see sandbox
|
10
|
+
#
|
11
|
+
def initialize(target_definition, sandbox)
|
12
|
+
@target_definition = target_definition
|
13
|
+
@sandbox = sandbox
|
14
|
+
@pod_targets = []
|
15
|
+
@file_accessors = []
|
16
|
+
end
|
17
|
+
|
18
|
+
# @return [String] the label for the target.
|
19
|
+
#
|
20
|
+
def label
|
21
|
+
target_definition.label.to_s
|
22
|
+
end
|
23
|
+
|
24
|
+
# @return [Pathname] the folder where the client is stored used for
|
25
|
+
# computing the relative paths. If integrating it should be the
|
26
|
+
# folder where the user project is stored, otherwise it should
|
27
|
+
# be the installation root.
|
28
|
+
#
|
29
|
+
attr_accessor :client_root
|
30
|
+
|
31
|
+
# @return [Pathname] the path of the user project that this target will
|
32
|
+
# integrate as identified by the analyzer.
|
33
|
+
#
|
34
|
+
# @note The project instance is not stored to prevent editing different
|
35
|
+
# instances.
|
36
|
+
#
|
37
|
+
attr_accessor :user_project_path
|
38
|
+
|
39
|
+
# @return [String] the list of the UUIDs of the user targets that will be
|
40
|
+
# integrated by this target as identified by the analizer.
|
41
|
+
#
|
42
|
+
# @note The target instances are not stored to prevent editing different
|
43
|
+
# instances.
|
44
|
+
#
|
45
|
+
attr_accessor :user_target_uuids
|
46
|
+
|
47
|
+
# @return [Xcodeproj::Config] The configuration file of the target.
|
48
|
+
#
|
49
|
+
# @note The configuration is generated by the {TargetInstaller} and
|
50
|
+
# used by {UserProjectIntegrator} to check for any overridden
|
51
|
+
# values.
|
52
|
+
#
|
53
|
+
attr_accessor :xcconfig
|
54
|
+
|
55
|
+
# @return [Array<PodTarget>] The dependencies for this target.
|
56
|
+
#
|
57
|
+
attr_accessor :pod_targets
|
58
|
+
|
59
|
+
# @return [Array<SpecConsumer>]
|
60
|
+
def spec_consumers
|
61
|
+
pod_targets.map(&:specs).flatten.map { |spec| spec.consumer(platform) }
|
62
|
+
end
|
63
|
+
|
64
|
+
# @return [Pathname] The absolute path of acknowledgements file.
|
65
|
+
#
|
66
|
+
# @note The acknowledgements generators add the extension according to
|
67
|
+
# the file type.
|
68
|
+
#
|
69
|
+
def acknowledgements_basepath
|
70
|
+
support_files_root + "#{label}-acknowledgements"
|
71
|
+
end
|
72
|
+
|
73
|
+
# @return [Pathname] The absolute path of the copy resources script.
|
74
|
+
#
|
75
|
+
def copy_resources_script_path
|
76
|
+
support_files_root + "#{label}-resources.sh"
|
77
|
+
end
|
78
|
+
|
79
|
+
# @return [String] The xcconfig path of the root from the `$(SRCROOT)`
|
80
|
+
# variable of the user's project.
|
81
|
+
#
|
82
|
+
def relative_pods_root
|
83
|
+
"${SRCROOT}/#{support_files_root.relative_path_from(client_root)}"
|
84
|
+
end
|
85
|
+
|
86
|
+
# @return [String] The path of the xcconfig file relative to the root of
|
87
|
+
# the user project.
|
88
|
+
#
|
89
|
+
def xcconfig_relative_path
|
90
|
+
relative_to_srcroot(xcconfig_path).to_s
|
91
|
+
end
|
92
|
+
|
93
|
+
# @return [String] The path of the copy resources script relative to the
|
94
|
+
# root of the user project.
|
95
|
+
#
|
96
|
+
def copy_resources_script_relative_path
|
97
|
+
"${SRCROOT}/#{relative_to_srcroot(copy_resources_script_path)}"
|
98
|
+
end
|
99
|
+
|
100
|
+
#-------------------------------------------------------------------------#
|
101
|
+
|
102
|
+
# @!group Private Helpers
|
103
|
+
|
104
|
+
private
|
105
|
+
|
106
|
+
# Computes the relative path of a sandboxed file from the `$(SRCROOT)`
|
107
|
+
# variable of the user's project.
|
108
|
+
#
|
109
|
+
# @param [Pathname] path
|
110
|
+
# A relative path from the root of the sandbox.
|
111
|
+
#
|
112
|
+
# @return [String] The computed path.
|
113
|
+
#
|
114
|
+
def relative_to_srcroot(path)
|
115
|
+
path.relative_path_from(client_root).to_s
|
116
|
+
end
|
117
|
+
|
118
|
+
#-------------------------------------------------------------------------#
|
119
|
+
|
120
|
+
end
|
121
|
+
end
|
@@ -0,0 +1,53 @@
|
|
1
|
+
module Pod
|
2
|
+
|
3
|
+
# Stores the information relative to the target used to compile a single Pod.
|
4
|
+
# A pod can have one or more activated spec/subspecs.
|
5
|
+
#
|
6
|
+
class PodTarget < Target
|
7
|
+
|
8
|
+
# @return [Specification] the spec for the target.
|
9
|
+
#
|
10
|
+
attr_reader :specs
|
11
|
+
|
12
|
+
# @return [HeadersStore] the header directory for the target.
|
13
|
+
#
|
14
|
+
attr_reader :build_headers
|
15
|
+
|
16
|
+
# @param [Specification] spec @see spec
|
17
|
+
# @param [TargetDefinition] target_definition @see target_definition
|
18
|
+
# @param [Sandbox] sandbox @see sandbox
|
19
|
+
#
|
20
|
+
def initialize(specs, target_definition, sandbox)
|
21
|
+
@specs = specs
|
22
|
+
@target_definition = target_definition
|
23
|
+
@sandbox = sandbox
|
24
|
+
@build_headers = Sandbox::HeadersStore.new(sandbox, "BuildHeaders")
|
25
|
+
@file_accessors = []
|
26
|
+
end
|
27
|
+
|
28
|
+
# @return [String] the label for the target.
|
29
|
+
#
|
30
|
+
def label
|
31
|
+
"#{target_definition.label.to_s}-#{root_spec.name}"
|
32
|
+
end
|
33
|
+
|
34
|
+
# @return [Array<Sandbox::FileAccessor>] the file accessors for the
|
35
|
+
# specifications of this target.
|
36
|
+
#
|
37
|
+
attr_accessor :file_accessors
|
38
|
+
|
39
|
+
# @return [Array<Specification::Consumer>] the specification consumers for
|
40
|
+
# the target.
|
41
|
+
#
|
42
|
+
def spec_consumers
|
43
|
+
specs.map { |spec| spec.consumer(platform) }
|
44
|
+
end
|
45
|
+
|
46
|
+
# @return [Specification] the root specification for the target.
|
47
|
+
#
|
48
|
+
def root_spec
|
49
|
+
specs.first.root
|
50
|
+
end
|
51
|
+
|
52
|
+
end
|
53
|
+
end
|
data/lib/cocoapods/validator.rb
CHANGED
@@ -208,7 +208,7 @@ module Pod
|
|
208
208
|
installer = Installer.new(sandbox, podfile)
|
209
209
|
installer.install!
|
210
210
|
|
211
|
-
file_accessors = installer.
|
211
|
+
file_accessors = installer.aggregate_targets.first.pod_targets.first.file_accessors
|
212
212
|
@file_accessor = file_accessors.find { |accessor| accessor.spec == spec }
|
213
213
|
config.silent
|
214
214
|
end
|
metadata
CHANGED
@@ -1,245 +1,171 @@
|
|
1
|
-
--- !ruby/object:Gem::Specification
|
1
|
+
--- !ruby/object:Gem::Specification
|
2
2
|
name: cocoapods
|
3
|
-
version: !ruby/object:Gem::Version
|
4
|
-
|
5
|
-
prerelease:
|
6
|
-
segments:
|
7
|
-
- 0
|
8
|
-
- 20
|
9
|
-
- 2
|
10
|
-
version: 0.20.2
|
3
|
+
version: !ruby/object:Gem::Version
|
4
|
+
version: 0.21.0.rc1
|
11
5
|
platform: ruby
|
12
|
-
authors:
|
6
|
+
authors:
|
13
7
|
- Eloy Duran
|
14
8
|
- Fabio Pelosin
|
15
9
|
autorequire:
|
16
10
|
bindir: bin
|
17
11
|
cert_chain: []
|
18
|
-
|
19
|
-
|
20
|
-
|
21
|
-
- !ruby/object:Gem::Dependency
|
12
|
+
date: 2013-06-18 00:00:00.000000000 Z
|
13
|
+
dependencies:
|
14
|
+
- !ruby/object:Gem::Dependency
|
22
15
|
name: cocoapods-core
|
23
|
-
|
24
|
-
|
25
|
-
|
26
|
-
|
27
|
-
|
28
|
-
- !ruby/object:Gem::Version
|
29
|
-
hash: 75
|
30
|
-
segments:
|
31
|
-
- 0
|
32
|
-
- 20
|
33
|
-
- 2
|
34
|
-
version: 0.20.2
|
16
|
+
requirement: !ruby/object:Gem::Requirement
|
17
|
+
requirements:
|
18
|
+
- - '='
|
19
|
+
- !ruby/object:Gem::Version
|
20
|
+
version: 0.21.0.rc1
|
35
21
|
type: :runtime
|
36
|
-
version_requirements: *id001
|
37
|
-
- !ruby/object:Gem::Dependency
|
38
|
-
name: claide
|
39
22
|
prerelease: false
|
40
|
-
|
41
|
-
|
42
|
-
|
23
|
+
version_requirements: !ruby/object:Gem::Requirement
|
24
|
+
requirements:
|
25
|
+
- - '='
|
26
|
+
- !ruby/object:Gem::Version
|
27
|
+
version: 0.21.0.rc1
|
28
|
+
- !ruby/object:Gem::Dependency
|
29
|
+
name: claide
|
30
|
+
requirement: !ruby/object:Gem::Requirement
|
31
|
+
requirements:
|
43
32
|
- - ~>
|
44
|
-
- !ruby/object:Gem::Version
|
45
|
-
hash: 23
|
46
|
-
segments:
|
47
|
-
- 0
|
48
|
-
- 3
|
49
|
-
- 2
|
33
|
+
- !ruby/object:Gem::Version
|
50
34
|
version: 0.3.2
|
51
35
|
type: :runtime
|
52
|
-
version_requirements: *id002
|
53
|
-
- !ruby/object:Gem::Dependency
|
54
|
-
name: cocoapods-downloader
|
55
36
|
prerelease: false
|
56
|
-
|
57
|
-
|
58
|
-
requirements:
|
37
|
+
version_requirements: !ruby/object:Gem::Requirement
|
38
|
+
requirements:
|
59
39
|
- - ~>
|
60
|
-
- !ruby/object:Gem::Version
|
61
|
-
|
62
|
-
|
63
|
-
|
64
|
-
|
65
|
-
|
40
|
+
- !ruby/object:Gem::Version
|
41
|
+
version: 0.3.2
|
42
|
+
- !ruby/object:Gem::Dependency
|
43
|
+
name: cocoapods-downloader
|
44
|
+
requirement: !ruby/object:Gem::Requirement
|
45
|
+
requirements:
|
46
|
+
- - ~>
|
47
|
+
- !ruby/object:Gem::Version
|
66
48
|
version: 0.1.1
|
67
49
|
type: :runtime
|
68
|
-
version_requirements: *id003
|
69
|
-
- !ruby/object:Gem::Dependency
|
70
|
-
name: xcodeproj
|
71
50
|
prerelease: false
|
72
|
-
|
73
|
-
|
74
|
-
requirements:
|
51
|
+
version_requirements: !ruby/object:Gem::Requirement
|
52
|
+
requirements:
|
75
53
|
- - ~>
|
76
|
-
- !ruby/object:Gem::Version
|
77
|
-
|
78
|
-
|
79
|
-
|
80
|
-
|
81
|
-
|
82
|
-
version: 0.6.0
|
83
|
-
type: :runtime
|
84
|
-
version_requirements: *id004
|
85
|
-
- !ruby/object:Gem::Dependency
|
86
|
-
name: faraday
|
87
|
-
prerelease: false
|
88
|
-
requirement: &id005 !ruby/object:Gem::Requirement
|
89
|
-
none: false
|
90
|
-
requirements:
|
54
|
+
- !ruby/object:Gem::Version
|
55
|
+
version: 0.1.1
|
56
|
+
- !ruby/object:Gem::Dependency
|
57
|
+
name: xcodeproj
|
58
|
+
requirement: !ruby/object:Gem::Requirement
|
59
|
+
requirements:
|
91
60
|
- - ~>
|
92
|
-
- !ruby/object:Gem::Version
|
93
|
-
|
94
|
-
segments:
|
95
|
-
- 0
|
96
|
-
- 8
|
97
|
-
- 1
|
98
|
-
version: 0.8.1
|
61
|
+
- !ruby/object:Gem::Version
|
62
|
+
version: 0.7.0
|
99
63
|
type: :runtime
|
100
|
-
version_requirements: *id005
|
101
|
-
- !ruby/object:Gem::Dependency
|
102
|
-
name: octokit
|
103
64
|
prerelease: false
|
104
|
-
|
105
|
-
|
106
|
-
requirements:
|
65
|
+
version_requirements: !ruby/object:Gem::Requirement
|
66
|
+
requirements:
|
107
67
|
- - ~>
|
108
|
-
- !ruby/object:Gem::Version
|
109
|
-
|
110
|
-
|
111
|
-
- 1
|
112
|
-
- 7
|
113
|
-
version: "1.7"
|
114
|
-
type: :runtime
|
115
|
-
version_requirements: *id006
|
116
|
-
- !ruby/object:Gem::Dependency
|
68
|
+
- !ruby/object:Gem::Version
|
69
|
+
version: 0.7.0
|
70
|
+
- !ruby/object:Gem::Dependency
|
117
71
|
name: colored
|
118
|
-
|
119
|
-
|
120
|
-
none: false
|
121
|
-
requirements:
|
72
|
+
requirement: !ruby/object:Gem::Requirement
|
73
|
+
requirements:
|
122
74
|
- - ~>
|
123
|
-
- !ruby/object:Gem::Version
|
124
|
-
|
125
|
-
segments:
|
126
|
-
- 1
|
127
|
-
- 2
|
128
|
-
version: "1.2"
|
75
|
+
- !ruby/object:Gem::Version
|
76
|
+
version: '1.2'
|
129
77
|
type: :runtime
|
130
|
-
version_requirements: *id007
|
131
|
-
- !ruby/object:Gem::Dependency
|
132
|
-
name: escape
|
133
78
|
prerelease: false
|
134
|
-
|
135
|
-
|
136
|
-
requirements:
|
79
|
+
version_requirements: !ruby/object:Gem::Requirement
|
80
|
+
requirements:
|
137
81
|
- - ~>
|
138
|
-
- !ruby/object:Gem::Version
|
139
|
-
|
140
|
-
|
141
|
-
|
142
|
-
|
143
|
-
|
82
|
+
- !ruby/object:Gem::Version
|
83
|
+
version: '1.2'
|
84
|
+
- !ruby/object:Gem::Dependency
|
85
|
+
name: escape
|
86
|
+
requirement: !ruby/object:Gem::Requirement
|
87
|
+
requirements:
|
88
|
+
- - ~>
|
89
|
+
- !ruby/object:Gem::Version
|
144
90
|
version: 0.0.4
|
145
91
|
type: :runtime
|
146
|
-
version_requirements: *id008
|
147
|
-
- !ruby/object:Gem::Dependency
|
148
|
-
name: json
|
149
92
|
prerelease: false
|
150
|
-
|
151
|
-
|
152
|
-
requirements:
|
93
|
+
version_requirements: !ruby/object:Gem::Requirement
|
94
|
+
requirements:
|
153
95
|
- - ~>
|
154
|
-
- !ruby/object:Gem::Version
|
155
|
-
|
156
|
-
|
157
|
-
|
158
|
-
|
159
|
-
|
96
|
+
- !ruby/object:Gem::Version
|
97
|
+
version: 0.0.4
|
98
|
+
- !ruby/object:Gem::Dependency
|
99
|
+
name: json
|
100
|
+
requirement: !ruby/object:Gem::Requirement
|
101
|
+
requirements:
|
102
|
+
- - ~>
|
103
|
+
- !ruby/object:Gem::Version
|
160
104
|
version: 1.8.0
|
161
105
|
type: :runtime
|
162
|
-
version_requirements: *id009
|
163
|
-
- !ruby/object:Gem::Dependency
|
164
|
-
name: open4
|
165
106
|
prerelease: false
|
166
|
-
|
167
|
-
|
168
|
-
|
107
|
+
version_requirements: !ruby/object:Gem::Requirement
|
108
|
+
requirements:
|
109
|
+
- - ~>
|
110
|
+
- !ruby/object:Gem::Version
|
111
|
+
version: 1.8.0
|
112
|
+
- !ruby/object:Gem::Dependency
|
113
|
+
name: open4
|
114
|
+
requirement: !ruby/object:Gem::Requirement
|
115
|
+
requirements:
|
169
116
|
- - ~>
|
170
|
-
- !ruby/object:Gem::Version
|
171
|
-
hash: 27
|
172
|
-
segments:
|
173
|
-
- 1
|
174
|
-
- 3
|
175
|
-
- 0
|
117
|
+
- !ruby/object:Gem::Version
|
176
118
|
version: 1.3.0
|
177
119
|
type: :runtime
|
178
|
-
version_requirements: *id010
|
179
|
-
- !ruby/object:Gem::Dependency
|
180
|
-
name: rake
|
181
120
|
prerelease: false
|
182
|
-
|
183
|
-
|
184
|
-
requirements:
|
121
|
+
version_requirements: !ruby/object:Gem::Requirement
|
122
|
+
requirements:
|
185
123
|
- - ~>
|
186
|
-
- !ruby/object:Gem::Version
|
187
|
-
|
188
|
-
|
189
|
-
- 10
|
190
|
-
- 0
|
191
|
-
- 0
|
192
|
-
version: 10.0.0
|
193
|
-
type: :runtime
|
194
|
-
version_requirements: *id011
|
195
|
-
- !ruby/object:Gem::Dependency
|
124
|
+
- !ruby/object:Gem::Version
|
125
|
+
version: 1.3.0
|
126
|
+
- !ruby/object:Gem::Dependency
|
196
127
|
name: activesupport
|
197
|
-
|
198
|
-
|
199
|
-
none: false
|
200
|
-
requirements:
|
128
|
+
requirement: !ruby/object:Gem::Requirement
|
129
|
+
requirements:
|
201
130
|
- - ~>
|
202
|
-
- !ruby/object:Gem::Version
|
203
|
-
hash: 21
|
204
|
-
segments:
|
205
|
-
- 3
|
206
|
-
- 2
|
207
|
-
- 13
|
131
|
+
- !ruby/object:Gem::Version
|
208
132
|
version: 3.2.13
|
209
133
|
type: :runtime
|
210
|
-
version_requirements: *id012
|
211
|
-
- !ruby/object:Gem::Dependency
|
212
|
-
name: bacon
|
213
134
|
prerelease: false
|
214
|
-
|
215
|
-
|
216
|
-
|
135
|
+
version_requirements: !ruby/object:Gem::Requirement
|
136
|
+
requirements:
|
137
|
+
- - ~>
|
138
|
+
- !ruby/object:Gem::Version
|
139
|
+
version: 3.2.13
|
140
|
+
- !ruby/object:Gem::Dependency
|
141
|
+
name: bacon
|
142
|
+
requirement: !ruby/object:Gem::Requirement
|
143
|
+
requirements:
|
217
144
|
- - ~>
|
218
|
-
- !ruby/object:Gem::Version
|
219
|
-
|
220
|
-
segments:
|
221
|
-
- 1
|
222
|
-
- 1
|
223
|
-
version: "1.1"
|
145
|
+
- !ruby/object:Gem::Version
|
146
|
+
version: '1.1'
|
224
147
|
type: :development
|
225
|
-
|
148
|
+
prerelease: false
|
149
|
+
version_requirements: !ruby/object:Gem::Requirement
|
150
|
+
requirements:
|
151
|
+
- - ~>
|
152
|
+
- !ruby/object:Gem::Version
|
153
|
+
version: '1.1'
|
226
154
|
description: |-
|
227
155
|
CocoaPods manages library dependencies for your Xcode project.
|
228
|
-
|
156
|
+
|
229
157
|
You specify the dependencies for your project in one easy text file. CocoaPods resolves dependencies between libraries, fetches source code for the dependencies, and creates and maintains an Xcode workspace to build your project.
|
230
|
-
|
158
|
+
|
231
159
|
Ultimately, the goal is to improve discoverability of, and engagement in, third party open-source libraries, by creating a more centralized ecosystem.
|
232
|
-
email:
|
160
|
+
email:
|
233
161
|
- eloy.de.enige@gmail.com
|
234
162
|
- fabiopelosin@gmail.com
|
235
|
-
executables:
|
163
|
+
executables:
|
236
164
|
- pod
|
237
165
|
- sandbox-pod
|
238
166
|
extensions: []
|
239
|
-
|
240
167
|
extra_rdoc_files: []
|
241
|
-
|
242
|
-
files:
|
168
|
+
files:
|
243
169
|
- lib/cocoapods/command/help.rb
|
244
170
|
- lib/cocoapods/command/inter_process_communication.rb
|
245
171
|
- lib/cocoapods/command/list.rb
|
@@ -256,7 +182,6 @@ files:
|
|
256
182
|
- lib/cocoapods/downloader.rb
|
257
183
|
- lib/cocoapods/executable.rb
|
258
184
|
- lib/cocoapods/external_sources.rb
|
259
|
-
- lib/cocoapods/file_list.rb
|
260
185
|
- lib/cocoapods/gem_version.rb
|
261
186
|
- lib/cocoapods/generator/acknowledgements/markdown.rb
|
262
187
|
- lib/cocoapods/generator/acknowledgements/plist.rb
|
@@ -266,6 +191,9 @@ files:
|
|
266
191
|
- lib/cocoapods/generator/dummy_source.rb
|
267
192
|
- lib/cocoapods/generator/prefix_header.rb
|
268
193
|
- lib/cocoapods/generator/target_environment_header.rb
|
194
|
+
- lib/cocoapods/generator/xcconfig/aggregate_xcconfig.rb
|
195
|
+
- lib/cocoapods/generator/xcconfig/private_pod_xcconfig.rb
|
196
|
+
- lib/cocoapods/generator/xcconfig/public_pod_xcconfig.rb
|
269
197
|
- lib/cocoapods/generator/xcconfig.rb
|
270
198
|
- lib/cocoapods/hooks/installer_representation.rb
|
271
199
|
- lib/cocoapods/hooks/library_representation.rb
|
@@ -274,11 +202,12 @@ files:
|
|
274
202
|
- lib/cocoapods/installer/analyzer.rb
|
275
203
|
- lib/cocoapods/installer/file_references_installer.rb
|
276
204
|
- lib/cocoapods/installer/pod_source_installer.rb
|
205
|
+
- lib/cocoapods/installer/target_installer/aggregate_target_installer.rb
|
206
|
+
- lib/cocoapods/installer/target_installer/pod_target_installer.rb
|
277
207
|
- lib/cocoapods/installer/target_installer.rb
|
278
208
|
- lib/cocoapods/installer/user_project_integrator/target_integrator.rb
|
279
209
|
- lib/cocoapods/installer/user_project_integrator.rb
|
280
210
|
- lib/cocoapods/installer.rb
|
281
|
-
- lib/cocoapods/library.rb
|
282
211
|
- lib/cocoapods/open_uri.rb
|
283
212
|
- lib/cocoapods/project.rb
|
284
213
|
- lib/cocoapods/resolver.rb
|
@@ -287,6 +216,9 @@ files:
|
|
287
216
|
- lib/cocoapods/sandbox/path_list.rb
|
288
217
|
- lib/cocoapods/sandbox.rb
|
289
218
|
- lib/cocoapods/sources_manager.rb
|
219
|
+
- lib/cocoapods/target/aggregate_target.rb
|
220
|
+
- lib/cocoapods/target/pod_target.rb
|
221
|
+
- lib/cocoapods/target.rb
|
290
222
|
- lib/cocoapods/user_interface/error_report.rb
|
291
223
|
- lib/cocoapods/user_interface.rb
|
292
224
|
- lib/cocoapods/validator.rb
|
@@ -297,55 +229,57 @@ files:
|
|
297
229
|
- LICENSE
|
298
230
|
- CHANGELOG.md
|
299
231
|
homepage: https://github.com/CocoaPods/CocoaPods
|
300
|
-
licenses:
|
232
|
+
licenses:
|
301
233
|
- MIT
|
302
|
-
|
303
|
-
|
234
|
+
metadata: {}
|
235
|
+
post_install_message: |2+
|
236
|
+
|
304
237
|
CHANGELOG:
|
305
|
-
|
306
|
-
## 0.
|
307
|
-
[CocoaPods](https://github.com/CocoaPods/CocoaPods/compare/0.20.
|
308
|
-
|
238
|
+
|
239
|
+
## 0.21.0.rc1
|
240
|
+
[CocoaPods](https://github.com/CocoaPods/CocoaPods/compare/0.20.2...0.21.0.rc1)
|
241
|
+
• [cocoapods-core](https://github.com/CocoaPods/Core/compare/0.20.2...0.21.0.rc1)
|
242
|
+
• [Xcodeproj](https://github.com/CocoaPods/Xcodeproj/compare/0.6.0...0.7.0)
|
243
|
+
|
244
|
+
###### Enhancements
|
245
|
+
|
246
|
+
* Pods are now built in dedicated targets. This enhancement isolates the build
|
247
|
+
environment of each Pod from other ones eliminating pollution issues. It also
|
248
|
+
introduces an important architectural improvement which lays the foundation
|
249
|
+
for the upcoming CocoaPods features. Stay tuned! This feature has been
|
250
|
+
implemented by [Jeremy Slater](https://github.com/jasl8r).
|
251
|
+
[#841](https://github.com/CocoaPods/CocoaPods/issues/1080)
|
252
|
+
|
253
|
+
* Reduced external dependencies and deprecation of Rake::FileList.
|
254
|
+
[#1080](https://github.com/CocoaPods/CocoaPods/issues/1080)
|
255
|
+
|
309
256
|
###### Bug fixes
|
310
|
-
|
311
|
-
* Ensure that, in a sandbox-pod env, RubyGems loads the CocoaPods gem on system
|
312
|
-
Ruby (1.8.7).
|
313
|
-
[#939](https://github.com/CocoaPods/CocoaPods/issues/939#issuecomment-18396063)
|
314
|
-
* Allow sandbox-pod to execute any tool inside the Xcode.app bundle.
|
315
|
-
* Allow sandbox-pod to execute any tool inside a rbenv prefix.
|
316
|
-
|
317
|
-
|
318
|
-
rdoc_options: []
|
319
257
|
|
320
|
-
|
258
|
+
* Fixed crash due to Podfile.lock containing multiple version requirements for
|
259
|
+
a Pod. [#1076](https://github.com/CocoaPods/CocoaPods/issues/1076)
|
260
|
+
* Fixed a build error due to the copy resources script using the same temporary
|
261
|
+
file for multiple targets.
|
262
|
+
[#1099](https://github.com/CocoaPods/CocoaPods/issues/1099)
|
263
|
+
|
264
|
+
|
265
|
+
rdoc_options: []
|
266
|
+
require_paths:
|
321
267
|
- lib
|
322
|
-
required_ruby_version: !ruby/object:Gem::Requirement
|
323
|
-
|
324
|
-
|
325
|
-
|
326
|
-
- !ruby/object:Gem::Version
|
327
|
-
hash: 57
|
328
|
-
segments:
|
329
|
-
- 1
|
330
|
-
- 8
|
331
|
-
- 7
|
268
|
+
required_ruby_version: !ruby/object:Gem::Requirement
|
269
|
+
requirements:
|
270
|
+
- - '>='
|
271
|
+
- !ruby/object:Gem::Version
|
332
272
|
version: 1.8.7
|
333
|
-
required_rubygems_version: !ruby/object:Gem::Requirement
|
334
|
-
|
335
|
-
|
336
|
-
|
337
|
-
|
338
|
-
hash: 3
|
339
|
-
segments:
|
340
|
-
- 0
|
341
|
-
version: "0"
|
273
|
+
required_rubygems_version: !ruby/object:Gem::Requirement
|
274
|
+
requirements:
|
275
|
+
- - '>='
|
276
|
+
- !ruby/object:Gem::Version
|
277
|
+
version: '0'
|
342
278
|
requirements: []
|
343
|
-
|
344
279
|
rubyforge_project:
|
345
|
-
rubygems_version:
|
280
|
+
rubygems_version: 2.0.3
|
346
281
|
signing_key:
|
347
282
|
specification_version: 3
|
348
283
|
summary: An Objective-C library package manager.
|
349
284
|
test_files: []
|
350
|
-
|
351
285
|
has_rdoc:
|