ehbrs_ruby_utils 0.33.0 → 0.35.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (106) 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/music/lyrics_book/resource.rb +1 -1
  12. data/lib/ehbrs_ruby_utils/patches/object/template.rb +2 -2
  13. data/lib/ehbrs_ruby_utils/patches/object.rb +1 -1
  14. data/lib/ehbrs_ruby_utils/patches.rb +1 -1
  15. data/lib/ehbrs_ruby_utils/version.rb +1 -1
  16. data/lib/ehbrs_ruby_utils/vg/wii/wit/image_format.rb +2 -2
  17. data/lib/ehbrs_ruby_utils/vg/wii/wit/parsers/dump.rb +3 -3
  18. data/lib/ehbrs_ruby_utils/videos/container.rb +1 -1
  19. data/lib/ehbrs_ruby_utils/videos/opensubtitles/processors/subtitles_provider.rb +51 -0
  20. data/lib/ehbrs_ruby_utils/videos/opensubtitles/processors/title.rb +5 -0
  21. data/lib/ehbrs_ruby_utils/videos/quality.rb +1 -3
  22. data/lib/ehbrs_ruby_utils/videos/resolution.rb +2 -2
  23. data/lib/ehbrs_ruby_utils/videos/series/rename/file/basename_parser.rb +2 -2
  24. data/lib/ehbrs_ruby_utils/videos/series/rename/file.rb +2 -2
  25. data/lib/ehbrs_ruby_utils/videos/series/rename/line_result.rb +2 -2
  26. data/lib/ehbrs_ruby_utils/videos/series/rename/line_result_group.rb +1 -0
  27. data/lib/ehbrs_ruby_utils/videos/series/rename/season_group.rb +1 -0
  28. data/lib/ehbrs_ruby_utils/videos/stream.rb +1 -1
  29. data/lib/ehbrs_ruby_utils/web_utils/videos/file.rb +1 -1
  30. metadata +15 -160
  31. data/.rspec +0 -1
  32. data/.rubocop.yml +0 -45
  33. data/spec/lib/ehbrs_ruby_utils/bga/parsers/game_in_progress_spec.rb +0 -7
  34. data/spec/lib/ehbrs_ruby_utils/bga/parsers/game_in_progress_spec_files/player_84920871_2023-06-12.source.html +0 -8657
  35. data/spec/lib/ehbrs_ruby_utils/bga/parsers/game_in_progress_spec_files/player_84920871_2023-06-12.target.yaml +0 -41
  36. data/spec/lib/ehbrs_ruby_utils/bga/parsers/game_in_progress_spec_files/player_84920871_2023-06-19.source.html +0 -8650
  37. data/spec/lib/ehbrs_ruby_utils/bga/parsers/game_in_progress_spec_files/player_84920871_2023-06-19.target.yaml +0 -41
  38. data/spec/lib/ehbrs_ruby_utils/bga/parsers/game_in_progress_spec_files/player_93167144_2023-06-12.source.html +0 -8657
  39. data/spec/lib/ehbrs_ruby_utils/bga/parsers/game_in_progress_spec_files/player_93167144_2023-06-12.target.yaml +0 -5
  40. data/spec/lib/ehbrs_ruby_utils/bga/parsers/game_in_progress_spec_files/player_93205235_2023-06-12.source.html +0 -8657
  41. data/spec/lib/ehbrs_ruby_utils/bga/parsers/game_in_progress_spec_files/player_93205235_2023-06-12.target.yaml +0 -13
  42. data/spec/lib/ehbrs_ruby_utils/bga/parsers/game_in_progress_spec_files/player_93212034_2023-06-12.source.html +0 -8657
  43. data/spec/lib/ehbrs_ruby_utils/bga/parsers/game_in_progress_spec_files/player_93212034_2023-06-12.target.yaml +0 -29
  44. data/spec/lib/ehbrs_ruby_utils/bga/parsers/game_in_progress_spec_files/player_93223573_2023-06-12.source.html +0 -8657
  45. data/spec/lib/ehbrs_ruby_utils/bga/parsers/game_in_progress_spec_files/player_93223573_2023-06-12.target.yaml +0 -7
  46. data/spec/lib/ehbrs_ruby_utils/bga/parsers/game_in_progress_spec_files/player_93248308_2023-06-12.source.html +0 -8657
  47. data/spec/lib/ehbrs_ruby_utils/bga/parsers/game_in_progress_spec_files/player_93248308_2023-06-12.target.yaml +0 -1
  48. data/spec/lib/ehbrs_ruby_utils/bga/parsers/game_stats_spec.rb +0 -7
  49. data/spec/lib/ehbrs_ruby_utils/bga/parsers/game_stats_spec_files/1.source.html +0 -1082
  50. data/spec/lib/ehbrs_ruby_utils/bga/parsers/game_stats_spec_files/1.target.yaml +0 -151
  51. data/spec/lib/ehbrs_ruby_utils/bga/parsers/game_stats_spec_files/2.source.html +0 -1083
  52. data/spec/lib/ehbrs_ruby_utils/bga/parsers/game_stats_spec_files/2.target.yaml +0 -1127
  53. data/spec/lib/ehbrs_ruby_utils/bga/parsers/table_spec.rb +0 -7
  54. data/spec/lib/ehbrs_ruby_utils/bga/parsers/table_spec_files/table_302873643.source.html +0 -1491
  55. data/spec/lib/ehbrs_ruby_utils/bga/parsers/table_spec_files/table_302873643.target.yaml +0 -40
  56. data/spec/lib/ehbrs_ruby_utils/bga/parsers/table_spec_files/table_308782287.source.html +0 -1965
  57. data/spec/lib/ehbrs_ruby_utils/bga/parsers/table_spec_files/table_308782287.target.yaml +0 -46
  58. data/spec/lib/ehbrs_ruby_utils/bga/parsers/table_spec_files/table_356513708.source.html +0 -1497
  59. data/spec/lib/ehbrs_ruby_utils/bga/parsers/table_spec_files/table_356513708.target.yaml +0 -56
  60. data/spec/lib/ehbrs_ruby_utils/bga/parsers/table_spec_files/table_357408039.source.html +0 -1500
  61. data/spec/lib/ehbrs_ruby_utils/bga/parsers/table_spec_files/table_357408039.target.yaml +0 -66
  62. data/spec/lib/ehbrs_ruby_utils/bga/parsers/table_spec_files/table_368448439.source.html +0 -1497
  63. data/spec/lib/ehbrs_ruby_utils/bga/parsers/table_spec_files/table_368448439.target.yaml +0 -58
  64. data/spec/lib/ehbrs_ruby_utils/bga/parsers/table_spec_files/table_373602409.source.html +0 -1441
  65. data/spec/lib/ehbrs_ruby_utils/bga/parsers/table_spec_files/table_373602409.target.yaml +0 -30
  66. data/spec/lib/ehbrs_ruby_utils/bga/parsers/table_spec_files/table_373747455.source.html +0 -1521
  67. data/spec/lib/ehbrs_ruby_utils/bga/parsers/table_spec_files/table_373747455.target.yaml +0 -59
  68. data/spec/lib/ehbrs_ruby_utils/bga/parsers/table_spec_files/table_383405743.source.html +0 -1480
  69. data/spec/lib/ehbrs_ruby_utils/bga/parsers/table_spec_files/table_383405743.target.yaml +0 -32
  70. data/spec/lib/ehbrs_ruby_utils/circular_list_spreader_spec.rb +0 -68
  71. data/spec/lib/ehbrs_ruby_utils/circular_list_spreader_spec_files/ehbrs_music1.source.yaml +0 -124
  72. data/spec/lib/ehbrs_ruby_utils/circular_list_spreader_spec_files/ehbrs_music1.target.yaml +0 -70
  73. data/spec/lib/ehbrs_ruby_utils/circular_list_spreader_spec_files/minimum.source.yaml +0 -7
  74. data/spec/lib/ehbrs_ruby_utils/circular_list_spreader_spec_files/minimum.target.yaml +0 -5
  75. data/spec/lib/ehbrs_ruby_utils/cooking_book/recipe/measure_spec.rb +0 -21
  76. data/spec/lib/ehbrs_ruby_utils/vg/wii/game_file_spec.rb +0 -21
  77. data/spec/lib/ehbrs_ruby_utils/vg/wii/wit/parsers/dump_spec.rb +0 -11
  78. data/spec/lib/ehbrs_ruby_utils/vg/wii/wit/parsers/dump_spec_files/pikmin2_R92P01_wia.source.witdump +0 -27
  79. data/spec/lib/ehbrs_ruby_utils/vg/wii/wit/parsers/dump_spec_files/pikmin2_R92P01_wia.target.yaml +0 -22
  80. data/spec/lib/ehbrs_ruby_utils/vg/wii/wit/parsers/dump_spec_files/pikmin2_pal_iso.source.witdump +0 -28
  81. data/spec/lib/ehbrs_ruby_utils/vg/wii/wit/parsers/dump_spec_files/pikmin2_pal_iso.target.yaml +0 -21
  82. data/spec/lib/ehbrs_ruby_utils/vg/wii/wit/parsers/dump_spec_files/resident_evil_code_veronica_disc2_iso.source.witdump +0 -16
  83. data/spec/lib/ehbrs_ruby_utils/vg/wii/wit/parsers/dump_spec_files/resident_evil_code_veronica_disc2_iso.target.yaml +0 -19
  84. data/spec/lib/ehbrs_ruby_utils/vg/wii/wit/parsers/dump_spec_files/super_mario_galaxy_wbfs.source.witdump +0 -28
  85. data/spec/lib/ehbrs_ruby_utils/vg/wii/wit/parsers/dump_spec_files/super_mario_galaxy_wbfs.target.yaml +0 -23
  86. data/spec/lib/ehbrs_ruby_utils/vg/wii/wit/path_spec.rb +0 -33
  87. data/spec/lib/ehbrs_ruby_utils/videos/opensubtitles/parsers/episode_spec.rb +0 -7
  88. data/spec/lib/ehbrs_ruby_utils/videos/opensubtitles/parsers/episode_spec_files/counterpart_s01e01.source.html +0 -993
  89. data/spec/lib/ehbrs_ruby_utils/videos/opensubtitles/parsers/episode_spec_files/counterpart_s01e01.target.yaml +0 -5
  90. data/spec/lib/ehbrs_ruby_utils/videos/opensubtitles/parsers/episode_spec_files/wire-season-1-page-1.source.html +0 -478
  91. data/spec/lib/ehbrs_ruby_utils/videos/opensubtitles/parsers/episode_spec_files/wire-season-1-page-1.target.yaml +0 -43
  92. data/spec/lib/ehbrs_ruby_utils/videos/opensubtitles/parsers/title_spec.rb +0 -7
  93. data/spec/lib/ehbrs_ruby_utils/videos/opensubtitles/parsers/title_spec_files/countepart.source.html +0 -763
  94. data/spec/lib/ehbrs_ruby_utils/videos/opensubtitles/parsers/title_spec_files/countepart.target.yaml +0 -22
  95. data/spec/lib/ehbrs_ruby_utils/videos/resolution_spec.rb +0 -18
  96. data/spec/lib/ehbrs_ruby_utils/videos/stream_spec.rb +0 -13
  97. data/spec/lib/ehbrs_ruby_utils/videos/stream_spec_files/menina_ovo_attachment.source.yaml +0 -28
  98. data/spec/lib/ehbrs_ruby_utils/videos/stream_spec_files/menina_ovo_attachment.target.yaml +0 -8
  99. data/spec/lib/ehbrs_ruby_utils/videos/stream_spec_files/menina_ovo_audio.source.yaml +0 -49
  100. data/spec/lib/ehbrs_ruby_utils/videos/stream_spec_files/menina_ovo_audio.target.yaml +0 -8
  101. data/spec/lib/ehbrs_ruby_utils/videos/stream_spec_files/menina_ovo_subtitle.source.yaml +0 -43
  102. data/spec/lib/ehbrs_ruby_utils/videos/stream_spec_files/menina_ovo_subtitle.target.yaml +0 -8
  103. data/spec/lib/ehbrs_ruby_utils/videos/stream_spec_files/menina_ovo_video.source.yaml +0 -59
  104. data/spec/lib/ehbrs_ruby_utils/videos/stream_spec_files/menina_ovo_video.target.yaml +0 -8
  105. data/spec/rubocop_check_spec.rb +0 -3
  106. data/spec/spec_helper.rb +0 -4
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 05a500e93163dbff946466f1e0500eb191734c6dab6f7ee221df9c6f7b1d652a
4
- data.tar.gz: 551a4cd6c774196401f2c87a7b176c7e8b3ca3c94ae9b030ab16dc73a14f3555
3
+ metadata.gz: 763112ae8325274f9c7a277a78e6984bb2c3e89632214f89d3bc3bced8e1acde
4
+ data.tar.gz: 61448a174beb1981acaa3615a923a61fc39c9bd1c615839abef486a8c716b2a4
5
5
  SHA512:
6
- metadata.gz: 652775ab4e50bdfc1066d11cab55e66fa9a5f98c670ec12cf0e7f2652b9668d5ce2c98a8a2e58faf20d433a8342a824296da1e05a34e99a516f787227ae2431b
7
- data.tar.gz: 4be18d9b6f3641869a415e957a7ead726bec9d846c36d1ec893047b1be04a24217603388fda5c900910eb3aeba7ff86e6cd40ecae4547a01ad3ce481e286208d
6
+ metadata.gz: 7a6948ad99b05f1f9742c1a79391ea3a8f7138420efaa6b6f4b966b86d3460f74e01027311170ba0b051a7ac66e27f7c08998344374bded000cb9ba0d93a5a31
7
+ data.tar.gz: 6515790504ba6e0c848f0c0941de5f3f5fd6f1b9bb396e356af85ea66957f857bfc3865b7b16258d2d5c54fffb55dac5439944884920e4e236766cba3407ff29
@@ -8,7 +8,7 @@ module EhbrsRubyUtils
8
8
  module Parsers
9
9
  class GameInProgress < ::Aranha::Parsers::Html::ItemList
10
10
  ITEMS_XPATH = '//*[@id = "gametables_inprogress_all"]' \
11
- '//*[starts-with(@id, "gametableblock_")]'
11
+ '//*[starts-with(@id, "gametableblock_")]'
12
12
  STATUS_CLASS_PATTERN = /\Agametable_status_(.+)\z/.freeze
13
13
  STATUS_CLASS_PARSER = STATUS_CLASS_PATTERN.to_parser { |m| m[1] }
14
14
 
@@ -29,7 +29,7 @@ module EhbrsRubyUtils
29
29
  private
30
30
 
31
31
  def process_status(status)
32
- status.split(' ').lazy.map { |s| STATUS_CLASS_PARSER.parse(s.strip) }.find(&:present?) ||
32
+ status.split.lazy.map { |s| STATUS_CLASS_PARSER.parse(s.strip) }.find(&:present?) ||
33
33
  raise("No status class found in \"#{status}\"")
34
34
  end
35
35
  end
@@ -9,12 +9,12 @@ module EhbrsRubyUtils
9
9
  module Parsers
10
10
  class Table < ::Aranha::Parsers::Html::Item
11
11
  class Options < ::Aranha::Parsers::Html::ItemList
12
- ITEMS_XPATH = '//div[starts-with(@id, "gameoption_")' \
13
- ' and not(contains(@style, "none"))]'
12
+ ITEMS_XPATH = '//div[starts-with(@id, "gameoption_") ' \
13
+ 'and not(contains(@style, "none"))]'
14
14
 
15
15
  field :label, :string, './div[@class = "row-label"]/text()'
16
16
  field :value, :string, './div[@class = "row-value"]' \
17
- "//*[#{xpath_ends_with('@id', "'_displayed_value'")}]/text()"
17
+ "//*[#{xpath_ends_with('@id', "'_displayed_value'")}]/text()"
18
18
  field :description, :string, './div[@class = "gameoption_description"]/text()'
19
19
 
20
20
  def items_xpath
@@ -7,7 +7,7 @@ module EhbrsRubyUtils
7
7
  class Session < ::SimpleDelegator
8
8
  module SkipTrophies
9
9
  TROPHY_SKIP_BUTTON_XPATH = '//*[@id = "splashedNotifications_overlay"]' \
10
- '//*[starts-with(@id, "continue_btn_")]'
10
+ '//*[starts-with(@id, "continue_btn_")]'
11
11
  TROPHY_SKIP_TIMEOUT = 5
12
12
 
13
13
  # @param &block [Proc]
@@ -18,9 +18,7 @@ module EhbrsRubyUtils
18
18
  end
19
19
 
20
20
  def on_logged(&block)
21
- unless logged?
22
- raise "Login failed for BoardGameUser user \"#{username}\"" unless login
23
- end
21
+ raise "Login failed for BoardGameUser user \"#{username}\"" if !logged? && !login
24
22
 
25
23
  block.call
26
24
  end
@@ -49,7 +49,7 @@ module EhbrsRubyUtils
49
49
  end
50
50
 
51
51
  def title_to_s(title)
52
- '*' + [title_icon, title, title_icon].join(' ') + "*\n\n"
52
+ "*#{[title_icon, title, title_icon].join(' ')}*\n\n"
53
53
  end
54
54
 
55
55
  def players
@@ -26,7 +26,7 @@ module EhbrsRubyUtils
26
26
  end
27
27
 
28
28
  def remaining_fs
29
- ((remaining_f * 1000).round / 10.0).to_s + '%'
29
+ "#{(remaining_f * 1000).round / 10.0}%"
30
30
  end
31
31
 
32
32
  def debugs
@@ -28,7 +28,7 @@ module EhbrsRubyUtils
28
28
 
29
29
  def pop_all
30
30
  r = []
31
- while remaining?; r << pop; end
31
+ r << pop while remaining?
32
32
  r
33
33
  end
34
34
 
@@ -11,7 +11,7 @@ module EhbrsRubyUtils
11
11
  FLOAT_PATTERN = /\d+(?:\.\d+)?/.freeze
12
12
  FRACTION_PATTERN = %r{(#{FLOAT_PATTERN})(?:\s*/\s*(#{FLOAT_PATTERN}))?}.freeze
13
13
  QUANTITY_UNIT_PATTERN = /\A#{FRACTION_PATTERN}(?:\s*(\S+))?\z/.freeze
14
- VARIABLE_PATTERN = /\A\~\z/.freeze
14
+ VARIABLE_PATTERN = /\A~\z/.freeze
15
15
  VARIABLE_TEXT = 'a gosto'
16
16
 
17
17
  class << self
@@ -7,7 +7,7 @@ module EhbrsRubyUtils
7
7
  module Fs
8
8
  class Selected
9
9
  class Build
10
- DEFAULT_TARGET_BASENAME_PROC = ::Proc.new { |path| path.basename.to_path }
10
+ DEFAULT_TARGET_BASENAME_PROC = proc { |path| path.basename.to_path }
11
11
 
12
12
  attr_reader :selected, :target_dir, :target_basename_proc
13
13
 
@@ -31,7 +31,7 @@ module EhbrsRubyUtils
31
31
  end
32
32
 
33
33
  def link_to_header
34
- "<a href=\"\##{header_id}\" id=\"#{index_id}\">#{header_title}</a>"
34
+ "<a href=\"##{header_id}\" id=\"#{index_id}\">#{header_title}</a>"
35
35
  end
36
36
 
37
37
  def index_id
@@ -2,5 +2,5 @@
2
2
 
3
3
  require 'eac_templates/patches/object/template'
4
4
 
5
- ::EacTemplates::Searcher.default.included_paths <<
6
- ::File.expand_path('../../../../template', __dir__)
5
+ EacTemplates::Searcher.default.included_paths <<
6
+ File.expand_path('../../../../template', __dir__)
@@ -1,4 +1,4 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  require 'eac_ruby_utils/require_sub'
4
- ::EacRubyUtils.require_sub __FILE__
4
+ EacRubyUtils.require_sub __FILE__
@@ -1,4 +1,4 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  require 'eac_ruby_utils/require_sub'
4
- ::EacRubyUtils.require_sub __FILE__
4
+ EacRubyUtils.require_sub __FILE__
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module EhbrsRubyUtils
4
- VERSION = '0.33.0'
4
+ VERSION = '0.35.0'
5
5
  end
@@ -16,8 +16,8 @@ module EhbrsRubyUtils
16
16
 
17
17
  def by_name(name)
18
18
  all.find { |i| i.name.downcase == name.to_s.downcase } ||
19
- raise(::ArgumentError, "Image not found with name \"#{name.to_s.downcase}\"" \
20
- " (Available: #{all.map(&:name).join(', ')})")
19
+ raise(::ArgumentError, "Image not found with name \"#{name.to_s.downcase}\" " \
20
+ "(Available: #{all.map(&:name).join(', ')})")
21
21
  end
22
22
 
23
23
  private
@@ -54,10 +54,10 @@ module EhbrsRubyUtils
54
54
  end
55
55
 
56
56
  def parse_disc_part_ids(value)
57
- value.split(',').map(&:strip).map do |v|
58
- r = v.split('=')
57
+ value.split(',').to_h do |v|
58
+ r = v.strip.split('=')
59
59
  [r[0].strip, r[1].strip]
60
- end.to_h
60
+ end
61
61
  end
62
62
  end
63
63
  end
@@ -43,7 +43,7 @@ module EhbrsRubyUtils
43
43
  def song_metadata_uncached
44
44
  ::UltimateLyrics::SongMetadata.new(
45
45
  ::UltimateLyrics::SongMetadata::Field.lists.sources.values
46
- .map { |source| [source, tag.send(source)] }.to_h
46
+ .index_with { |source| tag.send(source) }
47
47
  )
48
48
  end
49
49
 
@@ -0,0 +1,51 @@
1
+ # frozen_string_literal: true
2
+
3
+ require 'aranha/default_processor'
4
+ require 'ehbrs_ruby_utils/videos/opensubtitles/processors/episode'
5
+ require 'ehbrs_ruby_utils/videos/opensubtitles/processors/title'
6
+ require 'eac_ruby_utils/core_ext'
7
+
8
+ module EhbrsRubyUtils
9
+ module Videos
10
+ module Opensubtitles
11
+ module Processors
12
+ class SubtitlesProvider < ::Aranha::DefaultProcessor
13
+ enable_simple_cache
14
+
15
+ delegate :perform, :subtitles, to: :sub_processor
16
+
17
+ # @return [Boolean]
18
+ def episode?
19
+ title_parser.data[:episodes].if_present(true, &:empty?)
20
+ end
21
+
22
+ private
23
+
24
+ # @return [Class]
25
+ def sub_processor_class
26
+ if episode?
27
+ ::EhbrsRubyUtils::Videos::Opensubtitles::Processors::Episode
28
+ else
29
+ ::EhbrsRubyUtils::Videos::Opensubtitles::Processors::Title
30
+ end
31
+ end
32
+
33
+ # @return [EhbrsRubyUtils::Videos::Opensubtitles::Parsers::Episode]
34
+ def episode_parser
35
+ ::EhbrsRubyUtils::Videos::Opensubtitles::Parsers::Episode.new(source_uri)
36
+ end
37
+
38
+ # @return [EhbrsRubyUtils::Videos::Opensubtitles::Parsers::Title]
39
+ def title_parser
40
+ ::EhbrsRubyUtils::Videos::Opensubtitles::Parsers::Title.new(source_uri)
41
+ end
42
+
43
+ # @return [Aranha::DefaultProcessor]
44
+ def sub_processor_uncached
45
+ sub_processor_class.new(source_uri, extra_data)
46
+ end
47
+ end
48
+ end
49
+ end
50
+ end
51
+ end
@@ -18,6 +18,11 @@ module EhbrsRubyUtils
18
18
  episodes.each(&:perform)
19
19
  end
20
20
 
21
+ # @return [Array<EhbrsRubyUtils::Videos::Opensubtitles::Processors::Subtitle>]
22
+ def subtitles
23
+ episodes.flat_map(&:subtitles)
24
+ end
25
+
21
26
  private
22
27
 
23
28
  def episode_uri(episode_data)
@@ -36,9 +36,7 @@ module EhbrsRubyUtils
36
36
  height <=> other.height
37
37
  end
38
38
 
39
- def to_s
40
- height.to_s
41
- end
39
+ delegate :to_s, to: :height
42
40
 
43
41
  def to_xs
44
42
  "#{height} (Min: #{min_height}, Max: #{max_height})"
@@ -29,11 +29,11 @@ module EhbrsRubyUtils
29
29
  end
30
30
 
31
31
  def higher
32
- width > height ? width : height
32
+ [width, height].max
33
33
  end
34
34
 
35
35
  def lower
36
- width < height ? width : height
36
+ [width, height].min
37
37
  end
38
38
 
39
39
  def pixels
@@ -10,10 +10,10 @@ module EhbrsRubyUtils
10
10
  module BasenameParser
11
11
  FORMATS = [{
12
12
  format: /(\d+)(\d{2})(\d{2})/i,
13
- build: ->(m) { { s: padding(m[1]), e: padding(m[2]) + '-' + padding(m[3]) } }
13
+ build: ->(m) { { s: padding(m[1]), e: "#{padding(m[2])}-#{padding(m[3])}" } }
14
14
  }, {
15
15
  format: /s(\d+)e(\d+)-(\d+)/i,
16
- build: ->(m) { { s: padding(m[1]), e: padding(m[2]) + '-' + padding(m[3]) } }
16
+ build: ->(m) { { s: padding(m[1]), e: "#{padding(m[2])}-#{padding(m[3])}" } }
17
17
  }, {
18
18
  format: /(\d{1,2})\s*[^\d]\s*(\d{2})/i,
19
19
  build: ->(m) { { s: padding(m[1]), e: padding(m[2]) } }
@@ -13,7 +13,7 @@ module EhbrsRubyUtils
13
13
 
14
14
  common_constructor :file, :options do
15
15
  self.file = file.to_pathname.expand_path
16
- self.options = ::OpenStruct.new(options) if options.is_a?(::Hash)
16
+ self.options = options.to_struct if options.is_a?(::Hash)
17
17
  end
18
18
 
19
19
  # @return [String]
@@ -70,7 +70,7 @@ module EhbrsRubyUtils
70
70
 
71
71
  def kernel_from_directory_name
72
72
  dir = dirname.basename.to_path.sub(/\([0-9]+\)/, '')
73
- dir.split(/\W+/).select { |w| /\A[a-z0-9]/.match(w) }.map { |p| p[0].downcase }.join('')
73
+ dir.split(/\W+/).select { |w| /\A[a-z0-9]/.match(w) }.map { |p| p[0].downcase }.join
74
74
  end
75
75
 
76
76
  def extension
@@ -11,13 +11,13 @@ module EhbrsRubyUtils
11
11
  enable_speaker
12
12
 
13
13
  def show(level)
14
- out(padding_level(level) + line_out + "\n")
14
+ out("#{padding_level(level)}#{line_out}\n")
15
15
  end
16
16
 
17
17
  private
18
18
 
19
19
  def padding_level(level)
20
- (' ' * level.to_i) + '* '
20
+ "#{' ' * level.to_i}* "
21
21
  end
22
22
  end
23
23
  end
@@ -10,6 +10,7 @@ module EhbrsRubyUtils
10
10
  attr_reader :name, :children
11
11
 
12
12
  def initialize(name, files)
13
+ super
13
14
  @name = name
14
15
  @children = build_children(files)
15
16
  end
@@ -10,6 +10,7 @@ module EhbrsRubyUtils
10
10
  attr_reader :season, :files
11
11
 
12
12
  def initialize(season, files)
13
+ super
13
14
  @season = season
14
15
  @files = files.sort_by { |f| [f.episode] }
15
16
  end
@@ -54,7 +54,7 @@ module EhbrsRubyUtils
54
54
  end
55
55
 
56
56
  def language_with_title
57
- [language, title].reject(&:blank?).if_present { |v| v.join('_').variableize }
57
+ [language, title].compact_blank.if_present { |v| v.join('_').variableize }
58
58
  end
59
59
 
60
60
  def title
@@ -10,7 +10,7 @@ module EhbrsRubyUtils
10
10
  require_sub __FILE__
11
11
 
12
12
  def initialize(data)
13
- super(::OpenStruct.new(data))
13
+ super(data.to_struct)
14
14
  end
15
15
 
16
16
  def exist?
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: ehbrs_ruby_utils
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.33.0
4
+ version: 0.35.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: 2023-10-27 00:00:00.000000000 Z
11
+ date: 2023-10-28 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: aranha
@@ -64,14 +64,14 @@ dependencies:
64
64
  requirements:
65
65
  - - "~>"
66
66
  - !ruby/object:Gem::Version
67
- version: '0.79'
67
+ version: '0.80'
68
68
  type: :runtime
69
69
  prerelease: false
70
70
  version_requirements: !ruby/object:Gem::Requirement
71
71
  requirements:
72
72
  - - "~>"
73
73
  - !ruby/object:Gem::Version
74
- version: '0.79'
74
+ version: '0.80'
75
75
  - !ruby/object:Gem::Dependency
76
76
  name: dentaku
77
77
  requirement: !ruby/object:Gem::Requirement
@@ -214,22 +214,26 @@ dependencies:
214
214
  requirements:
215
215
  - - "~>"
216
216
  - !ruby/object:Gem::Version
217
- version: 0.5.1
217
+ version: '0.8'
218
+ - - ">="
219
+ - !ruby/object:Gem::Version
220
+ version: 0.8.2
218
221
  type: :development
219
222
  prerelease: false
220
223
  version_requirements: !ruby/object:Gem::Requirement
221
224
  requirements:
222
225
  - - "~>"
223
226
  - !ruby/object:Gem::Version
224
- version: 0.5.1
227
+ version: '0.8'
228
+ - - ">="
229
+ - !ruby/object:Gem::Version
230
+ version: 0.8.2
225
231
  description:
226
232
  email:
227
233
  executables: []
228
234
  extensions: []
229
235
  extra_rdoc_files: []
230
236
  files:
231
- - ".rspec"
232
- - ".rubocop.yml"
233
237
  - lib/ehbrs_ruby_utils.rb
234
238
  - lib/ehbrs_ruby_utils/bga.rb
235
239
  - lib/ehbrs_ruby_utils/bga/game.rb
@@ -321,6 +325,7 @@ files:
321
325
  - lib/ehbrs_ruby_utils/videos/opensubtitles/processors.rb
322
326
  - lib/ehbrs_ruby_utils/videos/opensubtitles/processors/episode.rb
323
327
  - lib/ehbrs_ruby_utils/videos/opensubtitles/processors/subtitle.rb
328
+ - lib/ehbrs_ruby_utils/videos/opensubtitles/processors/subtitles_provider.rb
324
329
  - lib/ehbrs_ruby_utils/videos/opensubtitles/processors/title.rb
325
330
  - lib/ehbrs_ruby_utils/videos/quality.rb
326
331
  - lib/ehbrs_ruby_utils/videos/resolution.rb
@@ -348,80 +353,6 @@ files:
348
353
  - lib/ehbrs_ruby_utils/web_utils/videos/file.rb
349
354
  - lib/ehbrs_ruby_utils/web_utils/videos/file/rename.rb
350
355
  - lib/ehbrs_ruby_utils/web_utils/videos/files_list.rb
351
- - spec/lib/ehbrs_ruby_utils/bga/parsers/game_in_progress_spec.rb
352
- - spec/lib/ehbrs_ruby_utils/bga/parsers/game_in_progress_spec_files/player_84920871_2023-06-12.source.html
353
- - spec/lib/ehbrs_ruby_utils/bga/parsers/game_in_progress_spec_files/player_84920871_2023-06-12.target.yaml
354
- - spec/lib/ehbrs_ruby_utils/bga/parsers/game_in_progress_spec_files/player_84920871_2023-06-19.source.html
355
- - spec/lib/ehbrs_ruby_utils/bga/parsers/game_in_progress_spec_files/player_84920871_2023-06-19.target.yaml
356
- - spec/lib/ehbrs_ruby_utils/bga/parsers/game_in_progress_spec_files/player_93167144_2023-06-12.source.html
357
- - spec/lib/ehbrs_ruby_utils/bga/parsers/game_in_progress_spec_files/player_93167144_2023-06-12.target.yaml
358
- - spec/lib/ehbrs_ruby_utils/bga/parsers/game_in_progress_spec_files/player_93205235_2023-06-12.source.html
359
- - spec/lib/ehbrs_ruby_utils/bga/parsers/game_in_progress_spec_files/player_93205235_2023-06-12.target.yaml
360
- - spec/lib/ehbrs_ruby_utils/bga/parsers/game_in_progress_spec_files/player_93212034_2023-06-12.source.html
361
- - spec/lib/ehbrs_ruby_utils/bga/parsers/game_in_progress_spec_files/player_93212034_2023-06-12.target.yaml
362
- - spec/lib/ehbrs_ruby_utils/bga/parsers/game_in_progress_spec_files/player_93223573_2023-06-12.source.html
363
- - spec/lib/ehbrs_ruby_utils/bga/parsers/game_in_progress_spec_files/player_93223573_2023-06-12.target.yaml
364
- - spec/lib/ehbrs_ruby_utils/bga/parsers/game_in_progress_spec_files/player_93248308_2023-06-12.source.html
365
- - spec/lib/ehbrs_ruby_utils/bga/parsers/game_in_progress_spec_files/player_93248308_2023-06-12.target.yaml
366
- - spec/lib/ehbrs_ruby_utils/bga/parsers/game_stats_spec.rb
367
- - spec/lib/ehbrs_ruby_utils/bga/parsers/game_stats_spec_files/1.source.html
368
- - spec/lib/ehbrs_ruby_utils/bga/parsers/game_stats_spec_files/1.target.yaml
369
- - spec/lib/ehbrs_ruby_utils/bga/parsers/game_stats_spec_files/2.source.html
370
- - spec/lib/ehbrs_ruby_utils/bga/parsers/game_stats_spec_files/2.target.yaml
371
- - spec/lib/ehbrs_ruby_utils/bga/parsers/table_spec.rb
372
- - spec/lib/ehbrs_ruby_utils/bga/parsers/table_spec_files/table_302873643.source.html
373
- - spec/lib/ehbrs_ruby_utils/bga/parsers/table_spec_files/table_302873643.target.yaml
374
- - spec/lib/ehbrs_ruby_utils/bga/parsers/table_spec_files/table_308782287.source.html
375
- - spec/lib/ehbrs_ruby_utils/bga/parsers/table_spec_files/table_308782287.target.yaml
376
- - spec/lib/ehbrs_ruby_utils/bga/parsers/table_spec_files/table_356513708.source.html
377
- - spec/lib/ehbrs_ruby_utils/bga/parsers/table_spec_files/table_356513708.target.yaml
378
- - spec/lib/ehbrs_ruby_utils/bga/parsers/table_spec_files/table_357408039.source.html
379
- - spec/lib/ehbrs_ruby_utils/bga/parsers/table_spec_files/table_357408039.target.yaml
380
- - spec/lib/ehbrs_ruby_utils/bga/parsers/table_spec_files/table_368448439.source.html
381
- - spec/lib/ehbrs_ruby_utils/bga/parsers/table_spec_files/table_368448439.target.yaml
382
- - spec/lib/ehbrs_ruby_utils/bga/parsers/table_spec_files/table_373602409.source.html
383
- - spec/lib/ehbrs_ruby_utils/bga/parsers/table_spec_files/table_373602409.target.yaml
384
- - spec/lib/ehbrs_ruby_utils/bga/parsers/table_spec_files/table_373747455.source.html
385
- - spec/lib/ehbrs_ruby_utils/bga/parsers/table_spec_files/table_373747455.target.yaml
386
- - spec/lib/ehbrs_ruby_utils/bga/parsers/table_spec_files/table_383405743.source.html
387
- - spec/lib/ehbrs_ruby_utils/bga/parsers/table_spec_files/table_383405743.target.yaml
388
- - spec/lib/ehbrs_ruby_utils/circular_list_spreader_spec.rb
389
- - spec/lib/ehbrs_ruby_utils/circular_list_spreader_spec_files/ehbrs_music1.source.yaml
390
- - spec/lib/ehbrs_ruby_utils/circular_list_spreader_spec_files/ehbrs_music1.target.yaml
391
- - spec/lib/ehbrs_ruby_utils/circular_list_spreader_spec_files/minimum.source.yaml
392
- - spec/lib/ehbrs_ruby_utils/circular_list_spreader_spec_files/minimum.target.yaml
393
- - spec/lib/ehbrs_ruby_utils/cooking_book/recipe/measure_spec.rb
394
- - spec/lib/ehbrs_ruby_utils/vg/wii/game_file_spec.rb
395
- - spec/lib/ehbrs_ruby_utils/vg/wii/wit/parsers/dump_spec.rb
396
- - spec/lib/ehbrs_ruby_utils/vg/wii/wit/parsers/dump_spec_files/pikmin2_R92P01_wia.source.witdump
397
- - spec/lib/ehbrs_ruby_utils/vg/wii/wit/parsers/dump_spec_files/pikmin2_R92P01_wia.target.yaml
398
- - spec/lib/ehbrs_ruby_utils/vg/wii/wit/parsers/dump_spec_files/pikmin2_pal_iso.source.witdump
399
- - spec/lib/ehbrs_ruby_utils/vg/wii/wit/parsers/dump_spec_files/pikmin2_pal_iso.target.yaml
400
- - spec/lib/ehbrs_ruby_utils/vg/wii/wit/parsers/dump_spec_files/resident_evil_code_veronica_disc2_iso.source.witdump
401
- - spec/lib/ehbrs_ruby_utils/vg/wii/wit/parsers/dump_spec_files/resident_evil_code_veronica_disc2_iso.target.yaml
402
- - spec/lib/ehbrs_ruby_utils/vg/wii/wit/parsers/dump_spec_files/super_mario_galaxy_wbfs.source.witdump
403
- - spec/lib/ehbrs_ruby_utils/vg/wii/wit/parsers/dump_spec_files/super_mario_galaxy_wbfs.target.yaml
404
- - spec/lib/ehbrs_ruby_utils/vg/wii/wit/path_spec.rb
405
- - spec/lib/ehbrs_ruby_utils/videos/opensubtitles/parsers/episode_spec.rb
406
- - spec/lib/ehbrs_ruby_utils/videos/opensubtitles/parsers/episode_spec_files/counterpart_s01e01.source.html
407
- - spec/lib/ehbrs_ruby_utils/videos/opensubtitles/parsers/episode_spec_files/counterpart_s01e01.target.yaml
408
- - spec/lib/ehbrs_ruby_utils/videos/opensubtitles/parsers/episode_spec_files/wire-season-1-page-1.source.html
409
- - spec/lib/ehbrs_ruby_utils/videos/opensubtitles/parsers/episode_spec_files/wire-season-1-page-1.target.yaml
410
- - spec/lib/ehbrs_ruby_utils/videos/opensubtitles/parsers/title_spec.rb
411
- - spec/lib/ehbrs_ruby_utils/videos/opensubtitles/parsers/title_spec_files/countepart.source.html
412
- - spec/lib/ehbrs_ruby_utils/videos/opensubtitles/parsers/title_spec_files/countepart.target.yaml
413
- - spec/lib/ehbrs_ruby_utils/videos/resolution_spec.rb
414
- - spec/lib/ehbrs_ruby_utils/videos/stream_spec.rb
415
- - spec/lib/ehbrs_ruby_utils/videos/stream_spec_files/menina_ovo_attachment.source.yaml
416
- - spec/lib/ehbrs_ruby_utils/videos/stream_spec_files/menina_ovo_attachment.target.yaml
417
- - spec/lib/ehbrs_ruby_utils/videos/stream_spec_files/menina_ovo_audio.source.yaml
418
- - spec/lib/ehbrs_ruby_utils/videos/stream_spec_files/menina_ovo_audio.target.yaml
419
- - spec/lib/ehbrs_ruby_utils/videos/stream_spec_files/menina_ovo_subtitle.source.yaml
420
- - spec/lib/ehbrs_ruby_utils/videos/stream_spec_files/menina_ovo_subtitle.target.yaml
421
- - spec/lib/ehbrs_ruby_utils/videos/stream_spec_files/menina_ovo_video.source.yaml
422
- - spec/lib/ehbrs_ruby_utils/videos/stream_spec_files/menina_ovo_video.target.yaml
423
- - spec/rubocop_check_spec.rb
424
- - spec/spec_helper.rb
425
356
  - template/ehbrs_ruby_utils/finances/bb_browser/docker_image/Dockerfile
426
357
  - template/ehbrs_ruby_utils/finances/bb_browser/docker_image/Makefile
427
358
  - template/ehbrs_ruby_utils/finances/bb_browser/docker_image/README.md
@@ -444,7 +375,7 @@ required_ruby_version: !ruby/object:Gem::Requirement
444
375
  requirements:
445
376
  - - ">="
446
377
  - !ruby/object:Gem::Version
447
- version: '0'
378
+ version: 2.7.0
448
379
  required_rubygems_version: !ruby/object:Gem::Requirement
449
380
  requirements:
450
381
  - - ">="
@@ -455,80 +386,4 @@ rubygems_version: 3.1.6
455
386
  signing_key:
456
387
  specification_version: 4
457
388
  summary: Utilities for EHB/RS's Ruby projects.
458
- test_files:
459
- - spec/spec_helper.rb
460
- - spec/lib/ehbrs_ruby_utils/vg/wii/wit/path_spec.rb
461
- - spec/lib/ehbrs_ruby_utils/vg/wii/wit/parsers/dump_spec.rb
462
- - spec/lib/ehbrs_ruby_utils/vg/wii/wit/parsers/dump_spec_files/pikmin2_pal_iso.source.witdump
463
- - spec/lib/ehbrs_ruby_utils/vg/wii/wit/parsers/dump_spec_files/resident_evil_code_veronica_disc2_iso.target.yaml
464
- - spec/lib/ehbrs_ruby_utils/vg/wii/wit/parsers/dump_spec_files/pikmin2_pal_iso.target.yaml
465
- - spec/lib/ehbrs_ruby_utils/vg/wii/wit/parsers/dump_spec_files/super_mario_galaxy_wbfs.target.yaml
466
- - spec/lib/ehbrs_ruby_utils/vg/wii/wit/parsers/dump_spec_files/super_mario_galaxy_wbfs.source.witdump
467
- - spec/lib/ehbrs_ruby_utils/vg/wii/wit/parsers/dump_spec_files/pikmin2_R92P01_wia.target.yaml
468
- - spec/lib/ehbrs_ruby_utils/vg/wii/wit/parsers/dump_spec_files/resident_evil_code_veronica_disc2_iso.source.witdump
469
- - spec/lib/ehbrs_ruby_utils/vg/wii/wit/parsers/dump_spec_files/pikmin2_R92P01_wia.source.witdump
470
- - spec/lib/ehbrs_ruby_utils/vg/wii/game_file_spec.rb
471
- - spec/lib/ehbrs_ruby_utils/cooking_book/recipe/measure_spec.rb
472
- - spec/lib/ehbrs_ruby_utils/circular_list_spreader_spec.rb
473
- - spec/lib/ehbrs_ruby_utils/videos/stream_spec_files/menina_ovo_attachment.target.yaml
474
- - spec/lib/ehbrs_ruby_utils/videos/stream_spec_files/menina_ovo_subtitle.target.yaml
475
- - spec/lib/ehbrs_ruby_utils/videos/stream_spec_files/menina_ovo_attachment.source.yaml
476
- - spec/lib/ehbrs_ruby_utils/videos/stream_spec_files/menina_ovo_video.source.yaml
477
- - spec/lib/ehbrs_ruby_utils/videos/stream_spec_files/menina_ovo_subtitle.source.yaml
478
- - spec/lib/ehbrs_ruby_utils/videos/stream_spec_files/menina_ovo_video.target.yaml
479
- - spec/lib/ehbrs_ruby_utils/videos/stream_spec_files/menina_ovo_audio.target.yaml
480
- - spec/lib/ehbrs_ruby_utils/videos/stream_spec_files/menina_ovo_audio.source.yaml
481
- - spec/lib/ehbrs_ruby_utils/videos/resolution_spec.rb
482
- - spec/lib/ehbrs_ruby_utils/videos/opensubtitles/parsers/episode_spec.rb
483
- - spec/lib/ehbrs_ruby_utils/videos/opensubtitles/parsers/title_spec.rb
484
- - spec/lib/ehbrs_ruby_utils/videos/opensubtitles/parsers/episode_spec_files/counterpart_s01e01.target.yaml
485
- - spec/lib/ehbrs_ruby_utils/videos/opensubtitles/parsers/episode_spec_files/wire-season-1-page-1.target.yaml
486
- - spec/lib/ehbrs_ruby_utils/videos/opensubtitles/parsers/episode_spec_files/counterpart_s01e01.source.html
487
- - spec/lib/ehbrs_ruby_utils/videos/opensubtitles/parsers/episode_spec_files/wire-season-1-page-1.source.html
488
- - spec/lib/ehbrs_ruby_utils/videos/opensubtitles/parsers/title_spec_files/countepart.source.html
489
- - spec/lib/ehbrs_ruby_utils/videos/opensubtitles/parsers/title_spec_files/countepart.target.yaml
490
- - spec/lib/ehbrs_ruby_utils/videos/stream_spec.rb
491
- - spec/lib/ehbrs_ruby_utils/bga/parsers/table_spec_files/table_308782287.target.yaml
492
- - spec/lib/ehbrs_ruby_utils/bga/parsers/table_spec_files/table_383405743.target.yaml
493
- - spec/lib/ehbrs_ruby_utils/bga/parsers/table_spec_files/table_368448439.target.yaml
494
- - spec/lib/ehbrs_ruby_utils/bga/parsers/table_spec_files/table_383405743.source.html
495
- - spec/lib/ehbrs_ruby_utils/bga/parsers/table_spec_files/table_356513708.source.html
496
- - spec/lib/ehbrs_ruby_utils/bga/parsers/table_spec_files/table_357408039.source.html
497
- - spec/lib/ehbrs_ruby_utils/bga/parsers/table_spec_files/table_356513708.target.yaml
498
- - spec/lib/ehbrs_ruby_utils/bga/parsers/table_spec_files/table_373747455.target.yaml
499
- - spec/lib/ehbrs_ruby_utils/bga/parsers/table_spec_files/table_302873643.target.yaml
500
- - spec/lib/ehbrs_ruby_utils/bga/parsers/table_spec_files/table_373747455.source.html
501
- - spec/lib/ehbrs_ruby_utils/bga/parsers/table_spec_files/table_302873643.source.html
502
- - spec/lib/ehbrs_ruby_utils/bga/parsers/table_spec_files/table_373602409.target.yaml
503
- - spec/lib/ehbrs_ruby_utils/bga/parsers/table_spec_files/table_308782287.source.html
504
- - spec/lib/ehbrs_ruby_utils/bga/parsers/table_spec_files/table_368448439.source.html
505
- - spec/lib/ehbrs_ruby_utils/bga/parsers/table_spec_files/table_373602409.source.html
506
- - spec/lib/ehbrs_ruby_utils/bga/parsers/table_spec_files/table_357408039.target.yaml
507
- - spec/lib/ehbrs_ruby_utils/bga/parsers/game_stats_spec_files/1.source.html
508
- - spec/lib/ehbrs_ruby_utils/bga/parsers/game_stats_spec_files/2.target.yaml
509
- - spec/lib/ehbrs_ruby_utils/bga/parsers/game_stats_spec_files/1.target.yaml
510
- - spec/lib/ehbrs_ruby_utils/bga/parsers/game_stats_spec_files/2.source.html
511
- - spec/lib/ehbrs_ruby_utils/bga/parsers/game_in_progress_spec_files/player_93248308_2023-06-12.target.yaml
512
- - spec/lib/ehbrs_ruby_utils/bga/parsers/game_in_progress_spec_files/player_84920871_2023-06-12.target.yaml
513
- - spec/lib/ehbrs_ruby_utils/bga/parsers/game_in_progress_spec_files/player_84920871_2023-06-19.target.yaml
514
- - spec/lib/ehbrs_ruby_utils/bga/parsers/game_in_progress_spec_files/player_84920871_2023-06-19.source.html
515
- - spec/lib/ehbrs_ruby_utils/bga/parsers/game_in_progress_spec_files/player_93205235_2023-06-12.target.yaml
516
- - spec/lib/ehbrs_ruby_utils/bga/parsers/game_in_progress_spec_files/player_93167144_2023-06-12.source.html
517
- - spec/lib/ehbrs_ruby_utils/bga/parsers/game_in_progress_spec_files/player_84920871_2023-06-12.source.html
518
- - spec/lib/ehbrs_ruby_utils/bga/parsers/game_in_progress_spec_files/player_93167144_2023-06-12.target.yaml
519
- - spec/lib/ehbrs_ruby_utils/bga/parsers/game_in_progress_spec_files/player_93248308_2023-06-12.source.html
520
- - spec/lib/ehbrs_ruby_utils/bga/parsers/game_in_progress_spec_files/player_93223573_2023-06-12.target.yaml
521
- - spec/lib/ehbrs_ruby_utils/bga/parsers/game_in_progress_spec_files/player_93205235_2023-06-12.source.html
522
- - spec/lib/ehbrs_ruby_utils/bga/parsers/game_in_progress_spec_files/player_93223573_2023-06-12.source.html
523
- - spec/lib/ehbrs_ruby_utils/bga/parsers/game_in_progress_spec_files/player_93212034_2023-06-12.source.html
524
- - spec/lib/ehbrs_ruby_utils/bga/parsers/game_in_progress_spec_files/player_93212034_2023-06-12.target.yaml
525
- - spec/lib/ehbrs_ruby_utils/bga/parsers/game_in_progress_spec.rb
526
- - spec/lib/ehbrs_ruby_utils/bga/parsers/game_stats_spec.rb
527
- - spec/lib/ehbrs_ruby_utils/bga/parsers/table_spec.rb
528
- - spec/lib/ehbrs_ruby_utils/circular_list_spreader_spec_files/minimum.source.yaml
529
- - spec/lib/ehbrs_ruby_utils/circular_list_spreader_spec_files/minimum.target.yaml
530
- - spec/lib/ehbrs_ruby_utils/circular_list_spreader_spec_files/ehbrs_music1.target.yaml
531
- - spec/lib/ehbrs_ruby_utils/circular_list_spreader_spec_files/ehbrs_music1.source.yaml
532
- - spec/rubocop_check_spec.rb
533
- - ".rubocop.yml"
534
- - ".rspec"
389
+ test_files: []
data/.rspec DELETED
@@ -1 +0,0 @@
1
- --require spec_helper