Sha256: aed9d70a4695cb5233c54c68d359dfc10f5b8327255521116f5a1ff4d25a89fa

Contents?: true

Size: 284 Bytes

Versions: 4

Compression:

Stored size: 284 Bytes

Contents

require 'mocha/deprecation'

module Mocha
  RUBY_V2_PLUS = Gem::Version.new(RUBY_VERSION.dup) >= Gem::Version.new('2')

  unless RUBY_V2_PLUS
    Mocha::Deprecation.warning(
      'Versions of Ruby earlier than v2.0 will not be supported in future versions of Mocha.'
    )
  end
end

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
mocha-1.16.1 lib/mocha/ruby_version.rb
mocha-1.15.1 lib/mocha/ruby_version.rb
mocha-1.16.0 lib/mocha/ruby_version.rb
mocha-1.15.0 lib/mocha/ruby_version.rb