bucky-core 0.10.21 → 0.10.23
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/.github/CODEOWNERS +1 -0
- data/Dockerfile +2 -2
- data/Dockerfile.dev +2 -2
- data/Dockerfile.system-test +2 -2
- data/lib/bucky/core/test_core/test_manager.rb +2 -2
- data/lib/bucky/utils/requests.rb +1 -1
- data/lib/bucky/version.rb +1 -1
- metadata +3 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 9e89072db00e4df5e80e1f278d15e0976743423838a641c1df204754a4acfde8
|
4
|
+
data.tar.gz: f18a891e5334b570789f295704764b51684dc55c4a805ea20e2cab90481987ae
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: b4e80a78747cebdf3d7e6a03d94e5e17fc0f271944864a34a69bdc5691ed8e82daf7aecf61f861a91ba09840d56a552bf89c204bdbd2ccb41b44077344682fe7
|
7
|
+
data.tar.gz: 4b173d92d41bf7ff4eeb86bd29862e07d449d59f55fce945735158acaccc5a5b28f47bce4fccd03db0209a2980e0477a0dbccd976bc74571f810217d7004613b
|
data/.github/CODEOWNERS
ADDED
@@ -0,0 +1 @@
|
|
1
|
+
* @lifull-dev/admin-bucky
|
data/Dockerfile
CHANGED
@@ -1,4 +1,4 @@
|
|
1
|
-
FROM ruby:2.
|
1
|
+
FROM ruby:2.6.10-alpine
|
2
2
|
ENV LANG ja_JP.UTF-8
|
3
3
|
ENV PAGER busybox less
|
4
4
|
|
@@ -9,7 +9,7 @@ RUN apk update && \
|
|
9
9
|
build-base \
|
10
10
|
curl-dev \
|
11
11
|
git \
|
12
|
-
iproute2
|
12
|
+
iproute2 \
|
13
13
|
libxml2-dev \
|
14
14
|
libxslt-dev \
|
15
15
|
linux-headers \
|
data/Dockerfile.dev
CHANGED
data/Dockerfile.system-test
CHANGED
@@ -1,4 +1,4 @@
|
|
1
|
-
FROM ruby:2.
|
1
|
+
FROM ruby:2.6.10-alpine
|
2
2
|
ENV LANG ja_JP.UTF-8
|
3
3
|
ENV PAGER busybox less
|
4
4
|
|
@@ -9,7 +9,7 @@ RUN apk update && \
|
|
9
9
|
build-base \
|
10
10
|
curl-dev \
|
11
11
|
git \
|
12
|
-
iproute2
|
12
|
+
iproute2 \
|
13
13
|
libxml2-dev \
|
14
14
|
libxslt-dev \
|
15
15
|
linux-headers \
|
@@ -167,8 +167,8 @@ module Bucky
|
|
167
167
|
|
168
168
|
return unless @test_cond[:out]
|
169
169
|
|
170
|
-
@json_report[:summary][:cases_count] = all_round_results[0].sum { |_case, res| res[
|
171
|
-
@json_report[:summary][:failure_count] = all_round_results[-1].sum { |_case, res| res[
|
170
|
+
@json_report[:summary][:cases_count] = all_round_results[0].sum { |_case, res| res['cases_count'] }
|
171
|
+
@json_report[:summary][:failure_count] = all_round_results[-1].sum { |_case, res| res['failure_count'] }
|
172
172
|
@json_report[:summary][:success_count] = @json_report[:summary][:cases_count] - @json_report[:summary][:failure_count]
|
173
173
|
|
174
174
|
File.open(@test_cond[:out], 'w') do |f|
|
data/lib/bucky/utils/requests.rb
CHANGED
@@ -18,7 +18,7 @@ module Bucky
|
|
18
18
|
# @return [Net::HTTP] HttpStatusCode
|
19
19
|
def get_response(uri, device, open_timeout, read_timeout)
|
20
20
|
parsed_uri = Addressable::URI.parse(uri.to_str.strip)
|
21
|
-
query = parsed_uri.query ? "?#{parsed_uri.query}" : ''
|
21
|
+
query = parsed_uri.query ? "?#{CGI.escape(parsed_uri.query)}" : ''
|
22
22
|
# If path is empty, add "/" e.g) http://example.com
|
23
23
|
path = parsed_uri.path.empty? ? '/' : parsed_uri.path
|
24
24
|
|
data/lib/bucky/version.rb
CHANGED
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: bucky-core
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.10.
|
4
|
+
version: 0.10.23
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- NaotoKishino
|
@@ -13,7 +13,7 @@ authors:
|
|
13
13
|
autorequire:
|
14
14
|
bindir: exe
|
15
15
|
cert_chain: []
|
16
|
-
date: 2022-
|
16
|
+
date: 2022-10-26 00:00:00.000000000 Z
|
17
17
|
dependencies:
|
18
18
|
- !ruby/object:Gem::Dependency
|
19
19
|
name: awesome_print
|
@@ -325,6 +325,7 @@ files:
|
|
325
325
|
- ".circleci/setup_rubygems.sh"
|
326
326
|
- ".codeclimate.yml"
|
327
327
|
- ".dockerignore"
|
328
|
+
- ".github/CODEOWNERS"
|
328
329
|
- ".gitignore"
|
329
330
|
- ".rspec"
|
330
331
|
- ".rubocop.yml"
|