Sha256: 47d409d91a787aa67e61ed943fbf05a4914fa5a9de851d3ae3f3bd6e8419b227

Contents?: true

Size: 407 Bytes

Versions: 33

Compression:

Stored size: 407 Bytes

Contents

#!/usr/bin/env ruby

require 'English'

tty = $stdout.tty?

ARGF.each do |line|
  if (name = line[/^([A-Z]+)_VER *:= *.*/, 1])
    $stderr << name << ' := ' unless tty
    latest_version = `script/livecheck --bare #{name}`.strip
    abort unless $CHILD_STATUS.success?
    $stderr << latest_version << "\n" unless tty
    $stdout << "#{name}_VER := #{latest_version}\n"
  else
    $stdout << line
  end
end

Version data entries

33 entries across 33 versions & 1 rubygems

Version Path
image_optim_pack-0.2.3 script/update_versions
image_optim_pack-0.2.2 script/update_versions
image_optim_pack-0.2.1.20160610 script/update_versions
image_optim_pack-0.2.1.20160510 script/update_versions
image_optim_pack-0.2.1.20160413 script/update_versions
image_optim_pack-0.2.1.20160406 script/update_versions
image_optim_pack-0.2.1.20160221 script/update_versions
image_optim_pack-0.2.1.20160119 script/update_versions
image_optim_pack-0.2.1.20160117 script/update_versions
image_optim_pack-0.2.1.20160103 script/update_versions
image_optim_pack-0.2.1.20151113 script/update_versions
image_optim_pack-0.2.1.20151012 script/update_versions
image_optim_pack-0.2.1.20151002 script/update_versions
image_optim_pack-0.2.1.20150808 script/update_versions
image_optim_pack-0.2.1.20150802 script/update_versions
image_optim_pack-0.2.1.20150702 script/update_versions
image_optim_pack-0.2.1.20150525 script/update_versions
image_optim_pack-0.2.1.20150422 script/update_versions
image_optim_pack-0.2.1.20150411 script/update_versions
image_optim_pack-0.2.1.20150407 script/update_versions