cocoapods-allowlist
Validate Podspec's dependencies against a allowlist of pods.
Installation
$ gem install cocoapods-allowlist
Usage
$ pod allowlist [--podspec=PODSPEC] [--config=ALLOWLIST_FILE_OR_URL] [--outfile=PATH] [--fail-on-error]
- As plugin, add into the Podfile of your tests app
plugin 'cocoapods-allowlist'
If not Podspec is passed by parameter, the command search into the current and parent directory.
You can specify a custom allowlist. By default use a allowlist hosted in GitHub
By default exit with status 0, unless you add the parameter --fail-on-error
Development
Install dependencies
bundle install
Run test
rake
Publish in RubyGems
- Build
gem build cocoapods-allowlist.gemspec
- Publish
gem push cocoapods-allowlist-{version}.gem