{"id":15645475,"url":"https://github.com/jnunemaker/bin","last_synced_at":"2025-04-14T12:50:58.734Z","repository":{"id":929965,"uuid":"699824","full_name":"jnunemaker/bin","owner":"jnunemaker","description":"DEAD AND UNMAINTAINED. ActiveSupport MongoDB Cache store.","archived":false,"fork":false,"pushed_at":"2013-06-05T20:46:43.000Z","size":162,"stargazers_count":54,"open_issues_count":2,"forks_count":14,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-03-28T01:53:41.165Z","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/jnunemaker.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":"2010-06-02T19:50:31.000Z","updated_at":"2023-11-30T02:04:43.000Z","dependencies_parsed_at":"2022-07-15T05:16:46.814Z","dependency_job_id":null,"html_url":"https://github.com/jnunemaker/bin","commit_stats":null,"previous_names":[],"tags_count":7,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jnunemaker%2Fbin","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jnunemaker%2Fbin/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jnunemaker%2Fbin/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jnunemaker%2Fbin/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/jnunemaker","download_url":"https://codeload.github.com/jnunemaker/bin/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":248483453,"owners_count":21111454,"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-10-03T12:07:57.530Z","updated_at":"2025-04-14T12:50:58.704Z","avatar_url":"https://github.com/jnunemaker.png","language":"Ruby","funding_links":[],"categories":[],"sub_categories":[],"readme":"= Bin\n\nDEAD AND UNMAINTAINED.\n\nActiveSupport MongoDB Cache store.\n\n== Supports\n\n* Ruby 1.8.7 and 1.9.2+\n* ActiveSupport 3+\n\n== Installation and Usage\n\n    gem install bin\n\n    require 'bin'\n\n    collection = Mongo::Connection.new.db('testing')['testing']\n    collection.remove\n\n    bin = Bin::Store.new(collection)\n    bin.write('abc', 123)\n    pp bin.read('abc')\n\n    pp bin.read('def')\n    pp bin.fetch('def') { 456 }\n    pp bin.read('def')\n\nUsing bin with rails is as easy as:\n\n    config.cache_store = :bin, Mongo::Connection.new.db('myapp')['cache']\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 future version unintentionally.\n* Commit, do not mess with rakefile, version, or history. (if you want to have your own version, that is fine but 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) 2010 John Nunemaker. See LICENSE for details.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjnunemaker%2Fbin","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fjnunemaker%2Fbin","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjnunemaker%2Fbin/lists"}