vcard_parser 1.0.0 → 1.0.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/ChangeLog +3 -0
- data/lib/vcard_parser/3.0/field.rb +1 -1
- data/lib/vcard_parser/version.rb +1 -1
- data/specs/unit/3.0/field_spec.rb +8 -0
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 4a9accfba5bf860e975f97d990d2cae54f17eca6
|
4
|
+
data.tar.gz: cc74fb2db60fb1c9278e4fde2981424137d62e74
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: fd5ef6ee7cf1341976a8b2211f26ceb35c09d03cd4dab9dea2f9cd12a6e040eeddd9040d3d447dd5c40fb02d81d6dadf96a478fa1f1fffa67fa216ffbdfe3ee8
|
7
|
+
data.tar.gz: 212256186ca48cc2bc29eca1a999b4ba88c37863b722eee4b4ae7b29e9e4b16e209f9c09cd58bbdf7f3752ade3fc93f5a858686142d113d8c69645ae73e5bf29
|
data/ChangeLog
CHANGED
data/lib/vcard_parser/version.rb
CHANGED
@@ -1,6 +1,14 @@
|
|
1
1
|
require_relative '../../spec_helper'
|
2
2
|
|
3
3
|
describe 'Field 3.0' do
|
4
|
+
should 'parse field' do
|
5
|
+
f = VCardParser::V30::Field.parse("item3.IMPP;X-SERVICE-TYPE=Jabber;type=pref:xmpp:Admin@localhost")
|
6
|
+
f.group.should == "item3"
|
7
|
+
f.name.should == "IMPP"
|
8
|
+
f.value.should == "Admin@localhost"
|
9
|
+
f.params.should == {'type' => ['pref:xmpp'], 'x-service-type' => ['Jabber']}
|
10
|
+
end
|
11
|
+
|
4
12
|
should 'parse grouped field' do
|
5
13
|
f = VCardParser::V30::Field.parse("item1.TEL;type=pref:1 24 54 36")
|
6
14
|
f.group.should == "item1"
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: vcard_parser
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.0.
|
4
|
+
version: 1.0.1
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Julien Ammous
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2015-
|
11
|
+
date: 2015-12-15 00:00:00.000000000 Z
|
12
12
|
dependencies: []
|
13
13
|
description: A vCard parser
|
14
14
|
email:
|