{"id":15801196,"url":"https://github.com/deanpapastrat/grape_url_validator","last_synced_at":"2025-03-31T21:33:44.264Z","repository":{"id":56875154,"uuid":"108948483","full_name":"deanpapastrat/grape_url_validator","owner":"deanpapastrat","description":"Validator for URLs in Grape params","archived":false,"fork":false,"pushed_at":"2017-10-31T05:17:26.000Z","size":5,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2024-10-06T01:21:41.368Z","etag":null,"topics":["grape","ruby","url","validation"],"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/deanpapastrat.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE.txt","code_of_conduct":"CODE_OF_CONDUCT.md","threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2017-10-31T05:14:57.000Z","updated_at":"2019-04-18T03:50:45.000Z","dependencies_parsed_at":"2022-08-20T10:11:10.226Z","dependency_job_id":null,"html_url":"https://github.com/deanpapastrat/grape_url_validator","commit_stats":null,"previous_names":[],"tags_count":1,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/deanpapastrat%2Fgrape_url_validator","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/deanpapastrat%2Fgrape_url_validator/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/deanpapastrat%2Fgrape_url_validator/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/deanpapastrat%2Fgrape_url_validator/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/deanpapastrat","download_url":"https://codeload.github.com/deanpapastrat/grape_url_validator/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":246544263,"owners_count":20794475,"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":["grape","ruby","url","validation"],"created_at":"2024-10-05T01:21:15.628Z","updated_at":"2025-03-31T21:33:44.218Z","avatar_url":"https://github.com/deanpapastrat.png","language":"Ruby","funding_links":[],"categories":[],"sub_categories":[],"readme":"# GrapeUrlValidator\n\nAdds support for basic URL validation in your Grape API parameters.\n\n## Installation\n\nAdd this line to your application's Gemfile:\n\n```ruby\ngem 'grape_url_validator'\n```\n\nAnd then execute:\n\n    $ bundle\n\nOr install it yourself as:\n\n    $ gem install grape_url_validator\n\n## Usage\n\n```ruby\nclass Authors \u003c Grape::API\n  resource :authors do\n\n    desc 'Update an author'\n    params do\n      requires :id, type: Integer, desc: 'ID of the author'\n      optional :name, type: String, desc: 'Name of the author'\n      optional :homepage, type: String, url: true, desc: 'URL to the homepage of the author'\n    end\n    patch ':id' do\n      # Implementation code goes here.\n    end\n  end\n\nend\n```\n\n## Development\n\nAfter checking out the repo, run `bin/setup` to install dependencies. 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/deanpapastrat/grape_url_validator. This project is intended to be a safe, welcoming space for collaboration, and contributors are expected to adhere to the [Contributor Covenant](http://contributor-covenant.org) code of conduct.\n\n## License\n\nThe gem is available as open source under the terms of the [MIT License](http://opensource.org/licenses/MIT).\n\n## Code of Conduct\n\nEveryone interacting in the GrapeUrlValidator project’s codebases, issue trackers, chat rooms and mailing lists is expected to follow the [code of conduct](https://github.com/[USERNAME]/grape_url_validator/blob/master/CODE_OF_CONDUCT.md).\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdeanpapastrat%2Fgrape_url_validator","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fdeanpapastrat%2Fgrape_url_validator","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdeanpapastrat%2Fgrape_url_validator/lists"}