Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/deepakmahakale/wanda
Upgrade Rails with one command
https://github.com/deepakmahakale/wanda
rails rails-upgrades ruby ruby-on-rails upgrade
Last synced: 26 days ago
JSON representation
Upgrade Rails with one command
- Host: GitHub
- URL: https://github.com/deepakmahakale/wanda
- Owner: deepakmahakale
- License: mit
- Created: 2021-05-04T04:51:14.000Z (over 3 years ago)
- Default Branch: master
- Last Pushed: 2021-05-08T10:31:39.000Z (over 3 years ago)
- Last Synced: 2024-11-15T05:41:51.856Z (about 2 months ago)
- Topics: rails, rails-upgrades, ruby, ruby-on-rails, upgrade
- Language: Ruby
- Homepage: https://deepakmahakale.com/wanda/
- Size: 123 KB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- Changelog: CHANGELOG.md
- License: LICENSE.txt
- Code of conduct: CODE_OF_CONDUCT.md
Awesome Lists containing this project
README
# Wanda
[![Gem Version](https://badge.fury.io/rb/wanda.svg)](https://badge.fury.io/rb/wanda)
Wanda helps you upgrade your rails application with minimal inputs.
When you upgrade the application it will be upgraded with the recommended versions
of ruby and rails.## Installation
Add this line to your application's Gemfile:
```ruby
gem 'wanda'
```And then execute:
$ bundle install
Or install it yourself as:
$ gem install wanda
## Usage
```bash
Usage:
wanda upgrade rails [options]Options:
-f, [--from=FROM] # Run `wanda list` to get list of supported versions
-t, --to=TO # Run `wanda list` to get list of supported versions
-d, [--project-directory=PROJECT_DIRECTORY]
-r, [--recommended], [--no-recommended] # Upgrade to recommended ruby version.
# Using --no-recommended will only upgrade the ruby to minimum required version
# Default: true
-b, [--source-branch=SOURCE_BRANCH] # From where to checkout the new branch. Default is current branch
[--target-branch=TARGET_BRANCH] # New branch name
# Default: wanda/rails_upgradeRails upgrade
```## Development
After checking out the repo, run `bin/setup` to install dependencies.
Then, run `rake test` to run the tests. You can also run `bin/console` for an
interactive prompt that will allow you to experiment.To 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).## Contributing
Bug reports and pull requests are welcome on GitHub at https://github.com/deepakmahakale/wanda.
This project is intended to be a safe, welcoming space for collaboration, and
contributors are expected to adhere to the
[code of conduct](https://github.com/deepakmahakale/wanda/blob/master/CODE_OF_CONDUCT.md).## License
The gem is available as open source under the terms of the
[MIT License](https://opensource.org/licenses/MIT).## Code of Conduct
Everyone interacting in the Wanda project's codebases, issue trackers,
chat rooms and mailing lists is expected to follow the
[code of conduct](https://github.com/deepakmahakale/wanda/blob/master/CODE_OF_CONDUCT.md).