lib/cli.rb in trollolo-0.2.0 vs lib/cli.rb in trollolo-0.3.0

- old
+ new

@@ -132,10 +132,10 @@ option :plot, type: :boolean, desc: 'also plot the new data' option :output, aliases: :o, desc: 'Output directory' def burndowns process_global_options options board_list = YAML.load_file(options['board-list']) - board_list.keys.each do |name| + board_list.each_key do |name| raise 'invalid character in team name' if name =~ /[^[:alnum:]. _]/ # sanitize board = board_list[name] if options['output'] destdir = File.join(options['output'], name) else