allscripts_unity_client 6.0.3 → 7.0.0

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: b60b46f91b6b2c52d472052475038d95f49a5694f46b4304e4df5639d2903a3d
4
- data.tar.gz: e3e05d64911ddb9aefd789ef9ae1ff707cc1485e436b7a3442f0e7804c944977
3
+ metadata.gz: 713d18946c9d93ea64a2c1de62a113e33b6cc76c35eb9215d6598e69be6eafcd
4
+ data.tar.gz: 20a95998b6e326a70a3ad85a1d008ecbd8b99dd9bcd79caca17f2ad550730340
5
5
  SHA512:
6
- metadata.gz: 96f96af11fa6ba91cac2a51b998fb2876d1edc1039bf2e7ab7077a0e1f46031cedc90425c18c5e688e3864ccfc3f092fa429edb36d32a9211e17b46f810806ad
7
- data.tar.gz: 5abc7c4622a1b2e5ccbfff3d072fef1667f1f709f1199a19d1e2d4db4974b32b4975c0c3f5924f6ddd4ff4779bc074cf851cb967fd57f5c19c21b56a6f9712ae
6
+ metadata.gz: ebc9d987e721dbdce39e6e51d758d206dab028b3a6ac40a87b3f4cc856488236e358ed7e61b2c1d2460eead4463284c5f156cf61943d7e630be69e00cab4765f
7
+ data.tar.gz: ade5fb9c0f8973a40868970ea43b558e84baa1e5ffca1908e812cb397358d973c28cc6f6c614f7f3fea020d690058eaae1cf6ecadf4143d1b2e7bef62e235c12
@@ -21,6 +21,14 @@ module AllscriptsUnityClient
21
21
  conn.options.open_timeout = @options.timeout || 90
22
22
  conn.proxy = @options.proxy if @options.proxy
23
23
  end
24
+
25
+ @text_connection = Faraday.new do |conn|
26
+ conn.request :json
27
+ conn.adapter Faraday.default_adapter
28
+ conn.options.timeout = @options.timeout || 90
29
+ conn.options.open_timeout = @options.timeout || 90
30
+ conn.proxy = @options.proxy if @options.proxy
31
+ end
24
32
  end
25
33
 
26
34
  def build_uri(request_location)
@@ -89,7 +97,7 @@ module AllscriptsUnityClient
89
97
  }
90
98
 
91
99
  start_timer
92
- response = @connection.post(build_uri('GetToken'), MultiJson.dump(request_data.to_hash))
100
+ response = @text_connection.post(build_uri('GetToken'), MultiJson.dump(request_data.to_hash))
93
101
  end_timer
94
102
 
95
103
  log_get_security_token
@@ -1,3 +1,3 @@
1
1
  module AllscriptsUnityClient
2
- VERSION = '6.0.3'.freeze
2
+ VERSION = '7.0.0'.freeze
3
3
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: allscripts_unity_client
3
3
  version: !ruby/object:Gem::Version
4
- version: 6.0.3
4
+ version: 7.0.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - healthfinch
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2025-06-13 00:00:00.000000000 Z
11
+ date: 2025-07-07 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: faraday