{"id":18728664,"url":"https://github.com/rubyonworld/ruby-github","last_synced_at":"2026-04-13T18:02:27.920Z","repository":{"id":174008088,"uuid":"542162250","full_name":"RubyOnWorld/ruby-github","owner":"RubyOnWorld","description":"Ruby-GitHub is a simple wrapper library for the evolving GitHub API.","archived":false,"fork":false,"pushed_at":"2022-09-28T01:14:59.000Z","size":12,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-05-19T20:32:28.494Z","etag":null,"topics":["api","github","rails","ruby","simple"],"latest_commit_sha":null,"homepage":"","language":"Ruby","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/RubyOnWorld.png","metadata":{"files":{"readme":"README.txt","changelog":"History.txt","contributing":null,"funding":null,"license":null,"code_of_conduct":null,"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,"zenodo":null}},"created_at":"2022-09-27T15:38:27.000Z","updated_at":"2022-09-28T04:09:37.000Z","dependencies_parsed_at":null,"dependency_job_id":"0b3cd9da-8170-43c8-bd9c-426268819319","html_url":"https://github.com/RubyOnWorld/ruby-github","commit_stats":null,"previous_names":["rubyonworld/ruby-github"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/RubyOnWorld/ruby-github","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/RubyOnWorld%2Fruby-github","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/RubyOnWorld%2Fruby-github/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/RubyOnWorld%2Fruby-github/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/RubyOnWorld%2Fruby-github/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/RubyOnWorld","download_url":"https://codeload.github.com/RubyOnWorld/ruby-github/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/RubyOnWorld%2Fruby-github/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":31764317,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-04-13T15:25:13.801Z","status":"ssl_error","status_checked_at":"2026-04-13T15:25:09.162Z","response_time":93,"last_error":"SSL_read: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"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":["api","github","rails","ruby","simple"],"created_at":"2024-11-07T14:22:43.659Z","updated_at":"2026-04-13T18:02:27.914Z","avatar_url":"https://github.com/RubyOnWorld.png","language":"Ruby","funding_links":[],"categories":[],"sub_categories":[],"readme":"== Ruby-GitHub\n\n= DESCRIPTION:\n\nRuby-GitHub is a simple wrapper library for the evolving GitHub API.\n\n= INSTALLATION:\n\nGem:\n\nThe gem is hosted on GitHub so you will need to execute the first line if you have not installed any gems from GitHub before.\n\n  sudo gem install mbleigh-ruby-github --source=http://gems.github.com\n\nGitHub Clone:\n\n  git clone git://github.com/mbleigh/ruby-github.git\n\n= DEPENDENCIES:\n\n* Requires the 'json' gem\n* Requires the 'mash' gem\n\n= SYNOPSIS:\n  \n  require 'ruby-github'\n  \n  user = GitHub::API.user('mbleigh')\n  user.name # =\u003e \"Michael Bleigh\"\n  user.repositories # =\u003e array of repositories\n  user.repositories.last.name # =\u003e \"ruby-github\"\n  user.repositories.last.url # =\u003e \"http://GitHub::API.com/mbleigh/ruby-github\"\n  user.repositories.last.commits # =\u003e requests array of commits (see below)\n  \n  repository = GitHub::API.repository('mbleigh','ruby-github')\n  # =\u003e \u003cGitHub::Repository name=\"ruby-github\"\u003e\n\n  commits = GitHub::API.commits('mbleigh','ruby-github')\n  commits.first.message # =\u003e \"Moved GitHub::API.rb to ruby-GitHub::API.rb...\"\n  commits.first.id # =\u003e \"1d8c21062e11bb1ecd51ab840aa13d906993f3f7\"\n\n  # these two lines are equivalent\n  commit = commits.first.detailed\n  commit = GitHub::API.commit('mbleigh', 'ruby-github', '1d8c21062e11bb1ecd51ab840aa13d906993f3f7')\n\n  commit.message # =\u003e \"Moved GitHub::API.rb to ruby-GitHub::API.rb...\"\n  commit.added.collect{|c| c.filename} # =\u003e [\"init.rb\", \"lib/ruby-GitHub::API.rb\"]\n\nNote that the information is less complete in the 'commits' pull\nthan in the pull for an individual commit. calling 'detailed' on\na commit retreived from a 'commits' call will make a 'commit' call\nfor that specific commit.\n\nHere's a one-liner that uses all parts of the Ruby-GitHub library:\n\nlatest_commit_filenames = GitHub::API.user('mbleigh').repositories.first.commits.first.detailed.modified.collect(\u0026:filename)\n  \n= RESOURCES:\n\n* GitHub Project: http://github.com/mbleigh/ruby-github\n* Lighthouse: http://mbleigh.lighthouseapp.com/projects/10115-ruby-github\n\n= KNOWN ISSUES/FUTURE DEVELOPMENT:\n\nRight now this library isn't spec'ed out, that's the top priority moving forward. It\nwill likely also have to evolve substantially as the GitHub API becomes more mature.\nIf you have any questions or requests, don't hesitate to put them on the Lighthouse!\n\nCopyright (c) 2008 Michael Bleigh (http://mbleigh.com/) \nand Intridea Inc. (http://intridea.com/), released under the MIT license\n\nPermission is hereby granted, free of charge, to any person obtaining\na copy of this software and associated documentation files (the\n'Software'), to deal in the Software without restriction, including\nwithout limitation the rights to use, copy, modify, merge, publish,\ndistribute, sublicense, and/or sell copies of the Software, and to\npermit persons to whom the Software is furnished to do so, subject to\nthe following conditions:\n\nThe above copyright notice and this permission notice shall be\nincluded in all copies or substantial portions of the Software.\n\nTHE SOFTWARE IS PROVIDED 'AS IS', WITHOUT WARRANTY OF ANY KIND,\nEXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF\nMERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT.\nIN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY\nCLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT,\nTORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE\nSOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Frubyonworld%2Fruby-github","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Frubyonworld%2Fruby-github","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Frubyonworld%2Fruby-github/lists"}