allscripts_unity_client 2.1.1 → 2.1.2

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: 4c922415ede669a67b8aaeca965cc57255876148
4
- data.tar.gz: 1fd6a6104626ae99644f1f401fad660abf6203a2
3
+ metadata.gz: 65294ae5ba556eafd37a4894d2a66544eab30dd5
4
+ data.tar.gz: 94ba785edfa2315cb6a585681150e5ab79570ef1
5
5
  SHA512:
6
- metadata.gz: f47a0208fee44b5004174d1ee0a10e0fb6bebc3929bc508586b3b82ed0041f1ee8e1ec59fea27f2a622ad9335c71c70150cd4d96253de6e0352bf8f4569c947a
7
- data.tar.gz: 4357b82d41a3bdc9fbead4803379408ab988285773e6178a1b66684c56f24b372e5fa5ac4430bfed4dc1842686b28172578abd07efef493cc84628eedd359e3d
6
+ metadata.gz: e70c35317adefdfd8f734541c7d59b3f15febb9e69a908e76ed4c75973fcb96bf93b19bcdb765cbe02ce7aab46c57f62754ebea37e68bf88eb260ca809f4b115
7
+ data.tar.gz: 3a798a19d067e86f63849f8087b9e0dae555cea13a900624636ce097754bb3273e7aab1826ddf211ccb5b55c0bfb2399626007db0a73989be89e074cc79e42a4
@@ -23,7 +23,7 @@ module AllscriptsUnityClient
23
23
  request_data = JSONUnityRequest.new(parameters, @options.timezone, @options.appname, @security_token)
24
24
 
25
25
  response = nil
26
- NewRelicSupport.trace_execution_scoped_if_available(JSONClientDriver, ["Custom/UnityJSON/#{parameters[:action]}"]) do
26
+ NewRelicSupport.trace_execution_scoped_if_available(self.class, ["Custom/UnityJSON/#{parameters[:action]}"]) do
27
27
  response = @connection.post do |request|
28
28
  request.url "#{UNITY_JSON_ENDPOINT}/MagicJson"
29
29
  request.headers['Content-Type'] = 'application/json'
@@ -56,7 +56,7 @@ module AllscriptsUnityClient
56
56
  }
57
57
 
58
58
  response = nil
59
- NewRelicSupport.trace_execution_scoped_if_available(JSONClientDriver, ["Custom/UnityJSON/GetToken"]) do
59
+ NewRelicSupport.trace_execution_scoped_if_available(self.class, ["Custom/UnityJSON/GetToken"]) do
60
60
  response = @connection.post do |request|
61
61
  request.url "#{UNITY_JSON_ENDPOINT}/GetToken"
62
62
  request.headers['Content-Type'] = 'application/json'
@@ -84,7 +84,7 @@ module AllscriptsUnityClient
84
84
  }
85
85
 
86
86
  response = nil
87
- NewRelicSupport.trace_execution_scoped_if_available(JSONClientDriver, ["Custom/UnityJSON/RetireSecurityToken"]) do
87
+ NewRelicSupport.trace_execution_scoped_if_available(self.class, ["Custom/UnityJSON/RetireSecurityToken"]) do
88
88
  response = @connection.post do |request|
89
89
  request.url "#{UNITY_JSON_ENDPOINT}/RetireSecurityToken"
90
90
  request.headers['Content-Type'] = 'application/json'
@@ -62,7 +62,7 @@ module AllscriptsUnityClient
62
62
  response = nil
63
63
  begin
64
64
  start_timer
65
- NewRelicSupport.trace_execution_scoped_if_available(SOAPClientDriver, ["Custom/UnitySOAP/#{parameters[:action]}"]) do
65
+ NewRelicSupport.trace_execution_scoped_if_available(self.class, ["Custom/UnitySOAP/#{parameters[:action]}"]) do
66
66
  response = @savon_client.call('Magic', call_data)
67
67
  end_timer
68
68
  end
@@ -93,7 +93,7 @@ module AllscriptsUnityClient
93
93
  begin
94
94
  start_timer
95
95
  response = nil
96
- NewRelicSupport.trace_execution_scoped_if_available(JSONClientDriver, ["Custom/UnitySOAP/GetToken"]) do
96
+ NewRelicSupport.trace_execution_scoped_if_available(self.class, ["Custom/UnitySOAP/GetToken"]) do
97
97
  response = @savon_client.call('GetSecurityToken', call_data)
98
98
  end_timer
99
99
  end
@@ -120,7 +120,7 @@ module AllscriptsUnityClient
120
120
 
121
121
  begin
122
122
  start_timer
123
- NewRelicSupport.trace_execution_scoped_if_available(JSONClientDriver, ["Custom/UnitySOAP/RetireSecurityToken"]) do
123
+ NewRelicSupport.trace_execution_scoped_if_available(self.class, ["Custom/UnitySOAP/RetireSecurityToken"]) do
124
124
  @savon_client.call('RetireSecurityToken', call_data)
125
125
  end_timer
126
126
  end
@@ -1,3 +1,3 @@
1
1
  module AllscriptsUnityClient
2
- VERSION = '2.1.1'
2
+ VERSION = '2.1.2'
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: allscripts_unity_client
3
3
  version: !ruby/object:Gem::Version
4
- version: 2.1.1
4
+ version: 2.1.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - Ash Gupta