Skip to content

Commit

Permalink
Rename hubot to @kandanapp.com
Browse files Browse the repository at this point in the history
  • Loading branch information
gabceb committed Mar 1, 2013
1 parent 211cc51 commit 95eb878
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions lib/tasks/kandan.rake
Expand Up @@ -71,7 +71,7 @@ namespace :kandan do

desc "Creates the default hubot account."
task :boot_hubot => :environment do
user = User.find_by_email("hubot@cloudfuji.com")
user = User.find_by_email("hubot@kandanapp.com")

if user.nil?
puts "Creating hubot user..."
Expand All @@ -80,7 +80,7 @@ namespace :kandan do
128.times { password << (('a'..'z').to_a + ('A'..'Z').to_a + ['!','@','#','$','%','^','&','*','(',')'].to_a).sample }

hubot = User.new
hubot.email = "hubot@cloudfuji.com"
hubot.email = "hubot@kandanapp.com"
hubot.first_name = "Hubot"
hubot.last_name = "vonGithubben"
hubot.ido_id = "a-bot-lives-in-solitude"
Expand All @@ -92,7 +92,7 @@ namespace :kandan do

desc "Output the hubot access key"
task :hubot_access_key => :environment do
if authentication_token = User.find_by_email("hubot@cloudfuji.com").try(:authentication_token)
if authentication_token = User.find_by_email("hubot@kandanapp.com").try(:authentication_token)
puts "Your hubot access key is #{ authentication_token }"
else
puts "There's not hubot account. Run rake kandan:boot_hubot to create a bot account."
Expand Down

0 comments on commit 95eb878

Please sign in to comment.