{"id":22120248,"url":"https://github.com/maxpleaner/keyword_hash_builder","last_synced_at":"2025-03-24T06:27:26.897Z","repository":{"id":56880072,"uuid":"77991045","full_name":"MaxPleaner/keyword_hash_builder","owner":"MaxPleaner","description":null,"archived":false,"fork":false,"pushed_at":"2017-02-08T04:05:02.000Z","size":10,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":3,"default_branch":"master","last_synced_at":"2024-10-31T02:25:20.011Z","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":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/MaxPleaner.png","metadata":{"files":{"readme":"README.md","changelog":null,"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":"2017-01-04T07:12:37.000Z","updated_at":"2017-01-04T07:12:45.000Z","dependencies_parsed_at":"2022-08-20T11:40:46.428Z","dependency_job_id":null,"html_url":"https://github.com/MaxPleaner/keyword_hash_builder","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/MaxPleaner%2Fkeyword_hash_builder","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/MaxPleaner%2Fkeyword_hash_builder/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/MaxPleaner%2Fkeyword_hash_builder/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/MaxPleaner%2Fkeyword_hash_builder/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/MaxPleaner","download_url":"https://codeload.github.com/MaxPleaner/keyword_hash_builder/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":245220221,"owners_count":20579727,"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-01T14:21:51.025Z","updated_at":"2025-03-24T06:27:26.860Z","avatar_url":"https://github.com/MaxPleaner.png","language":"Ruby","funding_links":[],"categories":[],"sub_categories":[],"readme":"_gem skeleton generated with [gemmy](http://github.com/maxpleaner/gemmy)_\n\nThis provides a syntax somewhat similar to Javascript's shorthand for constructing hashes.\n\nThis code is copied from a stack overflow answer authored by user `akuhn`:\n\nhttp://stackoverflow.com/a/41456114/2981429\n\n---\n\nUsage:\n\n1. `gem 'keyword_hash_builder'`\n\n2. `require 'keyword_hash_builder'`\n\n3. load patch in one of two ways:\n  1. globally\n\n            KeywordHashBuilder.load_globally\n\n  2.  refinement\n\n            # in a class / module definition\n            using KeywordHashBuilder.patch\n\n4. Use this syntax:\n\n        a = 1\n        b = 2\n        c = String\n        puts `a,b,c`\n        # =\u003e { a: 1, b: 2, c: String }\n\n\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmaxpleaner%2Fkeyword_hash_builder","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fmaxpleaner%2Fkeyword_hash_builder","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmaxpleaner%2Fkeyword_hash_builder/lists"}