ehbrs_ruby_utils 0.18.0 → 0.19.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (19) hide show
  1. checksums.yaml +4 -4
  2. data/lib/ehbrs_ruby_utils/version.rb +1 -1
  3. data/lib/ehbrs_ruby_utils/videos/opensubtitles/parsers/episode.rb +30 -0
  4. data/lib/ehbrs_ruby_utils/videos/opensubtitles/parsers/title.rb +26 -0
  5. data/lib/ehbrs_ruby_utils/videos/opensubtitles/parsers.rb +13 -0
  6. data/lib/ehbrs_ruby_utils/videos/opensubtitles/processors/episode.rb +44 -0
  7. data/lib/ehbrs_ruby_utils/videos/opensubtitles/processors/subtitle.rb +39 -0
  8. data/lib/ehbrs_ruby_utils/videos/opensubtitles/processors/title.rb +37 -0
  9. data/lib/ehbrs_ruby_utils/videos/opensubtitles/processors.rb +13 -0
  10. data/lib/ehbrs_ruby_utils/videos/opensubtitles.rb +9 -0
  11. data/spec/lib/ehbrs_ruby_utils/videos/opensubtitles/parsers/episode_spec.rb +7 -0
  12. data/spec/lib/ehbrs_ruby_utils/videos/opensubtitles/parsers/episode_spec_files/counterpart_s01e01.source.html +993 -0
  13. data/spec/lib/ehbrs_ruby_utils/videos/opensubtitles/parsers/episode_spec_files/counterpart_s01e01.target.yaml +5 -0
  14. data/spec/lib/ehbrs_ruby_utils/videos/opensubtitles/parsers/episode_spec_files/wire-season-1-page-1.source.html +478 -0
  15. data/spec/lib/ehbrs_ruby_utils/videos/opensubtitles/parsers/episode_spec_files/wire-season-1-page-1.target.yaml +43 -0
  16. data/spec/lib/ehbrs_ruby_utils/videos/opensubtitles/parsers/title_spec.rb +7 -0
  17. data/spec/lib/ehbrs_ruby_utils/videos/opensubtitles/parsers/title_spec_files/countepart.source.html +763 -0
  18. data/spec/lib/ehbrs_ruby_utils/videos/opensubtitles/parsers/title_spec_files/countepart.target.yaml +22 -0
  19. metadata +61 -41
@@ -0,0 +1,22 @@
1
+ ---
2
+ :episodes:
3
+ - :href: "/en/search/sublanguageid-pob/imdbid-4912028"
4
+ - :href: "/en/search/sublanguageid-pob/imdbid-4912030"
5
+ - :href: "/en/search/sublanguageid-pob/imdbid-6410806"
6
+ - :href: "/en/search/sublanguageid-pob/imdbid-6410816"
7
+ - :href: "/en/search/sublanguageid-pob/imdbid-6459228"
8
+ - :href: "/en/search/sublanguageid-pob/imdbid-6459232"
9
+ - :href: "/en/search/sublanguageid-pob/imdbid-6477420"
10
+ - :href: "/en/search/sublanguageid-pob/imdbid-6477424"
11
+ - :href: "/en/search/sublanguageid-pob/imdbid-6477426"
12
+ - :href: "/en/search/sublanguageid-pob/imdbid-6477430"
13
+ - :href: "/en/search/sublanguageid-pob/imdbid-8084434"
14
+ - :href: "/en/search/sublanguageid-pob/imdbid-8458070"
15
+ - :href: "/en/search/sublanguageid-pob/imdbid-8072110"
16
+ - :href: "/en/search/sublanguageid-pob/imdbid-8458074"
17
+ - :href: "/en/search/sublanguageid-pob/imdbid-8442998"
18
+ - :href: "/en/search/sublanguageid-pob/imdbid-8458076"
19
+ - :href: "/en/search/sublanguageid-pob/imdbid-8458078"
20
+ - :href: "/en/search/sublanguageid-pob/imdbid-8458080"
21
+ - :href: "/en/search/sublanguageid-pob/imdbid-8458082"
22
+ - :href: "/en/search/sublanguageid-pob/imdbid-8458084"
metadata CHANGED
@@ -1,15 +1,29 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: ehbrs_ruby_utils
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.18.0
4
+ version: 0.19.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Eduardo H. Bogoni
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2022-09-04 00:00:00.000000000 Z
11
+ date: 2023-01-26 00:00:00.000000000 Z
12
12
  dependencies:
13
+ - !ruby/object:Gem::Dependency
14
+ name: aranha
15
+ requirement: !ruby/object:Gem::Requirement
16
+ requirements:
17
+ - - "~>"
18
+ - !ruby/object:Gem::Version
19
+ version: '0.18'
20
+ type: :runtime
21
+ prerelease: false
22
+ version_requirements: !ruby/object:Gem::Requirement
23
+ requirements:
24
+ - - "~>"
25
+ - !ruby/object:Gem::Version
26
+ version: '0.18'
13
27
  - !ruby/object:Gem::Dependency
14
28
  name: aranha-parsers
15
29
  requirement: !ruby/object:Gem::Requirement
@@ -19,7 +33,7 @@ dependencies:
19
33
  version: '0.14'
20
34
  - - ">="
21
35
  - !ruby/object:Gem::Version
22
- version: 0.14.2
36
+ version: 0.14.4
23
37
  type: :runtime
24
38
  prerelease: false
25
39
  version_requirements: !ruby/object:Gem::Requirement
@@ -29,67 +43,49 @@ dependencies:
29
43
  version: '0.14'
30
44
  - - ">="
31
45
  - !ruby/object:Gem::Version
32
- version: 0.14.2
46
+ version: 0.14.4
33
47
  - !ruby/object:Gem::Dependency
34
48
  name: avm
35
49
  requirement: !ruby/object:Gem::Requirement
36
50
  requirements:
37
51
  - - "~>"
38
52
  - !ruby/object:Gem::Version
39
- version: '0.41'
40
- - - ">="
41
- - !ruby/object:Gem::Version
42
- version: 0.41.1
53
+ version: '0.62'
43
54
  type: :runtime
44
55
  prerelease: false
45
56
  version_requirements: !ruby/object:Gem::Requirement
46
57
  requirements:
47
58
  - - "~>"
48
59
  - !ruby/object:Gem::Version
49
- version: '0.41'
50
- - - ">="
51
- - !ruby/object:Gem::Version
52
- version: 0.41.1
60
+ version: '0.62'
53
61
  - !ruby/object:Gem::Dependency
54
62
  name: eac_fs
55
63
  requirement: !ruby/object:Gem::Requirement
56
64
  requirements:
57
65
  - - "~>"
58
66
  - !ruby/object:Gem::Version
59
- version: '0.12'
60
- - - ">="
61
- - !ruby/object:Gem::Version
62
- version: 0.12.3
67
+ version: '0.16'
63
68
  type: :runtime
64
69
  prerelease: false
65
70
  version_requirements: !ruby/object:Gem::Requirement
66
71
  requirements:
67
72
  - - "~>"
68
73
  - !ruby/object:Gem::Version
69
- version: '0.12'
70
- - - ">="
71
- - !ruby/object:Gem::Version
72
- version: 0.12.3
74
+ version: '0.16'
73
75
  - !ruby/object:Gem::Dependency
74
76
  name: eac_ruby_utils
75
77
  requirement: !ruby/object:Gem::Requirement
76
78
  requirements:
77
79
  - - "~>"
78
80
  - !ruby/object:Gem::Version
79
- version: '0.102'
80
- - - ">="
81
- - !ruby/object:Gem::Version
82
- version: 0.102.1
81
+ version: '0.111'
83
82
  type: :runtime
84
83
  prerelease: false
85
84
  version_requirements: !ruby/object:Gem::Requirement
86
85
  requirements:
87
86
  - - "~>"
88
87
  - !ruby/object:Gem::Version
89
- version: '0.102'
90
- - - ">="
91
- - !ruby/object:Gem::Version
92
- version: 0.102.1
88
+ version: '0.111'
93
89
  - !ruby/object:Gem::Dependency
94
90
  name: eac_templates
95
91
  requirement: !ruby/object:Gem::Requirement
@@ -119,7 +115,7 @@ dependencies:
119
115
  version: '1.1'
120
116
  - - ">="
121
117
  - !ruby/object:Gem::Version
122
- version: 1.1.2
118
+ version: 1.1.3
123
119
  type: :runtime
124
120
  prerelease: false
125
121
  version_requirements: !ruby/object:Gem::Requirement
@@ -129,7 +125,7 @@ dependencies:
129
125
  version: '1.1'
130
126
  - - ">="
131
127
  - !ruby/object:Gem::Version
132
- version: 1.1.2
128
+ version: 1.1.3
133
129
  - !ruby/object:Gem::Dependency
134
130
  name: ultimate_lyrics
135
131
  requirement: !ruby/object:Gem::Requirement
@@ -217,6 +213,14 @@ files:
217
213
  - lib/ehbrs_ruby_utils/videos.rb
218
214
  - lib/ehbrs_ruby_utils/videos/container.rb
219
215
  - lib/ehbrs_ruby_utils/videos/convert_job.rb
216
+ - lib/ehbrs_ruby_utils/videos/opensubtitles.rb
217
+ - lib/ehbrs_ruby_utils/videos/opensubtitles/parsers.rb
218
+ - lib/ehbrs_ruby_utils/videos/opensubtitles/parsers/episode.rb
219
+ - lib/ehbrs_ruby_utils/videos/opensubtitles/parsers/title.rb
220
+ - lib/ehbrs_ruby_utils/videos/opensubtitles/processors.rb
221
+ - lib/ehbrs_ruby_utils/videos/opensubtitles/processors/episode.rb
222
+ - lib/ehbrs_ruby_utils/videos/opensubtitles/processors/subtitle.rb
223
+ - lib/ehbrs_ruby_utils/videos/opensubtitles/processors/title.rb
220
224
  - lib/ehbrs_ruby_utils/videos/quality.rb
221
225
  - lib/ehbrs_ruby_utils/videos/resolution.rb
222
226
  - lib/ehbrs_ruby_utils/videos/series.rb
@@ -246,6 +250,14 @@ files:
246
250
  - spec/lib/ehbrs_ruby_utils/circular_list_spreader_spec_files/ehbrs_music1.target.yaml
247
251
  - spec/lib/ehbrs_ruby_utils/circular_list_spreader_spec_files/minimum.source.yaml
248
252
  - spec/lib/ehbrs_ruby_utils/circular_list_spreader_spec_files/minimum.target.yaml
253
+ - spec/lib/ehbrs_ruby_utils/videos/opensubtitles/parsers/episode_spec.rb
254
+ - spec/lib/ehbrs_ruby_utils/videos/opensubtitles/parsers/episode_spec_files/counterpart_s01e01.source.html
255
+ - spec/lib/ehbrs_ruby_utils/videos/opensubtitles/parsers/episode_spec_files/counterpart_s01e01.target.yaml
256
+ - spec/lib/ehbrs_ruby_utils/videos/opensubtitles/parsers/episode_spec_files/wire-season-1-page-1.source.html
257
+ - spec/lib/ehbrs_ruby_utils/videos/opensubtitles/parsers/episode_spec_files/wire-season-1-page-1.target.yaml
258
+ - spec/lib/ehbrs_ruby_utils/videos/opensubtitles/parsers/title_spec.rb
259
+ - spec/lib/ehbrs_ruby_utils/videos/opensubtitles/parsers/title_spec_files/countepart.source.html
260
+ - spec/lib/ehbrs_ruby_utils/videos/opensubtitles/parsers/title_spec_files/countepart.target.yaml
249
261
  - spec/lib/ehbrs_ruby_utils/videos/resolution_spec.rb
250
262
  - spec/lib/ehbrs_ruby_utils/videos/stream_spec.rb
251
263
  - spec/lib/ehbrs_ruby_utils/videos/stream_spec_files/menina_ovo_attachment.source.yaml
@@ -292,22 +304,30 @@ signing_key:
292
304
  specification_version: 4
293
305
  summary: Utilities for EHB/RS's Ruby projects.
294
306
  test_files:
295
- - spec/rubocop_check_spec.rb
307
+ - spec/spec_helper.rb
296
308
  - spec/lib/ehbrs_ruby_utils/circular_list_spreader_spec.rb
297
- - spec/lib/ehbrs_ruby_utils/circular_list_spreader_spec_files/minimum.target.yaml
298
- - spec/lib/ehbrs_ruby_utils/circular_list_spreader_spec_files/ehbrs_music1.source.yaml
299
- - spec/lib/ehbrs_ruby_utils/circular_list_spreader_spec_files/minimum.source.yaml
300
- - spec/lib/ehbrs_ruby_utils/circular_list_spreader_spec_files/ehbrs_music1.target.yaml
301
- - spec/lib/ehbrs_ruby_utils/videos/stream_spec.rb
302
- - spec/lib/ehbrs_ruby_utils/videos/stream_spec_files/menina_ovo_audio.target.yaml
303
- - spec/lib/ehbrs_ruby_utils/videos/stream_spec_files/menina_ovo_video.target.yaml
304
309
  - spec/lib/ehbrs_ruby_utils/videos/stream_spec_files/menina_ovo_attachment.target.yaml
305
310
  - spec/lib/ehbrs_ruby_utils/videos/stream_spec_files/menina_ovo_subtitle.target.yaml
306
- - spec/lib/ehbrs_ruby_utils/videos/stream_spec_files/menina_ovo_audio.source.yaml
307
311
  - spec/lib/ehbrs_ruby_utils/videos/stream_spec_files/menina_ovo_attachment.source.yaml
308
- - spec/lib/ehbrs_ruby_utils/videos/stream_spec_files/menina_ovo_subtitle.source.yaml
309
312
  - spec/lib/ehbrs_ruby_utils/videos/stream_spec_files/menina_ovo_video.source.yaml
313
+ - spec/lib/ehbrs_ruby_utils/videos/stream_spec_files/menina_ovo_subtitle.source.yaml
314
+ - spec/lib/ehbrs_ruby_utils/videos/stream_spec_files/menina_ovo_video.target.yaml
315
+ - spec/lib/ehbrs_ruby_utils/videos/stream_spec_files/menina_ovo_audio.target.yaml
316
+ - spec/lib/ehbrs_ruby_utils/videos/stream_spec_files/menina_ovo_audio.source.yaml
310
317
  - spec/lib/ehbrs_ruby_utils/videos/resolution_spec.rb
311
- - spec/spec_helper.rb
318
+ - spec/lib/ehbrs_ruby_utils/videos/opensubtitles/parsers/episode_spec.rb
319
+ - spec/lib/ehbrs_ruby_utils/videos/opensubtitles/parsers/title_spec.rb
320
+ - spec/lib/ehbrs_ruby_utils/videos/opensubtitles/parsers/episode_spec_files/counterpart_s01e01.target.yaml
321
+ - spec/lib/ehbrs_ruby_utils/videos/opensubtitles/parsers/episode_spec_files/wire-season-1-page-1.target.yaml
322
+ - spec/lib/ehbrs_ruby_utils/videos/opensubtitles/parsers/episode_spec_files/counterpart_s01e01.source.html
323
+ - spec/lib/ehbrs_ruby_utils/videos/opensubtitles/parsers/episode_spec_files/wire-season-1-page-1.source.html
324
+ - spec/lib/ehbrs_ruby_utils/videos/opensubtitles/parsers/title_spec_files/countepart.source.html
325
+ - spec/lib/ehbrs_ruby_utils/videos/opensubtitles/parsers/title_spec_files/countepart.target.yaml
326
+ - spec/lib/ehbrs_ruby_utils/videos/stream_spec.rb
327
+ - spec/lib/ehbrs_ruby_utils/circular_list_spreader_spec_files/minimum.source.yaml
328
+ - spec/lib/ehbrs_ruby_utils/circular_list_spreader_spec_files/minimum.target.yaml
329
+ - spec/lib/ehbrs_ruby_utils/circular_list_spreader_spec_files/ehbrs_music1.target.yaml
330
+ - spec/lib/ehbrs_ruby_utils/circular_list_spreader_spec_files/ehbrs_music1.source.yaml
331
+ - spec/rubocop_check_spec.rb
312
332
  - ".rubocop.yml"
313
333
  - ".rspec"