ehbrs-tools 0.45.2 → 0.47.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 +4 -4
- data/Gemfile.lock +156 -115
- data/lib/ehbrs/tools/runner/finances/bb_browser.rb +108 -22
- data/lib/ehbrs/tools/runner/web_utils/videos/upload.rb +11 -3
- data/lib/ehbrs/tools/version.rb +1 -1
- metadata +17 -35
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 1b107a62c01d0852481dcb6ef14e98021c5b37fb43726bf2113c6a15ed68a09e
|
|
4
|
+
data.tar.gz: c1ff44adcff226f9bc34b83ad24e873843bbed123d72ab43ce0b58c7228b702f
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 0ca5310622cc46526dea4332f543cd38d5a94c4f401a4fd51c29344ee5e21ee06d8b40be636762aa35feae7839b50258d28db04243f6b060a91dd80a3d4be142
|
|
7
|
+
data.tar.gz: f37f04d7f5e378f44f35dc576fbdef36468c9e24afa2070f4de9e77f0f96010e22fe260d16340ea2e977ab535e76a6946894651d726015e6817d63d20f9cfaa8
|
data/Gemfile.lock
CHANGED
|
@@ -1,44 +1,38 @@
|
|
|
1
1
|
PATH
|
|
2
2
|
remote: .
|
|
3
3
|
specs:
|
|
4
|
-
ehbrs-tools (0.
|
|
4
|
+
ehbrs-tools (0.47.0)
|
|
5
5
|
avm-tools (~> 0.164, >= 0.164.1)
|
|
6
|
-
eac_cli (~> 0.47, >= 0.47.
|
|
7
|
-
eac_fs (~> 0.20, >= 0.20.
|
|
8
|
-
eac_ruby_base0 (~> 0.
|
|
9
|
-
eac_ruby_base1 (~> 0.1
|
|
10
|
-
ehbrs_ruby_utils (~> 0.
|
|
6
|
+
eac_cli (~> 0.47, >= 0.47.2)
|
|
7
|
+
eac_fs (~> 0.20, >= 0.20.3)
|
|
8
|
+
eac_ruby_base0 (~> 0.22)
|
|
9
|
+
eac_ruby_base1 (~> 0.1, >= 0.1.2)
|
|
10
|
+
ehbrs_ruby_utils (~> 0.52)
|
|
11
11
|
filesize (~> 0.2)
|
|
12
12
|
os (~> 1.1, >= 1.1.4)
|
|
13
13
|
telegram-bot-ruby (~> 0.23)
|
|
14
14
|
|
|
15
15
|
PATH
|
|
16
|
-
remote: sub/
|
|
16
|
+
remote: sub/eac_rest
|
|
17
17
|
specs:
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
faraday-follow_redirects (~> 0.5)
|
|
23
|
-
faraday-gzip (~> 3.1)
|
|
24
|
-
faraday-multipart (~> 1.2)
|
|
25
|
-
faraday-retry (~> 2.4)
|
|
26
|
-
random-port (~> 0.8)
|
|
27
|
-
webrick (~> 1.9, >= 1.9.2)
|
|
18
|
+
eac_rest (0.14.0)
|
|
19
|
+
eac_envs-http (~> 0.7, >= 0.7.2)
|
|
20
|
+
eac_fs (~> 0.20, >= 0.20.3)
|
|
21
|
+
eac_ruby_utils (~> 0.136)
|
|
28
22
|
|
|
29
23
|
PATH
|
|
30
24
|
remote: sub/ehbrs_ruby_utils
|
|
31
25
|
specs:
|
|
32
|
-
ehbrs_ruby_utils (0.
|
|
26
|
+
ehbrs_ruby_utils (0.52.0)
|
|
33
27
|
aranha (~> 0.20, >= 0.20.1)
|
|
34
28
|
aranha-parsers (~> 0.29)
|
|
35
|
-
aranha-selenium (~> 0.
|
|
36
|
-
avm (~> 0.
|
|
37
|
-
avm-eac_rails_base0 (~> 0.11, >= 0.11.
|
|
38
|
-
dentaku (~> 3.5, >= 3.5.
|
|
39
|
-
eac_fs (~> 0.20, >= 0.20.
|
|
29
|
+
aranha-selenium (~> 0.17)
|
|
30
|
+
avm (~> 0.103)
|
|
31
|
+
avm-eac_rails_base0 (~> 0.11, >= 0.11.3)
|
|
32
|
+
dentaku (~> 3.5, >= 3.5.8)
|
|
33
|
+
eac_fs (~> 0.20, >= 0.20.3)
|
|
40
34
|
eac_rest (~> 0.13)
|
|
41
|
-
eac_ruby_base1 (~> 0.1
|
|
35
|
+
eac_ruby_base1 (~> 0.1, >= 0.1.2)
|
|
42
36
|
eac_templates (~> 0.9)
|
|
43
37
|
inifile (~> 3.0)
|
|
44
38
|
srt (~> 0.1, >= 0.1.5)
|
|
@@ -48,7 +42,7 @@ PATH
|
|
|
48
42
|
GEM
|
|
49
43
|
remote: https://rubygems.org/
|
|
50
44
|
specs:
|
|
51
|
-
activesupport (8.1.
|
|
45
|
+
activesupport (8.1.4.1)
|
|
52
46
|
base64
|
|
53
47
|
bigdecimal
|
|
54
48
|
concurrent-ruby (~> 1.0, >= 1.3.1)
|
|
@@ -61,7 +55,7 @@ GEM
|
|
|
61
55
|
securerandom (>= 0.3)
|
|
62
56
|
tzinfo (~> 2.0, >= 2.0.5)
|
|
63
57
|
uri (>= 0.13.1)
|
|
64
|
-
addressable (2.9.
|
|
58
|
+
addressable (2.9.2)
|
|
65
59
|
public_suffix (>= 2.0.2, < 8.0)
|
|
66
60
|
aranha (0.20.1)
|
|
67
61
|
eac_ruby_base1 (~> 0.1, >= 0.1.1)
|
|
@@ -72,53 +66,54 @@ GEM
|
|
|
72
66
|
eac_envs-http (~> 0.7, >= 0.7.1)
|
|
73
67
|
eac_ruby_utils (~> 0.131)
|
|
74
68
|
nokogiri (~> 1.19, >= 1.19.3)
|
|
75
|
-
aranha-selenium (0.
|
|
76
|
-
aranha (~> 0.20)
|
|
77
|
-
eac_fs (~> 0.20, >= 0.20.
|
|
78
|
-
|
|
79
|
-
eac_templates (~> 0.
|
|
69
|
+
aranha-selenium (0.17.0)
|
|
70
|
+
aranha (~> 0.20, >= 0.20.1)
|
|
71
|
+
eac_fs (~> 0.20, >= 0.20.3)
|
|
72
|
+
eac_ruby_base1 (~> 0.1, >= 0.1.2)
|
|
73
|
+
eac_templates (~> 0.9)
|
|
80
74
|
rexml (~> 3.4, >= 3.4.4)
|
|
81
|
-
selenium-webdriver (~> 4.
|
|
75
|
+
selenium-webdriver (~> 4.52)
|
|
82
76
|
ast (2.4.3)
|
|
83
77
|
attr_extras (7.1.0)
|
|
84
|
-
avm (0.
|
|
85
|
-
eac_cli (~> 0.47)
|
|
78
|
+
avm (0.103.0)
|
|
79
|
+
eac_cli (~> 0.47, >= 0.47.1)
|
|
86
80
|
eac_config (~> 0.15)
|
|
87
81
|
eac_docker (~> 0.8, >= 0.8.1)
|
|
88
|
-
eac_fs (~> 0.20, >= 0.20.
|
|
82
|
+
eac_fs (~> 0.20, >= 0.20.3)
|
|
89
83
|
eac_ruby_base1 (~> 0.1, >= 0.1.1)
|
|
90
84
|
eac_templates (~> 0.9)
|
|
91
85
|
minitar (~> 0.12, >= 0.12.1)
|
|
92
|
-
avm-eac_generic_base0 (0.
|
|
93
|
-
avm (~> 0.
|
|
94
|
-
eac_ruby_utils (~> 0.
|
|
86
|
+
avm-eac_generic_base0 (0.16.1)
|
|
87
|
+
avm (~> 0.103)
|
|
88
|
+
eac_ruby_utils (~> 0.134)
|
|
95
89
|
avm-eac_postgresql_base0 (0.6.0)
|
|
96
90
|
avm (~> 0.98, >= 0.98.4)
|
|
97
91
|
eac_ruby_utils (~> 0.129, >= 0.129.1)
|
|
98
|
-
avm-eac_rails_base0 (0.11.
|
|
99
|
-
avm-eac_rails_base1 (~> 0.
|
|
100
|
-
eac_ruby_utils (~> 0.
|
|
92
|
+
avm-eac_rails_base0 (0.11.3)
|
|
93
|
+
avm-eac_rails_base1 (~> 0.12, >= 0.12.1)
|
|
94
|
+
eac_ruby_utils (~> 0.136)
|
|
101
95
|
avm-eac_rails_base1 (0.12.1)
|
|
102
96
|
avm (~> 0.102, >= 0.102.3)
|
|
103
97
|
avm-eac_ruby_base1 (~> 0.43, >= 0.43.2)
|
|
104
98
|
avm-eac_webapp_base0 (~> 0.22, >= 0.22.3)
|
|
105
99
|
eac_ruby_base1 (~> 0.1, >= 0.1.1)
|
|
106
|
-
avm-eac_ruby_base1 (0.
|
|
100
|
+
avm-eac_ruby_base1 (0.45.2)
|
|
107
101
|
aranha-parsers (~> 0.29)
|
|
108
|
-
avm (~> 0.
|
|
109
|
-
avm-eac_generic_base0 (~> 0.
|
|
110
|
-
eac_envs-http (~> 0.7, >= 0.7.
|
|
102
|
+
avm (~> 0.103)
|
|
103
|
+
avm-eac_generic_base0 (~> 0.16, >= 0.16.1)
|
|
104
|
+
eac_envs-http (~> 0.7, >= 0.7.2)
|
|
111
105
|
eac_ruby_base1 (~> 0.1, >= 0.1.1)
|
|
112
|
-
avm-eac_ubuntu_base0 (0.7.
|
|
113
|
-
avm (~> 0.102, >= 0.102.
|
|
106
|
+
avm-eac_ubuntu_base0 (0.7.2)
|
|
107
|
+
avm (~> 0.102, >= 0.102.4)
|
|
114
108
|
eac_ruby_base1 (~> 0.1, >= 0.1.1)
|
|
115
109
|
eac_templates (~> 0.9)
|
|
116
|
-
avm-eac_webapp_base0 (0.
|
|
117
|
-
avm (~> 0.
|
|
118
|
-
avm-eac_generic_base0 (~> 0.
|
|
110
|
+
avm-eac_webapp_base0 (0.23.0)
|
|
111
|
+
avm (~> 0.103)
|
|
112
|
+
avm-eac_generic_base0 (~> 0.16, >= 0.16.1)
|
|
119
113
|
avm-eac_postgresql_base0 (~> 0.6)
|
|
120
|
-
avm-eac_ubuntu_base0 (~> 0.7, >= 0.7.
|
|
121
|
-
eac_ruby_base1 (~> 0.1, >= 0.1.
|
|
114
|
+
avm-eac_ubuntu_base0 (~> 0.7, >= 0.7.2)
|
|
115
|
+
eac_ruby_base1 (~> 0.1, >= 0.1.2)
|
|
116
|
+
eac_ruby_utils (~> 0.136)
|
|
122
117
|
htmlbeautifier (~> 1.4, >= 1.4.3)
|
|
123
118
|
avm-tools (0.164.1)
|
|
124
119
|
avm (~> 0.102, >= 0.102.2)
|
|
@@ -128,80 +123,91 @@ GEM
|
|
|
128
123
|
ice_nine (~> 0.11.0)
|
|
129
124
|
thread_safe (~> 0.3, >= 0.3.1)
|
|
130
125
|
base64 (0.3.0)
|
|
131
|
-
bigdecimal (4.1.
|
|
126
|
+
bigdecimal (4.1.3)
|
|
132
127
|
clipboard (2.0.0)
|
|
133
128
|
coercible (1.0.0)
|
|
134
129
|
descendants_tracker (~> 0.0.1)
|
|
135
130
|
colorize (0.8.1)
|
|
136
131
|
concurrent-ruby (1.3.8)
|
|
137
|
-
connection_pool (3.0.
|
|
132
|
+
connection_pool (3.0.3)
|
|
138
133
|
content-type (0.0.2)
|
|
139
134
|
parslet (~> 2.0)
|
|
140
|
-
|
|
135
|
+
csv (3.3.7)
|
|
136
|
+
dentaku (3.5.8)
|
|
141
137
|
bigdecimal
|
|
142
138
|
concurrent-ruby
|
|
139
|
+
tsort
|
|
143
140
|
descendants_tracker (0.0.4)
|
|
144
141
|
thread_safe (~> 0.3, >= 0.3.1)
|
|
145
142
|
diff-lcs (1.6.2)
|
|
146
143
|
drb (2.2.3)
|
|
147
144
|
dry-inflector (1.3.1)
|
|
148
|
-
eac_cli (0.47.
|
|
145
|
+
eac_cli (0.47.2)
|
|
149
146
|
clipboard (~> 2.0)
|
|
150
147
|
colorize (~> 0.8, >= 0.8.1)
|
|
151
|
-
|
|
152
|
-
|
|
148
|
+
csv (~> 3.3, >= 3.3.6)
|
|
149
|
+
eac_config (~> 0.15, >= 0.15.2)
|
|
150
|
+
eac_ruby_utils (~> 0.134)
|
|
153
151
|
tty-table (~> 0.12)
|
|
154
|
-
eac_config (0.15.
|
|
155
|
-
addressable (~> 2.
|
|
156
|
-
|
|
157
|
-
eac_docker (0.
|
|
152
|
+
eac_config (0.15.2)
|
|
153
|
+
addressable (~> 2.9)
|
|
154
|
+
eac_ruby_base1 (~> 0.1, >= 0.1.1)
|
|
155
|
+
eac_docker (0.9.0)
|
|
158
156
|
eac_ruby_base1 (~> 0.1, >= 0.1.1)
|
|
159
157
|
eac_templates (~> 0.9)
|
|
160
|
-
|
|
158
|
+
eac_envs-http (0.7.2)
|
|
159
|
+
eac_fs (~> 0.20, >= 0.20.2)
|
|
160
|
+
eac_ruby_base1 (~> 0.1, >= 0.1.1)
|
|
161
|
+
faraday (~> 2.14, >= 2.14.3)
|
|
162
|
+
faraday-follow_redirects (~> 0.5)
|
|
163
|
+
faraday-gzip (~> 3.1)
|
|
164
|
+
faraday-multipart (~> 1.2)
|
|
165
|
+
faraday-retry (~> 2.4)
|
|
166
|
+
random-port (~> 0.8)
|
|
167
|
+
webrick (~> 1.9, >= 1.9.2)
|
|
168
|
+
eac_fs (0.20.3)
|
|
161
169
|
content-type (~> 0.0, >= 0.0.2)
|
|
162
|
-
|
|
170
|
+
eac_ruby_base1 (~> 0.1, >= 0.1.1)
|
|
163
171
|
filesize (~> 0.2)
|
|
164
172
|
ruby-filemagic (~> 0.7, >= 0.7.3)
|
|
165
|
-
|
|
166
|
-
|
|
167
|
-
|
|
168
|
-
|
|
169
|
-
|
|
170
|
-
|
|
171
|
-
|
|
172
|
-
|
|
173
|
-
|
|
174
|
-
eac_ruby_base1 (0.1.1)
|
|
175
|
-
eac_ruby_utils (~> 0.131, >= 0.131.2)
|
|
176
|
-
eac_ruby_gem_support (0.14.0)
|
|
177
|
-
eac_ruby_base1 (~> 0.1)
|
|
173
|
+
eac_ruby_base0 (0.22.0)
|
|
174
|
+
avm-eac_ruby_base1 (~> 0.45)
|
|
175
|
+
eac_cli (~> 0.47, >= 0.47.1)
|
|
176
|
+
eac_fs (~> 0.20, >= 0.20.3)
|
|
177
|
+
eac_ruby_base1 (~> 0.1, >= 0.1.1)
|
|
178
|
+
eac_ruby_base1 (0.1.2)
|
|
179
|
+
eac_ruby_utils (~> 0.135)
|
|
180
|
+
eac_ruby_gem_support (0.16.0)
|
|
181
|
+
eac_ruby_base1 (~> 0.1, >= 0.1.2)
|
|
178
182
|
rspec (~> 3.13, >= 3.13.2)
|
|
179
|
-
rubocop (~> 1.
|
|
180
|
-
rubocop-rails (~> 2.
|
|
183
|
+
rubocop (~> 1.92, >= 1.92.2)
|
|
184
|
+
rubocop-rails (~> 2.38)
|
|
181
185
|
rubocop-rspec (~> 3.10, >= 3.10.2)
|
|
182
186
|
super_diff (~> 0.19)
|
|
183
|
-
eac_ruby_utils (0.
|
|
187
|
+
eac_ruby_utils (0.136.0)
|
|
184
188
|
activesupport (>= 6.1.7.10)
|
|
185
189
|
addressable (~> 2.9)
|
|
186
190
|
bundler
|
|
191
|
+
json (< 3)
|
|
187
192
|
memoized (~> 1.1, >= 1.1.3)
|
|
188
193
|
net-ssh (~> 4.2)
|
|
189
|
-
|
|
194
|
+
ostruct
|
|
195
|
+
zeitwerk (~> 2.8, >= 2.8.3)
|
|
190
196
|
eac_templates (0.9.0)
|
|
191
197
|
eac_config (~> 0.15)
|
|
192
198
|
eac_ruby_base1 (~> 0.1, >= 0.1.1)
|
|
193
|
-
faraday (2.
|
|
194
|
-
faraday-net_http (>= 2.0, < 3.
|
|
199
|
+
faraday (2.15.1)
|
|
200
|
+
faraday-net_http (>= 2.0, < 3.6)
|
|
195
201
|
json
|
|
196
202
|
logger
|
|
197
203
|
faraday-follow_redirects (0.5.0)
|
|
198
204
|
faraday (>= 1, < 3)
|
|
199
|
-
faraday-gzip (3.
|
|
205
|
+
faraday-gzip (3.2.0)
|
|
200
206
|
faraday (>= 2.0, < 3)
|
|
201
207
|
zlib (~> 3.0)
|
|
202
208
|
faraday-multipart (1.2.0)
|
|
203
209
|
multipart-post (~> 2.0)
|
|
204
|
-
faraday-net_http (3.
|
|
210
|
+
faraday-net_http (3.5.0)
|
|
205
211
|
net-http (~> 0.5)
|
|
206
212
|
faraday-retry (2.4.0)
|
|
207
213
|
faraday (~> 2.0)
|
|
@@ -211,25 +217,43 @@ GEM
|
|
|
211
217
|
concurrent-ruby (~> 1.0)
|
|
212
218
|
ice_nine (0.11.2)
|
|
213
219
|
inifile (3.0.0)
|
|
214
|
-
json (2.21.
|
|
220
|
+
json (2.21.2)
|
|
215
221
|
language_server-protocol (3.17.0.6)
|
|
216
222
|
lint_roller (1.1.0)
|
|
217
223
|
logger (1.7.0)
|
|
218
224
|
memoized (1.1.3)
|
|
219
225
|
minitar (0.12.1)
|
|
220
|
-
minitest (6.0
|
|
226
|
+
minitest (6.1.0)
|
|
221
227
|
drb (~> 2.0)
|
|
222
|
-
prism (
|
|
228
|
+
prism (>= 1.5, < 3)
|
|
223
229
|
multipart-post (2.4.1)
|
|
224
|
-
net-http (0.
|
|
230
|
+
net-http (0.10.0)
|
|
231
|
+
net-protocol (>= 0.3.0)
|
|
225
232
|
uri (>= 0.11.1)
|
|
233
|
+
net-protocol (0.4.0)
|
|
234
|
+
timeout
|
|
226
235
|
net-ssh (4.2.0)
|
|
227
|
-
nokogiri (1.19.
|
|
236
|
+
nokogiri (1.19.7-aarch64-linux-gnu)
|
|
237
|
+
racc (~> 1.4)
|
|
238
|
+
nokogiri (1.19.7-aarch64-linux-musl)
|
|
239
|
+
racc (~> 1.4)
|
|
240
|
+
nokogiri (1.19.7-arm-linux-gnu)
|
|
241
|
+
racc (~> 1.4)
|
|
242
|
+
nokogiri (1.19.7-arm-linux-musl)
|
|
243
|
+
racc (~> 1.4)
|
|
244
|
+
nokogiri (1.19.7-arm64-darwin)
|
|
245
|
+
racc (~> 1.4)
|
|
246
|
+
nokogiri (1.19.7-x86_64-darwin)
|
|
247
|
+
racc (~> 1.4)
|
|
248
|
+
nokogiri (1.19.7-x86_64-linux-gnu)
|
|
249
|
+
racc (~> 1.4)
|
|
250
|
+
nokogiri (1.19.7-x86_64-linux-musl)
|
|
228
251
|
racc (~> 1.4)
|
|
229
252
|
optimist (3.2.1)
|
|
230
253
|
os (1.1.4)
|
|
231
|
-
|
|
232
|
-
|
|
254
|
+
ostruct (0.6.3)
|
|
255
|
+
parallel (2.3.0)
|
|
256
|
+
parser (3.3.14.0)
|
|
233
257
|
ast (~> 2.4.1)
|
|
234
258
|
racc
|
|
235
259
|
parslet (2.0.0)
|
|
@@ -237,47 +261,56 @@ GEM
|
|
|
237
261
|
tty-color (~> 0.5)
|
|
238
262
|
patience_diff (1.2.0)
|
|
239
263
|
optimist (~> 3.0)
|
|
240
|
-
prism (1.
|
|
264
|
+
prism (2.1.0-aarch64-linux-gnu)
|
|
265
|
+
prism (2.1.0-aarch64-linux-musl)
|
|
266
|
+
prism (2.1.0-arm-linux-gnu)
|
|
267
|
+
prism (2.1.0-arm-linux-musl)
|
|
268
|
+
prism (2.1.0-arm64-darwin)
|
|
269
|
+
prism (2.1.0-x86_64-darwin)
|
|
270
|
+
prism (2.1.0-x86_64-linux-gnu)
|
|
271
|
+
prism (2.1.0-x86_64-linux-musl)
|
|
241
272
|
public_suffix (7.0.5)
|
|
242
273
|
racc (1.8.1)
|
|
243
|
-
rack (3.2.
|
|
274
|
+
rack (3.2.8)
|
|
244
275
|
rainbow (3.1.1)
|
|
245
|
-
random-port (0.8.
|
|
276
|
+
random-port (0.8.2)
|
|
246
277
|
tago (~> 0.0)
|
|
247
|
-
regexp_parser (2.
|
|
278
|
+
regexp_parser (2.13.4)
|
|
248
279
|
rexml (3.4.4)
|
|
249
280
|
rspec (3.13.2)
|
|
250
281
|
rspec-core (~> 3.13.0)
|
|
251
282
|
rspec-expectations (~> 3.13.0)
|
|
252
283
|
rspec-mocks (~> 3.13.0)
|
|
253
|
-
rspec-core (3.13.
|
|
284
|
+
rspec-core (3.13.7)
|
|
254
285
|
rspec-support (~> 3.13.0)
|
|
255
|
-
rspec-expectations (3.13.
|
|
286
|
+
rspec-expectations (3.13.6)
|
|
256
287
|
diff-lcs (>= 1.2.0, < 2.0)
|
|
257
288
|
rspec-support (~> 3.13.0)
|
|
258
|
-
rspec-mocks (3.13.
|
|
289
|
+
rspec-mocks (3.13.9)
|
|
259
290
|
diff-lcs (>= 1.2.0, < 2.0)
|
|
260
291
|
rspec-support (~> 3.13.0)
|
|
261
|
-
rspec-support (3.13.
|
|
262
|
-
rubocop (1.
|
|
263
|
-
json (
|
|
292
|
+
rspec-support (3.13.8)
|
|
293
|
+
rubocop (1.92.3)
|
|
294
|
+
json (>= 2.3)
|
|
264
295
|
language_server-protocol (~> 3.17.0.2)
|
|
265
296
|
lint_roller (~> 1.1.0)
|
|
266
297
|
parallel (>= 1.10)
|
|
267
298
|
parser (>= 3.3.0.2)
|
|
268
299
|
rainbow (>= 2.2.2, < 4.0)
|
|
269
|
-
regexp_parser (>= 2.
|
|
300
|
+
regexp_parser (>= 2.11.3, < 3.0)
|
|
270
301
|
rubocop-ast (>= 1.49.0, < 2.0)
|
|
271
302
|
ruby-progressbar (~> 1.7)
|
|
272
303
|
unicode-display_width (>= 2.4.0, < 4.0)
|
|
273
|
-
rubocop-ast (1.
|
|
304
|
+
rubocop-ast (1.53.0)
|
|
305
|
+
ast (~> 2.4)
|
|
274
306
|
parser (>= 3.3.7.2)
|
|
275
|
-
prism (
|
|
276
|
-
|
|
307
|
+
prism (>= 1.7)
|
|
308
|
+
racc
|
|
309
|
+
rubocop-rails (2.38.0)
|
|
277
310
|
activesupport (>= 4.2.0)
|
|
278
311
|
lint_roller (~> 1.1)
|
|
279
312
|
rack (>= 1.1)
|
|
280
|
-
rubocop (>= 1.
|
|
313
|
+
rubocop (>= 1.89.0, < 2.0)
|
|
281
314
|
rubocop-ast (>= 1.44.0, < 2.0)
|
|
282
315
|
rubocop-rspec (3.10.2)
|
|
283
316
|
lint_roller (~> 1.1)
|
|
@@ -285,12 +318,11 @@ GEM
|
|
|
285
318
|
rubocop (~> 1.86, >= 1.86.2)
|
|
286
319
|
ruby-filemagic (0.7.3)
|
|
287
320
|
ruby-progressbar (1.13.0)
|
|
288
|
-
rubyzip (3.
|
|
321
|
+
rubyzip (3.7.0)
|
|
289
322
|
securerandom (0.4.1)
|
|
290
|
-
selenium-webdriver (4.
|
|
323
|
+
selenium-webdriver (4.53.0)
|
|
291
324
|
base64 (~> 0.2)
|
|
292
325
|
logger (~> 1.4)
|
|
293
|
-
rexml (~> 3.2, >= 3.2.5)
|
|
294
326
|
rubyzip (>= 1.2.2, < 4.0)
|
|
295
327
|
websocket (~> 1.0)
|
|
296
328
|
srt (0.1.5)
|
|
@@ -311,6 +343,8 @@ GEM
|
|
|
311
343
|
faraday-multipart (~> 1.0)
|
|
312
344
|
virtus (~> 2.0)
|
|
313
345
|
thread_safe (0.3.6)
|
|
346
|
+
timeout (0.6.1)
|
|
347
|
+
tsort (0.2.0)
|
|
314
348
|
tty-color (0.6.0)
|
|
315
349
|
tty-screen (0.8.2)
|
|
316
350
|
tty-table (0.12.0)
|
|
@@ -324,22 +358,29 @@ GEM
|
|
|
324
358
|
eac_ruby_utils (~> 0.129)
|
|
325
359
|
unicode-display_width (2.6.0)
|
|
326
360
|
unicode_utils (1.4.0)
|
|
327
|
-
uri (1.1.
|
|
361
|
+
uri (1.1.2)
|
|
328
362
|
virtus (2.0.0)
|
|
329
363
|
axiom-types (~> 0.1)
|
|
330
364
|
coercible (~> 1.0)
|
|
331
365
|
descendants_tracker (~> 0.0, >= 0.0.3)
|
|
332
366
|
webrick (1.9.2)
|
|
333
367
|
websocket (1.2.11)
|
|
334
|
-
zeitwerk (2.8.
|
|
335
|
-
zlib (3.2.
|
|
368
|
+
zeitwerk (2.8.3)
|
|
369
|
+
zlib (3.2.4)
|
|
336
370
|
|
|
337
371
|
PLATFORMS
|
|
372
|
+
aarch64-linux-gnu
|
|
373
|
+
aarch64-linux-musl
|
|
374
|
+
arm-linux-gnu
|
|
375
|
+
arm-linux-musl
|
|
376
|
+
arm64-darwin
|
|
377
|
+
x86_64-darwin
|
|
338
378
|
x86_64-linux-gnu
|
|
379
|
+
x86_64-linux-musl
|
|
339
380
|
|
|
340
381
|
DEPENDENCIES
|
|
341
|
-
|
|
342
|
-
eac_ruby_gem_support (~> 0.
|
|
382
|
+
eac_rest!
|
|
383
|
+
eac_ruby_gem_support (~> 0.15)
|
|
343
384
|
ehbrs-tools!
|
|
344
385
|
ehbrs_ruby_utils!
|
|
345
386
|
|
|
@@ -5,57 +5,143 @@ module Ehbrs
|
|
|
5
5
|
class Runner
|
|
6
6
|
class Finances
|
|
7
7
|
class BbBrowser
|
|
8
|
+
CONTAINER_ENV_FORMAT = '{{range .Config.Env}}{{println .}}{{end}}'
|
|
9
|
+
DEFAULT_CONTAINER_NAME = 'ehbrs-tools-bb-browser'
|
|
10
|
+
DEFAULT_DOCKER_COMMAND = 'podman'
|
|
11
|
+
DOWNLOADS_CONTAINER_PATH = '/downloads'
|
|
12
|
+
NOVNC_ADDRESS = '127.0.0.1'
|
|
13
|
+
NOVNC_CONTAINER_PORT = 6080
|
|
14
|
+
NOVNC_HOST_PORT = 6080
|
|
15
|
+
PODMAN_RUN_EXTRA_ARGS = %w[--userns=keep-id --user 0].freeze
|
|
16
|
+
SHM_SIZE = '2g'
|
|
17
|
+
VNC_PASSWORD_LENGTH = 8
|
|
18
|
+
|
|
8
19
|
runner_with :help do
|
|
9
20
|
desc 'Bankline para Banco do Brasil com módulo de segurança.'
|
|
21
|
+
arg_opt '-n', '--container-name', 'Nome do contêiner.',
|
|
22
|
+
default: DEFAULT_CONTAINER_NAME
|
|
10
23
|
end
|
|
11
24
|
|
|
12
25
|
def run
|
|
13
|
-
|
|
14
|
-
infov '
|
|
26
|
+
setup_docker_command
|
|
27
|
+
infov 'Container name', parsed.container_name
|
|
28
|
+
infov 'Browser URL', browser_url
|
|
29
|
+
open_browser_when_ready
|
|
30
|
+
infov 'System result', container_command.system
|
|
15
31
|
end
|
|
16
32
|
|
|
17
33
|
private
|
|
18
34
|
|
|
19
|
-
|
|
20
|
-
|
|
35
|
+
# @return [String]
|
|
36
|
+
memoize def browser_url
|
|
37
|
+
"http://#{NOVNC_ADDRESS}:#{NOVNC_HOST_PORT}/vnc.html?autoconnect=1&resize=remote" \
|
|
38
|
+
"&password=#{vnc_password}"
|
|
21
39
|
end
|
|
22
40
|
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
41
|
+
# @return [EacRubyUtils::Envs::Command]
|
|
42
|
+
def container_command
|
|
43
|
+
if container_exist?
|
|
44
|
+
docker_container.start_command
|
|
45
|
+
else
|
|
46
|
+
docker_container.env('VNC_PASSWORD', vnc_password)
|
|
47
|
+
.run_command(docker_run_extra_args)
|
|
29
48
|
end
|
|
30
49
|
end
|
|
31
50
|
|
|
32
|
-
|
|
33
|
-
|
|
51
|
+
# @return [Hash<String, String>]
|
|
52
|
+
def container_env
|
|
53
|
+
::EacDocker::Executables.docker
|
|
54
|
+
.command('container', 'inspect', '--format', CONTAINER_ENV_FORMAT,
|
|
55
|
+
parsed.container_name)
|
|
56
|
+
.execute!.lines.filter_map { |line| line.chomp.split('=', 2).presence }.to_h
|
|
57
|
+
end
|
|
58
|
+
|
|
59
|
+
# @return [Boolean]
|
|
60
|
+
memoize def container_exist?
|
|
61
|
+
docker_container.exist?
|
|
62
|
+
end
|
|
63
|
+
|
|
64
|
+
# @return [EacDocker::Container]
|
|
65
|
+
memoize def docker_container
|
|
66
|
+
r = docker_image.container.name(parsed.container_name).interactive(true).tty(true)
|
|
67
|
+
%w[environment_variables volumes].inject(r) do |a, e|
|
|
68
|
+
send("docker_container_#{e}", a)
|
|
69
|
+
end
|
|
34
70
|
end
|
|
35
71
|
|
|
72
|
+
# @param container [EacDocker::Container]
|
|
73
|
+
# @return [EacDocker::Container]
|
|
36
74
|
def docker_container_environment_variables(container)
|
|
37
75
|
{
|
|
38
|
-
'
|
|
39
|
-
'
|
|
76
|
+
'USER_GID' => group_id,
|
|
77
|
+
'USER_UID' => user_id
|
|
40
78
|
}.inject(container) { |a, e| a.env(e[0], e[1]) }
|
|
41
79
|
end
|
|
42
80
|
|
|
81
|
+
# @param container [EacDocker::Container]
|
|
82
|
+
# @return [EacDocker::Container]
|
|
43
83
|
def docker_container_volumes(container)
|
|
44
|
-
|
|
45
|
-
::File.join(Dir.home, 'Downloads') => '/home/user/Downloads',
|
|
46
|
-
::File.join(Dir.home, '.Xauthority') => '/home/user/.Xauthority:ro',
|
|
47
|
-
'/tmp/.X11-unix' => '/tmp/.X11-unix:ro',
|
|
48
|
-
'/etc/machine-id' => '/etc/machine-id:ro'
|
|
49
|
-
}.inject(container) { |a, e| a.volume(e[0], e[1]) }
|
|
84
|
+
container.volume(::File.join(Dir.home, 'Downloads'), DOWNLOADS_CONTAINER_PATH)
|
|
50
85
|
end
|
|
51
86
|
|
|
52
|
-
|
|
53
|
-
|
|
87
|
+
# @return [EhbrsRubyUtils::Finances::BbBrowser::DockerImage]
|
|
88
|
+
memoize def docker_image
|
|
89
|
+
::EhbrsRubyUtils::Finances::BbBrowser::DockerImage.create
|
|
54
90
|
end
|
|
55
91
|
|
|
92
|
+
# @return [Array<String>]
|
|
93
|
+
def docker_run_extra_args
|
|
94
|
+
['--init', '--shm-size', SHM_SIZE, '--publish',
|
|
95
|
+
"#{NOVNC_ADDRESS}:#{NOVNC_HOST_PORT}:#{NOVNC_CONTAINER_PORT}"] +
|
|
96
|
+
(podman? ? PODMAN_RUN_EXTRA_ARGS : [])
|
|
97
|
+
end
|
|
98
|
+
|
|
99
|
+
# @return [String]
|
|
56
100
|
def group_id
|
|
57
101
|
::EacRubyUtils::Envs.local.command('id', '-g').execute!.strip
|
|
58
102
|
end
|
|
103
|
+
|
|
104
|
+
# @return [Boolean]
|
|
105
|
+
def novnc_ready?
|
|
106
|
+
::Net::HTTP.get_response(::URI.parse(browser_url)).is_a?(::Net::HTTPSuccess)
|
|
107
|
+
rescue ::SystemCallError, ::IOError
|
|
108
|
+
false
|
|
109
|
+
end
|
|
110
|
+
|
|
111
|
+
# @return [void]
|
|
112
|
+
def open_browser
|
|
113
|
+
::EacRubyUtils::Envs.local.command('xdg-open', browser_url).execute
|
|
114
|
+
end
|
|
115
|
+
|
|
116
|
+
# @return [Thread]
|
|
117
|
+
def open_browser_when_ready
|
|
118
|
+
::Thread.new do
|
|
119
|
+
sleep 1 until novnc_ready?
|
|
120
|
+
open_browser
|
|
121
|
+
end
|
|
122
|
+
end
|
|
123
|
+
|
|
124
|
+
# @return [Boolean]
|
|
125
|
+
memoize def podman?
|
|
126
|
+
::EacDocker::Executables.docker.command('--version').execute!.downcase.include?('podman')
|
|
127
|
+
end
|
|
128
|
+
|
|
129
|
+
# @return [void]
|
|
130
|
+
def setup_docker_command
|
|
131
|
+
ENV[::EacDocker::Executables.docker.executable_args_envvar] ||= DEFAULT_DOCKER_COMMAND
|
|
132
|
+
end
|
|
133
|
+
|
|
134
|
+
# @return [String]
|
|
135
|
+
def user_id
|
|
136
|
+
::EacRubyUtils::Envs.local.command('id', '-u').execute!.strip
|
|
137
|
+
end
|
|
138
|
+
|
|
139
|
+
# @return [String]
|
|
140
|
+
memoize def vnc_password
|
|
141
|
+
return container_env.fetch('VNC_PASSWORD') if container_exist?
|
|
142
|
+
|
|
143
|
+
::SecureRandom.alphanumeric(VNC_PASSWORD_LENGTH)
|
|
144
|
+
end
|
|
59
145
|
end
|
|
60
146
|
end
|
|
61
147
|
end
|
|
@@ -6,15 +6,24 @@ module Ehbrs
|
|
|
6
6
|
class WebUtils
|
|
7
7
|
class Videos
|
|
8
8
|
class Upload
|
|
9
|
+
DEFAULT_TIMEOUT = 5.minutes
|
|
10
|
+
|
|
9
11
|
runner_with :help do
|
|
10
12
|
desc 'Exporta informações de arquivos de vídeo para uma instância EHB/RS Utils.'
|
|
11
13
|
bool_opt '-P', '--no-ffprobe', 'Não recupera dados com "ffprobe".'
|
|
14
|
+
arg_opt '-t', '--timeout', 'Tempo limite (em segundos) do envio.',
|
|
15
|
+
default: DEFAULT_TIMEOUT.to_i
|
|
12
16
|
end
|
|
13
17
|
|
|
14
18
|
def run
|
|
15
19
|
%w[movies series].each { |type| upload_files_list(type) }
|
|
16
20
|
end
|
|
17
21
|
|
|
22
|
+
# @return [Integer]
|
|
23
|
+
def timeout
|
|
24
|
+
parsed.timeout.to_i
|
|
25
|
+
end
|
|
26
|
+
|
|
18
27
|
def upload_files_list(type)
|
|
19
28
|
infom "Uploading \"#{type}\" files list..."
|
|
20
29
|
files_list_path = send("#{type}_files_list")
|
|
@@ -29,9 +38,8 @@ module Ehbrs
|
|
|
29
38
|
body: {
|
|
30
39
|
'videos_local_files_import_list[list_file]' => ::File.new(files_list_path)
|
|
31
40
|
},
|
|
32
|
-
header: {
|
|
33
|
-
|
|
34
|
-
}
|
|
41
|
+
header: { 'Accept' => 'application/json' },
|
|
42
|
+
timeout: timeout
|
|
35
43
|
)
|
|
36
44
|
end
|
|
37
45
|
|
data/lib/ehbrs/tools/version.rb
CHANGED
metadata
CHANGED
|
@@ -1,14 +1,13 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: ehbrs-tools
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 0.
|
|
4
|
+
version: 0.47.0
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- Esquilo Azul Company
|
|
8
|
-
autorequire:
|
|
9
8
|
bindir: exe
|
|
10
9
|
cert_chain: []
|
|
11
|
-
date:
|
|
10
|
+
date: 1980-01-02 00:00:00.000000000 Z
|
|
12
11
|
dependencies:
|
|
13
12
|
- !ruby/object:Gem::Dependency
|
|
14
13
|
name: avm-tools
|
|
@@ -39,7 +38,7 @@ dependencies:
|
|
|
39
38
|
version: '0.47'
|
|
40
39
|
- - ">="
|
|
41
40
|
- !ruby/object:Gem::Version
|
|
42
|
-
version: 0.47.
|
|
41
|
+
version: 0.47.2
|
|
43
42
|
type: :runtime
|
|
44
43
|
prerelease: false
|
|
45
44
|
version_requirements: !ruby/object:Gem::Requirement
|
|
@@ -49,7 +48,7 @@ dependencies:
|
|
|
49
48
|
version: '0.47'
|
|
50
49
|
- - ">="
|
|
51
50
|
- !ruby/object:Gem::Version
|
|
52
|
-
version: 0.47.
|
|
51
|
+
version: 0.47.2
|
|
53
52
|
- !ruby/object:Gem::Dependency
|
|
54
53
|
name: eac_fs
|
|
55
54
|
requirement: !ruby/object:Gem::Requirement
|
|
@@ -59,7 +58,7 @@ dependencies:
|
|
|
59
58
|
version: '0.20'
|
|
60
59
|
- - ">="
|
|
61
60
|
- !ruby/object:Gem::Version
|
|
62
|
-
version: 0.20.
|
|
61
|
+
version: 0.20.3
|
|
63
62
|
type: :runtime
|
|
64
63
|
prerelease: false
|
|
65
64
|
version_requirements: !ruby/object:Gem::Requirement
|
|
@@ -69,27 +68,21 @@ dependencies:
|
|
|
69
68
|
version: '0.20'
|
|
70
69
|
- - ">="
|
|
71
70
|
- !ruby/object:Gem::Version
|
|
72
|
-
version: 0.20.
|
|
71
|
+
version: 0.20.3
|
|
73
72
|
- !ruby/object:Gem::Dependency
|
|
74
73
|
name: eac_ruby_base0
|
|
75
74
|
requirement: !ruby/object:Gem::Requirement
|
|
76
75
|
requirements:
|
|
77
76
|
- - "~>"
|
|
78
77
|
- !ruby/object:Gem::Version
|
|
79
|
-
version: '0.
|
|
80
|
-
- - ">="
|
|
81
|
-
- !ruby/object:Gem::Version
|
|
82
|
-
version: 0.19.3
|
|
78
|
+
version: '0.22'
|
|
83
79
|
type: :runtime
|
|
84
80
|
prerelease: false
|
|
85
81
|
version_requirements: !ruby/object:Gem::Requirement
|
|
86
82
|
requirements:
|
|
87
83
|
- - "~>"
|
|
88
84
|
- !ruby/object:Gem::Version
|
|
89
|
-
version: '0.
|
|
90
|
-
- - ">="
|
|
91
|
-
- !ruby/object:Gem::Version
|
|
92
|
-
version: 0.19.3
|
|
85
|
+
version: '0.22'
|
|
93
86
|
- !ruby/object:Gem::Dependency
|
|
94
87
|
name: eac_ruby_base1
|
|
95
88
|
requirement: !ruby/object:Gem::Requirement
|
|
@@ -97,9 +90,9 @@ dependencies:
|
|
|
97
90
|
- - "~>"
|
|
98
91
|
- !ruby/object:Gem::Version
|
|
99
92
|
version: '0.1'
|
|
100
|
-
- - "
|
|
93
|
+
- - ">="
|
|
101
94
|
- !ruby/object:Gem::Version
|
|
102
|
-
version: 0.1.
|
|
95
|
+
version: 0.1.2
|
|
103
96
|
type: :runtime
|
|
104
97
|
prerelease: false
|
|
105
98
|
version_requirements: !ruby/object:Gem::Requirement
|
|
@@ -107,29 +100,23 @@ dependencies:
|
|
|
107
100
|
- - "~>"
|
|
108
101
|
- !ruby/object:Gem::Version
|
|
109
102
|
version: '0.1'
|
|
110
|
-
- - "
|
|
103
|
+
- - ">="
|
|
111
104
|
- !ruby/object:Gem::Version
|
|
112
|
-
version: 0.1.
|
|
105
|
+
version: 0.1.2
|
|
113
106
|
- !ruby/object:Gem::Dependency
|
|
114
107
|
name: ehbrs_ruby_utils
|
|
115
108
|
requirement: !ruby/object:Gem::Requirement
|
|
116
109
|
requirements:
|
|
117
110
|
- - "~>"
|
|
118
111
|
- !ruby/object:Gem::Version
|
|
119
|
-
version: '0.
|
|
120
|
-
- - ">="
|
|
121
|
-
- !ruby/object:Gem::Version
|
|
122
|
-
version: 0.49.2
|
|
112
|
+
version: '0.52'
|
|
123
113
|
type: :runtime
|
|
124
114
|
prerelease: false
|
|
125
115
|
version_requirements: !ruby/object:Gem::Requirement
|
|
126
116
|
requirements:
|
|
127
117
|
- - "~>"
|
|
128
118
|
- !ruby/object:Gem::Version
|
|
129
|
-
version: '0.
|
|
130
|
-
- - ">="
|
|
131
|
-
- !ruby/object:Gem::Version
|
|
132
|
-
version: 0.49.2
|
|
119
|
+
version: '0.52'
|
|
133
120
|
- !ruby/object:Gem::Dependency
|
|
134
121
|
name: filesize
|
|
135
122
|
requirement: !ruby/object:Gem::Requirement
|
|
@@ -184,16 +171,14 @@ dependencies:
|
|
|
184
171
|
requirements:
|
|
185
172
|
- - "~>"
|
|
186
173
|
- !ruby/object:Gem::Version
|
|
187
|
-
version: '0.
|
|
174
|
+
version: '0.15'
|
|
188
175
|
type: :development
|
|
189
176
|
prerelease: false
|
|
190
177
|
version_requirements: !ruby/object:Gem::Requirement
|
|
191
178
|
requirements:
|
|
192
179
|
- - "~>"
|
|
193
180
|
- !ruby/object:Gem::Version
|
|
194
|
-
version: '0.
|
|
195
|
-
description:
|
|
196
|
-
email:
|
|
181
|
+
version: '0.15'
|
|
197
182
|
executables:
|
|
198
183
|
- ehbrs
|
|
199
184
|
extensions: []
|
|
@@ -274,10 +259,8 @@ files:
|
|
|
274
259
|
- template/ehbrs/cooking_book/build/index_page/inner.html.erb
|
|
275
260
|
- template/ehbrs/cooking_book/build/recipe_page/inner.html.erb
|
|
276
261
|
- template/ehbrs/cooking_book/build/recipe_page/part.html.erb
|
|
277
|
-
homepage:
|
|
278
262
|
licenses: []
|
|
279
263
|
metadata: {}
|
|
280
|
-
post_install_message:
|
|
281
264
|
rdoc_options: []
|
|
282
265
|
require_paths:
|
|
283
266
|
- lib
|
|
@@ -292,8 +275,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
|
292
275
|
- !ruby/object:Gem::Version
|
|
293
276
|
version: '0'
|
|
294
277
|
requirements: []
|
|
295
|
-
rubygems_version: 3.
|
|
296
|
-
signing_key:
|
|
278
|
+
rubygems_version: 3.6.9
|
|
297
279
|
specification_version: 4
|
|
298
280
|
summary: Tools for EHB/RS.
|
|
299
281
|
test_files: []
|