added url to backer script
This commit is contained in:
parent
8828707c45
commit
e375af352c
3 changed files with 5 additions and 0 deletions
|
|
@ -24,6 +24,7 @@ def create
|
||||||
user = User.create( :email => "#{username}@#{username}.joindiaspora.com",
|
user = User.create( :email => "#{username}@#{username}.joindiaspora.com",
|
||||||
:username => username,
|
:username => username,
|
||||||
:password => "#{username+backer_info[backer_number]['pin'].to_s}",
|
:password => "#{username+backer_info[backer_number]['pin'].to_s}",
|
||||||
|
:url=> "http://#{username}.joindiaspora.com/",
|
||||||
:person => Person.new(
|
:person => Person.new(
|
||||||
:diaspora_handle => "#{username}@#{username}.joindiaspora.com",
|
:diaspora_handle => "#{username}@#{username}.joindiaspora.com",
|
||||||
:profile => Profile.new( :first_name => backer_info[backer_number]['given_name'], :last_name => backer_info[backer_number]['family_name'],
|
:profile => Profile.new( :first_name => backer_info[backer_number]['given_name'], :last_name => backer_info[backer_number]['family_name'],
|
||||||
|
|
|
||||||
|
|
@ -12,6 +12,7 @@ url = "http://#{host}/"
|
||||||
user = User.instantiate!( :email => "tom@tom.joindiaspora.com",
|
user = User.instantiate!( :email => "tom@tom.joindiaspora.com",
|
||||||
:username => "tom",
|
:username => "tom",
|
||||||
:password => "evankorth",
|
:password => "evankorth",
|
||||||
|
:url=> "http://#{username}.joindiaspora.com/"
|
||||||
:person => Person.new(
|
:person => Person.new(
|
||||||
:diaspora_handle => "tom@tom.joindiaspora.com",
|
:diaspora_handle => "tom@tom.joindiaspora.com",
|
||||||
:url => url,
|
:url => url,
|
||||||
|
|
@ -21,6 +22,7 @@ user.person.save!
|
||||||
|
|
||||||
user2 = User.instantiate!( :email => "korth@tom.joindiaspora.com",
|
user2 = User.instantiate!( :email => "korth@tom.joindiaspora.com",
|
||||||
:username => "korth",
|
:username => "korth",
|
||||||
|
:url=> "http://#{username}.joindiaspora.com/"
|
||||||
:password => "evankorth",
|
:password => "evankorth",
|
||||||
:person => Person.new( :diaspora_handle => "korth@tom.joindiaspora.com",
|
:person => Person.new( :diaspora_handle => "korth@tom.joindiaspora.com",
|
||||||
:url => url,
|
:url => url,
|
||||||
|
|
|
||||||
|
|
@ -11,6 +11,7 @@ remote_url = "http://tom.joindiaspora.com/"
|
||||||
user = User.instantiate!( :email => "tom@tom.joindiaspora.com",
|
user = User.instantiate!( :email => "tom@tom.joindiaspora.com",
|
||||||
:username => "tom",
|
:username => "tom",
|
||||||
:password => "evankorth",
|
:password => "evankorth",
|
||||||
|
:url=> "http://#{username}.joindiaspora.com/"
|
||||||
:person => {
|
:person => {
|
||||||
:diaspora_handle => "tom@tom.joindiaspora.com",
|
:diaspora_handle => "tom@tom.joindiaspora.com",
|
||||||
:url => remote_url,
|
:url => remote_url,
|
||||||
|
|
@ -22,6 +23,7 @@ user.person.save!
|
||||||
user2 = User.instantiate!( :email => "korth@tom.joindiaspora.com",
|
user2 = User.instantiate!( :email => "korth@tom.joindiaspora.com",
|
||||||
:password => "evankorth",
|
:password => "evankorth",
|
||||||
:username => "korth",
|
:username => "korth",
|
||||||
|
:url=> "http://#{username}.joindiaspora.com/"
|
||||||
:person => { :diaspora_handle => "korth@tom.joindiaspora.com",
|
:person => { :diaspora_handle => "korth@tom.joindiaspora.com",
|
||||||
:url => remote_url,
|
:url => remote_url,
|
||||||
:profile => { :first_name => "Evan",
|
:profile => { :first_name => "Evan",
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue