haplo 2.5.4-java → 2.5.5-java

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: 14c1565278be74ecd4daeb39ec0f3336e9ac64f9484c93c389e8fe35de340e7d
4
- data.tar.gz: cf5549bef8cb65ea57bba0c132ee6dd1e491d106260edbae25168320c3711cc0
3
+ metadata.gz: 3b23f0988876ae30e73d8a29209cdef1c334576479713f897f298a4e5b959004
4
+ data.tar.gz: b91cd8572efead407346b89a4d3f7afab856885864c108493abe5c541e1800e7
5
5
  SHA512:
6
- metadata.gz: 0fc234fe95b06d67ae5621cfcac00c507e90ee00a3f7b942b5513bd8809ac2b25b2f0c4e33898fcf2bb789efc35d68cd1c1c44bd7ae0ce32b70f7f910a3fb143
7
- data.tar.gz: fc4aa0ab6e8493ed7cf6a6514f8f90cf8bee22d4c329223e72055a2395bbd43761107d171e80c6327d4f684e23eac03c87ae80f19dc77f9247c7dfd89058561f
6
+ metadata.gz: 742f15f804aea68c1f494b52d433ce9e98a4e1c24e523614ec553c24739816966c85545829fa1e2c72bf1f150034225f3cf86632fe1ae37d7b6b45e21e823e16
7
+ data.tar.gz: 67f1ed97902ab2765e90cf8fbfd79236222ce194b27999ab843aa90f759d64c88b9391624df9e121ee5b88f165e5d579b623df4407bad32df0499ab8b30ce982
data/haplo.gemspec CHANGED
@@ -3,8 +3,8 @@ Gem::Specification.new do |s|
3
3
  files = Dir.glob("#{root_dir}/**/*.*").map { |x| x[root_dir.length + 1, x.length]}
4
4
 
5
5
  s.name = 'haplo'
6
- s.version = '2.5.4'
7
- s.date = '2021-07-27'
6
+ s.version = '2.5.5'
7
+ s.date = '2021-07-28'
8
8
  s.summary = "Haplo Plugin Tool"
9
9
  s.description = "Development tools for developing Haplo plugins, see https://haplo.org"
10
10
  s.licenses = ["MPL-2.0"]
data/lib/server.rb CHANGED
@@ -11,6 +11,7 @@ module PluginTool
11
11
  @@server_hostname = hostname
12
12
  @@server_port = port
13
13
  @@server_key = key
14
+ @@request_mutex = Mutex.new
14
15
  end
15
16
 
16
17
  def self.get_server_hostname
@@ -76,7 +77,9 @@ module PluginTool
76
77
  http = get_http
77
78
  request = Net::HTTP::Get.new(path)
78
79
  setup_request(request)
79
- http.request(request).body
80
+ @@request_mutex.synchronize do
81
+ http.request(request).body
82
+ end
80
83
  end
81
84
 
82
85
  def self.get_with_json_response(path)
@@ -117,7 +120,9 @@ EOF
117
120
  body << "--#{boundary}--\r"
118
121
  request.body = body
119
122
  end
120
- http.request(request).body
123
+ @@request_mutex.synchronize do
124
+ http.request(request).body
125
+ end
121
126
  end
122
127
 
123
128
  def self.post_with_json_response(path, params = nil, files = nil)
data/lib/version.txt CHANGED
@@ -1 +1 @@
1
- ccc8c26
1
+ 64e61a4
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: haplo
3
3
  version: !ruby/object:Gem::Version
4
- version: 2.5.4
4
+ version: 2.5.5
5
5
  platform: java
6
6
  authors:
7
7
  - Haplo Services
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2021-07-27 00:00:00.000000000 Z
11
+ date: 2021-07-28 00:00:00.000000000 Z
12
12
  dependencies: []
13
13
  description: Development tools for developing Haplo plugins, see https://haplo.org
14
14
  email: client.services@haplo-services.com