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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 2f4b95e3aacb47a0ed943a1f2dc60dc5678c497a1e7939f5e5d0b49f0a2ac60d
4
- data.tar.gz: 5f2678962c6af2dbea319ba64b21266a2b3e1154d2a1b87d0e1904abe08f6732
3
+ metadata.gz: 9e89072db00e4df5e80e1f278d15e0976743423838a641c1df204754a4acfde8
4
+ data.tar.gz: f18a891e5334b570789f295704764b51684dc55c4a805ea20e2cab90481987ae
5
5
  SHA512:
6
- metadata.gz: c81df8720f17e09c777d8a8ceb1d548c1caecfe3c864125363f3274fc15afddebd9268d49ccf492c01290cb43f5d37e964be6372f0e90f51b35563cb989482c2
7
- data.tar.gz: 5f74682240c9c7d338477d5d65bce7037db574aa9314b04ca1aeac1435e3b23928f1b4abb9558459994f7a2d5e5f87af178a9dc1414fb1e482674624af699c49
6
+ metadata.gz: b4e80a78747cebdf3d7e6a03d94e5e17fc0f271944864a34a69bdc5691ed8e82daf7aecf61f861a91ba09840d56a552bf89c204bdbd2ccb41b44077344682fe7
7
+ data.tar.gz: 4b173d92d41bf7ff4eeb86bd29862e07d449d59f55fce945735158acaccc5a5b28f47bce4fccd03db0209a2980e0477a0dbccd976bc74571f810217d7004613b
@@ -0,0 +1 @@
1
+ * @lifull-dev/admin-bucky
data/Dockerfile CHANGED
@@ -1,4 +1,4 @@
1
- FROM ruby:2.5.8-alpine
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-minimal \
12
+ iproute2 \
13
13
  libxml2-dev \
14
14
  libxslt-dev \
15
15
  linux-headers \
data/Dockerfile.dev CHANGED
@@ -1,4 +1,4 @@
1
- FROM ruby:2.5.8-alpine
1
+ FROM ruby:2.6.10-alpine
2
2
  ENV LANG ja_JP.UTF-8
3
3
  ENV PAGER busybox less
4
4
 
@@ -8,7 +8,7 @@ RUN apk update && \
8
8
  bash \
9
9
  build-base \
10
10
  curl-dev \
11
- iproute2-minimal \
11
+ iproute2 \
12
12
  git \
13
13
  libxml2-dev \
14
14
  libxslt-dev \
@@ -1,4 +1,4 @@
1
- FROM ruby:2.5.8-alpine
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-minimal \
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[:cases_count] }
171
- @json_report[:summary][:failure_count] = all_round_results[-1].sum { |_case, res| res[:failure_count] }
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|
@@ -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
@@ -2,6 +2,6 @@
2
2
 
3
3
  module Bucky
4
4
  module Version
5
- VERSION = '0.10.21'
5
+ VERSION = '0.10.23'
6
6
  end
7
7
  end
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.21
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-06-13 00:00:00.000000000 Z
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"