{"id":19001427,"url":"https://github.com/bumi/httparty_sober","last_synced_at":"2025-04-22T17:46:54.435Z","repository":{"id":726613,"uuid":"374723","full_name":"bumi/httparty_sober","owner":"bumi","description":"HTTParties sober. - APICache for httparty","archived":false,"fork":false,"pushed_at":"2010-05-12T11:54:10.000Z","size":100,"stargazers_count":3,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-04-17T08:59:19.533Z","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":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/bumi.png","metadata":{"files":{"readme":"README.rdoc","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2009-11-16T13:59:37.000Z","updated_at":"2014-02-27T23:30:49.000Z","dependencies_parsed_at":"2022-07-05T13:12:07.322Z","dependency_job_id":null,"html_url":"https://github.com/bumi/httparty_sober","commit_stats":null,"previous_names":[],"tags_count":2,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/bumi%2Fhttparty_sober","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/bumi%2Fhttparty_sober/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/bumi%2Fhttparty_sober/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/bumi%2Fhttparty_sober/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/bumi","download_url":"https://codeload.github.com/bumi/httparty_sober/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":250290138,"owners_count":21406124,"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-08T18:11:09.355Z","updated_at":"2025-04-22T17:46:54.410Z","avatar_url":"https://github.com/bumi.png","language":"Ruby","funding_links":[],"categories":[],"sub_categories":[],"readme":"= httparty_sober\n\nmakes you not get drunken when httpartying.\n\n== Description\n\nhttparty_sober integrates mloughran's APICache into HTTParty. This allows you to easily cache your HTTP requests. \nHave a look at the APICache readme for the cache details:\n\nhttp://github.com/mloughran/api_cache\n\n== Usage Example:\n\n class CacheParty\n  include HTTParty\n  include HTTParty::Sober\n  \n  # setup APICache.\n  # the cache method accepts a :store parameter and default APICache options (like :valid, :timeout,...)\n  # you can also use the bang method cache! which overwrites the default HTTParty#get method and forces caching.\n  cache :store =\u003e Moneta::Memcache.new(:server =\u003e \"localhost\")\n end\n \n CacheParty.get_with_caching \"/foo\"\n # get_with_caching acts like HTTParty's #get but caches the result\n\n\n\n\n== Note on Patches/Pull Requests\n \n* Fork the project.\n* Make your feature addition or bug fix.\n* Add tests for it. This is important so I don't break it in a\n  future version unintentionally.\n* Commit, do not mess with rakefile, version, or history.\n  (if you want to have your own version, that is fine but\n   bump version in a commit by itself I can ignore when I pull)\n* Send me a pull request. Bonus points for topic branches.\n\n== Copyright\n\nCopyright (c) 2009 Michael Bumann. See LICENSE for details.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fbumi%2Fhttparty_sober","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fbumi%2Fhttparty_sober","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fbumi%2Fhttparty_sober/lists"}