Sha256: 2e3c52ee17b6f181e7e6b189ba2d921629b3729d13e42b367fcc6338456b1789

Contents?: true

Size: 285 Bytes

Versions: 100

Compression:

Stored size: 285 Bytes

Contents

module GLibTestUtils
  private
  def only_glib_version(major, minor, micro)
    unless GLib.check_version?(major, minor, micro)
      omit("Require GLib >= #{major}.#{minor}.#{micro}")
    end
  end

  def only_win32
    omit("Only for Win32 platform") unless GLib.os_win32?
  end
end

Version data entries

100 entries across 100 versions & 1 rubygems

Version Path
glib2-3.0.5-x64-mingw32 test/glib-test-utils.rb
glib2-3.0.5-x86-mingw32 test/glib-test-utils.rb
glib2-3.0.5 test/glib-test-utils.rb
glib2-3.0.4-x86-mingw32 test/glib-test-utils.rb
glib2-3.0.4-x64-mingw32 test/glib-test-utils.rb
glib2-3.0.4 test/glib-test-utils.rb
glib2-3.0.3-x64-mingw32 test/glib-test-utils.rb
glib2-3.0.3-x86-mingw32 test/glib-test-utils.rb
glib2-3.0.3 test/glib-test-utils.rb
glib2-3.0.2-x86-mingw32 test/glib-test-utils.rb
glib2-3.0.2-x64-mingw32 test/glib-test-utils.rb
glib2-3.0.2 test/glib-test-utils.rb
glib2-3.0.1-x86-mingw32 test/glib-test-utils.rb
glib2-3.0.1-x64-mingw32 test/glib-test-utils.rb
glib2-3.0.1 test/glib-test-utils.rb
glib2-3.0.0-x86-mingw32 test/glib-test-utils.rb
glib2-3.0.0-x64-mingw32 test/glib-test-utils.rb
glib2-2.2.5-x64-mingw32 test/glib-test-utils.rb
glib2-2.2.5-x86-mingw32 test/glib-test-utils.rb
glib2-2.2.5 test/glib-test-utils.rb