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.1.7-x86-mingw32 test/glib-test-utils.rb
glib2-1.1.6-x86-mingw32 test/glib-test-utils.rb
glib2-1.1.6 test/glib-test-utils.rb
glib2-1.1.5-x86-mingw32 test/glib-test-utils.rb
glib2-1.1.5 test/glib-test-utils.rb
glib2-1.1.4-x86-mingw32 test/glib-test-utils.rb
glib2-1.1.4 test/glib-test-utils.rb
glib2-1.1.3-x86-mingw32 test/glib-test-utils.rb
glib2-1.1.3 test/glib-test-utils.rb
glib2-1.1.2 test/glib-test-utils.rb
glib2-1.1.2-x86-mingw32 test/glib-test-utils.rb
glib2-1.1.1-x86-mingw32 test/glib-test-utils.rb
glib2-1.1.1 test/glib-test-utils.rb
glib2-1.1.0-x86-mingw32 test/glib-test-utils.rb
glib2-1.1.0 test/glib-test-utils.rb
glib2-1.0.3-x86-mingw32 test/glib-test-utils.rb
glib2-1.0.3 test/glib-test-utils.rb
glib2-1.0.2-x86-mingw32 test/glib-test-utils.rb
glib2-1.0.2 test/glib-test-utils.rb
glib2-1.0.1 test/glib-test-utils.rb