{"id":16222888,"url":"https://github.com/michael/collection","last_synced_at":"2026-03-04T09:02:27.702Z","repository":{"id":992582,"uuid":"800965","full_name":"michael/collection","owner":"michael","description":"A Ruby API for the Unveil.js Collection interface","archived":false,"fork":false,"pushed_at":"2010-07-27T17:43:20.000Z","size":94,"stargazers_count":7,"open_issues_count":0,"forks_count":1,"subscribers_count":2,"default_branch":"master","last_synced_at":"2026-02-28T06:14:39.711Z","etag":null,"topics":[],"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/michael.png","metadata":{"files":{"readme":"README.md","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-07-27T16:06:11.000Z","updated_at":"2023-06-03T16:37:01.000Z","dependencies_parsed_at":"2022-08-16T11:45:19.621Z","dependency_job_id":null,"html_url":"https://github.com/michael/collection","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/michael/collection","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/michael%2Fcollection","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/michael%2Fcollection/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/michael%2Fcollection/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/michael%2Fcollection/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/michael","download_url":"https://codeload.github.com/michael/collection/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/michael%2Fcollection/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":30076935,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-03-04T08:01:56.766Z","status":"ssl_error","status_checked_at":"2026-03-04T08:00:42.919Z","response_time":59,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.5:443 state=error: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"can_crawl_api":true,"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-10T12:15:42.136Z","updated_at":"2026-03-04T09:02:27.684Z","avatar_url":"https://github.com/michael.png","language":"Ruby","funding_links":[],"categories":[],"sub_categories":[],"readme":"Collection API\n================================================================================\n\nA Ruby API for the [Unveil.js](http://github.com/michael/unveil/) collection\ninterface. Useful for exporting all kinds of data in a uniform Collection format.\n\n\nUsage\n--------------------------------------------------------------------------------\n\n    c = Collection.new\n    c.property(:customer, {:name =\u003e \"Customer\", :type =\u003e String, :unique =\u003e true })\n    c.property(:product,  {:name =\u003e \"Product\", :type =\u003e String, :unique =\u003e true })\n    c.property(:quantity, {:name =\u003e \"Salesman\", :type =\u003e Numeric, :unique =\u003e true })\n    c.property(:price,    {:name =\u003e \"Price\", :type =\u003e Numeric, :unique =\u003e true })\n    \n    c.add(\"IO47181\", {\n      :customer =\u003e \"John Smith\",\n      :product  =\u003e \"XT52\",\n      :quantity =\u003e 21,\n      :price    =\u003e 231.5\n    })\n    \n    c.to_json =\u003e A JSON string that conforms to an Unveil.js Collection\n    c.to_csv =\u003e Plain old CSV representation, if your clients can't get around Excel :/\n\n\nNote on Patches/Pull Requests\n--------------------------------------------------------------------------------\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 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\nCopyright\n--------------------------------------------------------------------------------\n\nCopyright (c) 2010 Michael Aufreiter. See LICENSE for details.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmichael%2Fcollection","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fmichael%2Fcollection","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmichael%2Fcollection/lists"}