has_vcards 0.5.6 → 0.6.0
Sign up to get free protection for your applications and to get access to all the features.
@@ -0,0 +1,10 @@
|
|
1
|
+
- vcard = vcard if defined?(vcard)
|
2
|
+
- vcard ||= object.try(:vcard) if defined?(object)
|
3
|
+
- vcard ||= @vcard
|
4
|
+
- vcard ||= resource.try(:vcard) if defined?(resource)
|
5
|
+
= show_for vcard do |vcard|
|
6
|
+
= vcard.attribute :street_address
|
7
|
+
= vcard.attribute :extended_address
|
8
|
+
= vcard.attribute :postal_code
|
9
|
+
= vcard.attribute :locality
|
10
|
+
= vcard.attribute :country_name
|
metadata
CHANGED
@@ -4,9 +4,9 @@ version: !ruby/object:Gem::Version
|
|
4
4
|
prerelease: false
|
5
5
|
segments:
|
6
6
|
- 0
|
7
|
-
- 5
|
8
7
|
- 6
|
9
|
-
|
8
|
+
- 0
|
9
|
+
version: 0.6.0
|
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-11-
|
17
|
+
date: 2010-11-24 00:00:00 +01:00
|
18
18
|
default_executable:
|
19
19
|
dependencies:
|
20
20
|
- !ruby/object:Gem::Dependency
|
@@ -57,7 +57,10 @@ files:
|
|
57
57
|
- app/models/address.rb
|
58
58
|
- app/models/phone_number.rb
|
59
59
|
- app/models/vcard.rb
|
60
|
+
- app/views/vcards/_address.html.haml
|
60
61
|
- app/views/vcards/_form.html.haml
|
62
|
+
- app/views/vcards/_show.html.haml
|
63
|
+
- config/locales/has_vcards.de.yml
|
61
64
|
- lib/generators/has_vcards/migration_generator.rb
|
62
65
|
- lib/generators/has_vcards/templates/migration.rb
|
63
66
|
- lib/has_vcards.rb
|