zuora_connect 1.5.40f → 1.5.40g

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
  SHA1:
3
- metadata.gz: 8459de233752587359297a4a7c4e204c23b4dd12
4
- data.tar.gz: bb1f3f9c77ed74662dfd2cca3a8a432b79187b99
3
+ metadata.gz: 54ba72e54953fe8619666f8b478594b38ee65750
4
+ data.tar.gz: 23f50bfea0f4ef8ef5fc285b1b20bca5ad2f857b
5
5
  SHA512:
6
- metadata.gz: cf9f594167a676151b1cedc729da825a7aa0362ad78f390faf60b27560326e8dfbe9e083d69299123e3e4ac24b8c22dcf0d64d2b43c8a3f1c5a14bc03e4aa597
7
- data.tar.gz: e49dac97ab00b6e07d536021e3ae10568e7717828adad5b498ed0111a1584fe484f67dabadf2639401e754006733e2ea2148592ff79e08b9563b413a78c85709
6
+ metadata.gz: 0909387abc1a5b4d660ebf13035fc1823ed22445778c38386c161854a4b3105bdc5fb023be26ac5cf69f3aecf4be26dcf164555825bb11a3951e460ad4a2ae2e
7
+ data.tar.gz: 035c58d0cbf70342b8fb3693f72eecc1affbb35b8c7515af517f892f14d004c88440bb16e16f8f1d41b955348f54c2ea161fc33779c9d17f2bd58403b4663884
@@ -47,20 +47,16 @@ module Middleware
47
47
  return nil
48
48
  end
49
49
 
50
-
51
50
  # Getting the endpoint and the content_type
52
- content_hash = {:html => "text/html", :js => "application/js", :json => "application/json"}
51
+ content_hash = {:html => "text/html", :js => "application/javascript", :json => "application/json"}
53
52
  content_type = content_hash[payload[:format]]
54
53
 
55
54
  if payload[:headers]
56
55
  request_path = URI(payload[:headers]['REQUEST_URI']).path.split(".")[0]
57
56
  else
58
- request_path = payload[:path]
57
+ request_path = URI(payload[:path]).path.split(".")[0]
59
58
  end
60
59
 
61
- # content_type = ((payload[:headers]["action_controller.instance"].instance_variable_get :@_response).instance_variable_get :@header)["Content-Type"]
62
- # content_type = content_type.split(";")[0]
63
-
64
60
  response_time = finished-started
65
61
 
66
62
  # Write to telegraf
@@ -1,3 +1,3 @@
1
1
  module ZuoraConnect
2
- VERSION = "1.5.40f"
2
+ VERSION = "1.5.40g"
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: zuora_connect
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.5.40f
4
+ version: 1.5.40g
5
5
  platform: ruby
6
6
  authors:
7
7
  - Connect Team