Sha256: 85db293a46f6ed647e6380a86eda0c10d116ee6c8c1e605beec1e14905a90ec6

Contents?: true

Size: 890 Bytes

Versions: 5

Compression:

Stored size: 890 Bytes

Contents

require 'rubygems/test_case'
require 'rubygems/comparator'

class TestGemComparator < Gem::TestCase
  def setup
    super

    options = { keep_all: true, log_all: true, no_color: true, brief_mode: false }
    versions = ['0.0.1', '0.0.2', '0.0.3', '0.0.4']

    @comparator = Gem::Comparator.new(options)

    Dir.chdir(File.expand_path('gemfiles', File.dirname(__FILE__))) do
      @comparator.options.merge!({ output: Dir.getwd })
      @comparator.compare_versions('lorem', versions)
    end

    @report = @comparator.report
  end
end

class TestGemModule < Gem::TestCase
  def setup
    super
    gemfiles_path = File.expand_path('gemfiles', File.dirname(__FILE__))
    @v001 = File.join(gemfiles_path, 'lorem-0.0.1')
    @v002 = File.join(gemfiles_path, 'lorem-0.0.2')
    @v003 = File.join(gemfiles_path, 'lorem-0.0.3')
    @v004 = File.join(gemfiles_path, 'lorem-0.0.4')
  end
end

Version data entries

5 entries across 5 versions & 1 rubygems

Version Path
gem-compare-0.0.7 test/test_helper.rb
gem-compare-0.0.6 test/test_helper.rb
gem-compare-0.0.5 test/test_helper.rb
gem-compare-0.0.4 test/test_helper.rb
gem-compare-0.0.3 test/test_helper.rb