bucky-core 0.10.22 → 0.10.24

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: ad26ae7d896b46091c2980ddf1abd4cb7118ff64d8ac4583211828cf9c2ba0e3
4
- data.tar.gz: ffdca5a8bffd1c769bdbc329c434a5bb68dcf4198d2331515f667f1851c9c8ca
3
+ metadata.gz: dd619a84c0de1ce0c71eaefd926916ad3a6f11bdba82938fe2f6c3b5d032320f
4
+ data.tar.gz: 0d52f9202d09f51d9113f0bbd08990ea3b4aa96507f78b823068c68afcfd4655
5
5
  SHA512:
6
- metadata.gz: f5e2e78e4c64f7bfc4ad95dcc95d3fd2a359f4b829fdd723255d5fc23f4b2614f9ccb30e40e6d5d13425487e004f4456b59d86f5ce1d0d2c5a4712fb78c1ac51
7
- data.tar.gz: c4bc515a067af476819cae7b8b8c8da9443c73ebd196ac97dbd073d1a489503beee71e4a0616cb403e3f1ece262eaa587189a8062a4c912e7f6c831c2b05e7f5
6
+ metadata.gz: ba5bee620e4327959134baf64423473743235d854d7a6453e9e072014de8d74465a95cab6af519614e4e8fffb0e2a34f59bf40f89abb0d10548dd32b3b11221e
7
+ data.tar.gz: 7ff5cc8c44f9c0f8d43b1e1ae703b70d658ed850449c7039f4ddd699d99dd97a4547184025aa2909b80c1a5862b1c00e8bc3ee4c2046cac6c91c88a9296bfcd2
@@ -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 \
@@ -18,7 +18,11 @@ 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 = if parsed_uri.query.nil?
22
+ ''
23
+ else
24
+ '?' + parsed_uri.query_values.map { |k, v| "#{CGI.escape(k)}=#{CGI.escape(v)}" }.join('&')
25
+ end
22
26
  # If path is empty, add "/" e.g) http://example.com
23
27
  path = parsed_uri.path.empty? ? '/' : parsed_uri.path
24
28
 
data/lib/bucky/version.rb CHANGED
@@ -2,6 +2,6 @@
2
2
 
3
3
  module Bucky
4
4
  module Version
5
- VERSION = '0.10.22'
5
+ VERSION = '0.10.24'
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.22
4
+ version: 0.10.24
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-11-02 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"