{"id":19078346,"url":"https://github.com/kickstarter/ipcat-ruby","last_synced_at":"2025-04-04T09:09:58.153Z","repository":{"id":6165453,"uuid":"7395155","full_name":"kickstarter/ipcat-ruby","owner":"kickstarter","description":"Ruby port of client9/ipcat","archived":false,"fork":false,"pushed_at":"2024-08-05T19:48:18.000Z","size":369,"stargazers_count":145,"open_issues_count":4,"forks_count":12,"subscribers_count":115,"default_branch":"main","last_synced_at":"2025-03-28T08:08:38.772Z","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/kickstarter.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":".github/CODEOWNERS","security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2013-01-01T12:08:16.000Z","updated_at":"2025-02-17T16:50:40.000Z","dependencies_parsed_at":"2024-06-21T04:56:52.083Z","dependency_job_id":"3bfa1805-e126-43b5-a370-0cf116634f7b","html_url":"https://github.com/kickstarter/ipcat-ruby","commit_stats":{"total_commits":102,"total_committers":10,"mean_commits":10.2,"dds":0.5294117647058824,"last_synced_commit":"fceba418df44fa876d8c42e570a9e3009896d6ea"},"previous_names":[],"tags_count":30,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/kickstarter%2Fipcat-ruby","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/kickstarter%2Fipcat-ruby/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/kickstarter%2Fipcat-ruby/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/kickstarter%2Fipcat-ruby/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/kickstarter","download_url":"https://codeload.github.com/kickstarter/ipcat-ruby/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":247149505,"owners_count":20891954,"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-09T02:08:33.060Z","updated_at":"2025-04-04T09:09:58.129Z","avatar_url":"https://github.com/kickstarter.png","language":"Ruby","funding_links":[],"categories":[],"sub_categories":[],"readme":"# ipcat-ruby\n\nA ruby port of the [ipcat](https://github.com/rale/ipcat) library to classify IP addresses from known datacenters\n\n[![gem](https://img.shields.io/gem/v/ipcat?color=crimson\u0026logo=rubygems\u0026logoColor=eee\u0026style=flat)](https://rubygems.org/gems/ipcat)\n[![minitest](https://github.com/kickstarter/ipcat-ruby/actions/workflows/minitest.yml/badge.svg)](https://github.com/kickstarter/ipcat-ruby/actions/workflows/minitest.yml)\n\n## Installation\n\nWith bundler:\n\n```ruby\n# In Gemfile\ngem 'ipcat'\n```\n\nOr with rubygems:\n\n```shell\ngem install ipcat\n```\n\n## Usage\n\n```ruby\nIPCat.datacenter?(ip_address)\n```\n\nIt will return an `IPCat::IPRange` if `ip_address` is from a known datacenter; `nil` otherwise.\n\nFor example,\n\n```ruby\nrange = IPCat.datacenter?('52.95.252.0') # =\u003e instance of IPCat::IPRange\nrange.name # =\u003e 'Amazon AWS'\n\nIPCat.datacenter?('127.0.0.1') # =\u003e nil\n```\n\n## License\n\nCopyright (c) 2013 Kickstarter, Inc\n\nReleased under an [MIT License](http://opensource.org/licenses/MIT)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fkickstarter%2Fipcat-ruby","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fkickstarter%2Fipcat-ruby","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fkickstarter%2Fipcat-ruby/lists"}