muck-invites 0.1.10 → 0.1.11
Sign up to get free protection for your applications and to get access to all the features.
- data/VERSION +1 -1
- data/app/views/invites/_invite_compose.erb +5 -1
- data/lib/active_record/acts/muck_inviter.rb +3 -0
- data/muck-invites.gemspec +1 -1
- metadata +2 -2
data/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
0.1.
|
1
|
+
0.1.11
|
@@ -2,8 +2,10 @@
|
|
2
2
|
<div class="tabs">
|
3
3
|
<ul>
|
4
4
|
<li><a href="gmail" class="active"><span>Gmail</span></a></li>
|
5
|
-
<li><a href="windows"><span>Windows Live</span></a></li>
|
6
5
|
<li><a href="yahoo"><span>Yahoo</span></a></li>
|
6
|
+
<li><a href="windows"><span>Windows Live</span></a></li>
|
7
|
+
<li><a href="aol"><span>AOL</span></a></li>
|
8
|
+
<li><a href="plaxo"><span>Plaxo</span></a></li>
|
7
9
|
</ul>
|
8
10
|
</div>
|
9
11
|
<div id="invite-contents">
|
@@ -11,6 +13,8 @@
|
|
11
13
|
<%= render :partial => 'invites/gmail_oauth' %>
|
12
14
|
<%= render :partial => 'invites/contacts_query', :locals => { :id => 'yahoo', :title => 'Yahoo' } %>
|
13
15
|
<%= render :partial => 'invites/contacts_query', :locals => { :id => 'windows', :title => 'Windows Live' } %>
|
16
|
+
<%= render :partial => 'invites/contacts_query', :locals => { :id => 'aol', :title => 'AOL' } %>
|
17
|
+
<%= render :partial => 'invites/contacts_query', :locals => { :id => 'plaxo', :title => 'Plaxo' } %>
|
14
18
|
</div>
|
15
19
|
<div id="invite">
|
16
20
|
<% custom_form_for(:invite_contacts, :url => {:action => 'create'}, :html => {:id => "invite-contacts-form", :name => 'invite-contacts-form'} ) do |f| -%>
|
@@ -26,6 +26,9 @@ module ActiveRecord
|
|
26
26
|
return Contacts::Gmail.new(email, password).contacts if email.include?('@gmail.com')
|
27
27
|
return Contacts::Yahoo.new(email, password).contacts if email.include?('@yahoo.com')
|
28
28
|
return Contacts::Hotmail.new(email, password).contacts if email.include?('@hotmail.com')
|
29
|
+
return Contacts::Aol.new(email, password).contacts if email.include?('@aol.com')
|
30
|
+
return Contacts::Plaxo.new(email, password).contacts if email.include?('@plaxo.com')
|
31
|
+
return Contacts.guess(email, password).contacts
|
29
32
|
end
|
30
33
|
end
|
31
34
|
|
data/muck-invites.gemspec
CHANGED