Class: Wanda::Rails
Constant Summary
collapse
- REQUIRED_RUBY =
{
'6.2' => { required: '2.5.0', recommended: '3.0' },
'6.1' => { required: '2.5.0', recommended: '3.0' },
'6.0' => { required: '2.5.0', recommended: '2.6' },
'5.2' => { required: '2.2.2', recommended: '2.5' },
'5.1' => { required: '2.2.2', recommended: '2.5' },
'5.0' => { required: '2.2.2', recommended: '2.4' },
'4.2' => { required: '1.9.3', recommended: '2.2' }
}.freeze
Instance Method Summary
collapse
banner, subcommand_prefix
Instance Method Details
#upgrade ⇒ Object
25
26
27
28
29
30
31
32
|
# File 'lib/wanda/rails.rb', line 25
def upgrade
case format_version(options[:to])
when '5.2'
rails4_2_to_5_2
else
puts set_color('WARN: Not supported', :red)
end
end
|