Sha256: f108b6b9c4dc61fdbc2c2480e826b45278b10188495b2f0150e9821a155e09a9

Contents?: true

Size: 414 Bytes

Versions: 15

Compression:

Stored size: 414 Bytes

Contents

require 'quandl/utility/ruby_version'

err = "UNSUPPORTED ruby version (#{Quandl::Utility::RubyVersion.full_version}) Quandl Toolbelt requires ruby >="

if Quandl::Utility::RubyVersion <= '1.9.2'
  puts "#{err} 1.9.3"
  raise LoadError, "#{err} 1.9.3"
elsif Quandl::Utility::RubyVersion.is?(2.0) && Quandl::Utility::RubyVersion.patchlevel < 353
  puts "#{err} 2.0.0-p353"
  raise LoadError, "#{err} 2.0.0-p353"
end

Version data entries

15 entries across 15 versions & 1 rubygems

Version Path
quandl-0.4.4 lib/quandl/command/compatibility_check.rb
quandl-0.4.3 lib/quandl/command/compatibility_check.rb
quandl-0.4.2 lib/quandl/command/compatibility_check.rb
quandl-0.4.1 lib/quandl/command/compatibility_check.rb
quandl-0.4.0 lib/quandl/command/compatibility_check.rb
quandl-0.3.7 lib/quandl/command/compatibility_check.rb
quandl-0.3.6 lib/quandl/command/compatibility_check.rb
quandl-0.3.4 lib/quandl/command/compatibility_check.rb
quandl-0.3.3 lib/quandl/command/compatibility_check.rb
quandl-0.3.0 lib/quandl/command/compatibility_check.rb
quandl-0.2.27 lib/quandl/command/compatibility_check.rb
quandl-0.2.26 lib/quandl/command/compatibility_check.rb
quandl-0.2.25 lib/quandl/command/compatibility_check.rb
quandl-0.2.24 lib/quandl/command/compatibility_check.rb
quandl-0.2.22 lib/quandl/command/compatibility_check.rb