Sha256: a2d521507f2386531b45a5f577581c7ffcb27c38452c5e5588776944f85e21d3

Contents?: true

Size: 475 Bytes

Versions: 21

Compression:

Stored size: 475 Bytes

Contents

min_release  = "1.8.2 (2004-12-25)"
ruby_release = "#{RUBY_VERSION} (#{RUBY_RELEASE_DATE})"
if ruby_release =~ /1\.8\.3/
  abort <<-end_message

    Adaptation does not work with Ruby version 1.8.3.
    Please upgrade to version 1.8.4 or downgrade to 1.8.2.

  end_message
elsif ruby_release < min_release
  abort <<-end_message

    Adaptation requires Ruby version #{min_release} or later.
    You're running #{ruby_release}; please upgrade to continue.

  end_message
end

Version data entries

21 entries across 21 versions & 1 rubygems

Version Path
adaptation-1.0.1 lib/ruby_version_check.rb
adaptation-0.0.4 lib/ruby_version_check.rb
adaptation-0.0.6 lib/ruby_version_check.rb
adaptation-0.0.7 lib/ruby_version_check.rb
adaptation-0.0.8 lib/ruby_version_check.rb
adaptation-0.1.0 lib/ruby_version_check.rb
adaptation-0.0.3 lib/ruby_version_check.rb
adaptation-0.0.1 lib/ruby_version_check.rb
adaptation-0.0.2 lib/ruby_version_check.rb
adaptation-0.0.5 lib/ruby_version_check.rb
adaptation-0.0.9 lib/ruby_version_check.rb
adaptation-0.1.4 lib/ruby_version_check.rb
adaptation-0.1.6 lib/ruby_version_check.rb
adaptation-0.1.7 lib/ruby_version_check.rb
adaptation-0.1.8 lib/ruby_version_check.rb
adaptation-0.1.5 lib/ruby_version_check.rb
adaptation-0.1.1 lib/ruby_version_check.rb
adaptation-0.1.10 lib/ruby_version_check.rb
adaptation-0.1.2 lib/ruby_version_check.rb
adaptation-0.1.3 lib/ruby_version_check.rb