vcardigan 0.0.4 → 0.0.5
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/vcardigan/vcard.rb +1 -0
- data/lib/vcardigan/version.rb +1 -1
- data/spec/examples/vcard_spec.rb +4 -0
- metadata +8 -8
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 7799d87438e5ba3eaad59ae21715a984f745d250
|
4
|
+
data.tar.gz: 0aaddc3527eef3b5213196715f71383197d610d4
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 726b70f8e1404cd2f51c945678b0929f519f90efbe3e99c4b7b78f350b810cae4195d6d47e4ed203f2a3fd53f7a9f81013e75cf3bff8b67ad72176ea2fedec5c
|
7
|
+
data.tar.gz: 6136cdfef1723d5c74b0231bffa58f1bf6d273ed07619135064a5b90f837d8dedbba7c7085131da8a2590eeeb40c570f7761e9ace4b8e8b4fc278f6aff79139d
|
data/lib/vcardigan/vcard.rb
CHANGED
data/lib/vcardigan/version.rb
CHANGED
data/spec/examples/vcard_spec.rb
CHANGED
@@ -284,6 +284,10 @@ describe VCardigan::VCard do
|
|
284
284
|
vcard.version.should == '4.0'
|
285
285
|
end
|
286
286
|
|
287
|
+
it 'should only have one version property' do
|
288
|
+
vcard.to_s.lines.count {|l| l =~ /^VERSION:/ }.should == 1
|
289
|
+
end
|
290
|
+
|
287
291
|
it 'should add the properties to the fields array' do
|
288
292
|
fields.should have_key('n')
|
289
293
|
fields.should have_key('fn')
|
metadata
CHANGED
@@ -1,41 +1,41 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: vcardigan
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.0.
|
4
|
+
version: 0.0.5
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Matt Morgan
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2014-08-
|
11
|
+
date: 2014-08-11 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: rspec
|
15
15
|
requirement: !ruby/object:Gem::Requirement
|
16
16
|
requirements:
|
17
|
-
- -
|
17
|
+
- - ~>
|
18
18
|
- !ruby/object:Gem::Version
|
19
19
|
version: '2.0'
|
20
20
|
type: :development
|
21
21
|
prerelease: false
|
22
22
|
version_requirements: !ruby/object:Gem::Requirement
|
23
23
|
requirements:
|
24
|
-
- -
|
24
|
+
- - ~>
|
25
25
|
- !ruby/object:Gem::Version
|
26
26
|
version: '2.0'
|
27
27
|
- !ruby/object:Gem::Dependency
|
28
28
|
name: pry
|
29
29
|
requirement: !ruby/object:Gem::Requirement
|
30
30
|
requirements:
|
31
|
-
- -
|
31
|
+
- - '>='
|
32
32
|
- !ruby/object:Gem::Version
|
33
33
|
version: '0'
|
34
34
|
type: :development
|
35
35
|
prerelease: false
|
36
36
|
version_requirements: !ruby/object:Gem::Requirement
|
37
37
|
requirements:
|
38
|
-
- -
|
38
|
+
- - '>='
|
39
39
|
- !ruby/object:Gem::Version
|
40
40
|
version: '0'
|
41
41
|
description: vCardigan is a ruby library for building and parsing vCards that supports
|
@@ -64,12 +64,12 @@ require_paths:
|
|
64
64
|
- lib
|
65
65
|
required_ruby_version: !ruby/object:Gem::Requirement
|
66
66
|
requirements:
|
67
|
-
- -
|
67
|
+
- - '>='
|
68
68
|
- !ruby/object:Gem::Version
|
69
69
|
version: '0'
|
70
70
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
71
71
|
requirements:
|
72
|
-
- -
|
72
|
+
- - '>='
|
73
73
|
- !ruby/object:Gem::Version
|
74
74
|
version: '0'
|
75
75
|
requirements: []
|