ehbrs-tools 0.35.0 → 0.36.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (44) hide show
  1. checksums.yaml +4 -4
  2. data/Gemfile.lock +139 -149
  3. data/lib/ehbrs/telegram/message_sending.rb +1 -2
  4. data/lib/ehbrs/tools/core_ext.rb +0 -1
  5. data/lib/ehbrs/tools/runner/cooking_book/build.rb +2 -2
  6. data/lib/ehbrs/tools/runner/cooking_book.rb +2 -2
  7. data/lib/ehbrs/tools/runner/vg/wii.rb +4 -4
  8. data/lib/ehbrs/tools/runner/web_utils/videos/download.rb +0 -4
  9. data/lib/ehbrs/tools/runner/web_utils/videos/upload.rb +6 -11
  10. data/lib/ehbrs/tools/version.rb +1 -1
  11. metadata +29 -80
  12. data/lib/ehbrs/cooking_book/build/base_page.rb +0 -42
  13. data/lib/ehbrs/cooking_book/build/index_page.rb +0 -26
  14. data/lib/ehbrs/cooking_book/build/recipe_page.rb +0 -26
  15. data/lib/ehbrs/cooking_book/build.rb +0 -45
  16. data/lib/ehbrs/cooking_book/project.rb +0 -31
  17. data/lib/ehbrs/cooking_book/recipe/ingredient.rb +0 -21
  18. data/lib/ehbrs/cooking_book/recipe/measure.rb +0 -60
  19. data/lib/ehbrs/cooking_book/recipe/part.rb +0 -32
  20. data/lib/ehbrs/cooking_book/recipe.rb +0 -37
  21. data/lib/ehbrs/cooking_book.rb +0 -9
  22. data/lib/ehbrs/patches/object/template.rb +0 -7
  23. data/lib/ehbrs/patches.rb +0 -4
  24. data/lib/ehbrs/vg/wii/file_move.rb +0 -89
  25. data/lib/ehbrs/vg/wii/game_file.rb +0 -87
  26. data/lib/ehbrs/vg/wii/wit/image_format.rb +0 -46
  27. data/lib/ehbrs/vg/wii/wit/parsers/dump.rb +0 -67
  28. data/lib/ehbrs/vg/wii/wit/parsers/info.rb +0 -39
  29. data/lib/ehbrs/vg/wii/wit/path.rb +0 -55
  30. data/lib/ehbrs/vg/wii/wit.rb +0 -13
  31. data/lib/ehbrs/vg/wii.rb +0 -11
  32. data/lib/ehbrs/vg.rb +0 -9
  33. data/spec/lib/ehbrs/cooking_book/recipe/measure_spec.rb +0 -21
  34. data/spec/lib/ehbrs/vg/wii/game_file_spec.rb +0 -21
  35. data/spec/lib/ehbrs/vg/wii/wit/parsers/dump_spec.rb +0 -11
  36. data/spec/lib/ehbrs/vg/wii/wit/parsers/dump_spec_files/pikmin2_R92P01_wia.source.witdump +0 -27
  37. data/spec/lib/ehbrs/vg/wii/wit/parsers/dump_spec_files/pikmin2_R92P01_wia.target.yaml +0 -22
  38. data/spec/lib/ehbrs/vg/wii/wit/parsers/dump_spec_files/pikmin2_pal_iso.source.witdump +0 -28
  39. data/spec/lib/ehbrs/vg/wii/wit/parsers/dump_spec_files/pikmin2_pal_iso.target.yaml +0 -21
  40. data/spec/lib/ehbrs/vg/wii/wit/parsers/dump_spec_files/resident_evil_code_veronica_disc2_iso.source.witdump +0 -16
  41. data/spec/lib/ehbrs/vg/wii/wit/parsers/dump_spec_files/resident_evil_code_veronica_disc2_iso.target.yaml +0 -19
  42. data/spec/lib/ehbrs/vg/wii/wit/parsers/dump_spec_files/super_mario_galaxy_wbfs.source.witdump +0 -28
  43. data/spec/lib/ehbrs/vg/wii/wit/parsers/dump_spec_files/super_mario_galaxy_wbfs.target.yaml +0 -23
  44. data/spec/lib/ehbrs/vg/wii/wit/path_spec.rb +0 -33
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: d78056d7a130e8950f026ebe3cf1665570287c56b1786c90d5d5b534d27ce2e2
4
- data.tar.gz: e1ddc5d688b88dccc0e744763972c67558d75e403e8d25b26c9c16b8318ebd59
3
+ metadata.gz: 63748225b0c7e543d9294367c0cc6dae66a1d7c3c8c1149894e2a966516095c1
4
+ data.tar.gz: 2145d3e7fed0cae5ebaa838c318b106576021947937a6e7935394e63a0a8fc80
5
5
  SHA512:
6
- metadata.gz: 86648f427adaa4a9b107f12b650332b281455652597c1ab1fc232ca49842b79524c9d2c27ed4077f3e18e03fc63f56e5e7a56963bce5b5ad3699eaea2aa04f30
7
- data.tar.gz: b09cbfad7a04969b3cdd4bb616c9ca0de828b654633e0bc3473b9a893923546b30f058541b57132ae5cb8924506a720aa4427d983564088aa4d84894ee4f053e
6
+ metadata.gz: 0c275d490fd1df345bb785c4bc2d3a04701ee1105bbd3705538dc287865b5c1cfd6b817be7a53c11028ca70068f8bc0d792c753bf4e594f4691b0980b03f680f
7
+ data.tar.gz: 6e5e0e9fe837702e4b3839263fcf7922757a8c6ac42818ef66273184a41320ca43c0dd6b6accb83682f836d52b3026913c5840422baa3ed56004c58234a19e0e
data/Gemfile.lock CHANGED
@@ -1,241 +1,237 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- ehbrs-tools (0.35.0)
5
- avm-tools (~> 0.145, >= 0.145.1)
6
- eac_cli (~> 0.30, >= 0.30.1)
7
- eac_ruby_utils (~> 0.112)
8
- ehbrs_ruby_utils (~> 0.21)
4
+ ehbrs-tools (0.36.0)
5
+ avm-tools (~> 0.156)
6
+ eac_cli (~> 0.38)
7
+ eac_ruby_utils (~> 0.119, >= 0.119.2)
8
+ ehbrs_ruby_utils (~> 0.33)
9
9
  filesize (~> 0.2)
10
10
  inifile (~> 3.0)
11
11
  os (~> 1.1, >= 1.1.4)
12
12
  telegram-bot-ruby (~> 0.23)
13
13
 
14
- PATH
15
- remote: sub/eac_cli
16
- specs:
17
- eac_cli (0.30.1)
18
- colorize (~> 0.8, >= 0.8.1)
19
- eac_config (~> 0.12)
20
- eac_ruby_utils (~> 0.112)
21
-
22
- PATH
23
- remote: sub/eac_docker
24
- specs:
25
- eac_docker (0.6.0)
26
- eac_ruby_utils (~> 0.112)
27
- eac_templates (~> 0.3, >= 0.3.2)
28
-
29
- PATH
30
- remote: sub/eac_rest
31
- specs:
32
- eac_rest (0.7.0)
33
- eac_fs (~> 0.16)
34
- eac_ruby_utils (~> 0.112)
35
- faraday (~> 2.7, >= 2.7.4)
36
- faraday-multipart (~> 1.0, >= 1.0.4)
37
-
38
- PATH
39
- remote: sub/eac_ruby_base0
40
- specs:
41
- eac_ruby_base0 (0.17.3)
42
- avm-eac_ruby_base1 (~> 0.29)
43
- eac_cli (~> 0.30, >= 0.30.1)
44
- eac_fs (~> 0.16)
45
- eac_ruby_utils (~> 0.112)
46
-
47
- PATH
48
- remote: sub/eac_ruby_utils
49
- specs:
50
- eac_ruby_utils (0.112.0)
51
- activesupport (>= 4, < 7)
52
- addressable (~> 2.8, >= 2.8.1)
53
- bundler
54
- filesize (~> 0.2)
55
- net-ssh (~> 4.2)
56
-
57
- PATH
58
- remote: sub/eac_templates
59
- specs:
60
- eac_templates (0.3.2)
61
- eac_config (~> 0.11, >= 0.11.1)
62
- eac_ruby_utils (~> 0.102, >= 0.102.1)
63
-
64
14
  PATH
65
15
  remote: sub/ehbrs_ruby_utils
66
16
  specs:
67
- ehbrs_ruby_utils (0.21.0)
68
- aranha (~> 0.19)
69
- aranha-parsers (~> 0.15)
70
- avm (~> 0.62)
17
+ ehbrs_ruby_utils (0.33.0)
18
+ aranha (~> 0.19, >= 0.19.2)
19
+ aranha-parsers (~> 0.21)
20
+ aranha-selenium (~> 0.7)
21
+ avm (~> 0.79)
22
+ dentaku (~> 3.5, >= 3.5.1)
71
23
  eac_fs (~> 0.16)
72
- eac_ruby_utils (~> 0.112)
73
- eac_templates (~> 0.3, >= 0.3.2)
24
+ eac_rest (~> 0.10)
25
+ eac_ruby_utils (~> 0.119, >= 0.119.2)
26
+ eac_templates (~> 0.5)
74
27
  taglib-ruby (~> 1.1, >= 1.1.3)
75
28
  ultimate_lyrics (~> 0.1, >= 0.1.3)
76
29
 
77
30
  GEM
78
31
  remote: https://rubygems.org/
79
32
  specs:
80
- activesupport (6.1.7.2)
33
+ activesupport (6.1.7.6)
81
34
  concurrent-ruby (~> 1.0, >= 1.0.2)
82
35
  i18n (>= 1.6, < 2)
83
36
  minitest (>= 5.1)
84
37
  tzinfo (~> 2.0)
85
38
  zeitwerk (~> 2.3)
86
- addressable (2.8.1)
39
+ addressable (2.8.5)
87
40
  public_suffix (>= 2.0.2, < 6.0)
88
- aranha (0.19.0)
89
- aranha-parsers (~> 0.15)
41
+ aranha (0.19.2)
42
+ aranha-parsers (~> 0.18)
90
43
  aranha-selenium (~> 0.5)
91
- eac_ruby_utils (~> 0.112)
92
- aranha-parsers (0.15.0)
44
+ eac_ruby_utils (~> 0.116)
45
+ aranha-parsers (0.21.0)
93
46
  activesupport (>= 4.0.0)
94
- addressable (~> 2.8, >= 2.8.1)
95
- eac_ruby_utils (~> 0.112)
96
- faraday (~> 2.7, >= 2.7.4)
97
- faraday-gzip (~> 0.1)
98
- nokogiri (~> 1.14)
47
+ addressable (~> 2.8, >= 2.8.4)
48
+ eac_envs-http (~> 0.4)
49
+ eac_ruby_utils (~> 0.117, >= 0.117.1)
50
+ nokogiri (~> 1.15, >= 1.15.2)
99
51
  ofx-parser (~> 1.1)
100
- aranha-selenium (0.5.0)
101
- eac_ruby_utils (~> 0.106, >= 0.106.1)
52
+ aranha-selenium (0.7.0)
53
+ eac_ruby_utils (~> 0.117, >= 0.117.1)
102
54
  selenium-webdriver (~> 3.142, >= 3.142.7)
103
55
  ast (2.4.2)
104
- avm (0.62.0)
105
- aranha-parsers (~> 0.14, >= 0.14.4)
106
- eac_cli (~> 0.30)
107
- eac_config (~> 0.12)
108
- eac_docker (~> 0.5)
56
+ avm (0.80.0)
57
+ aranha-parsers (~> 0.21)
58
+ eac_cli (~> 0.38)
59
+ eac_config (~> 0.14, >= 0.14.1)
60
+ eac_docker (~> 0.7)
109
61
  eac_fs (~> 0.16)
110
- eac_git (~> 0.14)
111
- eac_ruby_utils (~> 0.111)
112
- eac_templates (~> 0.3, >= 0.3.2)
62
+ eac_git (~> 0.14, >= 0.14.1)
63
+ eac_ruby_utils (~> 0.119, >= 0.119.2)
64
+ eac_templates (~> 0.5)
113
65
  filesize (~> 0.2)
114
66
  htmlbeautifier (~> 1.4, >= 1.4.2)
115
67
  minitar (~> 0.9)
116
- avm-eac_generic_base0 (0.10.0)
117
- avm (~> 0.61)
118
- eac_ruby_utils (~> 0.110, >= 0.110.1)
119
- avm-eac_ruby_base1 (0.29.0)
120
- avm (~> 0.61)
121
- avm-eac_generic_base0 (~> 0.10)
122
- eac_ruby_utils (~> 0.110, >= 0.110.1)
123
- avm-eac_ubuntu_base0 (0.4.0)
124
- avm (~> 0.57)
125
- eac_ruby_utils (~> 0.109)
126
- eac_templates (~> 0.3, >= 0.3.2)
127
- avm-files (0.6.0)
128
- avm (~> 0.52)
129
- eac_cli (~> 0.28)
130
- eac_fs (~> 0.12, >= 0.12.3)
131
- eac_ruby_utils (~> 0.106)
132
- eac_templates (~> 0.3, >= 0.3.2)
133
- avm-git (0.12.0)
134
- avm (~> 0.61)
135
- avm-files (~> 0.6)
136
- eac_git (~> 0.14)
137
- eac_ruby_utils (~> 0.110, >= 0.110.1)
138
- git (~> 1.13, >= 1.13.1)
139
- avm-tools (0.145.1)
140
- aranha-parsers (~> 0.14, >= 0.14.4)
141
- avm (~> 0.62)
142
- avm-eac_ruby_base1 (~> 0.29)
143
- avm-eac_ubuntu_base0 (~> 0.4)
144
- avm-files (~> 0.6)
145
- avm-git (~> 0.12)
68
+ avm-eac_generic_base0 (0.12.1)
69
+ avm (~> 0.79)
70
+ eac_ruby_utils (~> 0.119, >= 0.119.2)
71
+ avm-eac_ruby_base1 (0.32.1)
72
+ aranha-parsers (~> 0.21)
73
+ avm (~> 0.80)
74
+ avm-eac_generic_base0 (~> 0.12, >= 0.12.1)
75
+ eac_envs-http (~> 0.4, >= 0.4.1)
76
+ eac_ruby_utils (~> 0.119, >= 0.119.2)
77
+ avm-eac_ubuntu_base0 (0.5.0)
78
+ avm (~> 0.77)
79
+ eac_ruby_utils (~> 0.117, >= 0.117.1)
80
+ eac_templates (~> 0.5)
81
+ avm-files (0.6.2)
82
+ avm (~> 0.67, >= 0.67.1)
83
+ eac_cli (~> 0.30, >= 0.30.1)
84
+ eac_fs (~> 0.16)
85
+ eac_ruby_utils (~> 0.112)
86
+ eac_templates (~> 0.5)
87
+ avm-git (0.13.4)
88
+ avm (~> 0.79)
89
+ avm-files (~> 0.6, >= 0.6.2)
90
+ eac_git (~> 0.14, >= 0.14.1)
91
+ eac_ruby_utils (~> 0.119, >= 0.119.1)
92
+ git (~> 1.18)
93
+ avm-tools (0.156.0)
94
+ aranha-parsers (~> 0.21)
95
+ avm (~> 0.80)
96
+ avm-eac_ruby_base1 (~> 0.32, >= 0.32.1)
97
+ avm-eac_ubuntu_base0 (~> 0.5)
98
+ avm-files (~> 0.6, >= 0.6.2)
99
+ avm-git (~> 0.13, >= 0.13.4)
146
100
  clipboard (~> 1.3, >= 1.3.6)
147
101
  curb (~> 0.9, >= 0.9.11)
148
- eac_git (~> 0.14)
149
- eac_ruby_base0 (~> 0.17, >= 0.17.2)
150
- eac_templates (~> 0.3, >= 0.3.2)
151
- git (~> 1.13, >= 1.13.1)
152
- ruby-progressbar (~> 1.11)
102
+ eac_git (~> 0.14, >= 0.14.1)
103
+ eac_ruby_base0 (~> 0.19)
104
+ eac_templates (~> 0.5)
105
+ git (~> 1.18)
106
+ ruby-progressbar (~> 1.13)
153
107
  axiom-types (0.1.1)
154
108
  descendants_tracker (~> 0.0.4)
155
109
  ice_nine (~> 0.11.0)
156
110
  thread_safe (~> 0.3, >= 0.3.1)
111
+ base64 (0.1.1)
157
112
  childprocess (3.0.0)
158
113
  clipboard (1.3.6)
159
114
  coercible (1.0.0)
160
115
  descendants_tracker (~> 0.0.1)
161
116
  colorize (0.8.1)
162
- concurrent-ruby (1.2.0)
117
+ concurrent-ruby (1.2.2)
163
118
  content-type (0.0.2)
164
119
  parslet (~> 2.0)
165
120
  curb (0.9.11)
121
+ dentaku (3.5.1)
122
+ concurrent-ruby
166
123
  descendants_tracker (0.0.4)
167
124
  thread_safe (~> 0.3, >= 0.3.1)
168
125
  diff-lcs (1.5.0)
169
126
  dry-inflector (1.0.0)
170
- eac_config (0.12.0)
171
- addressable (~> 2.8, >= 2.8.1)
172
- eac_ruby_utils (~> 0.107)
127
+ eac_cli (0.38.0)
128
+ colorize (~> 0.8, >= 0.8.1)
129
+ eac_config (~> 0.14)
130
+ eac_ruby_utils (~> 0.119, >= 0.119.2)
131
+ eac_config (0.14.1)
132
+ addressable (~> 2.8, >= 2.8.5)
133
+ eac_ruby_utils (~> 0.119, >= 0.119.2)
134
+ eac_docker (0.7.0)
135
+ eac_ruby_utils (~> 0.112)
136
+ eac_templates (~> 0.3, >= 0.3.2)
137
+ eac_envs-http (0.4.1)
138
+ eac_fs (~> 0.16)
139
+ eac_ruby_utils (~> 0.119, >= 0.119.1)
140
+ faraday (~> 2.7, >= 2.7.10)
141
+ faraday-follow_redirects (~> 0.3)
142
+ faraday-gzip (~> 0.1)
143
+ faraday-multipart (~> 1.0, >= 1.0.4)
144
+ faraday-retry (~> 2.2)
173
145
  eac_fs (0.16.0)
174
146
  content-type (~> 0.0, >= 0.0.2)
175
147
  eac_ruby_utils (~> 0.107, >= 0.107.1)
176
148
  ruby-filemagic (~> 0.7, >= 0.7.3)
177
- eac_git (0.14.0)
178
- eac_ruby_utils (~> 0.107)
149
+ eac_git (0.14.1)
150
+ eac_ruby_utils (~> 0.112)
179
151
  parseconfig (~> 1.1, >= 1.1.2)
152
+ eac_rest (0.10.0)
153
+ eac_envs-http (~> 0.4, >= 0.4.1)
154
+ eac_fs (~> 0.16)
155
+ eac_ruby_utils (~> 0.119, >= 0.119.1)
156
+ eac_ruby_base0 (0.19.0)
157
+ avm-eac_ruby_base1 (~> 0.30, >= 0.30.3)
158
+ eac_cli (~> 0.35)
159
+ eac_fs (~> 0.16)
160
+ eac_ruby_utils (~> 0.117)
180
161
  eac_ruby_gem_support (0.5.1)
181
162
  eac_ruby_utils (~> 0.74)
182
163
  rspec (~> 3.9)
183
164
  rubocop (~> 0.80.1)
184
165
  rubocop-rails (~> 2.4.2)
185
166
  rubocop-rspec (~> 1.38.1)
186
- faraday (2.7.4)
167
+ eac_ruby_utils (0.119.2)
168
+ activesupport (>= 4, < 7)
169
+ addressable (~> 2.8, >= 2.8.5)
170
+ bundler
171
+ filesize (~> 0.2)
172
+ net-ssh (~> 4.2)
173
+ eac_templates (0.5.0)
174
+ eac_config (~> 0.12)
175
+ eac_ruby_utils (~> 0.112)
176
+ faraday (2.7.11)
177
+ base64
187
178
  faraday-net_http (>= 2.0, < 3.1)
188
179
  ruby2_keywords (>= 0.0.4)
180
+ faraday-follow_redirects (0.3.0)
181
+ faraday (>= 1, < 3)
189
182
  faraday-gzip (0.1.0)
190
183
  faraday (>= 1.0)
191
184
  zlib (~> 2.1)
192
185
  faraday-multipart (1.0.4)
193
186
  multipart-post (~> 2)
194
187
  faraday-net_http (3.0.2)
188
+ faraday-retry (2.2.0)
189
+ faraday (~> 2.0)
195
190
  filesize (0.2.0)
196
- git (1.13.1)
191
+ git (1.18.0)
197
192
  addressable (~> 2.8)
198
193
  rchardet (~> 1.8)
199
194
  hpricot (0.8.6)
200
195
  htmlbeautifier (1.4.2)
201
- i18n (1.12.0)
196
+ i18n (1.14.1)
202
197
  concurrent-ruby (~> 1.0)
203
198
  ice_nine (0.11.2)
204
199
  inifile (3.0.0)
205
- jaro_winkler (1.5.4)
200
+ jaro_winkler (1.5.6)
206
201
  minitar (0.9)
207
- minitest (5.17.0)
202
+ minitest (5.20.0)
208
203
  multipart-post (2.3.0)
209
204
  net-ssh (4.2.0)
210
- nokogiri (1.14.1-x86_64-linux)
205
+ nokogiri (1.15.4-x86_64-linux)
211
206
  racc (~> 1.4)
212
207
  ofx-parser (1.1.0)
213
208
  hpricot (>= 0.6)
214
209
  os (1.1.4)
215
- parallel (1.22.1)
210
+ parallel (1.23.0)
216
211
  parseconfig (1.1.2)
217
- parser (3.2.0.0)
212
+ parser (3.2.2.4)
218
213
  ast (~> 2.4.1)
214
+ racc
219
215
  parslet (2.0.0)
220
- public_suffix (5.0.1)
221
- racc (1.6.2)
222
- rack (3.0.4.1)
216
+ public_suffix (5.0.3)
217
+ racc (1.7.1)
218
+ rack (3.0.8)
223
219
  rainbow (3.1.1)
224
220
  rchardet (1.8.0)
225
- rexml (3.2.5)
221
+ rexml (3.2.6)
226
222
  rspec (3.12.0)
227
223
  rspec-core (~> 3.12.0)
228
224
  rspec-expectations (~> 3.12.0)
229
225
  rspec-mocks (~> 3.12.0)
230
- rspec-core (3.12.0)
226
+ rspec-core (3.12.2)
231
227
  rspec-support (~> 3.12.0)
232
- rspec-expectations (3.12.2)
228
+ rspec-expectations (3.12.3)
233
229
  diff-lcs (>= 1.2.0, < 2.0)
234
230
  rspec-support (~> 3.12.0)
235
- rspec-mocks (3.12.3)
231
+ rspec-mocks (3.12.6)
236
232
  diff-lcs (>= 1.2.0, < 2.0)
237
233
  rspec-support (~> 3.12.0)
238
- rspec-support (3.12.0)
234
+ rspec-support (3.12.1)
239
235
  rubocop (0.80.1)
240
236
  jaro_winkler (~> 1.5.1)
241
237
  parallel (~> 1.10)
@@ -250,7 +246,7 @@ GEM
250
246
  rubocop-rspec (1.38.1)
251
247
  rubocop (>= 0.68.1)
252
248
  ruby-filemagic (0.7.3)
253
- ruby-progressbar (1.11.0)
249
+ ruby-progressbar (1.13.0)
254
250
  ruby2_keywords (0.0.5)
255
251
  rubyzip (2.3.2)
256
252
  selenium-webdriver (3.142.7)
@@ -273,22 +269,16 @@ GEM
273
269
  axiom-types (~> 0.1)
274
270
  coercible (~> 1.0)
275
271
  descendants_tracker (~> 0.0, >= 0.0.3)
276
- zeitwerk (2.6.6)
272
+ zeitwerk (2.6.12)
277
273
  zlib (2.1.1)
278
274
 
279
275
  PLATFORMS
280
276
  x86_64-linux
281
277
 
282
278
  DEPENDENCIES
283
- eac_cli!
284
- eac_docker!
285
- eac_rest!
286
- eac_ruby_base0!
287
- eac_ruby_gem_support (~> 0.3)
288
- eac_ruby_utils!
289
- eac_templates!
279
+ eac_ruby_gem_support (~> 0.5.1)
290
280
  ehbrs-tools!
291
281
  ehbrs_ruby_utils!
292
282
 
293
283
  BUNDLED WITH
294
- 2.3.26
284
+ 2.4.19
@@ -1,13 +1,12 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  require 'eac_ruby_utils/core_ext'
4
- require 'eac_ruby_utils/immutable'
5
4
  require 'telegram/bot'
6
5
 
7
6
  module Ehbrs
8
7
  module Telegram
9
8
  class MessageSending
10
- include ::EacRubyUtils::Immutable
9
+ acts_as_immutable
11
10
  immutable_accessor :bot_token, :message
12
11
  immutable_accessor :recipient_id, type: :array
13
12
 
@@ -1,4 +1,3 @@
1
1
  # frozen_string_literal: true
2
2
 
3
- require 'ehbrs/patches'
4
3
  require 'eac_ruby_base0/core_ext'
@@ -1,7 +1,7 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  require 'eac_cli/core_ext'
4
- require 'ehbrs/cooking_book/build'
4
+ require 'ehbrs_ruby_utils/cooking_book/build'
5
5
  require 'os'
6
6
 
7
7
  module Ehbrs
@@ -25,7 +25,7 @@ module Ehbrs
25
25
  private
26
26
 
27
27
  def build_uncached
28
- ::Ehbrs::CookingBook::Build.new(
28
+ ::EhbrsRubyUtils::CookingBook::Build.new(
29
29
  runner_context.call(:project), target_dir: parsed.target_dir
30
30
  )
31
31
  end
@@ -1,7 +1,7 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  require 'eac_cli/core_ext'
4
- require 'ehbrs/cooking_book/project'
4
+ require 'ehbrs_ruby_utils/cooking_book/project'
5
5
 
6
6
  module Ehbrs
7
7
  module Tools
@@ -24,7 +24,7 @@ module Ehbrs
24
24
  end
25
25
 
26
26
  def project_uncached
27
- ::Ehbrs::CookingBook::Project.new(source_dir)
27
+ ::EhbrsRubyUtils::CookingBook::Project.new(source_dir)
28
28
  end
29
29
  end
30
30
  end
@@ -2,8 +2,8 @@
2
2
 
3
3
  require 'eac_cli/core_ext'
4
4
  require 'eac_fs/traversable'
5
- require 'ehbrs/vg/wii/file_move'
6
- require 'ehbrs/vg/wii/game_file'
5
+ require 'ehbrs_ruby_utils/vg/wii/file_move'
6
+ require 'ehbrs_ruby_utils/vg/wii/game_file'
7
7
 
8
8
  module Ehbrs
9
9
  module Tools
@@ -45,7 +45,7 @@ module Ehbrs
45
45
  def move(game)
46
46
  return if move_arg.blank?
47
47
 
48
- file_move = ::Ehbrs::Vg::Wii::FileMove.new(game, game.format(move_arg))
48
+ file_move = ::EhbrsRubyUtils::Vg::Wii::FileMove.new(game, game.format(move_arg))
49
49
  infov ' * Target path',
50
50
  file_move.target.to_s.colorize(file_move.change? ? :light_white : :light_black)
51
51
  file_move.run if confirm?
@@ -60,7 +60,7 @@ module Ehbrs
60
60
  end
61
61
 
62
62
  def traverser_check_file(path)
63
- game = ::Ehbrs::Vg::Wii::GameFile.new(path)
63
+ game = ::EhbrsRubyUtils::Vg::Wii::GameFile.new(path)
64
64
  return unless game.valid?
65
65
 
66
66
  infom game.wit_path
@@ -61,10 +61,6 @@ module Ehbrs
61
61
  end
62
62
 
63
63
  def data_uncached
64
- ::JSON.parse(raw_content)
65
- end
66
-
67
- def raw_content
68
64
  runner_context.call(:instance).http_request('/videos/files/export').body
69
65
  end
70
66
  end
@@ -24,7 +24,7 @@ module Ehbrs
24
24
  infom "Uploading \"#{type}\" files list..."
25
25
  files_list_path = send("#{type}_files_list")
26
26
  infov 'Path', files_list_path
27
- process_response(upload_request(files_list_path))
27
+ process_response(files_list_path)
28
28
  end
29
29
 
30
30
  def upload_request(files_list_path)
@@ -40,16 +40,11 @@ module Ehbrs
40
40
  )
41
41
  end
42
42
 
43
- def process_response(response)
44
- infov 'Response status', response.status
45
- if response.status == 200
46
- pp ::JSON.parse(response.body)
47
- else
48
- error_file = '/tmp/ehbrsutils.html'
49
- ::File.write(error_file, response.body)
50
- system('firefox', error_file)
51
- fatal_error('Retornou com status de erro: ' + error_file)
52
- end
43
+ def process_response(files_list_path)
44
+ upload_request(files_list_path).body
45
+ rescue ::EhbrsRubyUtils::WebUtils::RequestError => e
46
+ system('firefox', e.body_file_path.to_path)
47
+ fatal_error('Retornou com erro: ' + e.message)
53
48
  end
54
49
 
55
50
  def series_files_list_uncached
@@ -2,6 +2,6 @@
2
2
 
3
3
  module Ehbrs
4
4
  module Tools
5
- VERSION = '0.35.0'
5
+ VERSION = '0.36.0'
6
6
  end
7
7
  end