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