xip-twilio 1.3.5 → 1.3.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
  SHA256:
3
- metadata.gz: c331fdd52dcd44edaefe131d49e34f08ed8499b7c528983da908ebf2985dd5fd
4
- data.tar.gz: 350777955a2d5b6abacd375ec5bb3057161e542d09a5384221e5cc7ccee19b3e
3
+ metadata.gz: c015c6da6202504a6087e2a0283ccc95a37fae838f1240c6a19754be5f379f78
4
+ data.tar.gz: 3a9023a3b5a0f9b18446735aaacc04ad8d9a33f6b8637d7967cfa024f1c9bf1f
5
5
  SHA512:
6
- metadata.gz: 44335c93a3db7c473a9d0051ac183df2ceac35af53224b4ed244c67d4ebbdab1c9592d05efcd2e137a9ebc3a34521887ce38709a71727a0bd8ebfd4ef39ca544
7
- data.tar.gz: 1bd2783c5bef27bf540d1861ec93bbc80ac91d7e36ce9595cc89a26b68acbf67fea32f7f467d8ad0ba5f71e5bf03fef6c19d37c8485e67cace8c4a987003ee5c
6
+ metadata.gz: f809c52733b069549f0e786f765e84f93b7bed5025157330efb2bd3d08c187b3671e58d87b63ca2d82c0b1573c77e3b8122103bceb5ea51900edf9dd2c627142
7
+ data.tar.gz: 0510033bc6a71547b7c3b65663e0c3e06088a3ce608223d87e3d10560101383a4a1be86205e06c24831e9df4cdd212549298b147e23f40dbed1230773a108e29
data/CHANGELOG.md CHANGED
@@ -1,3 +1,9 @@
1
+ # 1.3.6
2
+
3
+ ## Enhancements
4
+
5
+ * Twilio errors now log their full error to logs to assist with debugging.
6
+
1
7
  # 1.3.5
2
8
 
3
9
  ## Bugfixes
@@ -6,7 +12,7 @@
6
12
 
7
13
  # 1.3.4
8
14
 
9
- ## Enahncements
15
+ ## Enhancements
10
16
 
11
17
  * Bumped Nokogiri to 1.11.0
12
18
 
data/Gemfile.lock CHANGED
@@ -1,7 +1,7 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- xip-twilio (1.3.3)
4
+ xip-twilio (1.3.6)
5
5
  twilio-ruby (~> 5.5)
6
6
  xip (~> 2.0.0.beta)
7
7
 
@@ -21,7 +21,7 @@ GEM
21
21
  faraday-net_http (~> 1.0)
22
22
  multipart-post (>= 1.2, < 3)
23
23
  ruby2_keywords
24
- faraday-net_http (1.0.0)
24
+ faraday-net_http (1.0.1)
25
25
  i18n (1.8.5)
26
26
  concurrent-ruby (~> 1.0)
27
27
  jwt (2.2.2)
@@ -32,7 +32,7 @@ GEM
32
32
  mustermann (1.1.1)
33
33
  ruby2_keywords (~> 0.0.1)
34
34
  nio4r (2.5.4)
35
- nokogiri (1.11.0)
35
+ nokogiri (1.11.1)
36
36
  mini_portile2 (~> 2.5.0)
37
37
  racc (~> 1.4)
38
38
  puma (4.3.7)
@@ -71,7 +71,7 @@ GEM
71
71
  tilt (~> 2.0)
72
72
  thor (1.0.1)
73
73
  tilt (2.0.10)
74
- twilio-ruby (5.45.1)
74
+ twilio-ruby (5.47.0)
75
75
  faraday (>= 0.9, < 2.0)
76
76
  jwt (>= 1.5, <= 2.5)
77
77
  nokogiri (>= 1.6, < 2.0)
data/VERSION CHANGED
@@ -1 +1 @@
1
- 1.3.5
1
+ 1.3.6
@@ -35,6 +35,11 @@ module Xip
35
35
  begin
36
36
  response = twilio_client.messages.create(reply)
37
37
  rescue ::Twilio::REST::RestError => e
38
+ Xip::Logger.l(
39
+ topic: "twilio",
40
+ message: "Error: #{e.message}"
41
+ )
42
+
38
43
  case e.message
39
44
  when /21610/ # Attempt to send to unsubscribed recipient
40
45
  raise Xip::Errors::UserOptOut
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: xip-twilio
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.3.5
4
+ version: 1.3.6
5
5
  platform: ruby
6
6
  authors:
7
7
  - Mauricio Gomes