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 +4 -4
- data/haplo.gemspec +2 -2
- data/lib/server.rb +7 -2
- data/lib/version.txt +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 3b23f0988876ae30e73d8a29209cdef1c334576479713f897f298a4e5b959004
|
4
|
+
data.tar.gz: b91cd8572efead407346b89a4d3f7afab856885864c108493abe5c541e1800e7
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
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.
|
7
|
-
s.date = '2021-07-
|
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
|
-
|
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
|
-
|
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
|
-
|
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
|
+
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-
|
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
|