Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Wrong Email Type #19

Open
ghost opened this issue Jun 16, 2017 · 1 comment
Open

Wrong Email Type #19

ghost opened this issue Jun 16, 2017 · 1 comment

Comments

@ghost
Copy link

ghost commented Jun 16, 2017

Hallo, I use version vcardigan 0.0.9 on ruby 2.3.2p217 (2016-11-15 revision 56796) [x86_64-linux]

When I use your example:

vcard = VCardigan.create(:version => '3.0')
vcard.fullname 'Joe Strummer'
vcard.email '[email protected]', :type => ['work', 'internet'], :preferred => 1
puts vcard

I got

BEGIN:VCARD
VERSION:3.0
FN:Joe Strummer
EMAIL;TYPE=["work", "internet"];TYPE=pref:[email protected]
END:VCARD

This Email-Type (Array) is wrong it should be

EMAIL;TYPE=work,internet;PREF=1:[email protected]

How can I change this? Miss I some required modules?

@ghost
Copy link
Author

ghost commented Jun 16, 2017

OK I found a pull request #15 to this.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

0 participants