segiddins / cocoapods-dependencies

Shows a project's CocoaPods dependency graph
MIT License
252 stars 20 forks source link

Getting dependencies for a podspec instead uses latest version of podspec #8

Closed kylef closed 9 years ago

kylef commented 10 years ago

When I pod dependencies AWSiOSSDK.podspec.json it calculates from 1.7.1 instead of the podspec given (1.6.1). This can easily be reproduced by running pod dependencies ~/.cocoapods/repos/master/Specs/AWSiOSSDK/1.6.1/AWSiOSSDK.podspec.json.

Usage:

    $ pod dependencies [PODSPEC]

      Shows the project's dependency graph.
$ pod dependencies AWSiOSSDK.podspec.json

Dependencies

---
- AWSiOSSDK (1.7.1):
...
$ head AWSiOSSDK.podspec.json
{
  "name": "AWSiOSSDK",
  "version": "1.6.1",
segiddins commented 9 years ago

Depends upon https://github.com/CocoaPods/Core/issues/201