/bambooing

A hassle free gem to track your working hours for bamboohr

Primary LanguageRubyMIT LicenseMIT

Bambooing

Welcome to bambooing, a gem to track bamboo time hassle free! This gem is addressed to people who forgets to clock-(in|out) during work hours.

Usage

If you have docker installed on your machine, please run the following command:

make create_current_weekdays

This will add entries in Bamboo for the current week. These entries will consist of 8 hours per day with 2 breaks of 0-30 minutes, summing a total of 40 weekly hours. Note, it is needed to pass valid values for the configuration.env file (e.g. csrf_token, session_id or employee_id)

Test

make test

Development

make devel

This will create an image and run a container to play/develop further features in bambooing. Then, run bundle exec rake spec to run the tests. You can also run bin/console for an interactive prompt that will allow you to experiment.

Installation

Add this line to your application's Gemfile:

gem 'bambooing'

And then execute:

$ bundle

Or install it yourself as:

$ gem install bambooing

Contributing

Bug reports and pull requests are welcome on GitHub at https://github.com/jollopre/bambooing. This project is intended to be a safe, welcoming space for collaboration, and contributors are expected to adhere to the Contributor Covenant 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 Bambooing project’s codebases, issue trackers, chat rooms and mailing lists is expected to follow the code of conduct.