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 +4 -4
- data/README.md +1 -1
- data/changes.txt +24 -21
- data/lib/intercom/request.rb +2 -0
- data/lib/intercom/version.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: d953f0ac9679e338f12dfcfcd568a49730a1f538
|
4
|
+
data.tar.gz: 7ebb28538bad6a0b604ce75b71585a66732772d3
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 7fd4e80e4ca57cfe32a5b62e7fa89b703f37675790d039801e4693cfd745a33aca68f2cd4dc6c613611f7c92e223f34351ca0ad0de274da5b01d850b11e3067f
|
7
|
+
data.tar.gz: 6fabb4a63c460b2ba4efc2ecbc1c02773380740c28abdd8de99fc0ea904a61d0f1724d757ea20a8d6f7277830587eac41811d00552349d507c7e80e9213e6d2a
|
data/README.md
CHANGED
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
|
-
|
3
|
-
|
4
|
-
|
5
|
-
|
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
|
-
|
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
|
data/lib/intercom/request.rb
CHANGED
@@ -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
|
data/lib/intercom/version.rb
CHANGED
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.
|
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-
|
18
|
+
date: 2014-09-03 00:00:00.000000000 Z
|
19
19
|
dependencies:
|
20
20
|
- !ruby/object:Gem::Dependency
|
21
21
|
name: minitest
|