Sha256: 581afa8ba5ed6902d18bc4ac02d0e3b3a037f8bfd30e85e3746315e1d6a4d3f6
Contents?: true
Size: 1009 Bytes
Versions: 12
Compression:
Stored size: 1009 Bytes
Contents
#!/usr/bin/env ruby -w puts RUBY_VERSION puts RUBY_VERSION.class root_dir = File.expand_path('../..', __FILE__) IMAGES_DIR = File.join(root_dir, 'doc/ex/images') FILES = Dir[IMAGES_DIR+'/Button_*.gif'].sort FLOWER_HAT = IMAGES_DIR+'/Flower_Hat.jpg' IMAGE_WITH_PROFILE = IMAGES_DIR+'/image_with_profile.jpg' require 'test/unit' if RUBY_VERSION < '1.9' require 'test/unit/ui/console/testrunner' $LOAD_PATH.push(root_dir) else require 'simplecov' $LOAD_PATH.unshift(File.join(root_dir, 'lib')) $LOAD_PATH.unshift(File.join(root_dir, 'test')) end require 'rmagick' Magick::Magick_version =~ /ImageMagick (\d+\.\d+\.\d+)-(\d+) / abort 'Unable to get ImageMagick version' unless $1 && $2 IM_VERSION = Gem::Version.new($1) IM_REVISION = Gem::Version.new($2) require 'Image1.rb' require 'Image2.rb' require 'Image3.rb' require 'ImageList1.rb' require 'ImageList2.rb' require 'Image_attributes.rb' require 'Import_Export.rb' require 'Pixel.rb' require 'Preview.rb' require 'Info.rb' require 'Magick.rb'
Version data entries
12 entries across 12 versions & 3 rubygems