lib/pessimize/file_manager.rb in pessimize-0.4.0 vs lib/pessimize/file_manager.rb in pessimize-0.5.0
- old
+ new
@@ -7,18 +7,18 @@
def gemfile_lock
'Gemfile.lock'
end
def gemfile?
- File.exists? gemfile
+ File.exist? gemfile
end
def gemfile_contents
File.read gemfile
end
def gemfile_lock?
- File.exists? gemfile_lock
+ File.exist? gemfile_lock
end
def backup_gemfile!
backup_file! gemfile
end