class LibyearBundler::Calculators::VersionSequenceDelta

The version sequence delta is the number of releases between the newest and installed versions of the gem

Public Class Methods

calculate(installed_seq_index, newest_seq_index) click to toggle source
# File lib/libyear_bundler/calculators/version_sequence_delta.rb, line 7
def calculate(installed_seq_index, newest_seq_index)
  installed_seq_index - newest_seq_index
end