has_vcards 0.7.0 → 0.7.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (2) hide show
  1. data/app/models/vcard.rb +1 -1
  2. metadata +3 -3
data/app/models/vcard.rb CHANGED
@@ -51,7 +51,7 @@ class Vcard < ActiveRecord::Base
51
51
 
52
52
  # Helper methods
53
53
  def address_lines
54
- lines = [street_address, "#{postal_code} #{locality}"]
54
+ lines = [extended_address, street_address, "#{postal_code} #{locality}"]
55
55
 
56
56
  # Only return non-empty lines
57
57
  lines.map {|line| line.strip unless (line.nil? or line.strip.empty?)}.compact
metadata CHANGED
@@ -5,8 +5,8 @@ version: !ruby/object:Gem::Version
5
5
  segments:
6
6
  - 0
7
7
  - 7
8
- - 0
9
- version: 0.7.0
8
+ - 1
9
+ version: 0.7.1
10
10
  platform: ruby
11
11
  authors:
12
12
  - "Simon H\xC3\xBCrlimann"
@@ -14,7 +14,7 @@ autorequire:
14
14
  bindir: bin
15
15
  cert_chain: []
16
16
 
17
- date: 2010-12-16 00:00:00 +01:00
17
+ date: 2011-02-23 00:00:00 +01:00
18
18
  default_executable:
19
19
  dependencies:
20
20
  - !ruby/object:Gem::Dependency