{"id":13566087,"url":"https://github.com/mojombo/bert","last_synced_at":"2025-04-12T15:37:05.807Z","repository":{"id":686648,"uuid":"330651","full_name":"mojombo/bert","owner":"mojombo","description":"BERT (Binary ERlang Term) serialization library for Ruby.","archived":false,"fork":false,"pushed_at":"2023-10-31T17:14:29.000Z","size":186,"stargazers_count":207,"open_issues_count":11,"forks_count":58,"subscribers_count":4,"default_branch":"master","last_synced_at":"2025-04-11T16:10:33.816Z","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/mojombo.png","metadata":{"files":{"readme":"README.md","changelog":"History.txt","contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2009-10-08T06:06:25.000Z","updated_at":"2025-04-03T15:10:28.000Z","dependencies_parsed_at":"2024-06-18T15:25:56.873Z","dependency_job_id":null,"html_url":"https://github.com/mojombo/bert","commit_stats":{"total_commits":73,"total_committers":9,"mean_commits":8.11111111111111,"dds":"0.20547945205479456","last_synced_commit":"c2abcc4868bb47909696c6a42c606de34e83ef70"},"previous_names":[],"tags_count":6,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mojombo%2Fbert","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mojombo%2Fbert/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mojombo%2Fbert/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mojombo%2Fbert/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/mojombo","download_url":"https://codeload.github.com/mojombo/bert/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":248590477,"owners_count":21129827,"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-08-01T13:02:01.766Z","updated_at":"2025-04-12T15:37:05.776Z","avatar_url":"https://github.com/mojombo.png","language":"Ruby","funding_links":[],"categories":["Ruby"],"sub_categories":[],"readme":"BERT\n====\n\nA BERT (Binary ERlang Term) serialization library for Ruby. It can\nencode Ruby objects into BERT format and decode BERT binaries into Ruby\nobjects.\n\nSee the BERT specification at [bert-rpc.org](http://bert-rpc.org).\n\nInstances of the following Ruby classes will be automatically converted to the\nproper simple BERT type:\n\n* Fixnum\n* Float\n* Symbol\n* Array\n* String\n\nInstances of the following Ruby classes will be automatically converted to the\nproper complex BERT type:\n\n* NilClass\n* TrueClass\n* FalseClass\n* Hash\n* Time\n* Regexp\n\nTo designate tuples, simply prefix an Array literal with a `t` or use the\nBERT::Tuple class:\n\n    t[:foo, [1, 2, 3]]\n    BERT::Tuple[:foo, [1, 2, 3]]\n\nBoth of these will be converted to (in Erlang syntax):\n\n    {foo, [1, 2, 3]}\n\n\nInstallation\n------------\n\n    gem install bert -s http://gemcutter.org\n\n\nUsage\n-----\n\n    require 'bert'\n    \n    bert = BERT.encode(t[:user, {:name =\u003e 'TPW', :nick =\u003e 'mojombo'}])\n    # =\u003e \"\\203h\\002d\\000\\004userh\\003d\\000\\004bertd\\000\\004dictl\\000\\000\\\n          000\\002h\\002d\\000\\004namem\\000\\000\\000\\003TPWh\\002d\\000\\004nickm\\\n          000\\000\\000\\amojomboj\"\n    \n    BERT.decode(bert)\n    # =\u003e t[:user, {:name=\u003e\"TPW\", :nick=\u003e\"mojombo\"}]\n\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\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\nCopyright\n---------\n\nCopyright (c) 2009 Tom Preston-Werner. See LICENSE for details.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmojombo%2Fbert","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fmojombo%2Fbert","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmojombo%2Fbert/lists"}