{"id":19167521,"url":"https://github.com/tomekw/last_commit","last_synced_at":"2026-06-18T11:30:16.909Z","repository":{"id":56880766,"uuid":"11878062","full_name":"tomekw/last_commit","owner":"tomekw","description":"Simple utility class to get last commit info from git repository.","archived":false,"fork":false,"pushed_at":"2013-08-08T17:36:45.000Z","size":128,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":3,"default_branch":"master","last_synced_at":"2025-02-04T20:36:33.766Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"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/tomekw.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE.txt","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2013-08-04T12:09:19.000Z","updated_at":"2019-08-13T11:52:29.000Z","dependencies_parsed_at":"2022-08-20T23:40:09.523Z","dependency_job_id":null,"html_url":"https://github.com/tomekw/last_commit","commit_stats":null,"previous_names":[],"tags_count":3,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tomekw%2Flast_commit","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tomekw%2Flast_commit/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tomekw%2Flast_commit/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tomekw%2Flast_commit/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/tomekw","download_url":"https://codeload.github.com/tomekw/last_commit/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":240247509,"owners_count":19771318,"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","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-09T09:38:02.327Z","updated_at":"2026-06-18T11:30:16.751Z","avatar_url":"https://github.com/tomekw.png","language":"Ruby","funding_links":[],"categories":[],"sub_categories":[],"readme":"# LastCommit\n\nSimple utility class to get last commit info from git repository.\n\n## Installation\n\nAdd this line to your application's Gemfile:\n\n``` ruby\ngem \"last_commit\"\n```\n\nAnd then execute:\n\n``` sh\n$ bundle\n```\n\nOr install it by yourself:\n\n``` sh\n$ gem install last_commit\n```\n\n## Usage\n\n``` ruby\nrequire \"last_commit\"\n\nlast_commit = LastCommit.new(\"#{ENV[\"HOME\"]}/git/repo/path\", \"master\")\n\nlast_commit.author  # \"Tomek Wałkuski\"\nlast_commit.message # \"Initial commit\"\nlast_commit.sha     # \"08feadfc6075dbeb696aa61e9d21383b2a6a0f0e\"\n```\n\n## Contributing\n\n1. Fork it\n2. Create your feature branch (`git checkout -b my-new-feature`)\n3. Commit your changes (`git commit -am 'Add some feature'`)\n4. Push to the branch (`git push origin my-new-feature`)\n5. Create new Pull Request\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ftomekw%2Flast_commit","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Ftomekw%2Flast_commit","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ftomekw%2Flast_commit/lists"}