baza.rb 0.0.6 → 0.0.7

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: 1e5d99494e1d40acfbb4e3528aa78da5c6f3db987d2a5adeef6e3b549dd7d39a
4
- data.tar.gz: 935c8d8a3c2b91c75a9a65ff842661e21f2e6deeaa91349645a28970ad589011
3
+ metadata.gz: cec6d23dff978b5dcf080a6940a875ee1f9a67eb07b61ee5ee4b8a98348113c4
4
+ data.tar.gz: 98eb41907e61acc9beeb0397da3b1ec0c9cbb8a1ebd7c8f57422f8be18947cf4
5
5
  SHA512:
6
- metadata.gz: a173d77d88af5c4c5c8d82ad6ec4a19d169a9759d1fe6c5a7932d2e3a222ca496c37b83a8158175f5f7a562b94c12c3572f22e9d66e65eb822b6ab75899ab9c5
7
- data.tar.gz: 2ca69ab0a36e5fa0a52592a7873fe115ea079df503797b2d2cba64e4bd402952a5ac3a9ea7a4ffca5edc70d40cbcfd80c518d6261a70a2ce36506d49e28d1b60
6
+ metadata.gz: 1df697ec1d35721c3d23e6ef0b05d0d1c7e99b47c959b8150e413b18f5fd131efb9d3ca28bbdff4343ab4f012ce86217f4b1ffc8508c92eec2842633b6bef354
7
+ data.tar.gz: 9f74b8782d6a5ad2bfa1f0d8450e1c033cf5c8ad22c2a083f20fb2d96f94a8abbdd572b612a9440edf74f1d40d3b09356c471e2befd85fdd8c020b69884f60f3
data/Gemfile CHANGED
@@ -24,12 +24,12 @@ source 'https://rubygems.org'
24
24
  gemspec
25
25
 
26
26
  gem 'factbase', '>0', require: false
27
- gem 'minitest', '5.24.1', require: false
27
+ gem 'minitest', '5.25.1', require: false
28
28
  gem 'minitest-reporters', '1.7.1', require: false
29
29
  gem 'net-ping', '2.0.8', require: false
30
30
  gem 'rake', '13.2.1', require: false
31
31
  gem 'random-port', '>0', require: false
32
- gem 'rspec-rails', '6.1.3', require: false
32
+ gem 'rspec-rails', '6.1.4', require: false
33
33
  gem 'rubocop', '1.65.1', require: false
34
34
  gem 'rubocop-performance', '1.21.1', require: false
35
35
  gem 'rubocop-rspec', '3.0.4', require: false
data/Gemfile.lock CHANGED
@@ -104,7 +104,7 @@ GEM
104
104
  crass (~> 1.0.2)
105
105
  nokogiri (>= 1.12.0)
106
106
  loog (0.6.0)
107
- minitest (5.24.1)
107
+ minitest (5.25.1)
108
108
  minitest-reporters (1.7.1)
109
109
  ansi
110
110
  builder
@@ -173,7 +173,7 @@ GEM
173
173
  rspec-mocks (3.13.1)
174
174
  diff-lcs (>= 1.2.0, < 2.0)
175
175
  rspec-support (~> 3.13.0)
176
- rspec-rails (6.1.3)
176
+ rspec-rails (6.1.4)
177
177
  actionpack (>= 6.1)
178
178
  activesupport (>= 6.1)
179
179
  railties (>= 6.1)
@@ -242,12 +242,12 @@ PLATFORMS
242
242
  DEPENDENCIES
243
243
  baza.rb!
244
244
  factbase (> 0)
245
- minitest (= 5.24.1)
245
+ minitest (= 5.25.1)
246
246
  minitest-reporters (= 1.7.1)
247
247
  net-ping (= 2.0.8)
248
248
  rake (= 13.2.1)
249
249
  random-port (> 0)
250
- rspec-rails (= 6.1.3)
250
+ rspec-rails (= 6.1.4)
251
251
  rubocop (= 1.65.1)
252
252
  rubocop-performance (= 1.21.1)
253
253
  rubocop-rspec (= 3.0.4)
@@ -26,5 +26,5 @@
26
26
  # Copyright:: Copyright (c) 2024 Yegor Bugayenko
27
27
  # License:: MIT
28
28
  class BazaRb
29
- VERSION = '0.0.6'
29
+ VERSION = '0.0.7'
30
30
  end
data/lib/baza-rb.rb CHANGED
@@ -103,8 +103,9 @@ class BazaRb
103
103
  home.append('pull').append("#{id}.fb").to_s,
104
104
  method: :get,
105
105
  headers: headers.merge(
106
- 'Accept' => 'application/octet-stream'
106
+ 'Accept' => 'application/zip, application/factbase'
107
107
  ),
108
+ accept_encoding: 'gzip',
108
109
  connecttimeout: @timeout,
109
110
  timeout: @timeout
110
111
  )
data/test/test_baza-rb.rb CHANGED
@@ -196,7 +196,6 @@ class TestBazaRb < Minitest::Test
196
196
  end
197
197
 
198
198
  def test_push_compressed_content
199
- skip # this test is not stable, see https://github.com/yegor256/judges/issues/105
200
199
  req =
201
200
  with_http_server(200, 'yes') do |baza|
202
201
  baza.push('simple', 'hello, world!', %w[meta1 meta2 meta3])
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: baza.rb
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.6
4
+ version: 0.0.7
5
5
  platform: ruby
6
6
  authors:
7
7
  - Yegor Bugayenko
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2024-08-13 00:00:00.000000000 Z
11
+ date: 2024-08-18 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: backtrace