baza.rb 0.9.12 → 0.10.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/.github/workflows/actionlint.yml +1 -1
- data/.github/workflows/codecov.yml +1 -1
- data/.github/workflows/copyrights.yml +1 -1
- data/.github/workflows/markdown-lint.yml +1 -1
- data/.github/workflows/pdd.yml +1 -1
- data/.github/workflows/rake.yml +1 -1
- data/.github/workflows/reuse.yml +1 -1
- data/.github/workflows/typos.yml +2 -2
- data/.github/workflows/xcop.yml +1 -1
- data/.github/workflows/yamllint.yml +1 -1
- data/Gemfile.lock +13 -15
- data/lib/baza-rb/version.rb +1 -1
- data/lib/baza-rb.rb +6 -2
- metadata +1 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 2f6074c9e6b658050c602c9f524bbaec0f90b8ce16755e18f286c9cbb950b668
|
4
|
+
data.tar.gz: e53bc9636b17258a566846fc4c9249da5aff695b2d064ef668e91ead1d11f8e2
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: ddf674eab560318a6d0ba35ad750ce3670f7cbfad65605ba2790a6fb0c1c5ad96fa880061bdfcece7303d7578099a2f30f87364f0e3a49651ed99d046c8099e6
|
7
|
+
data.tar.gz: a88bbd2a78d31a1e1a6e9f62894b0eb92a9247a4cb3501a0930a41290591556259dfc0816347f73a5394bc7d98434bf0e541defa2298f931b080f8fdc4017c6a
|
@@ -15,7 +15,7 @@ jobs:
|
|
15
15
|
timeout-minutes: 15
|
16
16
|
runs-on: ubuntu-24.04
|
17
17
|
steps:
|
18
|
-
- uses: actions/checkout@
|
18
|
+
- uses: actions/checkout@v5
|
19
19
|
- name: Download actionlint
|
20
20
|
id: get_actionlint
|
21
21
|
run: bash <(curl https://raw.githubusercontent.com/rhysd/actionlint/main/scripts/download-actionlint.bash)
|
data/.github/workflows/pdd.yml
CHANGED
data/.github/workflows/rake.yml
CHANGED
data/.github/workflows/reuse.yml
CHANGED
data/.github/workflows/typos.yml
CHANGED
data/.github/workflows/xcop.yml
CHANGED
data/Gemfile.lock
CHANGED
@@ -30,13 +30,13 @@ GEM
|
|
30
30
|
rexml
|
31
31
|
decoor (0.1.0)
|
32
32
|
docile (1.4.1)
|
33
|
-
elapsed (0.
|
34
|
-
loog (
|
35
|
-
tago (
|
33
|
+
elapsed (0.2.0)
|
34
|
+
loog (~> 0.6)
|
35
|
+
tago (~> 0.1)
|
36
36
|
ellipsized (0.3.0)
|
37
37
|
ethon (0.16.0)
|
38
38
|
ffi (>= 1.15.0)
|
39
|
-
factbase (0.14.
|
39
|
+
factbase (0.14.7)
|
40
40
|
backtrace (~> 0.4)
|
41
41
|
decoor (~> 0.0)
|
42
42
|
ellipsized (~> 0.3)
|
@@ -47,7 +47,7 @@ GEM
|
|
47
47
|
others (~> 0.0)
|
48
48
|
tago (~> 0.0)
|
49
49
|
yaml (~> 0.3)
|
50
|
-
faraday (2.13.
|
50
|
+
faraday (2.13.4)
|
51
51
|
faraday-net_http (>= 2.0, < 3.5)
|
52
52
|
json
|
53
53
|
logger
|
@@ -65,7 +65,7 @@ GEM
|
|
65
65
|
ffi (1.17.2-x86_64-linux-gnu)
|
66
66
|
hashdiff (1.2.0)
|
67
67
|
iri (0.11.2)
|
68
|
-
json (2.13.
|
68
|
+
json (2.13.2)
|
69
69
|
language_server-protocol (3.17.0.5)
|
70
70
|
lint_roller (1.1.0)
|
71
71
|
logger (1.7.0)
|
@@ -78,7 +78,7 @@ GEM
|
|
78
78
|
minitest (>= 5.0)
|
79
79
|
ruby-progressbar
|
80
80
|
multipart-post (2.4.1)
|
81
|
-
mustermann (3.0.
|
81
|
+
mustermann (3.0.4)
|
82
82
|
ruby2_keywords (~> 0.0.1)
|
83
83
|
net-http (0.6.0)
|
84
84
|
uri
|
@@ -96,12 +96,12 @@ GEM
|
|
96
96
|
os (1.1.4)
|
97
97
|
others (0.1.1)
|
98
98
|
parallel (1.27.0)
|
99
|
-
parser (3.3.
|
99
|
+
parser (3.3.9.0)
|
100
100
|
ast (~> 2.4.1)
|
101
101
|
racc
|
102
102
|
prism (1.4.0)
|
103
103
|
public_suffix (6.0.2)
|
104
|
-
puma (6.6.
|
104
|
+
puma (6.6.1)
|
105
105
|
nio4r (~> 2.0)
|
106
106
|
qbash (0.4.5)
|
107
107
|
backtrace (> 0)
|
@@ -109,7 +109,7 @@ GEM
|
|
109
109
|
loog (> 0)
|
110
110
|
tago (> 0)
|
111
111
|
racc (1.8.1)
|
112
|
-
rack (3.
|
112
|
+
rack (3.2.0)
|
113
113
|
rack-protection (4.1.1)
|
114
114
|
base64 (>= 0.1.0)
|
115
115
|
logger (>= 1.6.0)
|
@@ -123,10 +123,10 @@ GEM
|
|
123
123
|
rake (13.3.0)
|
124
124
|
random-port (0.7.5)
|
125
125
|
tago (> 0)
|
126
|
-
regexp_parser (2.
|
126
|
+
regexp_parser (2.11.1)
|
127
127
|
retries (0.0.5)
|
128
128
|
rexml (3.4.1)
|
129
|
-
rubocop (1.79.
|
129
|
+
rubocop (1.79.2)
|
130
130
|
json (~> 2.3)
|
131
131
|
language_server-protocol (~> 3.17.0.2)
|
132
132
|
lint_roller (~> 1.1.0)
|
@@ -136,7 +136,6 @@ GEM
|
|
136
136
|
regexp_parser (>= 2.9.3, < 3.0)
|
137
137
|
rubocop-ast (>= 1.46.0, < 2.0)
|
138
138
|
ruby-progressbar (~> 1.7)
|
139
|
-
tsort (>= 0.2.0)
|
140
139
|
unicode-display_width (>= 2.4.0, < 4.0)
|
141
140
|
rubocop-ast (1.46.0)
|
142
141
|
parser (>= 3.3.7.2)
|
@@ -161,7 +160,7 @@ GEM
|
|
161
160
|
simplecov-cobertura (3.0.0)
|
162
161
|
rexml
|
163
162
|
simplecov (~> 0.19)
|
164
|
-
simplecov-html (0.13.
|
163
|
+
simplecov-html (0.13.2)
|
165
164
|
simplecov_json_formatter (0.1.4)
|
166
165
|
sinatra (4.1.1)
|
167
166
|
logger (>= 1.6.0)
|
@@ -173,7 +172,6 @@ GEM
|
|
173
172
|
tago (0.1.0)
|
174
173
|
tilt (2.6.1)
|
175
174
|
timeout (0.4.3)
|
176
|
-
tsort (0.2.0)
|
177
175
|
typhoeus (1.4.1)
|
178
176
|
ethon (>= 0.9.0)
|
179
177
|
unicode-display_width (3.1.4)
|
data/lib/baza-rb/version.rb
CHANGED
data/lib/baza-rb.rb
CHANGED
@@ -790,6 +790,7 @@ class BazaRb
|
|
790
790
|
FileUtils.rm_f(file)
|
791
791
|
FileUtils.touch(file)
|
792
792
|
chunk = 0
|
793
|
+
blanks = [204, 302]
|
793
794
|
elapsed(@loog) do
|
794
795
|
loop do
|
795
796
|
slice = ''
|
@@ -823,8 +824,11 @@ class BazaRb
|
|
823
824
|
('in gzip' if ret.headers['Content-Encoding'] == 'gzip'),
|
824
825
|
("ranged as #{ret.headers['Content-Range'].inspect}" if ret.headers['Content-Range'])
|
825
826
|
]
|
826
|
-
ret = checked(ret, [200, 206, 302])
|
827
|
-
|
827
|
+
ret = checked(ret, [200, 206, 204, 302])
|
828
|
+
if blanks.include?(ret.code)
|
829
|
+
sleep(2)
|
830
|
+
next
|
831
|
+
end
|
828
832
|
if ret.headers['Content-Encoding'] == 'gzip'
|
829
833
|
begin
|
830
834
|
slice = unzip(slice)
|