bin/hearttop in heart_top-0.1.1 vs bin/hearttop in heart_top-0.2.0

- old
+ new

@@ -1,12 +1,13 @@ #!/usr/bin/env ruby # encoding: UTF-8 +# frozen_string_literal: true # resolve bin path, ignoring symlinks -require "pathname" +require 'pathname' bin_file = Pathname.new(__FILE__).realpath # add self to libpath -$:.unshift File.expand_path("../../lib", bin_file) +$LOAD_PATH.unshift File.expand_path('../../lib', bin_file) require 'heart_top' -HeartTop::CLI.run(*ARGV) +HeartTop::CLI.run