summaryrefslogtreecommitdiff
path: root/lib/tasks
diff options
context:
space:
mode:
authorAzul <azul@riseup.net>2016-03-25 11:06:55 +0100
committerAzul <azul@riseup.net>2016-05-02 08:31:16 -0300
commit00fba5114ae2c6176c88ff0ea152576c5bff657d (patch)
treeba3c7c7410d1f0ec6830ff1244fd016a5c090df7 /lib/tasks
parent636421bf386e813cb6a87a7499fdedc975b75900 (diff)
upgrade: {File,Dir}.exists? -> exist?
exists? is deprecated in ruby 2.1
Diffstat (limited to 'lib/tasks')
-rw-r--r--lib/tasks/i18n.rake2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/tasks/i18n.rake b/lib/tasks/i18n.rake
index 6ffbb23..1034211 100644
--- a/lib/tasks/i18n.rake
+++ b/lib/tasks/i18n.rake
@@ -63,7 +63,7 @@ namespace :i18n do
desc "pull translations from transifex"
task :download do
Dir.chdir('config/') do
- if !File.exists?('transifex.netrc')
+ if !File.exist?('transifex.netrc')
puts "In order to download translations, you need a config/transifex.netrc file."
puts "For example:"
puts "machine www.transifex.com login yourusername password yourpassword"