diff --git a/.travis.yml b/.travis.yml index e4a6f07c..e7019e81 100644 --- a/.travis.yml +++ b/.travis.yml @@ -12,6 +12,7 @@ rvm: - '2.4' - '2.5' - '2.6' + - '2.7' before_install: - gem --version diff --git a/Rakefile b/Rakefile index a4196686..41fa356b 100644 --- a/Rakefile +++ b/Rakefile @@ -20,7 +20,7 @@ file 'man/colorls.1' => ['man/colorls.1.ronn', 'lib/colorls/flags.rb'] do flags = ColorLS::Flags.new attributes = { - date: Date.iso8601(`git log -1 --pretty=format:%aI -- man/colorls.1`), + date: Date.iso8601(`git log -1 --pretty=format:%cI -- man/colorls.1`), manual: 'colorls Manual', organization: "colorls #{ColorLS::VERSION}" } diff --git a/lib/colorls/flags.rb b/lib/colorls/flags.rb index 67f31da0..6e85f6c1 100644 --- a/lib/colorls/flags.rb +++ b/lib/colorls/flags.rb @@ -47,7 +47,7 @@ def process puts '' if i.positive? puts "\n#{path}:" if Dir.exist?(path) && @args.size > 1 - Core.new(path, @opts).ls + Core.new(path, **@opts).ls rescue SystemCallError => e STDERR.puts "#{path}: #{e}".colorize(:red) end