modified Rakefile

This commit is contained in:
nilsding 2014-12-01 19:08:28 +01:00
parent 5f43155eb5
commit b407b932ab

View file

@ -46,7 +46,7 @@ namespace :justask do
fail "user #{args[:screen_name]} not found" if user.nil?
user.admin = true
user.save!
puts "#{user.screen_name} is now an admin"
puts "#{user.screen_name} is now an admin."
end
desc "Removes admin status from an user."
@ -56,7 +56,7 @@ namespace :justask do
fail "user #{args[:screen_name]} not found" if user.nil?
user.admin = false
user.save!
puts "#{user.screen_name} no longer an admin"
puts "#{user.screen_name} no longer an admin."
end
desc "Lists all users."