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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 2e912a9dfe65f2058669088fcb34f1be53147564
4
- data.tar.gz: 3aad9b7c03a9f32a2173d3386985d075bb264fe6
3
+ metadata.gz: 8cd694341dcc9a8deb453629cdcadb62beb83d2c
4
+ data.tar.gz: 8f02acb17425244c540188442c18db6a35936334
5
5
  SHA512:
6
- metadata.gz: dbfb602829bfe1c2de00a99950c8783dd930fcd3de4099b84ab2089dda1b96f80ff2af39646e12f044ef235b248257290a07eafc6b5b042ba7d61129b98186bd
7
- data.tar.gz: 33afb5ec28ca3e61b8077bec041a5b42e0cc850253fbf82238d68a044606cadf5dc3a50dc930dadc2585cddd9949256b3d8dcdcf1d3975ee42a432a04ff5dd8a
6
+ metadata.gz: dc5f7ad6dd56250ceaf3f76315cc51b8ce5eca0664b63f1c28ef9b6e5a534cc84b7b5eb5b043c08ff9981b12ab8b5f42167af614159e9d6c297ab4b5f1920566
7
+ data.tar.gz: b7452473ea636bf33f0f01cf6a21856ae112e7bbccc2c5591b5ed72f33eff58307fd83aaec7a379d80d49a832868797f4cb2af1c5bbe3724d5c9e7e1228c4745
@@ -1 +1 @@
1
- ruby-2.0.0-p195
1
+ ruby-2.3.0
@@ -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
@@ -2,5 +2,5 @@ source "https://rubygems.org"
2
2
 
3
3
  gemspec
4
4
 
5
-
6
5
  gem "rake"
6
+ gem 'test-unit'
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.
@@ -26,7 +26,7 @@ module Vcard
26
26
  unfolded = []
27
27
 
28
28
  prior_line = nil
29
- card.lines do |line|
29
+ card.each_line do |line|
30
30
  line.chomp!
31
31
  # If it's a continuation line, add it to the last.
32
32
  # If it's an empty line, drop it from the input.
@@ -1,3 +1,3 @@
1
1
  module Vcard
2
- VERSION = "0.2.12"
2
+ VERSION = "0.2.13"
3
3
  end
@@ -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 /Office Manager\\n\\;Something Else/, card.to_s
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 note = "line1\r\n;line2"
480
+ m.add_note "line1\r\n;line2"
481
481
  end
482
482
  assert_equal "line1\n;line2", card.note
483
- assert_match /line1\\n\\;line2/, card.to_s
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.12
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: 2013-10-30 00:00:00.000000000 Z
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.0.3
87
+ rubygems_version: 2.5.1
88
88
  signing_key:
89
89
  specification_version: 4
90
90
  summary: Vcard extracted from Vpim