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 CHANGED
@@ -1 +1 @@
1
- 0.1.10
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
@@ -5,7 +5,7 @@
5
5
 
6
6
  Gem::Specification.new do |s|
7
7
  s.name = %q{muck-invites}
8
- s.version = "0.1.10"
8
+ s.version = "0.1.11"
9
9
 
10
10
  s.required_rubygems_version = Gem::Requirement.new(">= 0") if s.respond_to? :required_rubygems_version=
11
11
  s.authors = ["Justin Ball, Joel Duffin"]
metadata CHANGED
@@ -5,8 +5,8 @@ version: !ruby/object:Gem::Version
5
5
  segments:
6
6
  - 0
7
7
  - 1
8
- - 10
9
- version: 0.1.10
8
+ - 11
9
+ version: 0.1.11
10
10
  platform: ruby
11
11
  authors:
12
12
  - Justin Ball, Joel Duffin