Sha256: 02051da88cf79e32049a237a59eb1c00eee9c6d0eaf2f060d5471e70ffee7b0d

Contents?: true

Size: 1.04 KB

Versions: 33

Compression:

Stored size: 1.04 KB

Contents

# Copyright (C) 2012-2021  Ruby-GNOME Project Team
#
# This library is free software; you can redistribute it and/or
# modify it under the terms of the GNU Lesser General Public
# License as published by the Free Software Foundation; either
# version 2.1 of the License, or (at your option) any later version.
#
# This library is distributed in the hope that it will be useful,
# but WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
# Lesser General Public License for more details.
#
# You should have received a copy of the GNU Lesser General Public
# License along with this library; if not, write to the Free Software
# Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA  02110-1301  USA

require "gobject-introspection"

module GObjectIntrospectionTestUtils
  def require_version(major, minor, micro)
    if (GObjectIntrospection::BUILD_VERSION <=> [major, minor, micro]) < 0
      omit("require GObjectIntrospection #{major}.#{minor}.#{micro} or later.")
    end
  end
end

Version data entries

33 entries across 33 versions & 1 rubygems

Version Path
gobject-introspection-4.0.4 test/gobject-introspection-test-utils.rb
gobject-introspection-4.0.3 test/gobject-introspection-test-utils.rb
gobject-introspection-4.0.2 test/gobject-introspection-test-utils.rb
gobject-introspection-4.0.1 test/gobject-introspection-test-utils.rb
gobject-introspection-4.0.0 test/gobject-introspection-test-utils.rb
gobject-introspection-3.5.1 test/gobject-introspection-test-utils.rb
gobject-introspection-3.5.0 test/gobject-introspection-test-utils.rb
gobject-introspection-3.4.9 test/gobject-introspection-test-utils.rb
gobject-introspection-3.4.8 test/gobject-introspection-test-utils.rb
gobject-introspection-3.4.7 test/gobject-introspection-test-utils.rb
gobject-introspection-3.4.6 test/gobject-introspection-test-utils.rb
gobject-introspection-3.4.5 test/gobject-introspection-test-utils.rb
gobject-introspection-3.4.4 test/gobject-introspection-test-utils.rb