From 1ff7c409f719bce4f69f439316593142bf8f34a9 Mon Sep 17 00:00:00 2001 From: papakvy Date: Tue, 17 Sep 2024 02:24:01 +0000 Subject: [PATCH] release 0.0.5 --- README.md | 25 ++++++++++++++----------- lib/chatopsify/version.rb | 2 +- 2 files changed, 15 insertions(+), 12 deletions(-) diff --git a/README.md b/README.md index c5703af..0254850 100644 --- a/README.md +++ b/README.md @@ -1,9 +1,9 @@ # Chatopsify -![Gem](https://img.shields.io/gem/v/Chatopsify?color=%234cc61f&label=Gem%20version&logo=ruby&logoColor=red) -![Gem](https://img.shields.io/gem/dt/Chatopsify?color=%2330c754&label=Downloads&logo=rubygems&logoColor=red) -![GitHub Workflow Status](https://img.shields.io/github/workflow/status/rs-phunt/Chatopsify/Tests%20%F0%9F%A7%AA?label=Tests&logo=github) -![GitHub Workflow Status](https://img.shields.io/github/workflow/status/rs-phunt/Chatopsify/Rubocop%20Lint?label=Rubocop&logo=github) +![Gem](https://img.shields.io/gem/v/chatopsify?color=%25234cc61f&label=Gem%20version&logo=ruby&logoColor=red) +![Gem](https://img.shields.io/gem/dt/chatopsify?color=%2330c754&label=Downloads&logo=rubygems&logoColor=red) + ## Installation @@ -29,19 +29,22 @@ Require the gem in your `Capfile`: ## Configuration -### Puts `CHATOPS_API_KEY` into your ENV - -- Export to your `bash`: `export CHATOPS_API_KEY=xxx` - -- Add to `.env` if you're using `dotenv` gem +### Using ENV (or `.env`) +```bash +export CHATOPS_URI='your_chatops_uri' +export CHATOPS_API_KEY='your_chatops_api_key' +export CHATOPS_CHANNEL_ID='your_channel_id' +``` -### Puts `CHATOPS_CHANNEL_ID` into your ENV or custom in `config/deploy` +### Using `config/deploy` ```ruby # config/deploy.rb ... -set :chatops_channel_id, 'xxx' +set :chatops_uri, 'your_chatops_uri' +set :chatops_api_key, 'your_chatops_api_key' +set :chatops_channel_id, 'your_channel_id' ... ``` diff --git a/lib/chatopsify/version.rb b/lib/chatopsify/version.rb index 1c4b5f7..64a1d7a 100644 --- a/lib/chatopsify/version.rb +++ b/lib/chatopsify/version.rb @@ -1,5 +1,5 @@ # frozen_string_literal: true module Chatopsify - VERSION = '0.0.4' + VERSION = '0.0.5' end