{"id":31794538,"url":"https://github.com/jollopre/bambooing","last_synced_at":"2025-10-10T19:46:29.498Z","repository":{"id":45180876,"uuid":"187907391","full_name":"jollopre/bambooing","owner":"jollopre","description":"A hassle free gem to track your working hours for bamboohr","archived":false,"fork":false,"pushed_at":"2025-04-02T05:56:31.000Z","size":65,"stargazers_count":20,"open_issues_count":4,"forks_count":5,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-04-02T06:31:26.482Z","etag":null,"topics":["bamboohr","docker","hours","ruby","ruby-gem"],"latest_commit_sha":null,"homepage":"","language":"Ruby","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/jollopre.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE.txt","code_of_conduct":"CODE_OF_CONDUCT.md","threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2019-05-21T20:18:15.000Z","updated_at":"2025-04-02T05:48:56.000Z","dependencies_parsed_at":"2025-04-02T06:37:14.223Z","dependency_job_id":null,"html_url":"https://github.com/jollopre/bambooing","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/jollopre/bambooing","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jollopre%2Fbambooing","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jollopre%2Fbambooing/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jollopre%2Fbambooing/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jollopre%2Fbambooing/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/jollopre","download_url":"https://codeload.github.com/jollopre/bambooing/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jollopre%2Fbambooing/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":279005034,"owners_count":26083827,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","status":"online","status_checked_at":"2025-10-10T02:00:06.843Z","response_time":62,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["bamboohr","docker","hours","ruby","ruby-gem"],"created_at":"2025-10-10T19:46:19.901Z","updated_at":"2025-10-10T19:46:29.492Z","avatar_url":"https://github.com/jollopre.png","language":"Ruby","readme":"# Bambooing\n\nWelcome 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.\n\n## Usage\n\nIf you have docker installed on your machine, please run the following command:\n```bash\nmake create_current_weekdays\n```\n\nThis 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. \n\n\u003e Note, it is needed to pass valid values for the configuration.env file (e.g. csrf_token, session_id or employee_id)\n\nIf you are ever lazier, you can add entries in Bamboo for the current month, based on the same strategy that for the current week. Please run the following command:\n```bash\nmake create_current_month_weekdays\n```\n\nIf you are ever ever lazie, you can add entries in Bamboo for days between specific dates (maybe two months? 😅), based on the same strategy that for the current month. Please run the following command:\n```bash\nmake create_custom_dates_weekdays START_DATE=\"01/01/2025\" END_DATE=\"31/03/2025\"\n```\n\n## Getting your credentials\n\nYou will need to open your bamboo account on a browser and navigate to `My Info` tab. Execute the following commands to read your CSRF Token and Employee ID:\n```js\nconsole.log('Employee id:', currentlyEditingEmployeeId);\nconsole.log('CSRF token:', CSRF_TOKEN);\n```\n\nFor the Session ID, you will have to use the browser's develpoment tools to find the value for the cookie named 'PHPSESSID' \n\n \u003e Notice that if `BAMBOOING_DRY_RUN_MODE` is enabled, the times will be generated but will **not** be uploaded to bamboo, you have to disable it if you want to upload the times.\n\n## Test\n\n```bash\nmake test\n```\n\n## Development\n\n```bash\nmake devel\n```\n\nThis 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.\n\n## Installation\n\nAdd this line to your application's Gemfile:\n\n```ruby\ngem 'bambooing'\n```\n\nAnd then execute:\n\n    $ bundle\n\nOr install it yourself as:\n\n    $ gem install bambooing\n    \n## Code status\n\n[![Build Status](https://travis-ci.com/jollopre/bambooing.svg?branch=master)](https://travis-ci.com/jollopre/bambooing)\n\n## Contributing\n\nBug 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](http://contributor-covenant.org) code of conduct.\n\n## License\n\nThe gem is available as open source under the terms of the [MIT License](https://opensource.org/licenses/MIT).\n\n## Code of Conduct\n\nEveryone interacting in the Bambooing project’s codebases, issue trackers, chat rooms and mailing lists is expected to follow the [code of conduct](https://github.com/[USERNAME]/bambooing/blob/master/CODE_OF_CONDUCT.md).\n","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjollopre%2Fbambooing","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fjollopre%2Fbambooing","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjollopre%2Fbambooing/lists"}