{"id":20313706,"url":"https://github.com/posthog/posthog-ruby","last_synced_at":"2026-02-10T04:05:05.953Z","repository":{"id":37038683,"uuid":"241218293","full_name":"PostHog/posthog-ruby","owner":"PostHog","description":"Send usage data from your Ruby code to PostHog.","archived":false,"fork":false,"pushed_at":"2025-03-14T11:47:44.000Z","size":138,"stargazers_count":19,"open_issues_count":5,"forks_count":21,"subscribers_count":3,"default_branch":"master","last_synced_at":"2025-03-21T18:13:42.694Z","etag":null,"topics":["ruby"],"latest_commit_sha":null,"homepage":"https://posthog.com/docs/libraries/ruby","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/PostHog.png","metadata":{"files":{"readme":"README.md","changelog":"CHANGELOG.md","contributing":null,"funding":null,"license":"LICENSE","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}},"created_at":"2020-02-17T22:09:40.000Z","updated_at":"2025-03-14T11:47:41.000Z","dependencies_parsed_at":"2024-02-26T18:32:30.353Z","dependency_job_id":"80cbd696-e901-4b83-b243-f24f1389862c","html_url":"https://github.com/PostHog/posthog-ruby","commit_stats":{"total_commits":47,"total_committers":16,"mean_commits":2.9375,"dds":0.7659574468085106,"last_synced_commit":"0e31e216625fbd412458932510c117c686595577"},"previous_names":[],"tags_count":16,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/PostHog%2Fposthog-ruby","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/PostHog%2Fposthog-ruby/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/PostHog%2Fposthog-ruby/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/PostHog%2Fposthog-ruby/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/PostHog","download_url":"https://codeload.github.com/PostHog/posthog-ruby/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":246085590,"owners_count":20721210,"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":["ruby"],"created_at":"2024-11-14T18:12:27.255Z","updated_at":"2026-02-10T04:05:05.892Z","avatar_url":"https://github.com/PostHog.png","language":"Ruby","readme":"# PostHog Ruby\n\nPlease see the main [PostHog docs](https://posthog.com/docs).\n\nSpecifically, the [Ruby integration](https://posthog.com/docs/integrations/ruby-integration) details.\n\n## Developing Locally\n\n1. Install Ruby (and optionally `rbenv` to control ruby versions)\n2. Install Bundler\n3. Run `bundle install` to install dependencies\n\n## Running example file\n\n1. Build the `posthog-ruby` gem by calling: `gem build posthog-ruby.gemspec`.\n2. Install the gem locally: `gem install ./posthog-ruby-\u003cversion\u003e.gem`\n3. Run `ruby example.rb`\n\n## Testing\n\n1. Run `bundle exec rspec`\n2. An example of running specific tests: `bundle exec rspec spec/posthog/client_spec.rb:26`\n\n## Questions?\n\n### [Join our Slack community.](https://join.slack.com/t/posthogusers/shared_invite/enQtOTY0MzU5NjAwMDY3LTc2MWQ0OTZlNjhkODk3ZDI3NDVjMDE1YjgxY2I4ZjI4MzJhZmVmNjJkN2NmMGJmMzc2N2U3Yjc3ZjI5NGFlZDQ)\n\n## How to release\n\n1. Get access to RubyGems from @dmarticus, @daibhin or @mariusandra\n2. Update `lib/posthog/version.rb` with the new version \u0026 add to `CHANGELOG.md`. Commit the changes:\n\n```shell\ngit commit -am \"Version 1.2.3\"\ngit tag -a 1.2.3 -m \"Version 1.2.3\"\ngit push \u0026\u0026 git push --tags\n```\n\n3. Run\n\n```shell\ngem build posthog-ruby.gemspec\ngem push posthog-ruby-1.2.3.gem\n```\n\n3. Authenticate with your RubyGems account and approve the publish!\n","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fposthog%2Fposthog-ruby","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fposthog%2Fposthog-ruby","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fposthog%2Fposthog-ruby/lists"}