{"id":15612471,"url":"https://github.com/jpalumickas/emoji-datasource-ruby","last_synced_at":"2025-08-09T04:17:58.220Z","repository":{"id":56844592,"uuid":"325046049","full_name":"jpalumickas/emoji-datasource-ruby","owner":"jpalumickas","description":"Emoji data from emoji-datasource npm package","archived":false,"fork":false,"pushed_at":"2025-02-05T22:54:20.000Z","size":310,"stargazers_count":6,"open_issues_count":0,"forks_count":1,"subscribers_count":2,"default_branch":"main","last_synced_at":"2025-04-18T19:38:59.887Z","etag":null,"topics":["emoji","emoji-data","emoji-datasource","emojis","ruby","ruby-gem"],"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/jpalumickas.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":"CODE_OF_CONDUCT.md","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,"zenodo":null}},"created_at":"2020-12-28T15:21:42.000Z","updated_at":"2025-02-05T22:54:23.000Z","dependencies_parsed_at":"2025-04-18T07:43:20.619Z","dependency_job_id":"ca1a25aa-3a4e-450e-96a2-1166beabc946","html_url":"https://github.com/jpalumickas/emoji-datasource-ruby","commit_stats":{"total_commits":37,"total_committers":2,"mean_commits":18.5,"dds":"0.10810810810810811","last_synced_commit":"c84cab03112a5832bd3698b5a45092d26221805d"},"previous_names":[],"tags_count":8,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jpalumickas%2Femoji-datasource-ruby","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jpalumickas%2Femoji-datasource-ruby/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jpalumickas%2Femoji-datasource-ruby/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jpalumickas%2Femoji-datasource-ruby/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/jpalumickas","download_url":"https://codeload.github.com/jpalumickas/emoji-datasource-ruby/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":251331121,"owners_count":21572419,"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":["emoji","emoji-data","emoji-datasource","emojis","ruby","ruby-gem"],"created_at":"2024-10-03T06:43:10.665Z","updated_at":"2025-04-28T17:42:25.809Z","avatar_url":"https://github.com/jpalumickas.png","language":"Ruby","funding_links":[],"categories":[],"sub_categories":[],"readme":"# emoji-datasource\n\nRuby gem for `emoji-datasource` from NPM package https://github.com/iamcal/emoji-data\n\n## Installation\n\nAdd this line to your application's Gemfile:\n\n```ruby\ngem 'emoji-datasource'\n```\n\n## Usage\n\nReturn all emoji data\n\n```ruby\nEmojiDatasource.data\n```\n\nFind emoji by short name\n\n```ruby\nEmojiDatasource.find_by_short_name('+1')\n#=\u003e EmojiDatasource::Emoji: :+1: (👍)\n```\n\nFind emoji by raw string:\n\n```ruby\nEmojiDatasource.find_by_char('👍🏾')\n#=\u003e EmojiDatasource::Emoji: :+1::skin-tone-5: (👍🏾)\n```\n\nFind emoji by unicode hex character code:\n\n```ruby\nEmojiDatasource.find_by_unified(\"1F469-200D-2764-FE0F-200D-1F468\")\n#=\u003e EmojiDatasource::Emoji: :woman-heart-man: (👩‍❤️‍👨)\n```\n\nConvert emoji short name to character\n\n```ruby\nEmojiDatasource.short_name_to_char('+1') # =\u003e 👍\n```\n\nthis also supports skin variations\n\n```ruby\nEmojiDatasource.short_name_to_char('+1::skin-tone-2') # =\u003e 👍🏻\n```\n\nGet base emoji for skin variation:\n\n```ruby\nemoji = EmojiDatasource.find_by_short_name(':+1::skin-tone-5:')\n#=\u003e EmojiDatasource::Emoji: :+1::skin-tone-5: (👍🏾)\nemoji.base\n#=\u003e EmojiDatasource::Emoji: :+1: (👍)\n```\n\n## Supported Ruby Versions\n\nThis library aims to support and is [tested against][github_actions] the following Ruby\nimplementations:\n\n* Ruby 2.7.0\n* Ruby 3.0.0\n* Ruby 3.1.0\n* Ruby 3.2.0\n* Ruby 3.3.0\n* Ruby 3.4.0\n\n## License\n\nThe gem is available as open source under the terms of the [MIT License][license].\n\n[github_actions]: https://github.com/jpalumickas/emoji-datasource-ruby/actions\n[license]: https://raw.githubusercontent.com/jpalumickas/emoji-datasource-ruby/main/LICENSE\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjpalumickas%2Femoji-datasource-ruby","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fjpalumickas%2Femoji-datasource-ruby","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjpalumickas%2Femoji-datasource-ruby/lists"}