callstacking-rails 0.1.32 → 0.1.34

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 002a4d9f1b5077534ba5ea5dfc3b418fa77325a4028cd4ed9322803cb0200fb5
4
- data.tar.gz: e9eb4f9d680d978e66f38f754b8c8e251e243628b8317dfa004df95545661048
3
+ metadata.gz: bce5ce229bc999f78ce49367f9998b29c2e3be93e37d41a2f49b6e8b4f7c5619
4
+ data.tar.gz: cb855dd5c05bc5741da264b58b8a791c8e066a9ffc5cb8e20060ed3161acc599
5
5
  SHA512:
6
- metadata.gz: 70c5b03becd0e1e054a5d7142130dfce3ae8e7310a9a249ea6742a95f45b5f3f52a8f59832820c1cd981fbd556ede7f2b672de1ad56cc61e16a978a216fd0b55
7
- data.tar.gz: 54719e4784c2c945e05eafdbc202de21c4bf425a5d0a4ce1c9403e9154851ba18a63883e2bf32712d23342cb5f9c0257d65bfd02630b9cb6bd4b58f878479baf
6
+ metadata.gz: 0fc47250fa0a7fca648f7ec4702a1cb85866876d3fd253dc1f9465f67e5ee0efe19d1e46269634aca52187310c627be99c2930ea01f4f34e4e0424e01e15f938
7
+ data.tar.gz: 052a1f6976cbabc885518abe8158079d7f4aa40e0a22b883cfe6e8b8f5168c3370aff3998cfda9e89194c35970723dbffb799e957fca65a21cf6e39e6e0601d3
@@ -25,7 +25,7 @@ module Callstacking
25
25
  c.use Faraday::Response::RaiseError # raise exceptions on 40x, 50x responses
26
26
  c.request :json # This will set the "Content-Type" header to application/json and call .to_json on the body
27
27
  c.adapter Faraday.default_adapter
28
- c.options.timeout = 5
28
+ c.options.timeout = 120
29
29
 
30
30
  if auth_token.present?
31
31
  c.request :authorization, :Bearer, auth_token
@@ -195,8 +195,8 @@ module Callstacking
195
195
  !(track_request?(url))
196
196
  end
197
197
 
198
- def do_not_track_request?(url, format)
199
- return true if format == "*/*"
198
+ def do_not_track_request?(url, _format)
199
+ return true if %w[/health /health_check].any? {|u| url =~ /#{u}/i}
200
200
 
201
201
  (url =~ /(\/assets\/|\/stylesheets\/|\/javascripts\/|\/css\/|\/js\/|\.js|\.css)/i).present?
202
202
  end
@@ -1,5 +1,5 @@
1
1
  module Callstacking
2
2
  module Rails
3
- VERSION = "0.1.32"
3
+ VERSION = "0.1.34"
4
4
  end
5
5
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: callstacking-rails
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.32
4
+ version: 0.1.34
5
5
  platform: ruby
6
6
  authors:
7
7
  - Jim Jones
8
8
  autorequire:
9
9
  bindir: exe
10
10
  cert_chain: []
11
- date: 2023-05-16 00:00:00.000000000 Z
11
+ date: 2023-06-01 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: rails