{"id":17330645,"url":"https://github.com/adam12/batteries","last_synced_at":"2025-06-17T05:05:46.594Z","repository":{"id":62554030,"uuid":"86411898","full_name":"adam12/batteries","owner":"adam12","description":"Tired of copying the same Rake tasks to every single Roda/Sinatra project you start? Me too.","archived":false,"fork":false,"pushed_at":"2021-01-07T18:26:32.000Z","size":33,"stargazers_count":4,"open_issues_count":0,"forks_count":1,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-06-11T03:01:57.376Z","etag":null,"topics":["rake","roda","sequel","sinatra"],"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/adam12.png","metadata":{"files":{"readme":"README.md","changelog":"CHANGELOG.md","contributing":null,"funding":null,"license":"LICENSE.txt","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2017-03-28T03:41:38.000Z","updated_at":"2021-07-08T20:44:48.000Z","dependencies_parsed_at":"2022-11-03T04:45:44.063Z","dependency_job_id":null,"html_url":"https://github.com/adam12/batteries","commit_stats":null,"previous_names":[],"tags_count":4,"template":false,"template_full_name":null,"purl":"pkg:github/adam12/batteries","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/adam12%2Fbatteries","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/adam12%2Fbatteries/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/adam12%2Fbatteries/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/adam12%2Fbatteries/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/adam12","download_url":"https://codeload.github.com/adam12/batteries/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/adam12%2Fbatteries/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":260294467,"owners_count":22987623,"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":["rake","roda","sequel","sinatra"],"created_at":"2024-10-15T14:51:55.128Z","updated_at":"2025-06-17T05:05:46.572Z","avatar_url":"https://github.com/adam12.png","language":"Ruby","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Batteries (included)\n\nTired of copying the same Rake tasks to every single Roda/Sinatra project you\nstart? Me too.\n\nUse batteries to get a head start.\n\n## Installation\n\nAdd this line to your application's Gemfile:\n\n```ruby\ngem 'batteries'\n```\n\nAnd then execute:\n\n    $ bundle\n\nOr install it yourself as:\n\n    $ gem install batteries\n\n## Usage\n\nIncorporate the Batteries Rake tasks into your Rakefile, using some sane defaults:\n\n    Batteries::Tasks.new\n\nBut you'll likely want something a bit more advanced, to suit your particular application layout:\n\n    Batteries::Tasks.new do |t|\n      t.migrations.database = \"::DB\"\n\n      # Customize for your application\n      t.migrations.setup_hook = proc do\n        require_relative \"env\"\n\trequire_relative \"db\"\n      end\n    end\n\n## Contributing\n\nBug reports and pull requests are welcome on GitHub at https://github.com/adam12/batteries.\n\nI love pull requests! If you fork this project and modify it, please ping me to see\nif your changes can be incorporated back into this project.\n\nThat said, if your feature idea is nontrivial, you should probably open an issue to\n[discuss it](http://www.igvita.com/2011/12/19/dont-push-your-pull-requests/)\nbefore attempting a pull request.\n\n## License\n\nThe gem is available as open source under the terms of the [MIT License](http://opensource.org/licenses/MIT).\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fadam12%2Fbatteries","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fadam12%2Fbatteries","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fadam12%2Fbatteries/lists"}