has_vcards 0.12.9 → 0.13.0

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.
@@ -11,7 +11,7 @@ class PhoneNumber < ActiveRecord::Base
11
11
  scope :phone, by_type('phone')
12
12
  scope :fax, by_type('fax')
13
13
  scope :mobile, by_type('mobile')
14
- scope :email, by_type('mobile')
14
+ scope :email, by_type('email')
15
15
 
16
16
  def label
17
17
  case phone_number_type
@@ -1,6 +1,6 @@
1
- = f.semantic_fields_for :vcard do |vcard|
1
+ = f.fields_for :vcard do |vcard|
2
2
  = vcard.input :full_name, :input_html => {"data-autofocus" => true}
3
- = vcard.semantic_fields_for :address do |address|
3
+ = vcard.fields_for :address do |address|
4
4
  = address.input :extended_address
5
5
  = address.input :street_address
6
6
  = address.input :post_office_box
@@ -1,3 +1,3 @@
1
1
  module HasVcards
2
- VERSION = '0.12.9'
2
+ VERSION = '0.13.0'
3
3
  end
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: 61
4
+ hash: 43
5
5
  prerelease:
6
6
  segments:
7
7
  - 0
8
- - 12
9
- - 9
10
- version: 0.12.9
8
+ - 13
9
+ - 0
10
+ version: 0.13.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: 2012-02-06 00:00:00 Z
18
+ date: 2012-04-03 00:00:00 Z
19
19
  dependencies:
20
20
  - !ruby/object:Gem::Dependency
21
21
  name: rails
@@ -109,10 +109,9 @@ required_rubygems_version: !ruby/object:Gem::Requirement
109
109
  requirements: []
110
110
 
111
111
  rubyforge_project:
112
- rubygems_version: 1.8.15
112
+ rubygems_version: 1.8.16
113
113
  signing_key:
114
114
  specification_version: 3
115
115
  summary: vCard plugin for Rails
116
116
  test_files: []
117
117
 
118
- has_rdoc: