judges 0.23.0 → 0.24.0

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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: e8e8b3c462c8c85767f611787af11de8c7966829c43866c31bab6626101e9762
4
- data.tar.gz: 0c87fba4ce9a6f8c79149acecc07b3036804e2b51941fef4bf676ef1c2c79ef5
3
+ metadata.gz: 74277f9de605e20cfe84fc6e5de877d8c5ac5724ec208a2c5c0dc35114dfa4df
4
+ data.tar.gz: 310b9c2a0222e8df9bd9b9fee5fc762cf0236f3cf46e1d84f39e37b40d275aec
5
5
  SHA512:
6
- metadata.gz: 217b87a1d9154652a255377e1a8919e1841895aa6d3b86c1f2e24eb66cda198a931ad3fb91062962234bea707c0af90ceaf7c1da6eccd6cbc4af37de33f67379
7
- data.tar.gz: f0dfac8980ba3588b52f0aa38175bba961b7f786d1d567878e394e901b644edeef99446ebab1e41af8ce3e29d49ff4e7727c1e017b35fba6e05e821735cb20c2
6
+ metadata.gz: 33e90cba95d84e25b0755ef3724385226574f29117ebab2f815efd7fe1ecd697735c224832f753292387dc2b7c0ba62cd8fc84cc1bed488e4b527095175d97a0
7
+ data.tar.gz: 53432cf8694784cb28ee374676398b3f7bc0a47b248cb9c02b25b50e735ffeaf18f240d4bab35be2b81bbdb0f0d75321a2d9c21411242967e631bf09bd9224ec
data/Gemfile.lock CHANGED
@@ -19,39 +19,41 @@ PATH
19
19
  GEM
20
20
  remote: https://rubygems.org/
21
21
  specs:
22
- actionpack (7.1.3.4)
23
- actionview (= 7.1.3.4)
24
- activesupport (= 7.1.3.4)
22
+ actionpack (7.2.0)
23
+ actionview (= 7.2.0)
24
+ activesupport (= 7.2.0)
25
25
  nokogiri (>= 1.8.5)
26
26
  racc
27
- rack (>= 2.2.4)
27
+ rack (>= 2.2.4, < 3.2)
28
28
  rack-session (>= 1.0.1)
29
29
  rack-test (>= 0.6.3)
30
30
  rails-dom-testing (~> 2.2)
31
31
  rails-html-sanitizer (~> 1.6)
32
- actionview (7.1.3.4)
33
- activesupport (= 7.1.3.4)
32
+ useragent (~> 0.16)
33
+ actionview (7.2.0)
34
+ activesupport (= 7.2.0)
34
35
  builder (~> 3.1)
35
36
  erubi (~> 1.11)
36
37
  rails-dom-testing (~> 2.2)
37
38
  rails-html-sanitizer (~> 1.6)
38
- activesupport (7.1.3.4)
39
+ activesupport (7.2.0)
39
40
  base64
40
41
  bigdecimal
41
- concurrent-ruby (~> 1.0, >= 1.0.2)
42
+ concurrent-ruby (~> 1.0, >= 1.3.1)
42
43
  connection_pool (>= 2.2.5)
43
44
  drb
44
45
  i18n (>= 1.6, < 2)
46
+ logger (>= 1.4.2)
45
47
  minitest (>= 5.1)
46
- mutex_m
47
- tzinfo (~> 2.0)
48
+ securerandom (>= 0.3)
49
+ tzinfo (~> 2.0, >= 2.0.5)
48
50
  addressable (2.8.7)
49
51
  public_suffix (>= 2.0.2, < 7.0)
50
52
  ansi (1.5.0)
51
53
  ast (2.4.2)
52
54
  backtrace (0.4.0)
53
55
  base64 (0.2.0)
54
- baza.rb (0.0.1)
56
+ baza.rb (0.0.3)
55
57
  backtrace (> 0)
56
58
  faraday (> 0)
57
59
  faraday-http-cache (> 0)
@@ -60,10 +62,11 @@ GEM
60
62
  iri (> 0)
61
63
  loog (> 0)
62
64
  retries (~> 0)
65
+ tago (~> 0)
63
66
  typhoeus (~> 1.3)
64
67
  bigdecimal (3.1.8)
65
68
  builder (3.3.0)
66
- concurrent-ruby (1.3.3)
69
+ concurrent-ruby (1.3.4)
67
70
  connection_pool (2.4.1)
68
71
  crack (1.0.0)
69
72
  bigdecimal
@@ -154,7 +157,6 @@ GEM
154
157
  moments (0.3.0)
155
158
  multi_test (1.1.0)
156
159
  multipart-post (2.4.1)
157
- mutex_m (0.2.0)
158
160
  net-http (0.4.1)
159
161
  uri
160
162
  net-ping (2.0.8)
@@ -196,10 +198,10 @@ GEM
196
198
  rails-html-sanitizer (1.6.0)
197
199
  loofah (~> 2.21)
198
200
  nokogiri (~> 1.14)
199
- railties (7.1.3.4)
200
- actionpack (= 7.1.3.4)
201
- activesupport (= 7.1.3.4)
202
- irb
201
+ railties (7.2.0)
202
+ actionpack (= 7.2.0)
203
+ activesupport (= 7.2.0)
204
+ irb (~> 1.13)
203
205
  rackup (>= 1.0.0)
204
206
  rake (>= 12.2)
205
207
  thor (~> 1.0, >= 1.2.2)
@@ -251,6 +253,7 @@ GEM
251
253
  rubocop-rspec (3.0.4)
252
254
  rubocop (~> 1.61)
253
255
  ruby-progressbar (1.13.0)
256
+ securerandom (0.3.1)
254
257
  simplecov (0.22.0)
255
258
  docile (~> 1.1)
256
259
  simplecov-html (~> 0.11)
@@ -272,6 +275,7 @@ GEM
272
275
  concurrent-ruby (~> 1.0)
273
276
  unicode-display_width (2.5.0)
274
277
  uri (0.13.0)
278
+ useragent (0.16.10)
275
279
  webmock (3.23.1)
276
280
  addressable (>= 2.8.0)
277
281
  crack (>= 0.3.2)
data/judges.gemspec CHANGED
@@ -26,7 +26,7 @@ Gem::Specification.new do |s|
26
26
  s.required_rubygems_version = Gem::Requirement.new('>= 0') if s.respond_to? :required_rubygems_version=
27
27
  s.required_ruby_version = '>=3.2'
28
28
  s.name = 'judges'
29
- s.version = '0.23.0'
29
+ s.version = '0.24.0'
30
30
  s.license = 'MIT'
31
31
  s.summary = 'Command-Line Tool for a Factbase'
32
32
  s.description =
@@ -22,7 +22,7 @@
22
22
 
23
23
  require 'typhoeus'
24
24
  require 'iri'
25
- require 'baza'
25
+ require 'baza-rb'
26
26
  require_relative '../../judges'
27
27
  require_relative '../../judges/impex'
28
28
 
@@ -42,7 +42,7 @@ class Judges::Pull
42
42
  def run(opts, args)
43
43
  raise 'Exactly two arguments required' unless args.size == 2
44
44
  fb = Factbase.new
45
- baza = Baza.new(
45
+ baza = BazaRb.new(
46
46
  opts['host'], opts['port'].to_i, opts['token'],
47
47
  ssl: opts['ssl'],
48
48
  timeout: (opts['timeout'] || 30).to_i,
@@ -22,7 +22,7 @@
22
22
 
23
23
  require 'typhoeus'
24
24
  require 'iri'
25
- require 'baza'
25
+ require 'baza-rb'
26
26
  require_relative '../../judges'
27
27
  require_relative '../../judges/impex'
28
28
 
@@ -43,7 +43,7 @@ class Judges::Push
43
43
  raise 'Exactly two arguments required' unless args.size == 2
44
44
  name = args[0]
45
45
  fb = Judges::Impex.new(@loog, args[1]).import
46
- baza = Baza.new(
46
+ baza = BazaRb.new(
47
47
  opts['host'], opts['port'].to_i, opts['token'],
48
48
  ssl: opts['ssl'],
49
49
  timeout: (opts['timeout'] || 30).to_i,
data/lib/judges.rb CHANGED
@@ -25,5 +25,5 @@
25
25
  # Copyright:: Copyright (c) 2024 Yegor Bugayenko
26
26
  # License:: MIT
27
27
  module Judges
28
- VERSION = '0.23.0'
28
+ VERSION = '0.24.0'
29
29
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: judges
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.23.0
4
+ version: 0.24.0
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-09 00:00:00.000000000 Z
11
+ date: 2024-08-11 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: backtrace