vcard 0.2.12 → 0.2.13
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/.ruby-version +1 -1
- data/.travis.yml +6 -5
- data/Gemfile +1 -1
- data/README.md +5 -1
- data/lib/vcard.rb +1 -1
- data/lib/vcard/version.rb +1 -1
- data/test/vcard_test.rb +3 -3
- metadata +9 -9
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 8cd694341dcc9a8deb453629cdcadb62beb83d2c
|
4
|
+
data.tar.gz: 8f02acb17425244c540188442c18db6a35936334
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: dc5f7ad6dd56250ceaf3f76315cc51b8ce5eca0664b63f1c28ef9b6e5a534cc84b7b5eb5b043c08ff9981b12ab8b5f42167af614159e9d6c297ab4b5f1920566
|
7
|
+
data.tar.gz: b7452473ea636bf33f0f01cf6a21856ae112e7bbccc2c5591b5ed72f33eff58307fd83aaec7a379d80d49a832868797f4cb2af1c5bbe3724d5c9e7e1228c4745
|
data/.ruby-version
CHANGED
@@ -1 +1 @@
|
|
1
|
-
ruby-2.
|
1
|
+
ruby-2.3.0
|
data/.travis.yml
CHANGED
@@ -1,9 +1,13 @@
|
|
1
1
|
language: ruby
|
2
2
|
script: bundle exec rake
|
3
|
+
before_install:
|
4
|
+
- gem install bundler
|
3
5
|
rvm:
|
4
|
-
- 1.8.7
|
5
|
-
- 1.9.2
|
6
6
|
- 1.9.3
|
7
|
+
- 2.0
|
8
|
+
- 2.1
|
9
|
+
- 2.2
|
10
|
+
- 2.3
|
7
11
|
# - ruby-head
|
8
12
|
# - ree
|
9
13
|
# - rbx-18mode
|
@@ -11,6 +15,3 @@ rvm:
|
|
11
15
|
# - jruby-18mode
|
12
16
|
# - jruby-19mode
|
13
17
|
# - jruby-head
|
14
|
-
matrix:
|
15
|
-
allow_failures:
|
16
|
-
- rvm: 1.8.7
|
data/Gemfile
CHANGED
data/README.md
CHANGED
@@ -1,4 +1,4 @@
|
|
1
|
-
# Vcard
|
1
|
+
# Vcard [![Build Status](https://travis-ci.org/qoobaa/vcard.svg?branch=master)](https://travis-ci.org/qoobaa/vcard)
|
2
2
|
|
3
3
|
Vcard gem extracts Vcard support from Vpim gem.
|
4
4
|
|
@@ -15,3 +15,7 @@ And then execute:
|
|
15
15
|
Or install it yourself as:
|
16
16
|
|
17
17
|
$ gem install vcard
|
18
|
+
|
19
|
+
## Upgrade Notes
|
20
|
+
|
21
|
+
We are no longer testing against Ruby 1.8.7.
|
data/lib/vcard.rb
CHANGED
data/lib/vcard/version.rb
CHANGED
data/test/vcard_test.rb
CHANGED
@@ -466,7 +466,7 @@ EOF
|
|
466
466
|
m.add_role "Office Manager\r\n;Something Else"
|
467
467
|
end
|
468
468
|
assert_equal "Office Manager\n;Something Else", card.role
|
469
|
-
assert_match
|
469
|
+
assert_match(/Office Manager\\n\\;Something Else/, card.to_s)
|
470
470
|
card = Vcard::Vcard.decode(card.encode).first
|
471
471
|
assert_equal "Office Manager\n;Something Else", card.role
|
472
472
|
end
|
@@ -477,10 +477,10 @@ EOF
|
|
477
477
|
n.given = "John"
|
478
478
|
n.family = "Woe"
|
479
479
|
end
|
480
|
-
m.add_note
|
480
|
+
m.add_note "line1\r\n;line2"
|
481
481
|
end
|
482
482
|
assert_equal "line1\n;line2", card.note
|
483
|
-
assert_match
|
483
|
+
assert_match(/line1\\n\\;line2/, card.to_s)
|
484
484
|
card = Vcard::Vcard.decode(card.encode).first
|
485
485
|
assert_equal "line1\n;line2", card.note
|
486
486
|
end
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: vcard
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.2.
|
4
|
+
version: 0.2.13
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Kuba Kuźma
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date:
|
11
|
+
date: 2016-09-23 00:00:00.000000000 Z
|
12
12
|
dependencies: []
|
13
13
|
description: Vcard extracted from Vpim
|
14
14
|
email:
|
@@ -17,10 +17,10 @@ executables: []
|
|
17
17
|
extensions: []
|
18
18
|
extra_rdoc_files: []
|
19
19
|
files:
|
20
|
-
- .gitignore
|
21
|
-
- .ruby-gemset
|
22
|
-
- .ruby-version
|
23
|
-
- .travis.yml
|
20
|
+
- ".gitignore"
|
21
|
+
- ".ruby-gemset"
|
22
|
+
- ".ruby-version"
|
23
|
+
- ".travis.yml"
|
24
24
|
- Gemfile
|
25
25
|
- LICENSE
|
26
26
|
- README.md
|
@@ -74,17 +74,17 @@ require_paths:
|
|
74
74
|
- lib
|
75
75
|
required_ruby_version: !ruby/object:Gem::Requirement
|
76
76
|
requirements:
|
77
|
-
- -
|
77
|
+
- - ">="
|
78
78
|
- !ruby/object:Gem::Version
|
79
79
|
version: '0'
|
80
80
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
81
81
|
requirements:
|
82
|
-
- -
|
82
|
+
- - ">="
|
83
83
|
- !ruby/object:Gem::Version
|
84
84
|
version: '0'
|
85
85
|
requirements: []
|
86
86
|
rubyforge_project:
|
87
|
-
rubygems_version: 2.
|
87
|
+
rubygems_version: 2.5.1
|
88
88
|
signing_key:
|
89
89
|
specification_version: 4
|
90
90
|
summary: Vcard extracted from Vpim
|