Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Commits on Mar 5, 2014
  1. @sikachu

    Introduce `Rails.gem_version`

    sikachu authored
    This method return `Gem::Version.new(Rails.version)`, suggesting a more
    reliable way to perform version comparison.
    
    Example:
    
        Rails.version #=> "4.1.2"
        Rails.gem_version #=> #<Gem::Version "4.1.2">
    
        Rails.version > "4.1.10" #=> false
        Rails.gem_version > Gem::Version.new("4.1.10") #=> true
        Gem::Requirement.new("~> 4.1.2") =~ Rails.gem_version #=> true
    
    This was originally introduced as `.version` by @charliesome in #8501
    but got reverted in #10002 since it was not backward compatible.
    
    Also, updating template for `rake update_versions`.
Commits on Feb 6, 2010
  1. @sikachu @josevalim

    Fix tiny version number from '3.0.0beta' to '3.0.0.beta1', so 'rake i…

    sikachu authored josevalim committed
    …nstall' will be run correctly [#3879 status:resolved]
    
    Signed-off-by: José Valim <jose.valim@gmail.com>
Something went wrong with that request. Please try again.