cocoapods-core 0.17.0.rc4 → 0.17.0.rc5
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 2241963abba89032cf7485e29dfd41b905792192
|
4
|
+
data.tar.gz: 9ec5663e5ac556ca201c6001bd0bd03686ce532a
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: c6f8a59406a6a8754e0fbf93b8e0312cf2e75294e77a48ee2fcabf4d08691230de7334c3f3aa115c5b229d2019976cdcfb151e1f1ae507c3c268fa9e71eda028
|
7
|
+
data.tar.gz: 0b65940403213d8ea521805ac73c1a74ae10f4848599c0a43ff26f73010c63f7f8aecd25154a58d890831b30d306e704454407b078a6d3284bbefef3f483a6c5
|
@@ -282,8 +282,10 @@ module Pod
|
|
282
282
|
# directory as the Podfile then that project will be used.
|
283
283
|
#
|
284
284
|
# It is possible also to specify whether the build settings of your
|
285
|
-
# custom build configurations should be modeled after the
|
286
|
-
# the
|
285
|
+
# custom build configurations should be modeled after the release or
|
286
|
+
# the debug presets. To do so you need to specify a hash where the name
|
287
|
+
# of each build configuration is associated to either `:release` or
|
288
|
+
# `:debug`.
|
287
289
|
#
|
288
290
|
# @param [String] path
|
289
291
|
# the path of the project to link with
|
@@ -61,7 +61,7 @@ module Pod
|
|
61
61
|
#
|
62
62
|
def required_by(dependency, dependent_name)
|
63
63
|
unless @required_by.empty? || dependency.requirement.satisfied_by?(Version.new(required_version.to_s))
|
64
|
-
raise
|
64
|
+
raise Informative, "#{dependent_name} tries to activate `#{dependency}', but already activated version `#{required_version}' by #{@required_by.to_sentence}."
|
65
65
|
end
|
66
66
|
@specification = nil
|
67
67
|
@required_by << dependent_name
|
@@ -105,7 +105,7 @@ module Pod
|
|
105
105
|
def required_version
|
106
106
|
version = versions.find { |v| dependency.match?(name, v) }
|
107
107
|
unless version
|
108
|
-
raise
|
108
|
+
raise Informative, "Required version (#{dependency}) not found " \
|
109
109
|
"for `#{name}`.\nAvailable versions: #{versions.join(', ')}"
|
110
110
|
end
|
111
111
|
version
|