{"id":24755257,"url":"https://github.com/katzer/mruby_utils","last_synced_at":"2025-08-22T05:41:54.647Z","repository":{"id":42175842,"uuid":"191985413","full_name":"katzer/mruby_utils","owner":"katzer","description":"Rake tasks and build helpers for mruby","archived":false,"fork":false,"pushed_at":"2024-08-27T19:39:57.000Z","size":46,"stargazers_count":2,"open_issues_count":0,"forks_count":1,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-08-16T23:19:23.373Z","etag":null,"topics":["build-automation","mruby","mruby-cli","rake"],"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/katzer.png","metadata":{"files":{"readme":"README.md","changelog":"CHANGELOG.md","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,"zenodo":null}},"created_at":"2019-06-14T17:57:34.000Z","updated_at":"2025-01-03T09:17:56.000Z","dependencies_parsed_at":"2025-08-16T23:19:27.968Z","dependency_job_id":null,"html_url":"https://github.com/katzer/mruby_utils","commit_stats":null,"previous_names":["appplant/mruby_utils"],"tags_count":13,"template":false,"template_full_name":null,"purl":"pkg:github/katzer/mruby_utils","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/katzer%2Fmruby_utils","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/katzer%2Fmruby_utils/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/katzer%2Fmruby_utils/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/katzer%2Fmruby_utils/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/katzer","download_url":"https://codeload.github.com/katzer/mruby_utils/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/katzer%2Fmruby_utils/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":270782663,"owners_count":24644073,"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","status":"online","status_checked_at":"2025-08-16T02:00:11.002Z","response_time":91,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"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":["build-automation","mruby","mruby-cli","rake"],"created_at":"2025-01-28T12:37:58.748Z","updated_at":"2025-08-22T05:41:54.576Z","avatar_url":"https://github.com/katzer.png","language":"Ruby","readme":"# MRubyUtils\n\nThis gem adds some helpers to `MRuby::Build` and provides usefull Rake tasks to build __mruby__ binaries within a docker environment.\n\n## Installation\n\nAdd this line to your application's `Gemfile`:\n\n```ruby\ngem 'mruby_utils'\n```\n\nAnd then execute:\n\n    $ bundle\n\nOr install it yourself as:\n\n    $ gem install mruby_utils\n\n## Rake tasks\n\nAdd this line to your applications's `Rakefile`:\n\n```ruby\nrequire 'mruby_utils/rake_tasks'\n```\n\nNow the following tasks are available:\n\n    $ rake -T\n\n    rake clean         # clean build artefacts\n    rake compile       # compile binary\n    rake dockerize     # create docker-compose.yml file\n    rake release       # generate a release tarball\n    rake shell         # open shell\n    rake sshd          # start sshd\n    rake test          # run all tests\n    rake test:bintest  # run integration tests\n    rake test:mtest    # run unit tests\n    rake update        # update mruby and all mrbgems\n    rake update:mgems  # update all git based mrbgems\n    rake update:mruby  # update mruby\n    rake version       # show version\n\nMake sure to create a `docker-compose.yml` file before you start:\n\n    $ rake dockerize\n\n## Build helpers\n\nAdd this line to your applications's `build_config.rb`:\n\n```ruby\nrequire 'mruby_utils/build_helpers'\n```\n\nNow you can specify the required runtime version of glibc even the build compiles with a newer version.\n\n```ruby\nMRuby::Build.new('x86_64-pc-linux-gnu-glibc-2.12') do |conf|\n  conf.glibc_version = '2.12'\nend\n```\n\nEnable compiler optimizations:\n\n```ruby\nMRuby::Build.new('x86_64-pc-linux-gnu') do |conf|\n  conf.enable_optimizations\nend\n```\n\nControl how to link with libs:\n\n```ruby\nMRuby::Build.new('x86_64-pc-linux-gnu') do |conf|\n  conf.static = true\nend\n```\n\nIn case the application uses `mruby-ssh` or `mruby-sftp`:\n\n```ruby\nMRuby::Build.new('x86_64-pc-linux-gnu') do |conf|\n  conf.configure_libssh2(openssl: false, threading: true, zlib: true)\nend\n```\n\n## Development\n\nTo install this gem onto your local machine, run `bundle exec rake install`. To release a new version, update the version number in `version.rb`, and then run `bundle exec rake release`, which will create a git tag for the version, push git commits and tags, and push the `.gem` file to [rubygems.org](https://rubygems.org).\n\n## Contributing\n\nBug reports and pull requests are welcome on GitHub at https://github.com/appplant/mruby_utils.\n\n1. Fork it\n2. Create your feature branch (`git checkout -b my-new-feature`)\n3. Commit your changes (`git commit -am 'Add some feature'`)\n4. Push to the branch (`git push origin my-new-feature`)\n5. Create new Pull Request\n\n## License\n\nThe gem is available as open source under the terms of the [MIT License](https://opensource.org/licenses/MIT).\n\nMade with :yum: in Leipzig\n","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fkatzer%2Fmruby_utils","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fkatzer%2Fmruby_utils","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fkatzer%2Fmruby_utils/lists"}