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-1.0.1-x86-mingw32 test/glib-test-utils.rb
glib2-1.0.0-x86-mingw32 test/glib-test-utils.rb
glib2-1.0.0 test/glib-test-utils.rb
glib2-0.90.9 test/glib-test-utils.rb
glib2-0.90.9-x86-mingw32 test/glib-test-utils.rb
glib2-0.90.8-x86-mingw32 test/glib-test-utils.rb
glib2-0.90.8 test/glib-test-utils.rb
glib2-0.90.7-x86-mingw32 test/glib-test-utils.rb
glib2-0.90.7 test/glib-test-utils.rb
glib2-0.90.6 test/glib-test-utils.rb
glib2-0.90.6-x86-mingw32 test/glib-test-utils.rb
glib2-0.90.5 test/glib-test-utils.rb
glib2-0.90.5-x86-mingw32 test/glib-test-utils.rb
glib2-0.90.4 test/glib-test-utils.rb
glib2-0.90.4-x86-mingw32 test/glib-test-utils.rb
glib2-0.90.3 test/glib-test-utils.rb
glib2-0.90.3-x86-mingw32 test/glib-test-utils.rb
glib2-0.90.2 test/glib-test-utils.rb
glib2-0.90.2-x86-mingw32 test/glib-test-utils.rb
glib2-0.20.0 test/glib-test-utils.rb