ehbrs-tools 0.29.0 → 0.31.1

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: 23ffeee3600b666611e25d022fcfb8483c54a9438e2f5195ce7c9b27666acb59
4
- data.tar.gz: 36d9adbb69c8aa467f42e9ee6affb7db7763c00ec9215f52c84a18cf35d2e581
3
+ metadata.gz: 69d7ea5cf63d2994c94cb2a73d16c6a8b374a5854986db8958510407e2dcbcbf
4
+ data.tar.gz: 404b9f0bdc43dfbaa135b569043e3eb757871aa163936356757f144e592d18ae
5
5
  SHA512:
6
- metadata.gz: f6bb0dc4dfd6f0be5ee121b6f1ec8f7a53f47f9ae8a9215da9540119567d260b95e4cf40bd3a2a3138fbd968e8f91d72d12de5addd56cf62fb665efb10257592
7
- data.tar.gz: 5483f2a800e7273e3ec514009724351b18ecca10c4488c5d094fd8a7774624de3d0575e4e2891a9a407e6b3b7d80b64d1f9bf6aeaf3e5c44a0a28088512817e8
6
+ metadata.gz: e839f01aa8066bb2cc9b5e6f14714b6122a6dd09d97715168b7194b9fb7f64328e6705d13df0ba0e9e67c33f5ea22aca2caeb8c1087bb38b1b9e09dec494e6ca
7
+ data.tar.gz: 8f8ad21d0bece0b465262f764540a76b1437eaa09e12c58487cba4214fc699395b2bcfbd3cb1dcc62b3eb277176a2c9c272d9cdefe0023b7bf42ecfb5796f963
data/.avm.yml CHANGED
@@ -1,4 +1,2 @@
1
1
  ---
2
2
  locale: pt-BR
3
- test:
4
- bundle_command: exec ehbrs self test
data/Gemfile.lock CHANGED
@@ -7,62 +7,62 @@ GIT
7
7
  PATH
8
8
  remote: .
9
9
  specs:
10
- ehbrs-tools (0.29.0)
11
- avm-tools (~> 0.82, >= 0.82.1)
12
- eac_cli (~> 0.12, >= 0.12.5)
13
- eac_ruby_utils (~> 0.71)
14
- ehbrs_ruby_utils (~> 0.8, >= 0.8.1)
15
- filesize
10
+ ehbrs-tools (0.31.1)
11
+ avm-tools (~> 0.135)
12
+ eac_cli (~> 0.27, >= 0.27.8)
13
+ eac_ruby_utils (~> 0.102, >= 0.102.1)
14
+ ehbrs_ruby_utils (~> 0.17, >= 0.17.3)
15
+ filesize (~> 0.2)
16
16
  inifile (~> 3.0)
17
- os
18
- telegram-bot-ruby
17
+ os (~> 1.1, >= 1.1.4)
18
+ telegram-bot-ruby (~> 0.19, >= 0.19.2)
19
19
 
20
20
  PATH
21
21
  remote: sub/aranha-parsers
22
22
  specs:
23
- aranha-parsers (0.10.0)
24
- activesupport (>= 4.0.0)
25
- addressable (~> 2.7)
26
- curb (~> 0.9.10)
27
- eac_ruby_utils (~> 0.74)
28
- faraday_middleware
29
- httpclient (~> 2.8, >= 2.8.3)
30
- nokogiri (~> 1.12, >= 1.12.4)
31
- ofx-parser (~> 1.1.0)
23
+ aranha-parsers (0.14.2)
24
+ activesupport (~> 6.1.6, >= 6.1.6.1)
25
+ addressable (~> 2.8, >= 2.8.1)
26
+ curb (~> 0.9, >= 0.9.11)
27
+ eac_ruby_utils (~> 0.102, >= 0.102.1)
28
+ faraday-gzip (~> 0.1)
29
+ faraday_middleware (~> 1.2)
30
+ nokogiri (~> 1.13, >= 1.13.8)
31
+ ofx-parser (~> 1.1)
32
32
 
33
33
  PATH
34
34
  remote: sub/aranha-selenium
35
35
  specs:
36
- aranha-selenium (0.2.2)
37
- eac_ruby_utils (~> 0.70)
38
- selenium-webdriver (~> 3.142, >= 3.142.3)
36
+ aranha-selenium (0.4.2)
37
+ eac_ruby_utils (~> 0.102, >= 0.102.1)
38
+ selenium-webdriver (~> 3.142, >= 3.142.7)
39
39
 
40
40
  PATH
41
41
  remote: sub/eac_cli
42
42
  specs:
43
- eac_cli (0.24.0)
43
+ eac_cli (0.27.8)
44
44
  colorize (~> 0.8.1)
45
- eac_config (~> 0.5, >= 0.5.1)
46
- eac_ruby_utils (~> 0.80)
45
+ eac_config (~> 0.8)
46
+ eac_ruby_utils (~> 0.95)
47
47
 
48
48
  PATH
49
49
  remote: sub/eac_config
50
50
  specs:
51
- eac_config (0.5.2)
52
- addressable
53
- eac_ruby_utils (~> 0.70)
51
+ eac_config (0.11.1)
52
+ addressable (~> 2.8)
53
+ eac_ruby_utils (~> 0.102)
54
54
 
55
55
  PATH
56
56
  remote: sub/eac_docker
57
57
  specs:
58
- eac_docker (0.4.1)
59
- eac_ruby_utils (~> 0.74)
60
- eac_templates (~> 0.1)
58
+ eac_docker (0.4.2)
59
+ eac_ruby_utils (~> 0.96)
60
+ eac_templates (~> 0.3, >= 0.3.1)
61
61
 
62
62
  PATH
63
63
  remote: sub/eac_fs
64
64
  specs:
65
- eac_fs (0.7.0)
65
+ eac_fs (0.12.3)
66
66
  content-type
67
67
  eac_ruby_utils (~> 0.70)
68
68
  ruby-filemagic
@@ -70,131 +70,104 @@ PATH
70
70
  PATH
71
71
  remote: sub/eac_ruby_base0
72
72
  specs:
73
- eac_ruby_base0 (0.13.1)
74
- eac_cli (~> 0.22, >= 0.22.2)
75
- eac_fs (~> 0.3)
76
- eac_ruby_gems_utils (~> 0.9.6, ~> 0.9)
77
- eac_ruby_utils (~> 0.70)
78
-
79
- PATH
80
- remote: sub/eac_ruby_gems_utils
81
- specs:
82
- eac_ruby_gems_utils (0.9.8)
83
- bundler
84
- eac_ruby_utils (~> 0.70)
73
+ eac_ruby_base0 (0.16.6)
74
+ avm-eac_ruby_base1 (~> 0.8)
75
+ eac_cli (~> 0.27, >= 0.27.5)
76
+ eac_fs (~> 0.10)
77
+ eac_ruby_utils (~> 0.95, >= 0.95.1)
85
78
 
86
79
  PATH
87
80
  remote: sub/eac_ruby_utils
88
81
  specs:
89
- eac_ruby_utils (0.80.1)
90
- activesupport (>= 4.0)
91
- addressable (~> 2.6)
92
- filesize
82
+ eac_ruby_utils (0.102.1)
83
+ activesupport (>= 4, < 7)
84
+ addressable (~> 2.8)
85
+ bundler
86
+ filesize (~> 0.2)
93
87
  net-ssh (~> 4.2)
94
88
 
95
89
  PATH
96
90
  remote: sub/eac_templates
97
91
  specs:
98
- eac_templates (0.2.0)
99
- eac_config (~> 0.5)
100
- eac_ruby_utils (~> 0.64)
92
+ eac_templates (0.3.2)
93
+ eac_config (~> 0.11, >= 0.11.1)
94
+ eac_ruby_utils (~> 0.102, >= 0.102.1)
101
95
 
102
96
  PATH
103
97
  remote: sub/ehbrs_ruby_utils
104
98
  specs:
105
- ehbrs_ruby_utils (0.14.0)
106
- aranha-parsers (~> 0.8, >= 0.8.5)
107
- avm (~> 0.3, >= 0.3.2)
108
- eac_fs (~> 0.5)
109
- eac_ruby_utils (~> 0.70)
110
- eac_templates (~> 0.1, >= 0.1.1)
111
- taglib-ruby (~> 1.1)
112
- ultimate_lyrics (~> 0.1)
99
+ ehbrs_ruby_utils (0.17.3)
100
+ aranha-parsers (~> 0.10)
101
+ avm (~> 0.18, >= 0.18.1)
102
+ eac_fs (~> 0.12, >= 0.12.3)
103
+ eac_ruby_utils (~> 0.102, >= 0.102.1)
104
+ eac_templates (~> 0.3, >= 0.3.2)
105
+ taglib-ruby (~> 1.1, >= 1.1.2)
106
+ ultimate_lyrics (~> 0.1, >= 0.1.3)
113
107
 
114
108
  PATH
115
109
  remote: sub/ultimate_lyrics
116
110
  specs:
117
- ultimate_lyrics (0.1.2)
118
- aranha-parsers (~> 0.8, >= 0.8.5)
119
- eac_ruby_utils (~> 0.74)
111
+ ultimate_lyrics (0.1.3)
112
+ aranha-parsers (~> 0.10)
113
+ eac_ruby_utils (~> 0.102, >= 0.102.1)
120
114
 
121
115
  GEM
122
116
  remote: https://rubygems.org/
123
117
  specs:
124
- activesupport (6.1.4.1)
118
+ activesupport (6.1.6.1)
125
119
  concurrent-ruby (~> 1.0, >= 1.0.2)
126
120
  i18n (>= 1.6, < 2)
127
121
  minitest (>= 5.1)
128
122
  tzinfo (~> 2.0)
129
123
  zeitwerk (~> 2.3)
130
- addressable (2.8.0)
131
- public_suffix (>= 2.0.2, < 5.0)
132
- asciidoctor (2.0.16)
124
+ addressable (2.8.1)
125
+ public_suffix (>= 2.0.2, < 6.0)
133
126
  ast (2.4.2)
134
- avm (0.10.0)
135
- eac_cli (~> 0.23, >= 0.23.1)
136
- eac_docker (~> 0.3)
137
- eac_git (~> 0.6)
138
- eac_ruby_utils (~> 0.80)
139
- eac_templates (~> 0.1, >= 0.1.1)
127
+ avm (0.41.1)
128
+ eac_cli (~> 0.27, >= 0.27.8)
129
+ eac_config (~> 0.11, >= 0.11.1)
130
+ eac_docker (~> 0.4, >= 0.4.2)
131
+ eac_git (~> 0.12, >= 0.12.2)
132
+ eac_ruby_utils (~> 0.102)
133
+ eac_templates (~> 0.3, >= 0.3.1)
140
134
  filesize (~> 0.2)
141
- htmlbeautifier (~> 1.3, >= 1.3.1)
135
+ htmlbeautifier (~> 1.4, >= 1.4.2)
142
136
  minitar (~> 0.9)
143
- avm-eac_asciidoctor_base0 (0.3.2)
144
- asciidoctor (~> 2.0, >= 2.0.12)
145
- avm-eac_webapp_base0 (~> 0.1)
146
- eac_ruby_utils (~> 0.63)
147
- os
148
- rouge (~> 3.26)
149
- avm-eac_generic_base0 (0.1.0)
150
- avm (~> 0.10)
151
- eac_ruby_utils (~> 0.80)
152
- avm-eac_rails_base1 (0.1.2)
153
- avm-eac_webapp_base0 (~> 0.1)
154
- eac_ruby_utils (~> 0.68)
155
- avm-eac_redmine_base0 (0.3.0)
156
- avm-eac_rails_base1 (~> 0.1)
157
- avm-eac_ubuntu_base0 (~> 0.2)
158
- curb (~> 0.9.10)
159
- eac_fs (~> 0.4)
160
- eac_ruby_utils (~> 0.68)
161
- avm-eac_ruby_base1 (0.3.1)
162
- avm (~> 0.9)
163
- avm-eac_generic_base0 (~> 0.1)
164
- eac_ruby_gems_utils (~> 0.9, >= 0.9.8)
165
- eac_ruby_utils (~> 0.80)
166
- avm-eac_ubuntu_base0 (0.2.0)
137
+ avm-eac_generic_base0 (0.5.0)
138
+ avm (~> 0.28)
139
+ eac_ruby_utils (~> 0.96)
140
+ avm-eac_ruby_base1 (0.20.0)
141
+ avm (~> 0.39, >= 0.39.1)
142
+ avm-eac_generic_base0 (~> 0.5)
143
+ eac_ruby_utils (~> 0.102)
144
+ avm-eac_ubuntu_base0 (0.3.0)
167
145
  avm (~> 0.7)
168
146
  eac_ruby_utils (~> 0.77, >= 0.77.1)
169
- eac_templates (~> 0.2)
170
- avm-eac_webapp_base0 (0.2.0)
171
- avm (~> 0.1)
172
- avm-eac_generic_base0 (~> 0.1)
173
- eac_ruby_utils (~> 0.68)
174
- avm-files (0.2.0)
147
+ eac_templates (~> 0.3)
148
+ avm-files (0.3.2)
175
149
  avm (~> 0.6)
176
150
  eac_fs (~> 0.5)
177
151
  eac_ruby_utils (~> 0.76)
178
152
  eac_templates (~> 0.2)
179
- avm-git (0.3.0)
153
+ avm-git (0.4.0)
180
154
  avm-files (~> 0.1)
181
- eac_git (~> 0.9)
155
+ eac_git (~> 0.11)
182
156
  eac_ruby_utils (~> 0.76)
183
- avm-tools (0.113.1)
184
- aranha-parsers (~> 0.4)
185
- avm (~> 0.9)
186
- avm-eac_asciidoctor_base0
187
- avm-eac_redmine_base0 (~> 0.3)
188
- avm-eac_ruby_base1 (~> 0.1)
189
- avm-eac_ubuntu_base0 (~> 0.2)
190
- avm-files (~> 0.1)
191
- avm-git (~> 0.1)
192
- clipboard (~> 1.3, >= 1.3.3)
193
- curb (~> 0.9.10)
194
- eac_ruby_base0 (~> 0.7, >= 0.7.2)
195
- eac_ruby_gems_utils (~> 0.6, >= 0.6.1)
196
- git (~> 1.7)
197
- ruby-progressbar (~> 1.10, >= 1.10.1)
157
+ avm-tools (0.135.0)
158
+ aranha-parsers (~> 0.14, >= 0.14.1)
159
+ avm (~> 0.41)
160
+ avm-eac_ruby_base1 (~> 0.20)
161
+ avm-eac_ubuntu_base0 (~> 0.3)
162
+ avm-files (~> 0.3, >= 0.3.2)
163
+ avm-git (~> 0.4)
164
+ clipboard (~> 1.3, >= 1.3.6)
165
+ curb (~> 0.9, >= 0.9.11)
166
+ eac_git (~> 0.12, >= 0.12.2)
167
+ eac_ruby_base0 (~> 0.16, >= 0.16.6)
168
+ eac_templates (~> 0.3, >= 0.3.1)
169
+ git (~> 1.12)
170
+ ruby-progressbar (~> 1.11)
198
171
  axiom-types (0.1.1)
199
172
  descendants_tracker (~> 0.0.4)
200
173
  ice_nine (~> 0.11.0)
@@ -204,88 +177,95 @@ GEM
204
177
  coercible (1.0.0)
205
178
  descendants_tracker (~> 0.0.1)
206
179
  colorize (0.8.1)
207
- concurrent-ruby (1.1.9)
208
- content-type (0.0.1)
209
- parslet (~> 1.5)
180
+ concurrent-ruby (1.1.10)
181
+ content-type (0.0.2)
182
+ parslet (~> 2.0)
210
183
  curb (0.9.11)
211
184
  descendants_tracker (0.0.4)
212
185
  thread_safe (~> 0.3, >= 0.3.1)
213
- diff-lcs (1.4.4)
214
- dry-inflector (0.2.1)
215
- eac_git (0.10.0)
216
- eac_ruby_utils (~> 0.74)
186
+ diff-lcs (1.5.0)
187
+ dry-inflector (0.3.0)
188
+ eac_git (0.12.2)
189
+ eac_ruby_utils (~> 0.83)
217
190
  parseconfig (~> 1.0, >= 1.0.8)
218
- eac_ruby_gem_support (0.4.0)
191
+ eac_ruby_gem_support (0.5.1)
219
192
  eac_ruby_utils (~> 0.74)
220
193
  rspec (~> 3.9)
221
194
  rubocop (~> 0.80.1)
222
195
  rubocop-rails (~> 2.4.2)
223
196
  rubocop-rspec (~> 1.38.1)
224
- faraday (1.8.0)
197
+ faraday (1.10.2)
225
198
  faraday-em_http (~> 1.0)
226
199
  faraday-em_synchrony (~> 1.0)
227
200
  faraday-excon (~> 1.1)
228
- faraday-httpclient (~> 1.0.1)
201
+ faraday-httpclient (~> 1.0)
202
+ faraday-multipart (~> 1.0)
229
203
  faraday-net_http (~> 1.0)
230
- faraday-net_http_persistent (~> 1.1)
204
+ faraday-net_http_persistent (~> 1.0)
231
205
  faraday-patron (~> 1.0)
232
206
  faraday-rack (~> 1.0)
233
- multipart-post (>= 1.2, < 3)
207
+ faraday-retry (~> 1.0)
234
208
  ruby2_keywords (>= 0.0.4)
235
209
  faraday-em_http (1.0.0)
236
210
  faraday-em_synchrony (1.0.0)
237
211
  faraday-excon (1.1.0)
212
+ faraday-gzip (0.1.0)
213
+ faraday (>= 1.0)
214
+ zlib (~> 2.1)
238
215
  faraday-httpclient (1.0.1)
216
+ faraday-multipart (1.0.4)
217
+ multipart-post (~> 2)
239
218
  faraday-net_http (1.0.1)
240
219
  faraday-net_http_persistent (1.2.0)
241
220
  faraday-patron (1.0.0)
242
221
  faraday-rack (1.0.0)
222
+ faraday-retry (1.0.3)
243
223
  faraday_middleware (1.2.0)
244
224
  faraday (~> 1.0)
245
225
  filesize (0.2.0)
246
- git (1.9.1)
226
+ git (1.12.0)
227
+ addressable (~> 2.8)
247
228
  rchardet (~> 1.8)
248
229
  hpricot (0.8.6)
249
- htmlbeautifier (1.4.0)
250
- i18n (1.8.11)
230
+ htmlbeautifier (1.4.2)
231
+ i18n (1.12.0)
251
232
  concurrent-ruby (~> 1.0)
252
233
  ice_nine (0.11.2)
253
234
  inifile (3.0.0)
254
235
  jaro_winkler (1.5.4)
255
236
  minitar (0.9)
256
- minitest (5.14.4)
257
- multipart-post (2.1.1)
237
+ minitest (5.16.3)
238
+ multipart-post (2.2.3)
258
239
  net-ssh (4.2.0)
259
- nokogiri (1.12.5-x86_64-linux)
240
+ nokogiri (1.13.8-x86_64-linux)
260
241
  racc (~> 1.4)
261
242
  ofx-parser (1.1.0)
262
243
  hpricot (>= 0.6)
263
244
  os (1.1.4)
264
- parallel (1.21.0)
245
+ parallel (1.22.1)
265
246
  parseconfig (1.1.2)
266
- parser (3.0.3.1)
247
+ parser (3.1.2.1)
267
248
  ast (~> 2.4.1)
268
- parslet (1.8.2)
269
- public_suffix (4.0.6)
249
+ parslet (2.0.0)
250
+ public_suffix (5.0.0)
270
251
  racc (1.6.0)
271
- rack (2.2.3)
272
- rainbow (3.0.0)
252
+ rack (2.2.4)
253
+ rainbow (3.1.1)
273
254
  rchardet (1.8.0)
274
255
  rexml (3.2.5)
275
- rouge (3.26.1)
276
- rspec (3.10.0)
277
- rspec-core (~> 3.10.0)
278
- rspec-expectations (~> 3.10.0)
279
- rspec-mocks (~> 3.10.0)
280
- rspec-core (3.10.1)
281
- rspec-support (~> 3.10.0)
282
- rspec-expectations (3.10.1)
256
+ rspec (3.11.0)
257
+ rspec-core (~> 3.11.0)
258
+ rspec-expectations (~> 3.11.0)
259
+ rspec-mocks (~> 3.11.0)
260
+ rspec-core (3.11.0)
261
+ rspec-support (~> 3.11.0)
262
+ rspec-expectations (3.11.0)
283
263
  diff-lcs (>= 1.2.0, < 2.0)
284
- rspec-support (~> 3.10.0)
285
- rspec-mocks (3.10.2)
264
+ rspec-support (~> 3.11.0)
265
+ rspec-mocks (3.11.1)
286
266
  diff-lcs (>= 1.2.0, < 2.0)
287
- rspec-support (~> 3.10.0)
288
- rspec-support (3.10.3)
267
+ rspec-support (~> 3.11.0)
268
+ rspec-support (3.11.0)
289
269
  rubocop (0.80.1)
290
270
  jaro_winkler (~> 1.5.1)
291
271
  parallel (~> 1.10)
@@ -299,27 +279,28 @@ GEM
299
279
  rubocop (>= 0.72.0)
300
280
  rubocop-rspec (1.38.1)
301
281
  rubocop (>= 0.68.1)
302
- ruby-filemagic (0.7.2)
282
+ ruby-filemagic (0.7.3)
303
283
  ruby-progressbar (1.11.0)
304
284
  ruby2_keywords (0.0.5)
305
285
  rubyzip (2.3.2)
306
286
  selenium-webdriver (3.142.7)
307
287
  childprocess (>= 0.5, < 4.0)
308
288
  rubyzip (>= 1.2.2)
309
- taglib-ruby (1.1.0)
310
- telegram-bot-ruby (0.16.0)
289
+ taglib-ruby (1.1.2)
290
+ telegram-bot-ruby (0.19.2)
311
291
  dry-inflector
312
- faraday
292
+ faraday (~> 1.0)
313
293
  virtus (~> 2.0)
314
294
  thread_safe (0.3.6)
315
- tzinfo (2.0.4)
295
+ tzinfo (2.0.5)
316
296
  concurrent-ruby (~> 1.0)
317
297
  unicode-display_width (1.6.1)
318
298
  virtus (2.0.0)
319
299
  axiom-types (~> 0.1)
320
300
  coercible (~> 1.0)
321
301
  descendants_tracker (~> 0.0, >= 0.0.3)
322
- zeitwerk (2.5.1)
302
+ zeitwerk (2.6.0)
303
+ zlib (2.1.1)
323
304
 
324
305
  PLATFORMS
325
306
  x86_64-linux
@@ -333,7 +314,6 @@ DEPENDENCIES
333
314
  eac_fs!
334
315
  eac_ruby_base0!
335
316
  eac_ruby_gem_support (~> 0.3)
336
- eac_ruby_gems_utils!
337
317
  eac_ruby_utils!
338
318
  eac_templates!
339
319
  ehbrs-tools!
@@ -342,4 +322,4 @@ DEPENDENCIES
342
322
  ultimate_lyrics!
343
323
 
344
324
  BUNDLED WITH
345
- 2.2.25
325
+ 2.3.20
@@ -1,7 +1,6 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  require 'eac_ruby_utils/core_ext'
4
- require 'ehbrs/patches/object/erb_template'
5
4
 
6
5
  module Ehbrs
7
6
  module CookingBook
@@ -2,7 +2,6 @@
2
2
 
3
3
  require 'eac_ruby_utils/core_ext'
4
4
  require 'ehbrs/cooking_book/build/base_page'
5
- require 'ehbrs/patches/object/erb_template'
6
5
 
7
6
  module Ehbrs
8
7
  module CookingBook
data/lib/ehbrs/gems.rb CHANGED
@@ -1,6 +1,6 @@
1
1
  # frozen_string_literal: true
2
2
 
3
- require 'eac_ruby_gems_utils/gem'
3
+ require 'avm/eac_ruby_base1/sources/base'
4
4
 
5
5
  module Ehbrs
6
6
  module Gems
@@ -18,7 +18,7 @@ module Ehbrs
18
18
  private
19
19
 
20
20
  def app_uncached
21
- ::EacRubyGemsUtils::Gem.new(app_path)
21
+ ::Avm::EacRubyBase1::Sources::Base.new(app_path)
22
22
  end
23
23
 
24
24
  def all_uncached
@@ -45,7 +45,7 @@ module Ehbrs
45
45
  end
46
46
 
47
47
  def build_dir_uncached
48
- parsed.build_dir.if_nil(&:to_pathname)
48
+ parsed.build_dir.if_not_nil(&:to_pathname)
49
49
  end
50
50
 
51
51
  def run_build?
@@ -1,6 +1,6 @@
1
1
  # frozen_string_literal: true
2
2
 
3
- require 'ehbrs/music/album'
3
+ require 'ehbrs_ruby_utils/music/ous/album'
4
4
  require 'ehbrs/tools/runner/fs/selected'
5
5
 
6
6
  module Ehbrs
@@ -19,7 +19,7 @@ module Ehbrs
19
19
  end
20
20
 
21
21
  def path_to_album(path)
22
- ::Ehbrs::Music::Album.new(path)
22
+ ::EhbrsRubyUtils::Music::Ous::Album.new(path)
23
23
  end
24
24
  end
25
25
  end
@@ -0,0 +1,40 @@
1
+ # frozen_string_literal: true
2
+
3
+ require 'ehbrs_ruby_utils/music/ous/album'
4
+ require 'ehbrs_ruby_utils/spreader_t1'
5
+ require 'ehbrs/tools/runner/fs/selected'
6
+
7
+ module Ehbrs
8
+ module Tools
9
+ class Runner
10
+ class Music
11
+ class Spread
12
+ runner_with :help do
13
+ bool_opt '-i', '--ids', 'Escreve IDs em STDOUT no lugar de labels em STDERR.'
14
+ pos_arg :albums, repeat: true
15
+ end
16
+
17
+ def run
18
+ spreader.result.each do |album|
19
+ if parsed.ids?
20
+ out("#{album.id}\n")
21
+ else
22
+ puts album.to_label
23
+ end
24
+ end
25
+ end
26
+
27
+ def spreader_uncached
28
+ ::EhbrsRubyUtils::SpreaderT1.new(albums)
29
+ end
30
+
31
+ def albums
32
+ parsed.albums.map do |path|
33
+ ::EhbrsRubyUtils::Music::Ous::Album.new(path)
34
+ end
35
+ end
36
+ end
37
+ end
38
+ end
39
+ end
40
+ end
@@ -1,9 +1,9 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  require 'eac_cli/core_ext'
4
- require 'ehbrs/videos/series/rename/file'
5
- require 'ehbrs/videos/series/rename/file/options'
6
- require 'ehbrs/videos/series/rename/results_builder'
4
+ require 'ehbrs_ruby_utils/videos/series/rename/file'
5
+ require 'ehbrs_ruby_utils/videos/series/rename/file/options'
6
+ require 'ehbrs_ruby_utils/videos/series/rename/results_builder'
7
7
 
8
8
  module Ehbrs
9
9
  module Tools
@@ -49,15 +49,16 @@ module Ehbrs
49
49
  end
50
50
 
51
51
  def traverser_check_file(path)
52
- @files << ::Ehbrs::Videos::Series::Rename::File.new(path, series_file_options)
52
+ @files << ::EhbrsRubyUtils::Videos::Series::Rename::File
53
+ .new(path, series_file_options)
53
54
  end
54
55
 
55
56
  def series_file_options_uncached
56
- ::Ehbrs::Videos::Series::Rename::File::Options.new(parsed)
57
+ ::EhbrsRubyUtils::Videos::Series::Rename::File::Options.new(parsed)
57
58
  end
58
59
 
59
60
  def show_results
60
- ::Ehbrs::Videos::Series::Rename::ResultsBuilder.new(files).show(0)
61
+ ::EhbrsRubyUtils::Videos::Series::Rename::ResultsBuilder.new(files).show(0)
61
62
  end
62
63
 
63
64
  def rename_files
@@ -2,6 +2,6 @@
2
2
 
3
3
  module Ehbrs
4
4
  module Tools
5
- VERSION = '0.29.0'
5
+ VERSION = '0.31.1'
6
6
  end
7
7
  end
@@ -1,6 +1,6 @@
1
1
  # frozen_string_literal: true
2
2
 
3
- require 'eac_fs/cache'
3
+ require 'eac_fs/storage_tree'
4
4
  require 'eac_ruby_utils/simple_cache'
5
5
 
6
6
  module Ehbrs
@@ -15,7 +15,7 @@ module Ehbrs
15
15
  private
16
16
 
17
17
  def user_home_dir_uncached
18
- ::EacFs::Cache.new(ENV['HOME'])
18
+ ::EacFs::StorageTree.new(ENV['HOME'])
19
19
  end
20
20
 
21
21
  def cache_uncached
@@ -8,14 +8,14 @@ module Ehbrs
8
8
  module Unsupported
9
9
  module Profiles
10
10
  class Samsung < ::Ehbrs::Videos::Unsupported::Profiles::Base
11
- AUDIO_SUPPORTED_CODECS = %w[aac ac3 dts eac3 mp3 vorbis].freeze
12
- AUDIO_UNSUPPORTED_CODECS = %w[].freeze
11
+ AUDIO_SUPPORTED_CODECS = %w[aac ac3 eac3 mp3 vorbis].freeze
12
+ AUDIO_UNSUPPORTED_CODECS = %w[dts].freeze
13
13
 
14
- VIDEO_SUPPORTED_CODECS = %w[h264 mpeg4 hevc].freeze
14
+ VIDEO_SUPPORTED_CODECS = %w[h264 mpeg4 hevc mjpeg].freeze
15
15
  VIDEO_UNSUPPORTED_CODECS = %w[].freeze
16
16
 
17
- SUBTITLE_SUPPORTED_CODECS = %w[ass dvd subrip].freeze
18
- SUBTITLE_UNSUPPORTED_CODECS = %w[mov].freeze
17
+ SUBTITLE_SUPPORTED_CODECS = %w[ass dvd dvd_subtitle hdmv_pgs_subtitle subrip].freeze
18
+ SUBTITLE_UNSUPPORTED_CODECS = %w[mov mov_text].freeze
19
19
 
20
20
  OTHER_SUPPORTED_CODECS = %w[png ttf].freeze
21
21