{"id":18492628,"url":"https://github.com/ybiquitous/aufgaben","last_synced_at":"2025-05-14T00:33:31.340Z","repository":{"id":38823067,"uuid":"208216532","full_name":"ybiquitous/aufgaben","owner":"ybiquitous","description":"The collection of useful Rake tasks","archived":false,"fork":false,"pushed_at":"2023-09-04T14:19:04.000Z","size":138,"stargazers_count":1,"open_issues_count":1,"forks_count":0,"subscribers_count":2,"default_branch":"main","last_synced_at":"2025-04-25T17:09:18.763Z","etag":null,"topics":["gem","rake","rake-task","ruby"],"latest_commit_sha":null,"homepage":"https://rubygems.org/gems/aufgaben","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/ybiquitous.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}},"created_at":"2019-09-13T07:28:01.000Z","updated_at":"2021-12-23T13:40:16.000Z","dependencies_parsed_at":"2022-08-31T06:11:08.796Z","dependency_job_id":null,"html_url":"https://github.com/ybiquitous/aufgaben","commit_stats":null,"previous_names":[],"tags_count":21,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ybiquitous%2Faufgaben","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ybiquitous%2Faufgaben/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ybiquitous%2Faufgaben/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ybiquitous%2Faufgaben/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/ybiquitous","download_url":"https://codeload.github.com/ybiquitous/aufgaben/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":254046512,"owners_count":22005610,"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":["gem","rake","rake-task","ruby"],"created_at":"2024-11-06T13:08:45.164Z","updated_at":"2025-05-14T00:33:31.314Z","avatar_url":"https://github.com/ybiquitous.png","language":"Ruby","funding_links":[],"categories":[],"sub_categories":[],"readme":"[![Gem Version](https://badge.fury.io/rb/aufgaben.svg)](https://badge.fury.io/rb/aufgaben)\n\n# Aufgaben\n\nThe collection of useful Rake tasks.\n\n## Installation\n\nAdd this line to your `Gemfile`:\n\n```ruby\ngem \"aufgaben\", require: false\n```\n\n## Usage\n\n### Releasing\n\nPut the following code to your `Rakefile`:\n\n```ruby\nrequire \"aufgaben/release\"\nAufgaben::Release.new\n```\n\nThe default settings:\n\n```ruby\nAufgaben::Release.new do |t|\n  t.default_branch = \"main\"\n  t.dry_run = false\n  t.changelog = \"CHANGELOG.md\"\n  t.files = []\n  t.new_version = nil # from the CLI argument\nend\n```\n\nThe following is a customization example:\n\n```ruby\nAufgaben::Release.new(:my_release_task_name, depends: [:test]) do |t|\n  t.default_branch = \"development\"\n  t.changelog = \"changes.md\"\n  t.files = FileList[\"lib/version.rb\", \"lib/**/ver.rb\"]\nend\n```\n\nAnd then execute:\n\n```console\n$ rake release'[1.2.3]'\n```\n\nOr in dry-run mode:\n\n```console\n$ rake release'[1.2.3]' DRY_RUN=1\n```\n\nBy default, the release task is executed in interactive mode.\nIf you want to disable the interactive mode, run as follow:\n\n```console\n$ rake release'[1.2.3]' NONINTERACTIVE=1\n```\n\n### Bumping up Ruby\n\nConfigure your `Rakefile` as follows:\n\n```ruby\nrequire \"aufgaben/bump/ruby\"\nAufgaben::Bump::Ruby.new do |t|\n  t.files \u003c\u003c \"my-ruby-version-file\" # defaults to [\".ruby-version\", \"Dockerfile\"]\nend\n```\n\nAnd then execute:\n\n```console\n$ rake bump:ruby'[2.6.5]' [DRY_RUN=1]\n```\n\nAlso, you can customize the task name or dependencies as follows:\n\n```ruby\nrequire \"aufgaben/bump/ruby\"\nAufgaben::Bump::Ruby.new(:ruby_files, :update, dependes: [:test])\n```\n\n```console\n# Invoke the `test` task before\n$ rake update:ruby_files'[2.7.2]'\n```\n\n### Bumping up Node.js\n\nConfigure your `Rakefile` as follows:\n\n```ruby\nrequire \"aufgaben/bump/nodejs\"\nAufgaben::Bump::Nodejs.new do |t|\n  t.files \u003c\u003c \"Dockerfile.production\" # defaults to [\"Dockerfile\"]\n  t.version_files \u003c\u003c \"nodejs-version.txt\" # defaults to [\".node-version\", \".nvmrc\"]\nend\n```\n\nAnd then execute:\n\n```console\n$ rake bump:nodejs'[12.16.1]' [DRY_RUN=1]\n```\n\n## Development\n\nTo set up:\n\n```console\nbin/setup\n```\n\nTo run an interactive prompt:\n\n```console\nbin/console\n```\n\nTo release:\n\nRun manually on the [Release workflow](https://github.com/ybiquitous/aufgaben/actions/workflows/release.yml).\n\n## Contributing\n\nBug reports and pull requests are welcome on GitHub at \u003chttps://github.com/ybiquitous/aufgaben\u003e.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fybiquitous%2Faufgaben","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fybiquitous%2Faufgaben","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fybiquitous%2Faufgaben/lists"}