has_vcards 0.7.2 → 0.8.0
Sign up to get free protection for your applications and to get access to all the features.
@@ -1,7 +1,8 @@
|
|
1
1
|
= f.semantic_fields_for :vcard do |vcard|
|
2
2
|
= vcard.input :full_name, :input_html => {"data-autofocus" => true}
|
3
3
|
= vcard.semantic_fields_for :address do |address|
|
4
|
-
= address.input :street_address
|
5
4
|
= address.input :extended_address
|
5
|
+
= address.input :street_address
|
6
|
+
= address.input :post_office_box
|
6
7
|
= address.input :postal_code
|
7
8
|
= address.input :locality
|
@@ -3,8 +3,9 @@
|
|
3
3
|
- vcard ||= @vcard
|
4
4
|
- vcard ||= resource.try(:vcard) if defined?(resource)
|
5
5
|
= show_for vcard do |vcard|
|
6
|
-
= vcard.attribute :street_address
|
7
6
|
= vcard.attribute :extended_address
|
7
|
+
= vcard.attribute :street_address
|
8
|
+
= vcard.attribute :post_office_box
|
8
9
|
= vcard.attribute :postal_code
|
9
10
|
= vcard.attribute :locality
|
10
11
|
= vcard.attribute :country_name
|
data/lib/has_vcards/version.rb
CHANGED
metadata
CHANGED
@@ -1,13 +1,13 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: has_vcards
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
hash:
|
4
|
+
hash: 63
|
5
5
|
prerelease: false
|
6
6
|
segments:
|
7
7
|
- 0
|
8
|
-
-
|
9
|
-
-
|
10
|
-
version: 0.
|
8
|
+
- 8
|
9
|
+
- 0
|
10
|
+
version: 0.8.0
|
11
11
|
platform: ruby
|
12
12
|
authors:
|
13
13
|
- "Simon H\xC3\xBCrlimann (CyT)"
|
@@ -15,7 +15,7 @@ autorequire:
|
|
15
15
|
bindir: bin
|
16
16
|
cert_chain: []
|
17
17
|
|
18
|
-
date: 2011-
|
18
|
+
date: 2011-08-10 00:00:00 +02:00
|
19
19
|
default_executable:
|
20
20
|
dependencies: []
|
21
21
|
|