intercom 2.1.5 → 2.1.6

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: 93b3088910bdf34dcb9dd1566e1d926a89050da0
4
- data.tar.gz: db0ef2a2587d36903eec10f0fb436aa18552e4fb
3
+ metadata.gz: d953f0ac9679e338f12dfcfcd568a49730a1f538
4
+ data.tar.gz: 7ebb28538bad6a0b604ce75b71585a66732772d3
5
5
  SHA512:
6
- metadata.gz: fb04dbf382b3151d00a28381f1e4fd2580a6063a044c6999563cfeb28d594fd81fe101b2cae585c713a54390bc0e57dcb383537021e21b4083498584e6acfe1e
7
- data.tar.gz: add597f18c97052f2d21196e0a70bd75f5267010b18bf37b33f48148c22c4f58e80f61d726465bfdad65dfb36b3ab2dcf5b08f492c0a0d3b8ee3553a3932adb1
6
+ metadata.gz: 7fd4e80e4ca57cfe32a5b62e7fa89b703f37675790d039801e4693cfd745a33aca68f2cd4dc6c613611f7c92e223f34351ca0ad0de274da5b01d850b11e3067f
7
+ data.tar.gz: 6fabb4a63c460b2ba4efc2ecbc1c02773380740c28abdd8de99fc0ea904a61d0f1724d757ea20a8d6f7277830587eac41811d00552349d507c7e80e9213e6d2a
data/README.md CHANGED
@@ -19,7 +19,7 @@ Additionally, the new version uses Ruby 2.
19
19
 
20
20
  Using bundler:
21
21
 
22
- gem 'intercom', "~> 2.1.3"
22
+ gem 'intercom', "~> 2.1.6"
23
23
 
24
24
  ## Basic Usage
25
25
 
data/changes.txt CHANGED
@@ -1,55 +1,58 @@
1
+ 2.1.6
2
+ - Add handling for service unavailable exceptions
3
+
1
4
  2.1.5
2
- - Fix typos in error messages (thanks to @infertux)
3
- - Gemfile cleanup (thanks to @Manfred)
4
- - Handle 403 Forbidden errors
5
- - Fix intermittant spec failure
5
+ - Fix typos in error messages (thanks to @infertux)
6
+ - Gemfile cleanup (thanks to @Manfred)
7
+ - Handle 403 Forbidden errors
8
+ - Fix intermittant spec failure
6
9
 
7
10
  2.1.4
8
- - Rework hash helper extensions
11
+ - Rework hash helper extensions
9
12
 
10
13
  2.1.2
11
- - Clean up some spec warnings
12
- - Fix incrementing of custom data
14
+ - Clean up some spec warnings
15
+ - Fix incrementing of custom data
13
16
 
14
17
  2.1.1
15
- - Added User Agent header
18
+ - Added User Agent header
16
19
 
17
20
  2.1.0
18
- - Added Admin listing (thanks to @javiercr)
19
- - Fix ancestor lookup of constants (thanks to @javiercr)
21
+ - Added Admin listing (thanks to @javiercr)
22
+ - Fix ancestor lookup of constants (thanks to @javiercr)
20
23
 
21
24
  2.0.3
22
- - Fix for bug caused by "type" in custom attributes
25
+ - Fix for bug caused by "type" in custom attributes
23
26
 
24
27
  2.0.2
25
- - Mark conversations as read
28
+ - Mark conversations as read
26
29
 
27
30
  2.0.1
28
- - Move ruby version to gemspec
31
+ - Move ruby version to gemspec
29
32
 
30
33
  2.0.0
31
- - Bumped to 2.0.0.
34
+ - Bumped to 2.0.0.
32
35
 
33
36
  1.0.0
34
- - Bumped to a 1.0.0 version. No functional changes.
37
+ - Bumped to a 1.0.0 version. No functional changes.
35
38
 
36
39
  0.3.0
37
- - Renamed UserEvents to Events
40
+ - Renamed UserEvents to Events
38
41
 
39
42
  0.2.0
40
- - Add UserEvents.
43
+ - Add UserEvents.
41
44
 
42
45
  0.1.19
43
- - Update DELETE request to fix issue.
46
+ - Update DELETE request to fix issue.
44
47
 
45
48
  0.1.18
46
- - Increase connection and read timeouts
49
+ - Increase connection and read timeouts
47
50
 
48
51
  0.1.16
49
- - Add BadGatewayError to properly report that sort of error.
52
+ - Add BadGatewayError to properly report that sort of error.
50
53
 
51
54
  0.1.15
52
- - Fix location_data and social_profiles for ruby 2.0 change to #respond_to? method.
55
+ - Fix location_data and social_profiles for ruby 2.0 change to #respond_to? method.
53
56
 
54
57
  0.1.14
55
58
  - Update tagging interface for API changes
@@ -110,6 +110,8 @@ module Intercom
110
110
  raise Intercom::ResourceNotFound.new(error_details['message'], error_context)
111
111
  when "rate_limit_exceeded"
112
112
  raise Intercom::RateLimitExceeded.new(error_details['message'], error_context)
113
+ when 'service_unavailable'
114
+ raise Intercom::ServiceUnavailableError.new(error_details['message'], error_context)
113
115
  when nil, ''
114
116
  raise Intercom::UnexpectedError.new(message_for_unexpected_error_without_type(error_details, parsed_http_code), error_context)
115
117
  else
@@ -1,3 +1,3 @@
1
1
  module Intercom #:nodoc:
2
- VERSION = "2.1.5"
2
+ VERSION = "2.1.6"
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: intercom
3
3
  version: !ruby/object:Gem::Version
4
- version: 2.1.5
4
+ version: 2.1.6
5
5
  platform: ruby
6
6
  authors:
7
7
  - Ben McRedmond
@@ -15,7 +15,7 @@ authors:
15
15
  autorequire:
16
16
  bindir: bin
17
17
  cert_chain: []
18
- date: 2014-08-15 00:00:00.000000000 Z
18
+ date: 2014-09-03 00:00:00.000000000 Z
19
19
  dependencies:
20
20
  - !ruby/object:Gem::Dependency
21
21
  name: minitest