Sha256: c4f77d4801fa187cf2c078754a097367082b7e52f0a5f0d41107d247af24d0a3

Contents?: true

Size: 222 Bytes

Versions: 2

Compression:

Stored size: 222 Bytes

Contents

module Pessimize
  class VersionMapper
    def call(gems, versions)
      gems.each do |gem|
        if versions.has_key? gem.name
          gem.version = "~> #{versions[gem.name]}"
        end
      end
    end
  end
end

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
pessimize-0.0.3 lib/pessimize/version_mapper.rb
pessimize-0.0.2 lib/pessimize/version_mapper.rb