Sha256: 7dd45ba54788eca822e7c951986867ffe4ad57f12025e693c99d724ed51ca22b

Contents?: true

Size: 830 Bytes

Versions: 1

Compression:

Stored size: 830 Bytes

Contents

# CircleciCrawler

Crawl CircleCI's the latest artifact file specified.

## Installation

```shell
$ gem install circleci_crawler
```

## Usage

Crawl simplecov.gem result json:

```sh
$ circleci_crawler --project-path="github/your_account_name/your_repository_name" \
                   --api-token=your_circleci_api_token \
                   --path="artifact-file/.last_run.json" | jq
# {
#   "result": {
#      "covered_percent": 83.37
#   }
# }
```

Or 

```ruby
crawler = CircleciCrawler::Crawler.new(
            project_path: 'github/your_account_name/your_repository_name',
            api_token: 'your_circleci_api_token',
            path: 'artifact-file/.last_run.json')
puts crawler.crawl
```

## License

The gem is available as open source under the terms of the [MIT License](https://opensource.org/licenses/MIT).

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
circleci_crawler-0.1.0 README.md