{"id":20547536,"url":"https://github.com/ggonnella/ruby_progress_bar","last_synced_at":"2025-08-03T06:38:06.193Z","repository":{"id":583889,"uuid":"217361","full_name":"ggonnella/ruby_progress_bar","owner":"ggonnella","description":"a simple progress bar to give some feedback in console based ruby scripts ","archived":false,"fork":false,"pushed_at":"2009-06-03T12:22:38.000Z","size":76,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":3,"default_branch":"master","last_synced_at":"2025-03-06T05:17:40.009Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"","language":null,"has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":"xeipuuv/gojsonschema","license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/ggonnella.png","metadata":{"files":{"readme":"README","changelog":null,"contributing":null,"funding":null,"license":"MIT-LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2009-06-03T11:51:36.000Z","updated_at":"2013-12-14T12:21:59.000Z","dependencies_parsed_at":"2022-07-07T18:02:10.954Z","dependency_job_id":null,"html_url":"https://github.com/ggonnella/ruby_progress_bar","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/ggonnella/ruby_progress_bar","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ggonnella%2Fruby_progress_bar","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ggonnella%2Fruby_progress_bar/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ggonnella%2Fruby_progress_bar/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ggonnella%2Fruby_progress_bar/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/ggonnella","download_url":"https://codeload.github.com/ggonnella/ruby_progress_bar/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ggonnella%2Fruby_progress_bar/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":268505571,"owners_count":24260961,"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-08-03T02:00:12.545Z","response_time":2577,"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":[],"created_at":"2024-11-16T02:08:54.816Z","updated_at":"2025-08-03T06:38:06.151Z","avatar_url":"https://github.com/ggonnella.png","language":null,"funding_links":[],"categories":[],"sub_categories":[],"readme":"If you have a console based ruby script which takes some time to execute and \nyou can calculate which portion of the execution is ready at a certain time, you \nmay use this library to give some feedback. \n\nIt will be applied for example to this very simple script:\n\n100.times do \n  sleep 0.1 # let's pretend I'm doing something :)\nend\n\nUsing ruby_progress_bar it becomes: \n\nrequire \"progress_bar.rb\"\n# you must know the number of iterations to initialize the counter\n# in this case it's easy, it is 100:\nbar = ProgressBar.new(100) # this outputs the scala and opens the bar\n100.times do\n  sleep 0.1 # let's pretend I'm doing something :)\n  bar.next # this will print a dot every 1/50 of the iterations \nend\nbar.close # this closes the bar and prints a time benchmark\n\n=LICENSE\n\nThis library is MIT-Licensed. \n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fggonnella%2Fruby_progress_bar","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fggonnella%2Fruby_progress_bar","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fggonnella%2Fruby_progress_bar/lists"}