Restore `development_pod_targets` public method in installer

parent dfaa7cb1
...@@ -12,8 +12,9 @@ To install release candidates run `[sudo] gem install cocoapods --pre` ...@@ -12,8 +12,9 @@ To install release candidates run `[sudo] gem install cocoapods --pre`
##### Bug Fixes ##### Bug Fixes
* None. * Restore `development_pod_targets` public method in installer
[Dimitris Koutsogiorgas](https://github.com/dnkoutso)
[#7292](https://github.com/CocoaPods/CocoaPods/pull/7292)
## 1.4.0.rc.1 (2017-12-16) ## 1.4.0.rc.1 (2017-12-16)
......
...@@ -644,6 +644,19 @@ module Pod ...@@ -644,6 +644,19 @@ module Pod
#-------------------------------------------------------------------------# #-------------------------------------------------------------------------#
public
# @return [Array<PodTarget>] The targets of the development pods generated by
# the installation process. This can be used as a convenience method for external scripts.
#
def development_pod_targets
pod_targets.select do |pod_target|
sandbox.development_pods.keys.include?(pod_target.pod_name)
end
end
#-------------------------------------------------------------------------#
private private
# @!group Private helpers # @!group Private helpers
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment