{"id":22946604,"url":"https://github.com/mmower/suck","last_synced_at":"2025-04-01T22:28:43.447Z","repository":{"id":1112542,"uuid":"981697","full_name":"mmower/suck","owner":"mmower","description":"a really bad http client wrapper","archived":false,"fork":false,"pushed_at":"2010-10-12T17:29:08.000Z","size":104,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-02-07T14:45:40.151Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"","language":"Ruby","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/mmower.png","metadata":{"files":{"readme":"README.txt","changelog":"History.txt","contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2010-10-12T17:14:30.000Z","updated_at":"2014-05-09T18:36:08.000Z","dependencies_parsed_at":"2022-08-16T12:05:09.325Z","dependency_job_id":null,"html_url":"https://github.com/mmower/suck","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mmower%2Fsuck","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mmower%2Fsuck/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mmower%2Fsuck/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mmower%2Fsuck/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/mmower","download_url":"https://codeload.github.com/mmower/suck/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":246720177,"owners_count":20822861,"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-12-14T14:47:25.823Z","updated_at":"2025-04-01T22:28:43.426Z","avatar_url":"https://github.com/mmower.png","language":"Ruby","funding_links":[],"categories":[],"sub_categories":[],"readme":"suck\n  v1.0.1\n  by Matt Mower \u003cself@mattmower.com\u003e\n  http://matt.blogs.it/\n\n== DESCRIPTION:\n\nA simple HTTP client for Ruby that is meant to not suck. It does of course, but it works for me. YMMV.\n\n== FEATURES/PROBLEMS:\n  \n* Implements HTTP calls, probably the wrong abstraction \u003csigh\u003e\n\n== SYNOPSIS:\n\nA real-life example use of Suck:\n\n\u003ccode\u003e\ncall = Suck::Call.post( PLAYBACK_API_URL, :threaded =\u003e false )\ncall.invoke( :unique_id =\u003e params[:media_id], :profile =\u003e xml )\n\nif call.ok?\n  LOGGER.debug( \"#{Time.now.to_s}: Caching embedding.\" )\n  CACHE[content_key] = call.response.body\nelse\n  LOGGER.warning( \"#{Time.now.to_s}: Failed to get embedding: #{call.status_code} #{call.status_message}!\" )\nend\n\u003c/code\u003e\n\n== REQUIREMENTS:\n\n* FIX (list of requirements)\n\n== INSTALL:\n\nsudo gem install suck\n\n== ACKNOWLEDGEMENTS\n\nSuck uses the reverse_merge and reverse_merge! methods from the ActiveSupport library. To avoid a dependency on that library those methods are duplicated in Suck.\n\n== LICENSE:\n\n(The MIT License)\n\nCopyright (c) 2008 Matt Mower \u003cself@mattmower.com\u003e\n\nPermission is hereby granted, free of charge, to any person obtaining\na copy of this software and associated documentation files (the\n'Software'), to deal in the Software without restriction, including\nwithout limitation the rights to use, copy, modify, merge, publish,\ndistribute, sublicense, and/or sell copies of the Software, and to\npermit persons to whom the Software is furnished to do so, subject to\nthe following conditions:\n\nThe above copyright notice and this permission notice shall be\nincluded in all copies or substantial portions of the Software.\n\nTHE SOFTWARE IS PROVIDED 'AS IS', WITHOUT WARRANTY OF ANY KIND,\nEXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF\nMERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT.\nIN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY\nCLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT,\nTORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE\nSOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmmower%2Fsuck","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fmmower%2Fsuck","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmmower%2Fsuck/lists"}