This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
"1-800-FLOWERS plant" | |
"1-800-FLOWERS funeral" | |
"1-800-FLOWERS wed" | |
"1-800-FLOWERS vase" | |
"1-800-FLOWERS.COM plant" | |
"1-800-FLOWERS.COM funeral" | |
"1-800-FLOWERS.COM wed" | |
"1-800-FLOWERS.COM vase" | |
"1-800-Flowers.com plant" | |
"1-800-Flowers.com funeral" |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Uploading: /Library/Ruby/Gems/1.8/gems/atti_cap-0.1.25/lib/recipes/../assets/script -> /usr/local/nextgen/webbuzz/releases/20100719222737/script | |
* executing "test -f /usr/local/nextgen/webbuzz/releases/20100719222737/script" | |
servers: ["buzz1.np.wc1.yellowpages.com", "rabbitrunner2.np.wc1.yellowpages.com"] | |
[rabbitrunner2.np.wc1.yellowpages.com] executing command | |
[buzz1.np.wc1.yellowpages.com] executing command | |
command finished | |
* executing "test -d /usr/local/nextgen/webbuzz/releases/20100719222737 || mkdir -p /usr/local/nextgen/webbuzz/releases/20100719222737" | |
servers: ["buzz1.np.wc1.yellowpages.com", "rabbitrunner2.np.wc1.yellowpages.com"] | |
[buzz1.np.wc1.yellowpages.com] executing command | |
[rabbitrunner2.np.wc1.yellowpages.com] executing command |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
require 'rubygems' | |
require 'httparty' | |
require 'json' | |
class APItest | |
include HTTParty | |
format :json | |
base_uri 'http://localhost:3000' | |
# def self.register email, invitation_token, first_name, last_name, password, agree |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
ARGV.each { |email| | |
buzz_team_users = [ '[email protected]' ] | |
user_sending_invite = buzz_team_users.rand | |
next if User.find_by_email email | |
user = User.find_by_email user_sending_invite | |
invitation = Invitation.new | |
invitation.sent_to_email = email | |
invitation.sent_by_user_id = user.id | |
invitation.note = "Hey, we want you to join buzz" | |
invitation.save! |