contact_sport 1.0.0 → 1.0.1

Sign up to get free protection for your applications and to get access to all the features.
data/lib/contact_sport.rb CHANGED
@@ -4,14 +4,17 @@ require 'contact_sport/outlook_reader'
4
4
 
5
5
  module ContactSport
6
6
 
7
+ # Superclass for all ContactSport errors.
8
+ ContactSport::Error = Class.new RuntimeError
9
+
7
10
  # Raised when a contacts file doesn't appear to be Outlook CSV or vCard.
8
- UnknownProviderError = Class.new RuntimeError
11
+ UnknownProviderError = Class.new ContactSport::Error
9
12
 
10
13
  # Raised when a contacts file cannot be parsed.
11
- FormatError = Class.new RuntimeError
14
+ FormatError = Class.new ContactSport::Error
12
15
 
13
16
  # Raised when a contacts file is in an unknown encoding.
14
- EncodingError = Class.new RuntimeError
17
+ EncodingError = Class.new ContactSport::Error
15
18
 
16
19
  EMPTY_FIELD = ''
17
20
 
@@ -1,3 +1,3 @@
1
1
  module ContactSport
2
- VERSION = '1.0.0'
2
+ VERSION = '1.0.1'
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: contact_sport
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.0.0
4
+ version: 1.0.1
5
5
  prerelease:
6
6
  platform: ruby
7
7
  authors:
@@ -9,7 +9,7 @@ authors:
9
9
  autorequire:
10
10
  bindir: bin
11
11
  cert_chain: []
12
- date: 2013-02-25 00:00:00.000000000 Z
12
+ date: 2013-02-26 00:00:00.000000000 Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: vcard
@@ -82,7 +82,7 @@ required_ruby_version: !ruby/object:Gem::Requirement
82
82
  version: '0'
83
83
  segments:
84
84
  - 0
85
- hash: -3767443409390475510
85
+ hash: -2244736602631739616
86
86
  required_rubygems_version: !ruby/object:Gem::Requirement
87
87
  none: false
88
88
  requirements:
@@ -91,7 +91,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
91
91
  version: '0'
92
92
  segments:
93
93
  - 0
94
- hash: -3767443409390475510
94
+ hash: -2244736602631739616
95
95
  requirements: []
96
96
  rubyforge_project:
97
97
  rubygems_version: 1.8.23