diff --git a/.travis.yml b/.travis.yml index 479afa0..5256a95 100644 --- a/.travis.yml +++ b/.travis.yml @@ -1,5 +1,7 @@ language: ruby rvm: - - "2.0.0" - - "2.1.0" + - "2.7.0" + - "3.0.0" + - "3.1.0" + - "3.2.0" script: "bundle exec rake" diff --git a/lib/cane/file.rb b/lib/cane/file.rb index 5922aa6..6077ee1 100644 --- a/lib/cane/file.rb +++ b/lib/cane/file.rb @@ -19,7 +19,7 @@ def open(path) end def exists?(path) - ::File.exists?(path) + ::File.exist?(path) end def case_insensitive_glob(glob)