{"id":15032842,"url":"https://github.com/ruby/uri","last_synced_at":"2025-05-14T15:02:14.578Z","repository":{"id":40370632,"uuid":"200769931","full_name":"ruby/uri","owner":"ruby","description":"URI is a module providing classes to handle Uniform Resource Identifiers","archived":false,"fork":false,"pushed_at":"2025-04-30T01:33:15.000Z","size":804,"stargazers_count":95,"open_issues_count":22,"forks_count":51,"subscribers_count":33,"default_branch":"master","last_synced_at":"2025-04-30T02:34:02.765Z","etag":null,"topics":["ruby"],"latest_commit_sha":null,"homepage":"https://ruby.github.io/uri/","language":"Ruby","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"other","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/ruby.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"COPYING","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":"2019-08-06T03:31:32.000Z","updated_at":"2025-04-30T01:33:17.000Z","dependencies_parsed_at":"2023-02-08T08:00:41.040Z","dependency_job_id":"22c3aa90-5b32-4839-9e8b-4acffa26573b","html_url":"https://github.com/ruby/uri","commit_stats":{"total_commits":406,"total_committers":58,"mean_commits":7.0,"dds":0.7906403940886699,"last_synced_commit":"1ca66879fe6ff3bae4fb98074ac5aaeffd4ad436"},"previous_names":[],"tags_count":23,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ruby%2Furi","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ruby%2Furi/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ruby%2Furi/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ruby%2Furi/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/ruby","download_url":"https://codeload.github.com/ruby/uri/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":254168657,"owners_count":22026206,"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-09-24T20:19:33.973Z","updated_at":"2025-05-14T15:02:14.521Z","avatar_url":"https://github.com/ruby.png","language":"Ruby","readme":"# URI\n\n[![CI](https://github.com/ruby/uri/actions/workflows/test.yml/badge.svg)](https://github.com/ruby/uri/actions/workflows/test.yml)\n[![Yard Docs](https://img.shields.io/badge/docs-exist-blue.svg)](https://ruby.github.io/uri/)\n\nURI is a module providing classes to handle Uniform Resource Identifiers [RFC3986](http://tools.ietf.org/html/rfc3986).\n\n## Features\n\n* Uniform way of handling URIs.\n* Flexibility to introduce custom URI schemes.\n* Flexibility to have an alternate URI::Parser (or just different patterns and regexp's).\n\n## Installation\n\nAdd this line to your application's Gemfile:\n\n```ruby\ngem 'uri'\n```\n\nAnd then execute:\n\n    $ bundle\n\nOr install it yourself as:\n\n    $ gem install uri\n\n## Usage\n\n```ruby\nrequire 'uri'\n\nuri = URI(\"http://foo.com/posts?id=30\u0026limit=5#time=1305298413\")\n#=\u003e #\u003cURI::HTTP http://foo.com/posts?id=30\u0026limit=5#time=1305298413\u003e\n\nuri.scheme    #=\u003e \"http\"\nuri.host      #=\u003e \"foo.com\"\nuri.path      #=\u003e \"/posts\"\nuri.query     #=\u003e \"id=30\u0026limit=5\"\nuri.fragment  #=\u003e \"time=1305298413\"\n\nuri.to_s      #=\u003e \"http://foo.com/posts?id=30\u0026limit=5#time=1305298413\"\n```\n\n## Development\n\nAfter checking out the repo, run `bin/setup` to install dependencies. Then, run `rake test` to run the tests. You can also run `bin/console` for an interactive prompt that will allow you to experiment.\n\nTo install this gem onto your local machine, run `bundle exec rake install`. To release a new version, update the version number in `version.rb`, and then run `bundle exec rake release`, which will create a git tag for the version, push git commits and tags, and push the `.gem` file to [rubygems.org](https://rubygems.org).\n\n## Contributing\n\nBug reports and pull requests are welcome on GitHub at https://github.com/ruby/uri.\n","funding_links":[],"categories":["Ruby"],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fruby%2Furi","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fruby%2Furi","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fruby%2Furi/lists"}