cocoapods-core 0.17.0.rc4 → 0.17.0.rc5

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: 896adda27172b8dcfa978bf08ff55246b8ca0590
4
- data.tar.gz: 25daeb66ef4f1c3c35fc6c01620379a1e040ea3a
3
+ metadata.gz: 2241963abba89032cf7485e29dfd41b905792192
4
+ data.tar.gz: 9ec5663e5ac556ca201c6001bd0bd03686ce532a
5
5
  SHA512:
6
- metadata.gz: 30a685494b26ad501954300b8f1e1cfb7ce90adc2ce9f6893cd6fcad6a12e6813f0d912438d3507143ca2eb7852bcb3eca836695af10deae677305d2fdc3ee16
7
- data.tar.gz: 3142de608a637b0f18bfc978953e1691db558da210fcfd9bced9d4263510dd3f6b7b3496094acafd506106855dcc34c99dbfde742de39dc5dd29dd28555c09af
6
+ metadata.gz: c6f8a59406a6a8754e0fbf93b8e0312cf2e75294e77a48ee2fcabf4d08691230de7334c3f3aa115c5b229d2019976cdcfb151e1f1ae507c3c268fa9e71eda028
7
+ data.tar.gz: 0b65940403213d8ea521805ac73c1a74ae10f4848599c0a43ff26f73010c63f7f8aecd25154a58d890831b30d306e704454407b078a6d3284bbefef3f483a6c5
@@ -2,5 +2,5 @@ module Pod
2
2
 
3
3
  # The version of the cocoapods-core.
4
4
  #
5
- CORE_VERSION = '0.17.0.rc4' unless defined? Pod::CORE_VERSION
5
+ CORE_VERSION = '0.17.0.rc5' unless defined? Pod::CORE_VERSION
6
6
  end
@@ -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 Release or
286
- # the Debug build configuration.
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 StandardError, "#{dependent_name} tries to activate `#{dependency}', but already activated version `#{required_version}' by #{@required_by.to_sentence}."
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 StandardError, "Required version (#{dependency}) not found " \
108
+ raise Informative, "Required version (#{dependency}) not found " \
109
109
  "for `#{name}`.\nAvailable versions: #{versions.join(', ')}"
110
110
  end
111
111
  version
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: cocoapods-core
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.17.0.rc4
4
+ version: 0.17.0.rc5
5
5
  platform: ruby
6
6
  authors:
7
7
  - Eloy Duran