Sha256: 9f72f4a4dcf4a401cad10909851f2923172e0b0434af11d9312887cf0c2d7dfa

Contents?: true

Size: 419 Bytes

Versions: 21

Compression:

Stored size: 419 Bytes

Contents

# frozen_string_literal: true

if RUBY_VERSION < '2.3.0' && RUBY_ENGINE == 'ruby'
  desc = if defined?(RUBY_DESCRIPTION)
           RUBY_DESCRIPTION
         else
           "ruby #{RUBY_VERSION} (#{RUBY_RELEASE_DATE})"
         end
  abort <<-end_message
    This version of PaidUp requires Ruby 2.3.0 or newer.
    You're running
      #{desc}
    Please upgrade to Ruby 2.3.0 or newer to continue.
  end_message
end

Version data entries

21 entries across 21 versions & 1 rubygems

Version Path
paid_up-0.13.22 lib/paid_up/ruby_version_check.rb
paid_up-0.13.21 lib/paid_up/ruby_version_check.rb
paid_up-0.13.17 lib/paid_up/ruby_version_check.rb
paid_up-0.13.16 lib/paid_up/ruby_version_check.rb
paid_up-0.13.14 lib/paid_up/ruby_version_check.rb
paid_up-0.13.13 lib/paid_up/ruby_version_check.rb
paid_up-0.13.12 lib/paid_up/ruby_version_check.rb
paid_up-0.13.11 lib/paid_up/ruby_version_check.rb
paid_up-0.13.10 lib/paid_up/ruby_version_check.rb
paid_up-0.13.9 lib/paid_up/ruby_version_check.rb
paid_up-0.13.8 lib/paid_up/ruby_version_check.rb
paid_up-0.13.7 lib/paid_up/ruby_version_check.rb
paid_up-0.13.6 lib/paid_up/ruby_version_check.rb
paid_up-0.13.5 lib/paid_up/ruby_version_check.rb
paid_up-0.13.4 lib/paid_up/ruby_version_check.rb
paid_up-0.13.3 lib/paid_up/ruby_version_check.rb
paid_up-0.13.2 lib/paid_up/ruby_version_check.rb
paid_up-0.13.1 lib/paid_up/ruby_version_check.rb
paid_up-0.13.0 lib/paid_up/ruby_version_check.rb
paid_up-0.12.4 lib/paid_up/ruby_version_check.rb