intercom 3.7.1 → 3.7.2

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: 7c14b4a3123f4e82d7f6f4df68f218132d2396a8
4
- data.tar.gz: fac1eb6ee0010b4916e1d9267f39271309d44a44
3
+ metadata.gz: 708ce733ee0e370b127a9cd6a112cd51b736e5b5
4
+ data.tar.gz: e5b89d798adcb026df69012aef5632fc60c07081
5
5
  SHA512:
6
- metadata.gz: 2e730159e675f826a7d32d1424627aa3bbff7b1d06ead12d632a0a6f7cbd76aa3c38f36ea51d6e39209a3a1e447c7c3a3015d44e80a599db3f416337ff2d114c
7
- data.tar.gz: 11c8ca1713ef09f8053a020f0bc24fc7de0bacc3dbe4dffce761409f67d3e89e2bf271e2ca4f38b7796a32bb0730d40c35c6ee9ef4dd5d790adeff41669af4a3
6
+ metadata.gz: 3c6390d4a7aabf7d7a7ae5e25ef904cbea0c0c66a4f17370da73d9b9df2d9e27574018f6dc906f55e0712430660e61945997e8464beac30218102da8eb469e19
7
+ data.tar.gz: 2a22d0138af9458459c946591f6fb55ed88beb2919f1d7b0fbe68c17c560da98a44f19b9f4a34a7ba931719a27837a9921040de71c8a4b90baa79ada938a7bf8
data/README.md CHANGED
@@ -22,7 +22,7 @@ This version of the gem is compatible with `Ruby 2.1` and above.
22
22
 
23
23
  Using bundler:
24
24
 
25
- gem 'intercom', '~> 3.7.0'
25
+ gem 'intercom', '~> 3.7.1'
26
26
 
27
27
  ## Basic Usage
28
28
 
data/changes.txt CHANGED
@@ -1,3 +1,6 @@
1
+ 3.7.1
2
+ Extra version bump after faulty previous bump
3
+
1
4
  3.7.0
2
5
  Providing the ability to hard delete users as described here:
3
6
  https://developers.intercom.com/intercom-api-reference/reference#archive-a-user
@@ -63,6 +63,9 @@ module Intercom
63
63
  # Raised when the request throws an error not accounted for
64
64
  class UnexpectedError < IntercomError; end
65
65
 
66
+ # Raised when the CDA limit for the app has been reached
67
+ class CDALimitReachedError < IntercomError; end
68
+
66
69
  # Raised when multiple users match the query (typically duplicate email addresses)
67
70
  class MultipleMatchingUsersError < IntercomError; end
68
71
 
@@ -170,6 +170,8 @@ module Intercom
170
170
  raise Intercom::ResourceNotFound.new(error_details['message'], error_context)
171
171
  when "rate_limit_exceeded"
172
172
  raise Intercom::RateLimitExceeded.new(error_details['message'], error_context)
173
+ when "custom_data_limit_reached"
174
+ raise Intercom::CDALimitReachedError.new(error_details['message'], error_context)
173
175
  when 'service_unavailable'
174
176
  raise Intercom::ServiceUnavailableError.new(error_details['message'], error_context)
175
177
  when 'conflict', 'unique_user_constraint'
@@ -1,3 +1,3 @@
1
1
  module Intercom #:nodoc:
2
- VERSION = "3.7.1"
2
+ VERSION = "3.7.2"
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: 3.7.1
4
+ version: 3.7.2
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: 2018-11-21 00:00:00.000000000 Z
18
+ date: 2019-01-15 00:00:00.000000000 Z
19
19
  dependencies:
20
20
  - !ruby/object:Gem::Dependency
21
21
  name: minitest