Sha256: fc6be02162fdced19d7e499a4222f9c3a0718433d0da9571f759fd47c8cf8c7f

Contents?: true

Size: 956 Bytes

Versions: 10

Compression:

Stored size: 956 Bytes

Contents

# cocoapods-whitelist

Validate Podspec's dependencies against a whitelist of pods.

## Installation

    $ gem install cocoapods-whitelist

## Usage

- As a command
```
$ pod whitelist [--podspec=PODSPEC] [--config=WHITELIST_FILE_OR_URL] [--outfile=PATH] [--fail-on-error]
```

- As plugin, add into the Podfile of your tests app
```
  plugin 'cocoapods-whitelist'
```

If not Podspec is passed by parameter, the command search into the current and parent directory.

You can specify a custom whitelist. By default use a whitelist hosted in [GitHub](https://github.com/mercadolibre/mobile-dependencies_whitelist/blob/master/ios-whitelist.json)

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
1. Build
```
gem build cocoapods-whitelist.gemspec
```
2. Publish
```
gem push cocoapods-whitelist-{version}.gem
```

Version data entries

10 entries across 10 versions & 1 rubygems

Version Path
cocoapods-whitelist-0.5.5 README.md
cocoapods-whitelist-0.5.4 README.md
cocoapods-whitelist-0.5.3 README.md
cocoapods-whitelist-0.4.0 README.md
cocoapods-whitelist-0.3.0 README.md
cocoapods-whitelist-0.2.1 README.md
cocoapods-whitelist-0.2.0 README.md
cocoapods-whitelist-0.1.0 README.md
cocoapods-whitelist-0.0.11 README.md
cocoapods-whitelist-0.0.10 README.md