lib/change_log.rb in openstudio-extension-0.2.0 vs lib/change_log.rb in openstudio-extension-0.2.1

- old
+ new

@@ -1,6 +1,7 @@ #!/usr/bin/env ruby +# frozen_string_literal: true require 'github_api' require 'date' require 'optparse' require 'optparse/date' @@ -12,12 +13,12 @@ # ruby change_log.rb -t abcdefghijklmnopqrstuvwxyz -s 2017-09-06 # options = {} OptionParser.new do |opts| - opts.banner = "Usage: change_log.rb [options]\n" + - "Prints New, Open, Closed Issues, and number of accepted PRs" - opts.separator "" + opts.banner = "Usage: change_log.rb [options]\n" \ + 'Prints New, Open, Closed Issues, and number of accepted PRs' + opts.separator '' # defaults, go back 90 days options[:start_date] = Date.today - 90 options[:end_date] = Date.today