vcard_parser 0.0.5 → 0.0.6
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: 1ece135ca1e00568dd56799e5c0d1d8f4632df4f
|
4
|
+
data.tar.gz: 3e28c28ae6a4faa8a88dfee4f4f03d6dc1583ae3
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 06ca2a247cac67355b0a8327637aba50fe0614a60c120a3cfa10bede712049fac0abb98811d69cd5ab8ef49a16453f3e565e5def1200487ee40324c3295e86ff
|
7
|
+
data.tar.gz: 7f44c5c40776e944150b00d16855e6fe3f060f68445de262d858f17b05cd3837522d28aae7bda8790dab227de4333d18731669a8c6aaf9b5c3ffbbe260d3fdf6
|
data/ChangeLog
CHANGED
data/lib/vcard_parser/version.rb
CHANGED
@@ -39,6 +39,14 @@ describe 'Field 3.0' do
|
|
39
39
|
f.params.should == {}
|
40
40
|
end
|
41
41
|
|
42
|
+
should 'parse extension field with numbers' do
|
43
|
+
f = VCardParser::V30::Field.parse("X-HomeAddress1:5 rue de la Roguenette")
|
44
|
+
f.group.should == nil
|
45
|
+
f.name.should == "X-HomeAddress1"
|
46
|
+
f.value.should == "5 rue de la Roguenette"
|
47
|
+
f.params.should == {}
|
48
|
+
end
|
49
|
+
|
42
50
|
should 'parse simple line' do
|
43
51
|
f = VCardParser::V30::Field.parse("PRODID:-//Apple Inc.//Mac OS X 10.8.2//EN")
|
44
52
|
f.group.should == nil
|
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: 0.0.
|
4
|
+
version: 0.0.6
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Julien Ammous
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2013-
|
11
|
+
date: 2013-05-06 00:00:00.000000000 Z
|
12
12
|
dependencies: []
|
13
13
|
description: A vCard parser
|
14
14
|
email:
|