Sha256: f56b07730b0280be126806b6c32d4583171c90c5d5c8a54533d6299452f22c6b
Contents?: true
Size: 569 Bytes
Versions: 6
Compression:
Stored size: 569 Bytes
Contents
if (Backports::TARGET_VERSION rescue false) # Conf loaded at different times, not sure why class MSpecScript # The set of substitutions to transform a spec filename # into a tag filename. main_version = RUBY_VERSION unless File.exist?(File.expand_path("../lib/backports/#{main_version}.rb", __FILE__)) main_version = main_version.sub(/\.\d+$/, '.0') end set :tags_patterns, [ [%r(rubyspec/), "tags/#{main_version}/"] ] end SpecGuard.ruby_version_override = Backports::TARGET_VERSION if Backports::TARGET_VERSION > RUBY_VERSION end
Version data entries
6 entries across 6 versions & 2 rubygems