me_exceptional 0.2.1 → 0.2.2

Sign up to get free protection for your applications and to get access to all the features.
@@ -23,7 +23,7 @@ class MeExceptional::Mailer < ActionMailer::Base
23
23
  end
24
24
 
25
25
  def geocode_ip(ip)
26
- Geocoder.address(ip)
26
+ Geocoder.search(ip)
27
27
  end
28
28
 
29
29
 
@@ -31,12 +31,12 @@
31
31
 
32
32
  <p style="font-size:12px"><b>Address</b></p>
33
33
  <p style="font-size:11px;font-family:Monaco,'Andale Mono',Consolas,'Courier New',monospace">
34
- <%= @loc.full_address %>
34
+ <%= @loc.address %>
35
35
  </p>
36
36
 
37
37
  <p style="font-size:12px"><b>Location</b></p>
38
38
  <p style="font-size:11px;font-family:Monaco,'Andale Mono',Consolas,'Courier New',monospace">
39
- <%- query = CGI::escape([@loc.lat, @loc.lng].join(','))%>
39
+ <%- query = CGI::escape([@loc.latitude, @loc.longitude].join(','))%>
40
40
  http://maps.google.com/maps?q=<%= query %>
41
41
  </p>
42
42
 
@@ -1,3 +1,3 @@
1
1
  module MeExceptional
2
- VERSION = "0.2.1"
2
+ VERSION = "0.2.2"
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: me_exceptional
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.2.1
4
+ version: 0.2.2
5
5
  prerelease:
6
6
  platform: ruby
7
7
  authors: