Module: Htcht::Helpers::VersionHelpers

Included in:
CLI::Rails::Rails
Defined in:
lib/htcht/helpers/version_helpers.rb

Instance Method Summary collapse

Instance Method Details

#latest_railsObject



11
12
13
14
15
# File 'lib/htcht/helpers/version_helpers.rb', line 11

def latest_rails
  # The rubygems.org API does allow you to get the latest version
  # of Rails but it is a private api (see above comment as well)
  '5.1.1'
end

#latest_rubyObject



5
6
7
8
9
# File 'lib/htcht/helpers/version_helpers.rb', line 5

def latest_ruby
  # This is going to be hard coded for now because I can't seem to
  # find a public api for getting the latest version of Ruby
  '2.4.1'
end