No release in over a year
Slack progress bars for Ruby.
2005
2006
2007
2008
2009
2010
2011
2012
2013
2014
2015
2016
2017
2018
2019
2020
2021
2022
2023
2024
 Dependencies

Development

~> 13.0
~> 3.0
~> 1.7

Runtime

 Project Readme

SlackRubyProgressBar

A Slack progress bar for Ruby.

Inspired by: https://github.com/bcicen/slack-progress

Installation

Add this line to your application's Gemfile:

gem 'slack-ruby-progress-bar'

And then execute:

$ bundle install

Or install it yourself as:

$ gem install slack-ruby-progress-bar

Usage

progress_bar = SlackRubyProgressBar.new(channel: '#some-channel', username: 'some-username', slack_token: 'some-token', bar_color: 'blue')
progress_bar.update(progress: 1)
progress_bar.update(progress_text: 'one percent complete')
progress_bar.update(progress: 10, progress_text: 'ten percent complete')
progress_bar.increment
progress_bar.clear
progress_bar.finish

Contributing

Bug reports and pull requests are welcome on GitHub at https://github.com/whitslar/slack-ruby-progress-bar. This project is intended to be a safe, welcoming space for collaboration, and contributors are expected to adhere to the code of conduct.

License

The gem is available as open source under the terms of the MIT License.

Code of Conduct

Everyone interacting in the SlackRubyProgressBar project's codebases, issue trackers, chat rooms and mailing lists is expected to follow the code of conduct.