No commit activity in last 3 years
No release in over 3 years
This gem crawls the latest CircleCI artifact file you specified. For Example, you can get the result JSON of simplecov.gem etc.
2005
2006
2007
2008
2009
2010
2011
2012
2013
2014
2015
2016
2017
2018
2019
2020
2021
2022
2023
2024
2025
 Dependencies

Development

>= 0
>= 0
 Project Readme

CircleciCrawler

Crawl CircleCI's the latest artifact file specified.

Installation

$ gem install circleci_crawler

Usage

Crawl simplecov.gem result json:

$ 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

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.