ehbrs_ruby_utils 0.33.0 → 0.36.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.
Files changed (113) hide show
  1. checksums.yaml +4 -4
  2. data/lib/ehbrs_ruby_utils/bga/parsers/game_in_progress.rb +2 -2
  3. data/lib/ehbrs_ruby_utils/bga/parsers/table/options.rb +3 -3
  4. data/lib/ehbrs_ruby_utils/bga/session/skip_trophies.rb +1 -1
  5. data/lib/ehbrs_ruby_utils/bga/session/user.rb +1 -3
  6. data/lib/ehbrs_ruby_utils/bga/table/whatsapp_formatters/base.rb +1 -1
  7. data/lib/ehbrs_ruby_utils/circular_list_spreader/base_level.rb +1 -1
  8. data/lib/ehbrs_ruby_utils/circular_list_spreader/group_level.rb +1 -1
  9. data/lib/ehbrs_ruby_utils/cooking_book/recipe/measure.rb +1 -1
  10. data/lib/ehbrs_ruby_utils/fs/selected/build.rb +1 -1
  11. data/lib/ehbrs_ruby_utils/fs/to_file_format.rb +83 -0
  12. data/lib/ehbrs_ruby_utils/fs/to_utf8_unix.rb +60 -0
  13. data/lib/ehbrs_ruby_utils/fs/to_windows_pt_br.rb +59 -0
  14. data/lib/ehbrs_ruby_utils/music/lyrics_book/resource.rb +1 -1
  15. data/lib/ehbrs_ruby_utils/patches/object/template.rb +2 -2
  16. data/lib/ehbrs_ruby_utils/patches/object.rb +1 -1
  17. data/lib/ehbrs_ruby_utils/patches.rb +1 -1
  18. data/lib/ehbrs_ruby_utils/version.rb +1 -1
  19. data/lib/ehbrs_ruby_utils/vg/wii/wit/image_format.rb +2 -2
  20. data/lib/ehbrs_ruby_utils/vg/wii/wit/parsers/dump.rb +3 -3
  21. data/lib/ehbrs_ruby_utils/videos/container.rb +1 -1
  22. data/lib/ehbrs_ruby_utils/videos/opensubtitles/processors/subtitles_provider.rb +51 -0
  23. data/lib/ehbrs_ruby_utils/videos/opensubtitles/processors/title.rb +5 -0
  24. data/lib/ehbrs_ruby_utils/videos/quality.rb +1 -3
  25. data/lib/ehbrs_ruby_utils/videos/resolution.rb +2 -2
  26. data/lib/ehbrs_ruby_utils/videos/series/rename/file/basename_parser.rb +2 -2
  27. data/lib/ehbrs_ruby_utils/videos/series/rename/file.rb +2 -2
  28. data/lib/ehbrs_ruby_utils/videos/series/rename/line_result.rb +2 -2
  29. data/lib/ehbrs_ruby_utils/videos/series/rename/line_result_group.rb +1 -0
  30. data/lib/ehbrs_ruby_utils/videos/series/rename/season_group.rb +1 -0
  31. data/lib/ehbrs_ruby_utils/videos/stream.rb +1 -1
  32. data/lib/ehbrs_ruby_utils/videos/subtitles/sanitize/content_sanitizer.rb +87 -0
  33. data/lib/ehbrs_ruby_utils/videos/subtitles/sanitize/with_pattern_matcher.rb +20 -0
  34. data/lib/ehbrs_ruby_utils/videos/subtitles/sanitize/with_term_matcher.rb +20 -0
  35. data/lib/ehbrs_ruby_utils/videos/subtitles/sanitize.rb +42 -0
  36. data/lib/ehbrs_ruby_utils/web_utils/videos/file.rb +1 -1
  37. metadata +42 -160
  38. data/.rspec +0 -1
  39. data/.rubocop.yml +0 -45
  40. data/spec/lib/ehbrs_ruby_utils/bga/parsers/game_in_progress_spec.rb +0 -7
  41. data/spec/lib/ehbrs_ruby_utils/bga/parsers/game_in_progress_spec_files/player_84920871_2023-06-12.source.html +0 -8657
  42. data/spec/lib/ehbrs_ruby_utils/bga/parsers/game_in_progress_spec_files/player_84920871_2023-06-12.target.yaml +0 -41
  43. data/spec/lib/ehbrs_ruby_utils/bga/parsers/game_in_progress_spec_files/player_84920871_2023-06-19.source.html +0 -8650
  44. data/spec/lib/ehbrs_ruby_utils/bga/parsers/game_in_progress_spec_files/player_84920871_2023-06-19.target.yaml +0 -41
  45. data/spec/lib/ehbrs_ruby_utils/bga/parsers/game_in_progress_spec_files/player_93167144_2023-06-12.source.html +0 -8657
  46. data/spec/lib/ehbrs_ruby_utils/bga/parsers/game_in_progress_spec_files/player_93167144_2023-06-12.target.yaml +0 -5
  47. data/spec/lib/ehbrs_ruby_utils/bga/parsers/game_in_progress_spec_files/player_93205235_2023-06-12.source.html +0 -8657
  48. data/spec/lib/ehbrs_ruby_utils/bga/parsers/game_in_progress_spec_files/player_93205235_2023-06-12.target.yaml +0 -13
  49. data/spec/lib/ehbrs_ruby_utils/bga/parsers/game_in_progress_spec_files/player_93212034_2023-06-12.source.html +0 -8657
  50. data/spec/lib/ehbrs_ruby_utils/bga/parsers/game_in_progress_spec_files/player_93212034_2023-06-12.target.yaml +0 -29
  51. data/spec/lib/ehbrs_ruby_utils/bga/parsers/game_in_progress_spec_files/player_93223573_2023-06-12.source.html +0 -8657
  52. data/spec/lib/ehbrs_ruby_utils/bga/parsers/game_in_progress_spec_files/player_93223573_2023-06-12.target.yaml +0 -7
  53. data/spec/lib/ehbrs_ruby_utils/bga/parsers/game_in_progress_spec_files/player_93248308_2023-06-12.source.html +0 -8657
  54. data/spec/lib/ehbrs_ruby_utils/bga/parsers/game_in_progress_spec_files/player_93248308_2023-06-12.target.yaml +0 -1
  55. data/spec/lib/ehbrs_ruby_utils/bga/parsers/game_stats_spec.rb +0 -7
  56. data/spec/lib/ehbrs_ruby_utils/bga/parsers/game_stats_spec_files/1.source.html +0 -1082
  57. data/spec/lib/ehbrs_ruby_utils/bga/parsers/game_stats_spec_files/1.target.yaml +0 -151
  58. data/spec/lib/ehbrs_ruby_utils/bga/parsers/game_stats_spec_files/2.source.html +0 -1083
  59. data/spec/lib/ehbrs_ruby_utils/bga/parsers/game_stats_spec_files/2.target.yaml +0 -1127
  60. data/spec/lib/ehbrs_ruby_utils/bga/parsers/table_spec.rb +0 -7
  61. data/spec/lib/ehbrs_ruby_utils/bga/parsers/table_spec_files/table_302873643.source.html +0 -1491
  62. data/spec/lib/ehbrs_ruby_utils/bga/parsers/table_spec_files/table_302873643.target.yaml +0 -40
  63. data/spec/lib/ehbrs_ruby_utils/bga/parsers/table_spec_files/table_308782287.source.html +0 -1965
  64. data/spec/lib/ehbrs_ruby_utils/bga/parsers/table_spec_files/table_308782287.target.yaml +0 -46
  65. data/spec/lib/ehbrs_ruby_utils/bga/parsers/table_spec_files/table_356513708.source.html +0 -1497
  66. data/spec/lib/ehbrs_ruby_utils/bga/parsers/table_spec_files/table_356513708.target.yaml +0 -56
  67. data/spec/lib/ehbrs_ruby_utils/bga/parsers/table_spec_files/table_357408039.source.html +0 -1500
  68. data/spec/lib/ehbrs_ruby_utils/bga/parsers/table_spec_files/table_357408039.target.yaml +0 -66
  69. data/spec/lib/ehbrs_ruby_utils/bga/parsers/table_spec_files/table_368448439.source.html +0 -1497
  70. data/spec/lib/ehbrs_ruby_utils/bga/parsers/table_spec_files/table_368448439.target.yaml +0 -58
  71. data/spec/lib/ehbrs_ruby_utils/bga/parsers/table_spec_files/table_373602409.source.html +0 -1441
  72. data/spec/lib/ehbrs_ruby_utils/bga/parsers/table_spec_files/table_373602409.target.yaml +0 -30
  73. data/spec/lib/ehbrs_ruby_utils/bga/parsers/table_spec_files/table_373747455.source.html +0 -1521
  74. data/spec/lib/ehbrs_ruby_utils/bga/parsers/table_spec_files/table_373747455.target.yaml +0 -59
  75. data/spec/lib/ehbrs_ruby_utils/bga/parsers/table_spec_files/table_383405743.source.html +0 -1480
  76. data/spec/lib/ehbrs_ruby_utils/bga/parsers/table_spec_files/table_383405743.target.yaml +0 -32
  77. data/spec/lib/ehbrs_ruby_utils/circular_list_spreader_spec.rb +0 -68
  78. data/spec/lib/ehbrs_ruby_utils/circular_list_spreader_spec_files/ehbrs_music1.source.yaml +0 -124
  79. data/spec/lib/ehbrs_ruby_utils/circular_list_spreader_spec_files/ehbrs_music1.target.yaml +0 -70
  80. data/spec/lib/ehbrs_ruby_utils/circular_list_spreader_spec_files/minimum.source.yaml +0 -7
  81. data/spec/lib/ehbrs_ruby_utils/circular_list_spreader_spec_files/minimum.target.yaml +0 -5
  82. data/spec/lib/ehbrs_ruby_utils/cooking_book/recipe/measure_spec.rb +0 -21
  83. data/spec/lib/ehbrs_ruby_utils/vg/wii/game_file_spec.rb +0 -21
  84. data/spec/lib/ehbrs_ruby_utils/vg/wii/wit/parsers/dump_spec.rb +0 -11
  85. data/spec/lib/ehbrs_ruby_utils/vg/wii/wit/parsers/dump_spec_files/pikmin2_R92P01_wia.source.witdump +0 -27
  86. data/spec/lib/ehbrs_ruby_utils/vg/wii/wit/parsers/dump_spec_files/pikmin2_R92P01_wia.target.yaml +0 -22
  87. data/spec/lib/ehbrs_ruby_utils/vg/wii/wit/parsers/dump_spec_files/pikmin2_pal_iso.source.witdump +0 -28
  88. data/spec/lib/ehbrs_ruby_utils/vg/wii/wit/parsers/dump_spec_files/pikmin2_pal_iso.target.yaml +0 -21
  89. data/spec/lib/ehbrs_ruby_utils/vg/wii/wit/parsers/dump_spec_files/resident_evil_code_veronica_disc2_iso.source.witdump +0 -16
  90. data/spec/lib/ehbrs_ruby_utils/vg/wii/wit/parsers/dump_spec_files/resident_evil_code_veronica_disc2_iso.target.yaml +0 -19
  91. data/spec/lib/ehbrs_ruby_utils/vg/wii/wit/parsers/dump_spec_files/super_mario_galaxy_wbfs.source.witdump +0 -28
  92. data/spec/lib/ehbrs_ruby_utils/vg/wii/wit/parsers/dump_spec_files/super_mario_galaxy_wbfs.target.yaml +0 -23
  93. data/spec/lib/ehbrs_ruby_utils/vg/wii/wit/path_spec.rb +0 -33
  94. data/spec/lib/ehbrs_ruby_utils/videos/opensubtitles/parsers/episode_spec.rb +0 -7
  95. data/spec/lib/ehbrs_ruby_utils/videos/opensubtitles/parsers/episode_spec_files/counterpart_s01e01.source.html +0 -993
  96. data/spec/lib/ehbrs_ruby_utils/videos/opensubtitles/parsers/episode_spec_files/counterpart_s01e01.target.yaml +0 -5
  97. data/spec/lib/ehbrs_ruby_utils/videos/opensubtitles/parsers/episode_spec_files/wire-season-1-page-1.source.html +0 -478
  98. data/spec/lib/ehbrs_ruby_utils/videos/opensubtitles/parsers/episode_spec_files/wire-season-1-page-1.target.yaml +0 -43
  99. data/spec/lib/ehbrs_ruby_utils/videos/opensubtitles/parsers/title_spec.rb +0 -7
  100. data/spec/lib/ehbrs_ruby_utils/videos/opensubtitles/parsers/title_spec_files/countepart.source.html +0 -763
  101. data/spec/lib/ehbrs_ruby_utils/videos/opensubtitles/parsers/title_spec_files/countepart.target.yaml +0 -22
  102. data/spec/lib/ehbrs_ruby_utils/videos/resolution_spec.rb +0 -18
  103. data/spec/lib/ehbrs_ruby_utils/videos/stream_spec.rb +0 -13
  104. data/spec/lib/ehbrs_ruby_utils/videos/stream_spec_files/menina_ovo_attachment.source.yaml +0 -28
  105. data/spec/lib/ehbrs_ruby_utils/videos/stream_spec_files/menina_ovo_attachment.target.yaml +0 -8
  106. data/spec/lib/ehbrs_ruby_utils/videos/stream_spec_files/menina_ovo_audio.source.yaml +0 -49
  107. data/spec/lib/ehbrs_ruby_utils/videos/stream_spec_files/menina_ovo_audio.target.yaml +0 -8
  108. data/spec/lib/ehbrs_ruby_utils/videos/stream_spec_files/menina_ovo_subtitle.source.yaml +0 -43
  109. data/spec/lib/ehbrs_ruby_utils/videos/stream_spec_files/menina_ovo_subtitle.target.yaml +0 -8
  110. data/spec/lib/ehbrs_ruby_utils/videos/stream_spec_files/menina_ovo_video.source.yaml +0 -59
  111. data/spec/lib/ehbrs_ruby_utils/videos/stream_spec_files/menina_ovo_video.target.yaml +0 -8
  112. data/spec/rubocop_check_spec.rb +0 -3
  113. data/spec/spec_helper.rb +0 -4
@@ -1,32 +0,0 @@
1
- ---
2
- :game_code: classicgo
3
- :game_name: Go
4
- :creation_time: 02/06/2023 às 22:14
5
- :estimated_duration: há 11 dias
6
- :options:
7
- - :label: Modo de Jogo
8
- :value: Modo Normal
9
- :description: ''
10
- - :label: Velocidade do jogo
11
- :value: Modo em turnos • 1 movimento a cada 2 dias
12
- :description: "+2 dias por turno (maximum 6 dias)"
13
- - :label: Tamanho do tabuleiro
14
- :value: 13x13
15
- :description: ''
16
- - :label: Método de contagem
17
- :value: Japonês
18
- :description: ''
19
- - :label: Komi e vantagens
20
- :value: Komi normal (6.0 se não for pelas regras da AGA e contagem Japonesa; 7.0
21
- se não for pelas regras da AGA e contagem Chinesa; 7.0 se for pelas regras da
22
- AGA)
23
- :description: ''
24
- - :label: Regras AGA
25
- :value: Sim
26
- :description: ''
27
- :players:
28
- - :id: 84920871
29
- :name: eduardobogoni
30
- - :id: 93212034
31
- :name: danieltc
32
- :game_conceded: false
@@ -1,68 +0,0 @@
1
- # frozen_string_literal: true
2
-
3
- require 'ehbrs_ruby_utils/circular_list_spreader'
4
-
5
- ::RSpec.describe ::EhbrsRubyUtils::CircularListSpreader do
6
- let(:node_class) do
7
- ::Class.new do
8
- class << self
9
- def from_file(file)
10
- from_hash(nil, 'ROOT', ::EacRubyUtils::Yaml.load_file(file))
11
- end
12
-
13
- def from_hash(parent, label, hash)
14
- new(parent, label).children_from_hash(hash)
15
- end
16
-
17
- def name
18
- 'NodeClass'
19
- end
20
- end
21
-
22
- common_constructor :parent, :label
23
- attr_reader :children
24
-
25
- def children_from_hash(hash)
26
- @children = if hash.is_a?(::Hash)
27
- hash.map { |k, v| self.class.from_hash(self, k, v) }
28
- else
29
- false
30
- end
31
-
32
- self
33
- end
34
-
35
- def id
36
- to_circular_list_spreader_path.join(' | ')
37
- end
38
-
39
- def leaf?
40
- !children.is_a?(::Enumerable)
41
- end
42
-
43
- def recursive_leafs
44
- if leaf?
45
- [self]
46
- else
47
- children.flat_map(&:recursive_leafs)
48
- end
49
- end
50
-
51
- def to_circular_list_spreader_path
52
- return [] if parent.blank?
53
-
54
- parent.if_present([], &:to_circular_list_spreader_path) + [label]
55
- end
56
-
57
- def to_s
58
- label
59
- end
60
- end
61
- end
62
-
63
- include_examples 'source_target_fixtures', __FILE__
64
-
65
- def source_data(source_file)
66
- described_class.new(node_class.from_file(source_file).recursive_leafs).result.map(&:id)
67
- end
68
- end
@@ -1,124 +0,0 @@
1
- ---
2
- en:
3
- Pop anglofônico:
4
- Adele:
5
- 2011 - 21: true
6
- 2015 - 25: true
7
- 2021 - 30: true
8
- Aurora:
9
- 2016 - All My Demons Greeting Me as a Friend: true
10
- 2018 - Infections Of A Different Kind – Step 1: true
11
- Celine Dion:
12
- 2008 - My Love (Essential Collection): true
13
- Colbie Caillat:
14
- 2011 - All Of You: true
15
- Lana Del Rey:
16
- 2012 - Born To Die - Disc 1: true
17
- 2012 - Paradise: true
18
- 2019 - Norman Fucking Rockwell: true
19
- 2021 - Chemtrails Over The Country Club: true
20
- Maroon 5:
21
- 2018 - Essentials - P1: true
22
- 2018 - Essentials - P2: true
23
- Michael Jackson:
24
- Michael Jackson P1: true
25
- Michael Jackson P2: true
26
- Michael Jackson P3: true
27
- Olivia Rodrigo:
28
- 2021 - Sour: true
29
- Taylor Swift:
30
- 2008 - Fearless: true
31
- Rock anglofônico:
32
- Alanis Morissette:
33
- 2020 - Jagged Little Pill: true
34
- Christopher Cross:
35
- 1979 - Christopher Cross: true
36
- Guns n' Roses:
37
- 2004 - Greatest Hits: true
38
- Michael Kiwanuka:
39
- 2019 - Kiwanuka: true
40
- Queen:
41
- 2011 - The Ultimate Best Of Queen - P1: true
42
- 2011 - The Ultimate Best Of Queen - P2: true
43
- Sinead O'Connor:
44
- 1990 - I Do Not Want What I Haven't Got: true
45
- Weyes Blood:
46
- 2019 - Titanic Rising: true
47
- Anglofônico - Vários:
48
- Aldous Harding:
49
- 2019 - Designer: true
50
- FKA Twigs:
51
- 2019 - Magdalene: true
52
- Jamila Woods:
53
- 2019 - LEGACY! LEGACY!: true
54
- Norah Jones:
55
- "[2002] Come Away With Me": true
56
- Vários:
57
- 2021 - Cinema Selecionadas: true
58
- Americana - Country:
59
- Dixie Chicks:
60
- 2006 - Taking The Long Way: true
61
- Kacey Musgraves:
62
- 2013 - Same Trailer Different Park: true
63
- 2018 - Golden Hour: true
64
- 2021 - Star-Crossed: true
65
- pt:
66
- Pop-rock brasileiro:
67
- Anavitória:
68
- 2016 - Anavitória: true
69
- 2018 - O Tempo é Agora: true
70
- Ira:
71
- A26 2004 Ira! - Acústico MTV: true
72
- Kiko Zambianchi:
73
- 1985 - Choque: true
74
- Nando Reis:
75
- 2016 - Jardim-Pomar: true
76
- Pitty:
77
- 2003 - Admirável Chip Novo: true
78
- Rita Lee:
79
- 2003 - Balacobaco: true
80
- Tiago Iorc:
81
- 2015 - Troco Likes: true
82
- MPB:
83
- Belchior:
84
- 2022 - Selecionadas - Parte 1: true
85
- 2022 - Selecionadas - Parte 2: true
86
- Beto Guedes:
87
- 2004 - Em Algum Lugar: true
88
- 2022 - Selecionadas - 1: true
89
- 2022 - Selecionadas - 2: true
90
- Chico Buarque:
91
- "(1972) Quando O Carnaval Chegar": true
92
- "(1983) Para Viver Um Grande Amor - Trilha Sonora": true
93
- "(1988) Dança Da Meia-Lua": true
94
- 2022 - Selecionadas - 1: true
95
- Diana Pequeno:
96
- 1978 - Diana Pequeno: true
97
- 1979 - Eterno Como Areia: true
98
- Elis Regina:
99
- 1976. Falso Brilhante: true
100
- Gilberto Gil:
101
- 1972 - Expresso 2222: true
102
- Lô Borges:
103
- 2022 - Selecionadas: true
104
- Maria Bethania:
105
- 1977 - Pássaro da Manhã: true
106
- Marina Machado:
107
- 2002 - Marina 6 Horas da Tarde: true
108
- 2008 - Tempo Quente: true
109
- Marisa Monte:
110
- "(2000) Memorias, Cronicas e Declaracoes de Amor": true
111
- "(2002) - Tribalistas": true
112
- "(2006) Infinito Particular": true
113
- Milton Nascimento:
114
- 1999 - Crooner: true
115
- Os Mutantes:
116
- 1971 - Jardim Elétrico: true
117
- Trio Amaranto:
118
- Brasilêro: true
119
- Vários:
120
- 1976 - Doces Bárbaros: true
121
- Zeca Baleiro:
122
- 2019 - O Amor no Caos, Vol. 1: true
123
- Zé Ramalho:
124
- 1978 - Zé Ramalho I: true
@@ -1,70 +0,0 @@
1
- ---
2
- - en | Pop anglofônico | Lana Del Rey | 2021 - Chemtrails Over The Country Club
3
- - pt | MPB | Chico Buarque | 2022 - Selecionadas - 1
4
- - en | Rock anglofônico | Queen | 2011 - The Ultimate Best Of Queen - P2
5
- - pt | Pop-rock brasileiro | Anavitória | 2018 - O Tempo é Agora
6
- - en | Anglofônico - Vários | Vários | 2021 - Cinema Selecionadas
7
- - pt | MPB | Marisa Monte | (2006) Infinito Particular
8
- - en | Pop anglofônico | Michael Jackson | Michael Jackson P3
9
- - pt | MPB | Vários | 1976 - Doces Bárbaros
10
- - en | Americana - Country | Dixie Chicks | 2006 - Taking The Long Way
11
- - pt | MPB | Marina Machado | 2002 - Marina 6 Horas da Tarde
12
- - en | Pop anglofônico | Adele | 2011 - 21
13
- - en | Rock anglofônico | Alanis Morissette | 2020 - Jagged Little Pill
14
- - pt | MPB | Chico Buarque | (1983) Para Viver Um Grande Amor - Trilha Sonora
15
- - en | Pop anglofônico | Lana Del Rey | 2012 - Paradise
16
- - pt | MPB | Diana Pequeno | 1979 - Eterno Como Areia
17
- - en | Pop anglofônico | Aurora | 2018 - Infections Of A Different Kind – Step 1
18
- - pt | Pop-rock brasileiro | Rita Lee | 2003 - Balacobaco
19
- - en | Rock anglofônico | Weyes Blood | 2019 - Titanic Rising
20
- - pt | MPB | Belchior | 2022 - Selecionadas - Parte 2
21
- - en | Anglofônico - Vários | FKA Twigs | 2019 - Magdalene
22
- - pt | MPB | Beto Guedes | 2022 - Selecionadas - 1
23
- - en | Pop anglofônico | Maroon 5 | 2018 - Essentials - P2
24
- - pt | MPB | Zé Ramalho | 1978 - Zé Ramalho I
25
- - en | Americana - Country | Kacey Musgraves | 2018 - Golden Hour
26
- - pt | MPB | Elis Regina | 1976. Falso Brilhante
27
- - en | Pop anglofônico | Lana Del Rey | 2019 - Norman Fucking Rockwell
28
- - pt | Pop-rock brasileiro | Nando Reis | 2016 - Jardim-Pomar
29
- - en | Rock anglofônico | Michael Kiwanuka | 2019 - Kiwanuka
30
- - pt | MPB | Lô Borges | 2022 - Selecionadas
31
- - en | Pop anglofônico | Adele | 2015 - 25
32
- - pt | MPB | Marisa Monte | (2002) - Tribalistas
33
- - en | Anglofônico - Vários | Norah Jones | [2002] Come Away With Me
34
- - pt | Pop-rock brasileiro | Ira | A26 2004 Ira! - Acústico MTV
35
- - en | Americana - Country | Kacey Musgraves | 2013 - Same Trailer Different Park
36
- - pt | MPB | Chico Buarque | (1988) Dança Da Meia-Lua
37
- - en | Pop anglofônico | Michael Jackson | Michael Jackson P2
38
- - pt | MPB | Trio Amaranto | Brasilêro
39
- - en | Rock anglofônico | Christopher Cross | 1979 - Christopher Cross
40
- - en | Pop anglofônico | Taylor Swift | 2008 - Fearless
41
- - pt | Pop-rock brasileiro | Pitty | 2003 - Admirável Chip Novo
42
- - pt | MPB | Zeca Baleiro | 2019 - O Amor no Caos, Vol. 1
43
- - en | Pop anglofônico | Colbie Caillat | 2011 - All Of You
44
- - pt | MPB | Milton Nascimento | 1999 - Crooner
45
- - en | Rock anglofônico | Queen | 2011 - The Ultimate Best Of Queen - P1
46
- - pt | MPB | Beto Guedes | 2004 - Em Algum Lugar
47
- - en | Pop anglofônico | Aurora | 2016 - All My Demons Greeting Me as a Friend
48
- - pt | MPB | Belchior | 2022 - Selecionadas - Parte 1
49
- - en | Anglofônico - Vários | Jamila Woods | 2019 - LEGACY! LEGACY!
50
- - pt | Pop-rock brasileiro | Anavitória | 2016 - Anavitória
51
- - en | Pop anglofônico | Lana Del Rey | 2012 - Born To Die - Disc 1
52
- - pt | MPB | Chico Buarque | (1972) Quando O Carnaval Chegar
53
- - en | Pop anglofônico | Michael Jackson | Michael Jackson P1
54
- - pt | MPB | Diana Pequeno | 1978 - Diana Pequeno
55
- - en | Rock anglofônico | Sinead O'Connor | 1990 - I Do Not Want What I Haven't Got
56
- - pt | MPB | Os Mutantes | 1971 - Jardim Elétrico
57
- - en | Pop anglofônico | Olivia Rodrigo | 2021 - Sour
58
- - pt | MPB | Marina Machado | 2008 - Tempo Quente
59
- - en | Americana - Country | Kacey Musgraves | 2021 - Star-Crossed
60
- - pt | Pop-rock brasileiro | Tiago Iorc | 2015 - Troco Likes
61
- - en | Pop anglofônico | Celine Dion | 2008 - My Love (Essential Collection)
62
- - pt | MPB | Maria Bethania | 1977 - Pássaro da Manhã
63
- - en | Rock anglofônico | Guns n' Roses | 2004 - Greatest Hits
64
- - pt | MPB | Marisa Monte | (2000) Memorias, Cronicas e Declaracoes de Amor
65
- - en | Anglofônico - Vários | Aldous Harding | 2019 - Designer
66
- - pt | MPB | Gilberto Gil | 1972 - Expresso 2222
67
- - en | Pop anglofônico | Maroon 5 | 2018 - Essentials - P1
68
- - pt | Pop-rock brasileiro | Kiko Zambianchi | 1985 - Choque
69
- - en | Pop anglofônico | Adele | 2021 - 30
70
- - pt | MPB | Beto Guedes | 2022 - Selecionadas - 2
@@ -1,7 +0,0 @@
1
- ---
2
- A:
3
- A1: true
4
- A2: true
5
- B:
6
- B1: true
7
- B2: true
@@ -1,5 +0,0 @@
1
- ---
2
- - B | B2
3
- - A | A2
4
- - B | B1
5
- - A | A1
@@ -1,21 +0,0 @@
1
- # frozen_string_literal: true
2
-
3
- require 'ehbrs_ruby_utils/cooking_book/recipe/measure'
4
-
5
- RSpec.describe ::EhbrsRubyUtils::CookingBook::Recipe::Measure do
6
- describe '#build'
7
- {
8
- '1.5 cup' => [1.5, nil, 'cup'],
9
- '~' => [nil, nil, nil],
10
- '2/ 3 u' => [2, 3, 'u'],
11
- '4.5/7.8' => [4.5, 7.8, nil]
12
- }.each do |source, expected|
13
- context "when source is \"#{source}\"" do
14
- let(:instance) { described_class.build(source) }
15
-
16
- it { expect(instance.numerator).to eq(expected[0]) }
17
- it { expect(instance.denominator).to eq(expected[1]) }
18
- it { expect(instance.unit).to eq(expected[2]) }
19
- end
20
- end
21
- end
@@ -1,21 +0,0 @@
1
- # frozen_string_literal: true
2
-
3
- require 'ehbrs_ruby_utils/vg/wii/game_file'
4
-
5
- RSpec.describe ::EhbrsRubyUtils::Vg::Wii::GameFile do
6
- [['game.iso', 1, 'game'], ['disc1.iso', 1, 'game'], ['disc2.iso', 2, 'disc2'],
7
- ['Resident Evil - Code - Veronica X (USA) (Disc 1)', 1, 'game'],
8
- ['Resident Evil - Code - Veronica X (USA) (Disc 2)', 2, 'disc2']].each do |s|
9
- context "when game file is #{s[0]}" do
10
- let(:game_file) { described_class.new(s[0]) }
11
-
12
- it "disc_number should be #{s[1]}" do
13
- expect(game_file.disc_number).to eq(s[1])
14
- end
15
-
16
- it "nintendont_basename should be #{s[2]}" do
17
- expect(game_file.nintendont_basename).to eq(s[2])
18
- end
19
- end
20
- end
21
- end
@@ -1,11 +0,0 @@
1
- # frozen_string_literal: true
2
-
3
- require 'ehbrs_ruby_utils/vg/wii/wit/parsers/dump'
4
-
5
- RSpec.describe ::EhbrsRubyUtils::Vg::Wii::Wit::Parsers::Dump do
6
- include_examples 'source_target_fixtures', __FILE__
7
-
8
- def source_data(source_file)
9
- described_class.new(::File.read(source_file)).properties
10
- end
11
- end
@@ -1,27 +0,0 @@
1
-
2
- Dump of file /home/eduardo/storage/roms/wii/games_untested/Pikmin 2 - New Play Control_ [R92P01].wia
3
-
4
- Real path: /mnt/storage/eduardo/roms/wii/games_untested/Pikmin 2 - New Play Control_ [R92P01].wia
5
- Virtual size: 118240000/hex = 4699979776 = 4482 MiB
6
- Scrubbed size: 7af30000/hex = 2062745600 = 1967 MiB, 43.9%, 62950*32K
7
- WIA file size: 63d2da4e/hex = 1674762830 = 1597 MiB, 35.6%, 81.2%
8
- File & disc type: WIA/WII (v1.00,LZMA2.7@100) & Wii
9
- Disc & part IDs: disc=R92P01, ticket=R92P, tmd=R92P, boot=R92P01
10
- Disc name: PIKMIN2 for Wii
11
- DB title: Pikmin 2
12
- ID Region: PAL [PAL ]
13
- Region setting: 2 [Europe] / Jap=128 USA=128 ?=128 Eur=0,3,3,4,3,7 Kor=128
14
- System version: 00000001-00000021 = IOS 0x21 = IOS 33
15
- Partitions: 1 [encrypted, well signed]
16
- Directories: 593
17
- Files: 2376
18
-
19
- 1 partition table with 1 partition:
20
-
21
- index type offset .. end off size/hex = size/dec = MiB status
22
- ----------------------------------------------------------------------------------------
23
- 0 part.tab 40020 .. 40028 8 = 8 1 partition
24
- ----------------------------------------------------------------------------------------
25
- 0.0 DATA 0 f800000 .. 1173c0000 107bc0000 = 4424728576 = 4220 enc,signed
26
- ----------------------------------------------------------------------------------------
27
-
@@ -1,22 +0,0 @@
1
- ---
2
- Real path: "/mnt/storage/eduardo/roms/wii/games_untested/Pikmin 2 - New Play Control_
3
- [R92P01].wia"
4
- Virtual size: 118240000/hex = 4699979776 = 4482 MiB
5
- Scrubbed size: 7af30000/hex = 2062745600 = 1967 MiB, 43.9%, 62950*32K
6
- WIA file size: 63d2da4e/hex = 1674762830 = 1597 MiB, 35.6%, 81.2%
7
- File & disc type/type: WIA
8
- File & disc type/platform_acronym: WII
9
- File & disc type/type_extra: v1.00,LZMA2.7@100
10
- File & disc type/platform_name: Wii
11
- Disc & part IDs/disc: R92P01
12
- Disc & part IDs/ticket: R92P
13
- Disc & part IDs/tmd: R92P
14
- Disc & part IDs/boot: R92P01
15
- Disc name: PIKMIN2 for Wii
16
- DB title: Pikmin 2
17
- ID Region: PAL [PAL ]
18
- Region setting: 2 [Europe] / Jap=128 USA=128 ?=128 Eur=0,3,3,4,3,7 Kor=128
19
- System version: 00000001-00000021 = IOS 0x21 = IOS 33
20
- Partitions: 1 [encrypted, well signed]
21
- Directories: '593'
22
- Files: '2376'
@@ -1,28 +0,0 @@
1
-
2
- Dump of file pikmin2_pal.iso
3
-
4
- Real path: /mnt/storage/eduardo/roms/wii/games_untested/pikmin2_pal.iso
5
- ISO file size: 118240000/hex = 4699979776 = 4482 MiB
6
- Scrubbed size: 85790000/hex = 2239299584 = 2136 MiB, 47.6%, 68338*32K
7
- File & disc type: ISO/WII & Wii
8
- Disc & part IDs: disc=R92P01, ticket=R92P, tmd=R92P, boot=R92P01
9
- Disc name: PIKMIN2 for Wii
10
- DB title: Pikmin 2
11
- ID Region: PAL [PAL ]
12
- Region setting: 2 [Europe] / Jap=128 USA=128 ?=128 Eur=0,3,3,4,3,7 Kor=128
13
- System menu: v386 = 3.4E
14
- System version: 00000001-00000021 = IOS 0x21 = IOS 33
15
- Partitions: 2 [encrypted, well signed]
16
- Directories: 598
17
- Files: 2421
18
-
19
- 1 partition table with 2 partitions:
20
-
21
- index type offset .. end off size/hex = size/dec = MiB status
22
- ----------------------------------------------------------------------------------------
23
- 0 part.tab 40020 .. 40030 10 = 16 2 partitions
24
- ----------------------------------------------------------------------------------------
25
- 0.0 UPDATE 1 50000 .. a8b8000 a868000 = 176586752 = 168 enc,signed
26
- 0.1 DATA 0 f800000 .. 1173c0000 107bc0000 = 4424728576 = 4220 enc,signed
27
- ----------------------------------------------------------------------------------------
28
-
@@ -1,21 +0,0 @@
1
- ---
2
- Real path: "/mnt/storage/eduardo/roms/wii/games_untested/pikmin2_pal.iso"
3
- ISO file size: 118240000/hex = 4699979776 = 4482 MiB
4
- Scrubbed size: 85790000/hex = 2239299584 = 2136 MiB, 47.6%, 68338*32K
5
- File & disc type/type: ISO
6
- File & disc type/platform_acronym: WII
7
- File & disc type/type_extra:
8
- File & disc type/platform_name: Wii
9
- Disc & part IDs/disc: R92P01
10
- Disc & part IDs/ticket: R92P
11
- Disc & part IDs/tmd: R92P
12
- Disc & part IDs/boot: R92P01
13
- Disc name: PIKMIN2 for Wii
14
- DB title: Pikmin 2
15
- ID Region: PAL [PAL ]
16
- Region setting: 2 [Europe] / Jap=128 USA=128 ?=128 Eur=0,3,3,4,3,7 Kor=128
17
- System menu: v386 = 3.4E
18
- System version: 00000001-00000021 = IOS 0x21 = IOS 33
19
- Partitions: 2 [encrypted, well signed]
20
- Directories: '598'
21
- Files: '2421'
@@ -1,16 +0,0 @@
1
-
2
- Dump of file /home/eduardo/storage/roms/gc/RESIDENT EVIL CVX [GCDE08]/disc2.iso
3
-
4
- Real path: /mnt/storage/eduardo/roms/wii/disk/games/RESIDENT EVIL CVX [GCDE08]/disc2.iso
5
- ISO file size: 57058000/hex = 1459978240 = 1392 MiB
6
- Scrubbed size: 4fcf8000/hex = 1338998784 = 1277 MiB, 91.7%, 40863*32K
7
- File & disc type: ISO/GC & GameCube
8
- Disc & part IDs: disc=GCDE08, ticket=...., tmd=-, boot=GCDE08
9
- Disc name: RESIDENT EVIL CVX
10
- DB title: Resident Evil Code: Veronica X
11
- ID Region: NTSC/USA [USA ]
12
- BI2 Region: 1 [USA]
13
- Partitions: 1 []
14
- Directories: 4
15
- Files: 54
16
-
@@ -1,19 +0,0 @@
1
- ---
2
- Real path: "/mnt/storage/eduardo/roms/wii/disk/games/RESIDENT EVIL CVX [GCDE08]/disc2.iso"
3
- ISO file size: 57058000/hex = 1459978240 = 1392 MiB
4
- Scrubbed size: 4fcf8000/hex = 1338998784 = 1277 MiB, 91.7%, 40863*32K
5
- File & disc type/type: ISO
6
- File & disc type/platform_acronym: GC
7
- File & disc type/type_extra:
8
- File & disc type/platform_name: GameCube
9
- Disc & part IDs/disc: GCDE08
10
- Disc & part IDs/ticket: "...."
11
- Disc & part IDs/tmd: "-"
12
- Disc & part IDs/boot: GCDE08
13
- Disc name: RESIDENT EVIL CVX
14
- DB title: 'Resident Evil Code: Veronica X'
15
- ID Region: NTSC/USA [USA ]
16
- BI2 Region: 1 [USA]
17
- Partitions: 1 []
18
- Directories: '4'
19
- Files: '54'
@@ -1,28 +0,0 @@
1
-
2
- Dump of file /home/eduardo/storage/roms/wii/disk/wbfs/SUPER MARIO GALAXY [RMGE01]/RMGE01.wbfs/#0
3
-
4
- Real path: /mnt/storage/eduardo/roms/wii/disk/wbfs/SUPER MARIO GALAXY [RMGE01]/RMGE01.wbfs/#0
5
- Virtual size: 118240000/hex = 4699979776 = 4482 MiB
6
- Scrubbed size: d0b28000/hex = 3501359104 = 3339 MiB, 74.5%, 106853*32K
7
- WBFS file size: d1200000/hex = 3508535296 = 3346 MiB, 74.7%, 100.2%
8
- WBFS fragments: 1+0 = a ratio of 0.00 additional_fragments/GiB
9
- File & disc type: WBFS/WII & Wii
10
- Disc & part IDs: disc=RMGE01, ticket=RMGE, tmd=RMGE, boot=RMGE01, wbfs=RMGE01
11
- Disc name: SUPER MARIO GALAXY
12
- DB title: Super Mario Galaxy
13
- ID Region: NTSC/USA [USA ]
14
- Region setting: 1 [USA] / Jap=128 USA=6 ?=128 Eur=128,128,128,128,128,128 Kor=128
15
- System version: 00000001-00000021 = IOS 0x21 = IOS 33
16
- Partitions: 1 [encrypted, scrubbed, well signed]
17
- Directories: 79
18
- Files: 2383
19
-
20
- 1 partition table with 1 partition:
21
-
22
- index type offset .. end off size/hex = size/dec = MiB status
23
- ----------------------------------------------------------------------------------------
24
- 0 part.tab 40020 .. 40028 8 = 8 1 partition
25
- ----------------------------------------------------------------------------------------
26
- 0.0 DATA 0 f800000 .. 1173c0000 107bc0000 = 4424728576 = 4220 enc,signed,scrub
27
- ----------------------------------------------------------------------------------------
28
-
@@ -1,23 +0,0 @@
1
- ---
2
- Real path: "/mnt/storage/eduardo/roms/wii/disk/wbfs/SUPER MARIO GALAXY [RMGE01]/RMGE01.wbfs/#0"
3
- Virtual size: 118240000/hex = 4699979776 = 4482 MiB
4
- Scrubbed size: d0b28000/hex = 3501359104 = 3339 MiB, 74.5%, 106853*32K
5
- WBFS file size: d1200000/hex = 3508535296 = 3346 MiB, 74.7%, 100.2%
6
- WBFS fragments: 1+0 = a ratio of 0.00 additional_fragments/GiB
7
- File & disc type/type: WBFS
8
- File & disc type/platform_acronym: WII
9
- File & disc type/type_extra:
10
- File & disc type/platform_name: Wii
11
- Disc & part IDs/disc: RMGE01
12
- Disc & part IDs/ticket: RMGE
13
- Disc & part IDs/tmd: RMGE
14
- Disc & part IDs/boot: RMGE01
15
- Disc & part IDs/wbfs: RMGE01
16
- Disc name: SUPER MARIO GALAXY
17
- DB title: Super Mario Galaxy
18
- ID Region: NTSC/USA [USA ]
19
- Region setting: 1 [USA] / Jap=128 USA=6 ?=128 Eur=128,128,128,128,128,128 Kor=128
20
- System version: 00000001-00000021 = IOS 0x21 = IOS 33
21
- Partitions: 1 [encrypted, scrubbed, well signed]
22
- Directories: '79'
23
- Files: '2383'
@@ -1,33 +0,0 @@
1
- # frozen_string_literal: true
2
-
3
- require 'ehbrs_ruby_utils/vg/wii/wit/path'
4
-
5
- RSpec.describe ::EhbrsRubyUtils::Vg::Wii::Wit::Path do
6
- describe '#parse' do
7
- context 'when type is present' do
8
- let(:source) { 'WbFs:path/to/file.wbfs' }
9
- let(:instance) { described_class.parse(source) }
10
-
11
- it { expect(instance.type).to eq('WBFS') }
12
- it { expect(instance.path.to_s).to eq('path/to/file.wbfs') }
13
- end
14
-
15
- context 'when type is blank' do
16
- let(:source) { 'path/to/file.wbfs' }
17
- let(:instance) { described_class.parse(source) }
18
-
19
- it { expect(instance.type).to eq('') }
20
- it { expect(instance.path.to_s).to eq('path/to/file.wbfs') }
21
- end
22
- end
23
-
24
- describe '#change?' do
25
- let(:with_type) { described_class.new('ISO', 'path/to/file.wbfs') }
26
- let(:without_type) { described_class.new(nil, 'path/to/file.wbfs') }
27
-
28
- it { expect(with_type.change?(without_type)).to eq(false) }
29
- it { expect(without_type.change?(with_type)).to eq(true) }
30
-
31
- context 'when'
32
- end
33
- end
@@ -1,7 +0,0 @@
1
- # frozen_string_literal: true
2
-
3
- require 'ehbrs_ruby_utils/videos/opensubtitles/parsers/episode'
4
-
5
- RSpec.describe ::EhbrsRubyUtils::Videos::Opensubtitles::Parsers::Episode do
6
- include_examples 'source_target_fixtures', __FILE__
7
- end