Update users script to use CocoaPods API

This means it works for JSON and Ruby DSL specs.