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 +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/utils/requests.rb +5 -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: dd619a84c0de1ce0c71eaefd926916ad3a6f11bdba82938fe2f6c3b5d032320f
|
4
|
+
data.tar.gz: 0d52f9202d09f51d9113f0bbd08990ea3b4aa96507f78b823068c68afcfd4655
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: ba5bee620e4327959134baf64423473743235d854d7a6453e9e072014de8d74465a95cab6af519614e4e8fffb0e2a34f59bf40f89abb0d10548dd32b3b11221e
|
7
|
+
data.tar.gz: 7ff5cc8c44f9c0f8d43b1e1ae703b70d658ed850449c7039f4ddd699d99dd97a4547184025aa2909b80c1a5862b1c00e8bc3ee4c2046cac6c91c88a9296bfcd2
|
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 \
|
data/lib/bucky/utils/requests.rb
CHANGED
@@ -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
|
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
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.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-
|
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"
|