baza.rb 0.0.8 → 0.0.10

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.
data/Gemfile.lock CHANGED
@@ -17,195 +17,115 @@ PATH
17
17
  GEM
18
18
  remote: https://rubygems.org/
19
19
  specs:
20
- actionpack (7.2.1)
21
- actionview (= 7.2.1)
22
- activesupport (= 7.2.1)
23
- nokogiri (>= 1.8.5)
24
- racc
25
- rack (>= 2.2.4, < 3.2)
26
- rack-session (>= 1.0.1)
27
- rack-test (>= 0.6.3)
28
- rails-dom-testing (~> 2.2)
29
- rails-html-sanitizer (~> 1.6)
30
- useragent (~> 0.16)
31
- actionview (7.2.1)
32
- activesupport (= 7.2.1)
33
- builder (~> 3.1)
34
- erubi (~> 1.11)
35
- rails-dom-testing (~> 2.2)
36
- rails-html-sanitizer (~> 1.6)
37
- activesupport (7.2.1)
38
- base64
39
- bigdecimal
40
- concurrent-ruby (~> 1.0, >= 1.3.1)
41
- connection_pool (>= 2.2.5)
42
- drb
43
- i18n (>= 1.6, < 2)
44
- logger (>= 1.4.2)
45
- minitest (>= 5.1)
46
- securerandom (>= 0.3)
47
- tzinfo (~> 2.0, >= 2.0.5)
48
20
  addressable (2.8.7)
49
21
  public_suffix (>= 2.0.2, < 7.0)
50
22
  ansi (1.5.0)
51
- ast (2.4.2)
23
+ ast (2.4.3)
52
24
  backtrace (0.4.0)
53
25
  base64 (0.2.0)
54
- bigdecimal (3.1.8)
26
+ bigdecimal (3.1.9)
55
27
  builder (3.3.0)
56
- concurrent-ruby (1.3.4)
57
- connection_pool (2.4.1)
58
28
  crack (1.0.0)
59
29
  bigdecimal
60
30
  rexml
61
- crass (1.0.6)
62
31
  decoor (0.0.1)
63
- diff-lcs (1.5.1)
64
32
  docile (1.4.1)
65
- drb (2.2.1)
66
33
  elapsed (0.0.1)
67
34
  loog (> 0)
68
35
  tago (> 0)
69
- erubi (1.13.0)
70
36
  ethon (0.16.0)
71
37
  ffi (>= 1.15.0)
72
- factbase (0.4.0)
73
- backtrace (> 0)
74
- decoor (> 0)
38
+ factbase (0.9.5)
39
+ backtrace (>= 0.4.0)
40
+ decoor (>= 0.0.1)
75
41
  json (~> 2.7)
76
- loog (> 0)
42
+ loog (>= 0.6.0)
77
43
  nokogiri (~> 1.10)
78
- others (> 0)
79
- tago (> 0)
44
+ others (>= 0.0.3)
45
+ tago (>= 0.0.2)
80
46
  yaml (~> 0.3)
81
- faraday (2.11.0)
82
- faraday-net_http (>= 2.0, < 3.4)
47
+ faraday (2.12.2)
48
+ faraday-net_http (>= 2.0, < 3.5)
49
+ json
83
50
  logger
84
51
  faraday-http-cache (2.5.1)
85
52
  faraday (>= 0.8)
86
- faraday-multipart (1.0.4)
87
- multipart-post (~> 2)
88
- faraday-net_http (3.3.0)
89
- net-http
53
+ faraday-multipart (1.1.0)
54
+ multipart-post (~> 2.0)
55
+ faraday-net_http (3.4.0)
56
+ net-http (>= 0.5.0)
90
57
  faraday-retry (2.2.1)
91
58
  faraday (~> 2.0)
92
- ffi (1.17.0-arm64-darwin)
93
- ffi (1.17.0-x64-mingw-ucrt)
94
- ffi (1.17.0-x86_64-darwin)
95
- ffi (1.17.0-x86_64-linux-gnu)
96
- hashdiff (1.1.1)
97
- i18n (1.14.5)
98
- concurrent-ruby (~> 1.0)
99
- io-console (0.7.2)
100
- irb (1.14.0)
101
- rdoc (>= 4.0.0)
102
- reline (>= 0.4.2)
103
- iri (0.8.0)
104
- json (2.7.2)
105
- language_server-protocol (3.17.0.3)
106
- logger (1.6.0)
107
- loofah (2.22.0)
108
- crass (~> 1.0.2)
109
- nokogiri (>= 1.12.0)
59
+ ffi (1.17.1-arm64-darwin)
60
+ ffi (1.17.1-x64-mingw-ucrt)
61
+ ffi (1.17.1-x86_64-darwin)
62
+ ffi (1.17.1-x86_64-linux-gnu)
63
+ hashdiff (1.1.2)
64
+ iri (0.10.0)
65
+ json (2.10.2)
66
+ language_server-protocol (3.17.0.4)
67
+ lint_roller (1.1.0)
68
+ logger (1.7.0)
110
69
  loog (0.6.0)
111
- minitest (5.25.1)
70
+ minitest (5.25.5)
112
71
  minitest-reporters (1.7.1)
113
72
  ansi
114
73
  builder
115
74
  minitest (>= 5.0)
116
75
  ruby-progressbar
117
76
  multipart-post (2.4.1)
118
- net-http (0.4.1)
77
+ net-http (0.6.0)
119
78
  uri
120
79
  net-ping (2.0.8)
121
- nokogiri (1.16.7-arm64-darwin)
80
+ nokogiri (1.18.6-arm64-darwin)
122
81
  racc (~> 1.4)
123
- nokogiri (1.16.7-x64-mingw-ucrt)
82
+ nokogiri (1.18.6-x64-mingw-ucrt)
124
83
  racc (~> 1.4)
125
- nokogiri (1.16.7-x86_64-darwin)
84
+ nokogiri (1.18.6-x86_64-darwin)
126
85
  racc (~> 1.4)
127
- nokogiri (1.16.7-x86_64-linux)
86
+ nokogiri (1.18.6-x86_64-linux-gnu)
128
87
  racc (~> 1.4)
129
88
  others (0.0.3)
130
89
  parallel (1.26.3)
131
- parser (3.3.4.2)
90
+ parser (3.3.7.3)
132
91
  ast (~> 2.4.1)
133
92
  racc
134
- psych (5.1.2)
135
- stringio
93
+ prism (1.4.0)
136
94
  public_suffix (6.0.1)
137
95
  racc (1.8.1)
138
- rack (3.1.7)
139
- rack-session (2.0.0)
140
- rack (>= 3.0.0)
141
- rack-test (2.1.0)
142
- rack (>= 1.3)
143
- rackup (2.1.0)
144
- rack (>= 3)
145
- webrick (~> 1.8)
146
- rails-dom-testing (2.2.0)
147
- activesupport (>= 5.0.0)
148
- minitest
149
- nokogiri (>= 1.6)
150
- rails-html-sanitizer (1.6.0)
151
- loofah (~> 2.21)
152
- nokogiri (~> 1.14)
153
- railties (7.2.1)
154
- actionpack (= 7.2.1)
155
- activesupport (= 7.2.1)
156
- irb (~> 1.13)
157
- rackup (>= 1.0.0)
158
- rake (>= 12.2)
159
- thor (~> 1.0, >= 1.2.2)
160
- zeitwerk (~> 2.6)
161
96
  rainbow (3.1.1)
162
97
  rake (13.2.1)
163
- random-port (0.7.1)
164
- rdoc (6.7.0)
165
- psych (>= 4.0.0)
166
- regexp_parser (2.9.2)
167
- reline (0.5.9)
168
- io-console (~> 0.5)
98
+ random-port (0.7.5)
99
+ tago (> 0)
100
+ regexp_parser (2.10.0)
169
101
  retries (0.0.5)
170
- rexml (3.3.6)
171
- strscan
172
- rspec-core (3.13.0)
173
- rspec-support (~> 3.13.0)
174
- rspec-expectations (3.13.2)
175
- diff-lcs (>= 1.2.0, < 2.0)
176
- rspec-support (~> 3.13.0)
177
- rspec-mocks (3.13.1)
178
- diff-lcs (>= 1.2.0, < 2.0)
179
- rspec-support (~> 3.13.0)
180
- rspec-rails (6.1.4)
181
- actionpack (>= 6.1)
182
- activesupport (>= 6.1)
183
- railties (>= 6.1)
184
- rspec-core (~> 3.13)
185
- rspec-expectations (~> 3.13)
186
- rspec-mocks (~> 3.13)
187
- rspec-support (~> 3.13)
188
- rspec-support (3.13.1)
189
- rubocop (1.65.1)
102
+ rexml (3.4.1)
103
+ rubocop (1.75.1)
190
104
  json (~> 2.3)
191
- language_server-protocol (>= 3.17.0)
105
+ language_server-protocol (~> 3.17.0.2)
106
+ lint_roller (~> 1.1.0)
192
107
  parallel (~> 1.10)
193
108
  parser (>= 3.3.0.2)
194
109
  rainbow (>= 2.2.2, < 4.0)
195
- regexp_parser (>= 2.4, < 3.0)
196
- rexml (>= 3.2.5, < 4.0)
197
- rubocop-ast (>= 1.31.1, < 2.0)
110
+ regexp_parser (>= 2.9.3, < 3.0)
111
+ rubocop-ast (>= 1.43.0, < 2.0)
198
112
  ruby-progressbar (~> 1.7)
199
- unicode-display_width (>= 2.4.0, < 3.0)
200
- rubocop-ast (1.32.1)
201
- parser (>= 3.3.1.0)
202
- rubocop-performance (1.21.1)
203
- rubocop (>= 1.48.1, < 2.0)
204
- rubocop-ast (>= 1.31.1, < 2.0)
205
- rubocop-rspec (3.0.4)
206
- rubocop (~> 1.61)
113
+ unicode-display_width (>= 2.4.0, < 4.0)
114
+ rubocop-ast (1.43.0)
115
+ parser (>= 3.3.7.2)
116
+ prism (~> 1.4)
117
+ rubocop-minitest (0.37.1)
118
+ lint_roller (~> 1.1)
119
+ rubocop (>= 1.72.1, < 2.0)
120
+ rubocop-ast (>= 1.38.0, < 2.0)
121
+ rubocop-performance (1.24.0)
122
+ lint_roller (~> 1.1)
123
+ rubocop (>= 1.72.1, < 2.0)
124
+ rubocop-ast (>= 1.38.0, < 2.0)
125
+ rubocop-rake (0.7.1)
126
+ lint_roller (~> 1.1)
127
+ rubocop (>= 1.72.1)
207
128
  ruby-progressbar (1.13.0)
208
- securerandom (0.3.1)
209
129
  simplecov (0.22.0)
210
130
  docile (~> 1.1)
211
131
  simplecov-html (~> 0.11)
@@ -213,53 +133,52 @@ GEM
213
133
  simplecov-cobertura (2.1.0)
214
134
  rexml
215
135
  simplecov (~> 0.19)
216
- simplecov-html (0.12.3)
136
+ simplecov-html (0.13.1)
217
137
  simplecov_json_formatter (0.1.4)
218
- stringio (3.1.1)
219
- strscan (3.1.0)
220
- tago (0.0.2)
221
- thor (1.3.2)
138
+ tago (0.1.0)
222
139
  typhoeus (1.4.1)
223
140
  ethon (>= 0.9.0)
224
- tzinfo (2.0.6)
225
- concurrent-ruby (~> 1.0)
226
- unicode-display_width (2.5.0)
227
- uri (0.13.1)
228
- useragent (0.16.10)
141
+ unicode-display_width (3.1.4)
142
+ unicode-emoji (~> 4.0, >= 4.0.4)
143
+ unicode-emoji (4.0.4)
144
+ uri (1.0.3)
229
145
  wait_for (0.1.1)
230
- webmock (3.23.1)
146
+ webmock (3.25.1)
231
147
  addressable (>= 2.8.0)
232
148
  crack (>= 0.3.2)
233
149
  hashdiff (>= 0.4.0, < 2.0.0)
234
- webrick (1.8.1)
235
- yaml (0.3.0)
236
- yard (0.9.36)
237
- zeitwerk (2.6.17)
150
+ webrick (1.9.1)
151
+ yaml (0.4.0)
152
+ yard (0.9.37)
238
153
 
239
154
  PLATFORMS
240
155
  arm64-darwin-22
156
+ arm64-darwin-23
157
+ arm64-darwin-24
241
158
  x64-mingw-ucrt
242
159
  x86_64-darwin-20
243
160
  x86_64-darwin-21
244
161
  x86_64-linux
245
162
 
246
163
  DEPENDENCIES
164
+ base64 (> 0)
247
165
  baza.rb!
248
166
  factbase (> 0)
249
- minitest (= 5.25.1)
250
- minitest-reporters (= 1.7.1)
251
- net-ping (= 2.0.8)
252
- rake (= 13.2.1)
167
+ minitest (~> 5.25)
168
+ minitest-reporters (~> 1.7)
169
+ net-ping (~> 2.0)
170
+ rake (~> 13.2)
253
171
  random-port (> 0)
254
- rspec-rails (= 6.1.4)
255
- rubocop (= 1.65.1)
256
- rubocop-performance (= 1.21.1)
257
- rubocop-rspec (= 3.0.4)
258
- simplecov (= 0.22.0)
259
- simplecov-cobertura (= 2.1.0)
172
+ rubocop (~> 1.73)
173
+ rubocop-minitest (> 0)
174
+ rubocop-performance (~> 1.23)
175
+ rubocop-rake (> 0)
176
+ simplecov (~> 0.22)
177
+ simplecov-cobertura (~> 2.1)
260
178
  wait_for (~> 0)
261
- webmock (= 3.23.1)
262
- yard (= 0.9.36)
179
+ webmock (~> 3.24)
180
+ webrick (~> 1.9)
181
+ yard (~> 0.9)
263
182
 
264
183
  BUNDLED WITH
265
- 2.4.22
184
+ 2.5.16
data/LICENSE.txt CHANGED
@@ -1,6 +1,6 @@
1
1
  (The MIT License)
2
2
 
3
- Copyright (c) 2024 Zerocracy
3
+ Copyright (c) 2024-2025 Zerocracy
4
4
 
5
5
  Permission is hereby granted, free of charge, to any person obtaining a copy
6
6
  of this software and associated documentation files (the 'Software'), to deal
data/LICENSES/MIT.txt ADDED
@@ -0,0 +1,21 @@
1
+ (The MIT License)
2
+
3
+ Copyright (c) 2024-2025 Zerocracy
4
+
5
+ Permission is hereby granted, free of charge, to any person obtaining a copy
6
+ of this software and associated documentation files (the 'Software'), to deal
7
+ in the Software without restriction, including without limitation the rights
8
+ to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
9
+ copies of the Software, and to permit persons to whom the Software is
10
+ furnished to do so, subject to the following conditions:
11
+
12
+ The above copyright notice and this permission notice shall be included in all
13
+ copies or substantial portions of the Software.
14
+
15
+ THE SOFTWARE IS PROVIDED 'AS IS', WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
16
+ IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
17
+ FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
18
+ AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
19
+ LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
20
+ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
21
+ SOFTWARE.
data/README.md CHANGED
@@ -10,7 +10,7 @@
10
10
  [![Hits-of-Code](https://hitsofcode.com/github/zerocracy/baza.rb)](https://hitsofcode.com/view/github/zerocracy/baza.rb)
11
11
  [![License](https://img.shields.io/badge/license-MIT-green.svg)](https://github.com/zerocracy/baza.rb/blob/master/LICENSE.txt)
12
12
 
13
- It's an clinet for [Zerocracy API](https://www.zerocracy.com), in Ruby.
13
+ It's an client for [Zerocracy API](https://www.zerocracy.com), in Ruby.
14
14
 
15
15
  ## How to contribute
16
16
 
data/REUSE.toml ADDED
@@ -0,0 +1,34 @@
1
+ # SPDX-FileCopyrightText: Copyright (c) 2025 Yegor Bugayenko
2
+ # SPDX-License-Identifier: MIT
3
+
4
+ version = 1
5
+ [[annotations]]
6
+ path = [
7
+ "**.json",
8
+ "**.md",
9
+ "**.txt",
10
+ "**/*.csv",
11
+ "**/*.jpg",
12
+ "**/*.json",
13
+ "**/*.md",
14
+ "**/*.pdf",
15
+ "**/*.png",
16
+ "**/*.svg",
17
+ "**/*.txt",
18
+ "**/*.vm",
19
+ "**/.DS_Store",
20
+ "**/.gitignore",
21
+ "**/.pdd",
22
+ "**/CNAME",
23
+ "**/Gemfile.lock",
24
+ ".DS_Store",
25
+ ".gitattributes",
26
+ ".gitignore",
27
+ ".pdd",
28
+ "Gemfile.lock",
29
+ "README.md",
30
+ "renovate.json",
31
+ ]
32
+ precedence = "override"
33
+ SPDX-FileCopyrightText = "Copyright (c) 2025 Yegor Bugayenko"
34
+ SPDX-License-Identifier = "MIT"
data/Rakefile CHANGED
@@ -1,24 +1,7 @@
1
1
  # frozen_string_literal: true
2
2
 
3
- # Copyright (c) 2024 Zerocracy
4
- #
5
- # Permission is hereby granted, free of charge, to any person obtaining a copy
6
- # of this software and associated documentation files (the 'Software'), to deal
7
- # in the Software without restriction, including without limitation the rights
8
- # to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
9
- # copies of the Software, and to permit persons to whom the Software is
10
- # furnished to do so, subject to the following conditions:
11
- #
12
- # The above copyright notice and this permission notice shall be included in all
13
- # copies or substantial portions of the Software.
14
- #
15
- # THE SOFTWARE IS PROVIDED 'AS IS', WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
16
- # IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
17
- # FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
18
- # AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
19
- # LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
20
- # OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
21
- # SOFTWARE.
3
+ # SPDX-FileCopyrightText: Copyright (c) 2024-2025 Zerocracy
4
+ # SPDX-License-Identifier: MIT
22
5
 
23
6
  require 'rubygems'
24
7
  require 'rake'
@@ -34,7 +17,7 @@ end
34
17
 
35
18
  ENV['RACK_ENV'] = 'test'
36
19
 
37
- task default: %i[clean test rubocop yard copyright]
20
+ task default: %i[clean test rubocop yard]
38
21
 
39
22
  require 'rake/testtask'
40
23
  desc 'Run all unit tests'
@@ -56,13 +39,4 @@ require 'rubocop/rake_task'
56
39
  desc 'Run RuboCop on all directories'
57
40
  RuboCop::RakeTask.new(:rubocop) do |task|
58
41
  task.fail_on_error = true
59
- task.requires << 'rubocop-rspec'
60
- end
61
-
62
- task :copyright do
63
- sh "grep -q -r '#{Date.today.strftime('%Y')}' \
64
- --include '*.rb' \
65
- --include '*.txt' \
66
- --include 'Rakefile' \
67
- ."
68
42
  end
data/baza.rb.gemspec CHANGED
@@ -1,24 +1,7 @@
1
1
  # frozen_string_literal: true
2
2
 
3
- # Copyright (c) 2024 Zerocracy
4
- #
5
- # Permission is hereby granted, free of charge, to any person obtaining a copy
6
- # of this software and associated documentation files (the 'Software'), to deal
7
- # in the Software without restriction, including without limitation the rights
8
- # to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
9
- # copies of the Software, and to permit persons to whom the Software is
10
- # furnished to do so, subject to the following conditions:
11
- #
12
- # The above copyright notice and this permission notice shall be included in all
13
- # copies or substantial portions of the Software.
14
- #
15
- # THE SOFTWARE IS PROVIDED 'AS IS', WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
16
- # IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
17
- # FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
18
- # AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
19
- # LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
20
- # OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
21
- # SOFTWARE.
3
+ # SPDX-FileCopyrightText: Copyright (c) 2024-2025 Zerocracy
4
+ # SPDX-License-Identifier: MIT
22
5
 
23
6
  require 'English'
24
7
  require_relative 'lib/baza-rb/version'
@@ -1,24 +1,7 @@
1
1
  # frozen_string_literal: true
2
2
 
3
- # Copyright (c) 2024 Zerocracy
4
- #
5
- # Permission is hereby granted, free of charge, to any person obtaining a copy
6
- # of this software and associated documentation files (the 'Software'), to deal
7
- # in the Software without restriction, including without limitation the rights
8
- # to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
9
- # copies of the Software, and to permit persons to whom the Software is
10
- # furnished to do so, subject to the following conditions:
11
- #
12
- # The above copyright notice and this permission notice shall be included in all
13
- # copies or substantial portions of the Software.
14
- #
15
- # THE SOFTWARE IS PROVIDED 'AS IS', WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
16
- # IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
17
- # FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
18
- # AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
19
- # LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
20
- # OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
21
- # SOFTWARE.
3
+ # SPDX-FileCopyrightText: Copyright (c) 2024-2025 Zerocracy
4
+ # SPDX-License-Identifier: MIT
22
5
 
23
6
  # Just a version.
24
7
  #
@@ -30,5 +13,5 @@
30
13
  # Copyright:: Copyright (c) 2024 Yegor Bugayenko
31
14
  # License:: MIT
32
15
  class BazaRb
33
- VERSION = '0.0.8'
16
+ VERSION = '0.0.10'
34
17
  end