Custom search engine for CocoaPods
Ruby
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
lib
spec
.gitignore
.rubocop.yml
.travis.yml
Gemfile
Gemfile.lock
LICENSE
README.md
Rakefile
cocoapods-sorted-search.gemspec
example.gif
token_example.png

README.md

Gem Version

CocoaPods sorted search

CocoaPods plugin which adds a sort subcommand for pod search to sort search results by amount of stars, forks, or github activity.

Usage

pod search sort POD_NAME

Params

  • --stars - sort by stars - default
  • --forks - sort by forks
  • --activity - sort by most recent commits

Installation

[sudo] gem install cocoapods-sorted-search

Setting up github token

  1. Go to GitHub settings -> Applications -> Personal Access Tokens
  2. Generate new one and uncheck all scopes. It should look like this.
  3. Run pod setup github --token=MyToken

Your token will be stored in OS X Keychain and used automatically for fetching GitHub info for repositories.

Original sort parameters

Original sort parameters are supported too! So if you want to go crazy, and search for all Ruby stuff, that exists on iOS, you can do stuff like this:

pod search --ios --full sort Ruby

Example

Requirements

  • CocoaPods 0.36 and higher
  • Ruby 1.9.3 and higher

Troubleshooting

First of, read troubleshooting wiki page. If something still not right, post issue on GitHub to let me know!