Skip to content

schmurfy/vcard_parser

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

29 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

What ?

This is a vCard parser/generator released under te MIT license

Support

For now only v3.0 is supported and the testing was done mostly with Apple Addressbook and iOS contacts.

Continuous integration (Build Status)

This gem is tested against these ruby by travis-ci.org:

  • mri 1.9.3

Usage

require 'vcard_parser'

vcard = File.read('specs/data/vcard3.0.vcf')
cards = VCardParser::VCard.parse(vcard)

puts cards[0].fields
puts cards[0]['N']

# dump back the vcard
puts cards[0].to_s

Setting up development environmeent

# clone the repository and:
$ bundle
$ bundle exec guard

About

VCard parser/generator

Resources

License

Stars

Watchers

Forks

Packages

 
 
 

Contributors

Languages