# wait-for-gem-version

> Wait for a specific version of a Ruby gem to be available on rubygems.org

Latest version **1.0.2** (published 2021-03-07) · MIT license · 0 weekly downloads

## Install

```sh
npm install wait-for-gem-version
pnpm add wait-for-gem-version
yarn add wait-for-gem-version
bun add wait-for-gem-version
```

Provides the command `wait-for-gem-version`.

## Health

**Score 15/100 (F)** — status: abandoned.

Positive: no vulnerabilities.

Warnings: low downloads; no types; no esm support.

Negative: abandoned; low maintenance score.

## Facts

| | |
|---|---|
| Version | 1.0.2 |
| Published | 2021-03-07 |
| First published | 2020-07-21 |
| Weekly downloads | 0 |
| License | MIT |
| TypeScript types | none |
| Module format | CommonJS |
| Dependencies | 3 |
| Unpacked size | 4.8 KB |
| Known vulnerabilities | 0 |
| Install scripts | no |
| Author | Michael Heap |
| Maintainers | mheap |
| Keywords | rubygems, ruby |

## Links

- npm: https://www.npmjs.com/package/wait-for-gem-version
- npm.io page: https://npm.io/package/wait-for-gem-version

## Dependencies (3)

- [debug](https://npm.io/package/debug.md) ^4.1.1
- [yargs](https://npm.io/package/yargs.md) ^15.4.1
- [node-fetch](https://npm.io/package/node-fetch.md) ^2.6.0

## Recent versions

- 1.0.2 (latest) — 2021-03-07
- 1.0.1 — 2020-11-08
- 1.0.0 — 2020-07-21

## README

# wait-for-gem-version

A CLI tool that polls the Rubygems API until a specific version is available.

## Usage

To check every 20 seconds, with a maximum of 2 minutes

```
npx wait-for-gem-version GEM_NAME 1.2.3 --interval 20 --max-duration 120
```

If the version is successfully found, the CLI will output with an exit code of `0`. Otherwise, the exit code will be `1` to indicate an error

## Debugging

This CLI uses the `debug` module to enable debug messages:

```
DEBUG=wait-for-gem-version npx wait-for-gem-version GEM_NAME 1.2.3 --interval 20 --max-duration 120
```

---
_Source: https://npm.io/package/wait-for-gem-version · Machine-readable twin of the npm.io package page. Health data is recomputed on every publish._
