ehbrs-tools 0.44.4 → 0.45.1
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.
- checksums.yaml +4 -4
- data/Gemfile.lock +59 -61
- data/lib/ehbrs/tools/accommodations/runner.rb +73 -0
- data/lib/ehbrs/tools/runner/airbnb/accommodations.rb +20 -0
- data/lib/ehbrs/tools/runner/airbnb.rb +14 -0
- data/lib/ehbrs/tools/runner/booking/accommodations.rb +1 -47
- data/lib/ehbrs/tools/version.rb +1 -1
- metadata +18 -21
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: a940e948f84b0bcadb5b041aceba048d0cc00f98c10d477f657653e726b0ea72
|
|
4
|
+
data.tar.gz: 8ce4366f746e278d79c781f90262619d2ca3e9f674e13d59a1f05407d57df385
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 701d53b7971018c0b143b37ad7ae62251524acb7fff15851a50e1daa478968bb6e2fa9340f49b18fcef66f5c5d048251ff1bacdfea58c6cb29affef2f2b9e3a9
|
|
7
|
+
data.tar.gz: 2166708a757321a5aa799f91cd462c947c26c4ce73ecf521f4a91678af3c85ed396b547c46452c61c5432f0a65367fa0899fb3a5a5d8215946628ca51ba91b13
|
data/Gemfile.lock
CHANGED
|
@@ -1,41 +1,41 @@
|
|
|
1
1
|
PATH
|
|
2
2
|
remote: .
|
|
3
3
|
specs:
|
|
4
|
-
ehbrs-tools (0.
|
|
4
|
+
ehbrs-tools (0.45.1)
|
|
5
5
|
avm-tools (~> 0.164)
|
|
6
|
-
eac_cli (~> 0.
|
|
7
|
-
eac_fs (~> 0.20, >= 0.20.
|
|
6
|
+
eac_cli (~> 0.47)
|
|
7
|
+
eac_fs (~> 0.20, >= 0.20.2)
|
|
8
8
|
eac_ruby_base0 (~> 0.19, >= 0.19.3)
|
|
9
|
-
eac_ruby_utils (~> 0.
|
|
10
|
-
ehbrs_ruby_utils (~> 0.
|
|
9
|
+
eac_ruby_utils (~> 0.131)
|
|
10
|
+
ehbrs_ruby_utils (~> 0.49, >= 0.49.1)
|
|
11
11
|
filesize (~> 0.2)
|
|
12
12
|
os (~> 1.1, >= 1.1.4)
|
|
13
13
|
telegram-bot-ruby (~> 0.23)
|
|
14
14
|
|
|
15
15
|
PATH
|
|
16
|
-
remote: sub/aranha-
|
|
16
|
+
remote: sub/aranha-parsers
|
|
17
17
|
specs:
|
|
18
|
-
aranha-
|
|
18
|
+
aranha-parsers (0.29.0)
|
|
19
|
+
activesupport (>= 4.0.0)
|
|
20
|
+
addressable (~> 2.9)
|
|
19
21
|
aranha (~> 0.20)
|
|
20
|
-
|
|
21
|
-
eac_ruby_utils (~> 0.
|
|
22
|
-
|
|
23
|
-
rexml (~> 3.4, >= 3.4.4)
|
|
24
|
-
selenium-webdriver (~> 4.43)
|
|
22
|
+
eac_envs-http (~> 0.7, >= 0.7.1)
|
|
23
|
+
eac_ruby_utils (~> 0.131)
|
|
24
|
+
nokogiri (~> 1.19, >= 1.19.3)
|
|
25
25
|
|
|
26
26
|
PATH
|
|
27
27
|
remote: sub/ehbrs_ruby_utils
|
|
28
28
|
specs:
|
|
29
|
-
ehbrs_ruby_utils (0.
|
|
29
|
+
ehbrs_ruby_utils (0.49.1)
|
|
30
30
|
aranha (~> 0.20)
|
|
31
|
-
aranha-parsers (~> 0.
|
|
31
|
+
aranha-parsers (~> 0.29)
|
|
32
32
|
aranha-selenium (~> 0.14)
|
|
33
|
-
avm (~> 0.
|
|
33
|
+
avm (~> 0.100)
|
|
34
34
|
avm-eac_rails_base0 (~> 0.11, >= 0.11.2)
|
|
35
35
|
dentaku (~> 3.5, >= 3.5.7)
|
|
36
|
-
eac_fs (~> 0.20, >= 0.20.
|
|
36
|
+
eac_fs (~> 0.20, >= 0.20.2)
|
|
37
37
|
eac_rest (~> 0.13)
|
|
38
|
-
eac_ruby_utils (~> 0.
|
|
38
|
+
eac_ruby_utils (~> 0.131)
|
|
39
39
|
eac_templates (~> 0.8, >= 0.8.3)
|
|
40
40
|
inifile (~> 3.0)
|
|
41
41
|
srt (~> 0.1, >= 0.1.5)
|
|
@@ -55,21 +55,20 @@ GEM
|
|
|
55
55
|
public_suffix (>= 2.0.2, < 8.0)
|
|
56
56
|
aranha (0.20.0)
|
|
57
57
|
eac_ruby_utils (~> 0.128)
|
|
58
|
-
aranha-
|
|
59
|
-
activesupport (>= 4.0.0)
|
|
60
|
-
addressable (~> 2.8, >= 2.8.9)
|
|
58
|
+
aranha-selenium (0.14.0)
|
|
61
59
|
aranha (~> 0.20)
|
|
62
|
-
|
|
60
|
+
eac_fs (~> 0.20, >= 0.20.1)
|
|
63
61
|
eac_ruby_utils (~> 0.130)
|
|
64
|
-
|
|
65
|
-
|
|
62
|
+
eac_templates (~> 0.8, >= 0.8.3)
|
|
63
|
+
rexml (~> 3.4, >= 3.4.4)
|
|
64
|
+
selenium-webdriver (~> 4.43)
|
|
66
65
|
ast (2.4.3)
|
|
67
66
|
attr_extras (7.1.0)
|
|
68
|
-
avm (0.
|
|
69
|
-
eac_cli (~> 0.
|
|
67
|
+
avm (0.100.0)
|
|
68
|
+
eac_cli (~> 0.46)
|
|
70
69
|
eac_config (~> 0.15)
|
|
71
70
|
eac_docker (~> 0.8)
|
|
72
|
-
eac_fs (~> 0.20)
|
|
71
|
+
eac_fs (~> 0.20, >= 0.20.1)
|
|
73
72
|
eac_ruby_utils (~> 0.130)
|
|
74
73
|
eac_templates (~> 0.8, >= 0.8.3)
|
|
75
74
|
minitar (~> 0.12, >= 0.12.1)
|
|
@@ -87,12 +86,12 @@ GEM
|
|
|
87
86
|
avm-eac_ruby_base1 (~> 0.39)
|
|
88
87
|
avm-eac_webapp_base0 (~> 0.22)
|
|
89
88
|
eac_ruby_utils (~> 0.130)
|
|
90
|
-
avm-eac_ruby_base1 (0.
|
|
91
|
-
aranha-parsers (~> 0.
|
|
92
|
-
avm (~> 0.
|
|
89
|
+
avm-eac_ruby_base1 (0.41.1)
|
|
90
|
+
aranha-parsers (~> 0.27)
|
|
91
|
+
avm (~> 0.100)
|
|
93
92
|
avm-eac_generic_base0 (~> 0.15, >= 0.15.2)
|
|
94
93
|
eac_envs-http (~> 0.7, >= 0.7.1)
|
|
95
|
-
eac_ruby_utils (~> 0.
|
|
94
|
+
eac_ruby_utils (~> 0.131)
|
|
96
95
|
avm-eac_ubuntu_base0 (0.7.0)
|
|
97
96
|
avm (~> 0.98, >= 0.98.2)
|
|
98
97
|
eac_ruby_utils (~> 0.128, >= 0.128.6)
|
|
@@ -112,7 +111,7 @@ GEM
|
|
|
112
111
|
ice_nine (~> 0.11.0)
|
|
113
112
|
thread_safe (~> 0.3, >= 0.3.1)
|
|
114
113
|
base64 (0.3.0)
|
|
115
|
-
bigdecimal (4.1.
|
|
114
|
+
bigdecimal (4.1.2)
|
|
116
115
|
clipboard (2.0.0)
|
|
117
116
|
coercible (1.0.0)
|
|
118
117
|
descendants_tracker (~> 0.0.1)
|
|
@@ -128,11 +127,11 @@ GEM
|
|
|
128
127
|
diff-lcs (1.6.2)
|
|
129
128
|
drb (2.2.3)
|
|
130
129
|
dry-inflector (1.3.1)
|
|
131
|
-
eac_cli (0.
|
|
130
|
+
eac_cli (0.47.0)
|
|
132
131
|
clipboard (~> 2.0)
|
|
133
132
|
colorize (~> 0.8, >= 0.8.1)
|
|
134
133
|
eac_config (~> 0.15)
|
|
135
|
-
eac_ruby_utils (~> 0.
|
|
134
|
+
eac_ruby_utils (~> 0.131)
|
|
136
135
|
tty-table (~> 0.12)
|
|
137
136
|
eac_config (0.15.0)
|
|
138
137
|
addressable (~> 2.8, >= 2.8.7)
|
|
@@ -150,9 +149,9 @@ GEM
|
|
|
150
149
|
faraday-retry (~> 2.4)
|
|
151
150
|
random-port (~> 0.7, >= 0.7.6)
|
|
152
151
|
webrick
|
|
153
|
-
eac_fs (0.20.
|
|
152
|
+
eac_fs (0.20.2)
|
|
154
153
|
content-type (~> 0.0, >= 0.0.2)
|
|
155
|
-
eac_ruby_utils (~> 0.
|
|
154
|
+
eac_ruby_utils (~> 0.131)
|
|
156
155
|
filesize (~> 0.2)
|
|
157
156
|
ruby-filemagic (~> 0.7, >= 0.7.3)
|
|
158
157
|
eac_rest (0.13.0)
|
|
@@ -164,23 +163,24 @@ GEM
|
|
|
164
163
|
eac_cli (~> 0.45)
|
|
165
164
|
eac_fs (~> 0.20)
|
|
166
165
|
eac_ruby_utils (~> 0.129)
|
|
167
|
-
eac_ruby_gem_support (0.
|
|
168
|
-
eac_ruby_utils (~> 0.
|
|
166
|
+
eac_ruby_gem_support (0.13.0)
|
|
167
|
+
eac_ruby_utils (~> 0.131)
|
|
169
168
|
rspec (~> 3.13, >= 3.13.2)
|
|
170
|
-
rubocop (~> 1.
|
|
169
|
+
rubocop (~> 1.86, >= 1.86.1)
|
|
171
170
|
rubocop-rails (~> 2.34, >= 2.34.3)
|
|
172
171
|
rubocop-rspec (~> 3.9)
|
|
173
|
-
super_diff (~> 0.
|
|
174
|
-
eac_ruby_utils (0.
|
|
172
|
+
super_diff (~> 0.19)
|
|
173
|
+
eac_ruby_utils (0.131.0)
|
|
175
174
|
activesupport (>= 4, < 7)
|
|
176
|
-
addressable (~> 2.
|
|
175
|
+
addressable (~> 2.9)
|
|
177
176
|
bundler
|
|
177
|
+
memoized (~> 1.1, >= 1.1.3)
|
|
178
178
|
net-ssh (~> 4.2)
|
|
179
|
-
zeitwerk (~> 2.7, >= 2.7.
|
|
179
|
+
zeitwerk (~> 2.7, >= 2.7.5)
|
|
180
180
|
eac_templates (0.8.3)
|
|
181
181
|
eac_config (~> 0.15)
|
|
182
182
|
eac_ruby_utils (~> 0.128, >= 0.128.5)
|
|
183
|
-
faraday (2.14.
|
|
183
|
+
faraday (2.14.2)
|
|
184
184
|
faraday-net_http (>= 2.0, < 3.5)
|
|
185
185
|
json
|
|
186
186
|
logger
|
|
@@ -191,33 +191,31 @@ GEM
|
|
|
191
191
|
zlib (~> 2.1)
|
|
192
192
|
faraday-multipart (1.2.0)
|
|
193
193
|
multipart-post (~> 2.0)
|
|
194
|
-
faraday-net_http (3.4.
|
|
194
|
+
faraday-net_http (3.4.3)
|
|
195
195
|
net-http (~> 0.5)
|
|
196
196
|
faraday-retry (2.4.0)
|
|
197
197
|
faraday (~> 2.0)
|
|
198
198
|
filesize (0.2.0)
|
|
199
|
-
hpricot (0.8.6)
|
|
200
199
|
htmlbeautifier (1.4.3)
|
|
201
200
|
i18n (1.14.8)
|
|
202
201
|
concurrent-ruby (~> 1.0)
|
|
203
202
|
ice_nine (0.11.2)
|
|
204
203
|
inifile (3.0.0)
|
|
205
|
-
json (2.19.
|
|
204
|
+
json (2.19.5)
|
|
206
205
|
language_server-protocol (3.17.0.5)
|
|
207
206
|
lint_roller (1.1.0)
|
|
208
207
|
logger (1.7.0)
|
|
208
|
+
memoized (1.1.3)
|
|
209
209
|
minitar (0.12.1)
|
|
210
|
-
minitest (6.0.
|
|
210
|
+
minitest (6.0.6)
|
|
211
211
|
drb (~> 2.0)
|
|
212
212
|
prism (~> 1.5)
|
|
213
213
|
multipart-post (2.4.1)
|
|
214
214
|
net-http (0.9.1)
|
|
215
215
|
uri (>= 0.11.1)
|
|
216
216
|
net-ssh (4.2.0)
|
|
217
|
-
nokogiri (1.19.
|
|
217
|
+
nokogiri (1.19.3-x86_64-linux-gnu)
|
|
218
218
|
racc (~> 1.4)
|
|
219
|
-
ofx-parser (1.1.0)
|
|
220
|
-
hpricot (>= 0.6)
|
|
221
219
|
optimist (3.2.1)
|
|
222
220
|
os (1.1.4)
|
|
223
221
|
parallel (1.28.0)
|
|
@@ -251,7 +249,7 @@ GEM
|
|
|
251
249
|
diff-lcs (>= 1.2.0, < 2.0)
|
|
252
250
|
rspec-support (~> 3.13.0)
|
|
253
251
|
rspec-support (3.13.7)
|
|
254
|
-
rubocop (1.86.
|
|
252
|
+
rubocop (1.86.2)
|
|
255
253
|
json (~> 2.3)
|
|
256
254
|
language_server-protocol (~> 3.17.0.2)
|
|
257
255
|
lint_roller (~> 1.1.0)
|
|
@@ -265,7 +263,7 @@ GEM
|
|
|
265
263
|
rubocop-ast (1.49.1)
|
|
266
264
|
parser (>= 3.3.7.2)
|
|
267
265
|
prism (~> 1.7)
|
|
268
|
-
rubocop-rails (2.
|
|
266
|
+
rubocop-rails (2.35.2)
|
|
269
267
|
activesupport (>= 4.2.0)
|
|
270
268
|
lint_roller (~> 1.1)
|
|
271
269
|
rack (>= 1.1)
|
|
@@ -276,8 +274,8 @@ GEM
|
|
|
276
274
|
rubocop (~> 1.81)
|
|
277
275
|
ruby-filemagic (0.7.3)
|
|
278
276
|
ruby-progressbar (1.13.0)
|
|
279
|
-
rubyzip (3.
|
|
280
|
-
selenium-webdriver (4.
|
|
277
|
+
rubyzip (3.3.0)
|
|
278
|
+
selenium-webdriver (4.44.0)
|
|
281
279
|
base64 (~> 0.2)
|
|
282
280
|
logger (~> 1.4)
|
|
283
281
|
rexml (~> 3.2, >= 3.2.5)
|
|
@@ -289,10 +287,10 @@ GEM
|
|
|
289
287
|
unicode-display_width (>= 1.5, < 3.0)
|
|
290
288
|
unicode_utils (~> 1.4)
|
|
291
289
|
strings-ansi (0.2.0)
|
|
292
|
-
super_diff (0.
|
|
293
|
-
attr_extras (>= 6.2.4)
|
|
294
|
-
diff-lcs
|
|
295
|
-
patience_diff
|
|
290
|
+
super_diff (0.19.0)
|
|
291
|
+
attr_extras (>= 6.2.4, < 8)
|
|
292
|
+
diff-lcs (~> 1.5)
|
|
293
|
+
patience_diff (~> 1.2)
|
|
296
294
|
taglib-ruby (1.1.3)
|
|
297
295
|
tago (0.7.0)
|
|
298
296
|
telegram-bot-ruby (0.23.0)
|
|
@@ -321,15 +319,15 @@ GEM
|
|
|
321
319
|
descendants_tracker (~> 0.0, >= 0.0.3)
|
|
322
320
|
webrick (1.9.2)
|
|
323
321
|
websocket (1.2.11)
|
|
324
|
-
zeitwerk (2.
|
|
322
|
+
zeitwerk (2.8.2)
|
|
325
323
|
zlib (2.1.1)
|
|
326
324
|
|
|
327
325
|
PLATFORMS
|
|
328
326
|
x86_64-linux-gnu
|
|
329
327
|
|
|
330
328
|
DEPENDENCIES
|
|
331
|
-
aranha-
|
|
332
|
-
eac_ruby_gem_support (~> 0.
|
|
329
|
+
aranha-parsers!
|
|
330
|
+
eac_ruby_gem_support (~> 0.13)
|
|
333
331
|
ehbrs-tools!
|
|
334
332
|
ehbrs_ruby_utils!
|
|
335
333
|
|
|
@@ -0,0 +1,73 @@
|
|
|
1
|
+
# frozen_string_literal: true
|
|
2
|
+
|
|
3
|
+
module Ehbrs
|
|
4
|
+
module Tools
|
|
5
|
+
module Accommodations
|
|
6
|
+
class Runner
|
|
7
|
+
class << self
|
|
8
|
+
# @return [String]
|
|
9
|
+
def organization_name
|
|
10
|
+
module_parent.name.demodulize
|
|
11
|
+
end
|
|
12
|
+
end
|
|
13
|
+
|
|
14
|
+
the_class = self
|
|
15
|
+
|
|
16
|
+
runner_with :help, :output_list do
|
|
17
|
+
desc "Extrai as acomodações de uma página-lista do #{the_class.organization_name}."
|
|
18
|
+
pos_arg :url
|
|
19
|
+
end
|
|
20
|
+
|
|
21
|
+
def run
|
|
22
|
+
run_output
|
|
23
|
+
infov 'Actual count found', list_rows.count
|
|
24
|
+
infov 'Declared count', processor.declared_count
|
|
25
|
+
result, message = counts_result
|
|
26
|
+
send(result, message)
|
|
27
|
+
end
|
|
28
|
+
|
|
29
|
+
protected
|
|
30
|
+
|
|
31
|
+
# @return [Array]
|
|
32
|
+
def counts_result
|
|
33
|
+
if list_rows.count == processor.declared_count
|
|
34
|
+
[:success, 'Ok!']
|
|
35
|
+
else
|
|
36
|
+
[:warn, 'Actual and declared counts are different']
|
|
37
|
+
end
|
|
38
|
+
end
|
|
39
|
+
|
|
40
|
+
# @return [Enumerable<Array<String>>]
|
|
41
|
+
def fields
|
|
42
|
+
self.class.const_get('FIELDS')
|
|
43
|
+
end
|
|
44
|
+
|
|
45
|
+
# @return [Class]
|
|
46
|
+
def processor_class
|
|
47
|
+
[self.class.organization_name, 'Processors', 'List']
|
|
48
|
+
.inject(::EhbrsRubyUtils) { |a, e| a.const_get(e) }
|
|
49
|
+
end
|
|
50
|
+
|
|
51
|
+
# @return [Object]
|
|
52
|
+
def processor_uncached
|
|
53
|
+
processor_class.new(url)
|
|
54
|
+
end
|
|
55
|
+
|
|
56
|
+
# @return [Array<Symbol>]
|
|
57
|
+
def list_columns
|
|
58
|
+
fields.map(&:first)
|
|
59
|
+
end
|
|
60
|
+
|
|
61
|
+
# @return [Array<Object>]
|
|
62
|
+
def list_rows
|
|
63
|
+
processor.accommodations
|
|
64
|
+
end
|
|
65
|
+
|
|
66
|
+
# @return [Addressable::URI]
|
|
67
|
+
def url
|
|
68
|
+
parsed.url.to_uri
|
|
69
|
+
end
|
|
70
|
+
end
|
|
71
|
+
end
|
|
72
|
+
end
|
|
73
|
+
end
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
# frozen_string_literal: true
|
|
2
|
+
|
|
3
|
+
module Ehbrs
|
|
4
|
+
module Tools
|
|
5
|
+
class Runner
|
|
6
|
+
class Airbnb
|
|
7
|
+
class Accommodations < ::Ehbrs::Tools::Accommodations::Runner
|
|
8
|
+
FIELDS = [
|
|
9
|
+
[:link, 'Link'],
|
|
10
|
+
[:price, 'Total'],
|
|
11
|
+
[:type, 'Tipo'],
|
|
12
|
+
[:address, 'Endereço'],
|
|
13
|
+
[:review_score, 'Nota'],
|
|
14
|
+
[:review_count, 'Avaliações']
|
|
15
|
+
].freeze
|
|
16
|
+
end
|
|
17
|
+
end
|
|
18
|
+
end
|
|
19
|
+
end
|
|
20
|
+
end
|
|
@@ -4,7 +4,7 @@ module Ehbrs
|
|
|
4
4
|
module Tools
|
|
5
5
|
class Runner
|
|
6
6
|
class Booking
|
|
7
|
-
class Accommodations
|
|
7
|
+
class Accommodations < ::Ehbrs::Tools::Accommodations::Runner
|
|
8
8
|
FIELDS = [
|
|
9
9
|
[:link, 'Link'],
|
|
10
10
|
[:price, 'Diárias'],
|
|
@@ -16,52 +16,6 @@ module Ehbrs
|
|
|
16
16
|
[:review_count, 'Avaliações'],
|
|
17
17
|
[:unit_title, 'Descrição']
|
|
18
18
|
].freeze
|
|
19
|
-
|
|
20
|
-
runner_with :help, :output_list do
|
|
21
|
-
desc 'Extrai as acomodações de uma página-lista do Booking.'
|
|
22
|
-
pos_arg :url
|
|
23
|
-
end
|
|
24
|
-
|
|
25
|
-
def run
|
|
26
|
-
run_output
|
|
27
|
-
infov 'Actual count found', list_rows.count
|
|
28
|
-
infov 'Declared count', processor.declared_count
|
|
29
|
-
result, message = counts_result
|
|
30
|
-
send(result, message)
|
|
31
|
-
end
|
|
32
|
-
|
|
33
|
-
protected
|
|
34
|
-
|
|
35
|
-
# @return [Array]
|
|
36
|
-
def counts_result
|
|
37
|
-
if list_rows.count == processor.declared_count
|
|
38
|
-
[:success, 'Ok!']
|
|
39
|
-
elsif list_rows.count > processor.declared_count
|
|
40
|
-
[:warn, 'Actual count is greater than declared']
|
|
41
|
-
else
|
|
42
|
-
[:fatal_error, 'Actual and declared counts are different']
|
|
43
|
-
end
|
|
44
|
-
end
|
|
45
|
-
|
|
46
|
-
# @return [EhbrsRubyUtils::Booking::Processors::List]
|
|
47
|
-
def processor_uncached
|
|
48
|
-
::EhbrsRubyUtils::Booking::Processors::List.new(url)
|
|
49
|
-
end
|
|
50
|
-
|
|
51
|
-
# @return [Array<Symbol>]
|
|
52
|
-
def list_columns
|
|
53
|
-
FIELDS.map(&:first)
|
|
54
|
-
end
|
|
55
|
-
|
|
56
|
-
# @return [Array<Object>]
|
|
57
|
-
def list_rows
|
|
58
|
-
processor.accommodations
|
|
59
|
-
end
|
|
60
|
-
|
|
61
|
-
# @return [Addressable::URI]
|
|
62
|
-
def url
|
|
63
|
-
parsed.url.to_uri
|
|
64
|
-
end
|
|
65
19
|
end
|
|
66
20
|
end
|
|
67
21
|
end
|
data/lib/ehbrs/tools/version.rb
CHANGED
metadata
CHANGED
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: ehbrs-tools
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 0.
|
|
4
|
+
version: 0.45.1
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- Esquilo Azul Company
|
|
8
8
|
autorequire:
|
|
9
9
|
bindir: exe
|
|
10
10
|
cert_chain: []
|
|
11
|
-
date: 2026-
|
|
11
|
+
date: 2026-05-25 00:00:00.000000000 Z
|
|
12
12
|
dependencies:
|
|
13
13
|
- !ruby/object:Gem::Dependency
|
|
14
14
|
name: avm-tools
|
|
@@ -30,14 +30,14 @@ dependencies:
|
|
|
30
30
|
requirements:
|
|
31
31
|
- - "~>"
|
|
32
32
|
- !ruby/object:Gem::Version
|
|
33
|
-
version: '0.
|
|
33
|
+
version: '0.47'
|
|
34
34
|
type: :runtime
|
|
35
35
|
prerelease: false
|
|
36
36
|
version_requirements: !ruby/object:Gem::Requirement
|
|
37
37
|
requirements:
|
|
38
38
|
- - "~>"
|
|
39
39
|
- !ruby/object:Gem::Version
|
|
40
|
-
version: '0.
|
|
40
|
+
version: '0.47'
|
|
41
41
|
- !ruby/object:Gem::Dependency
|
|
42
42
|
name: eac_fs
|
|
43
43
|
requirement: !ruby/object:Gem::Requirement
|
|
@@ -47,7 +47,7 @@ dependencies:
|
|
|
47
47
|
version: '0.20'
|
|
48
48
|
- - ">="
|
|
49
49
|
- !ruby/object:Gem::Version
|
|
50
|
-
version: 0.20.
|
|
50
|
+
version: 0.20.2
|
|
51
51
|
type: :runtime
|
|
52
52
|
prerelease: false
|
|
53
53
|
version_requirements: !ruby/object:Gem::Requirement
|
|
@@ -57,7 +57,7 @@ dependencies:
|
|
|
57
57
|
version: '0.20'
|
|
58
58
|
- - ">="
|
|
59
59
|
- !ruby/object:Gem::Version
|
|
60
|
-
version: 0.20.
|
|
60
|
+
version: 0.20.2
|
|
61
61
|
- !ruby/object:Gem::Dependency
|
|
62
62
|
name: eac_ruby_base0
|
|
63
63
|
requirement: !ruby/object:Gem::Requirement
|
|
@@ -84,34 +84,34 @@ dependencies:
|
|
|
84
84
|
requirements:
|
|
85
85
|
- - "~>"
|
|
86
86
|
- !ruby/object:Gem::Version
|
|
87
|
-
version: '0.
|
|
87
|
+
version: '0.131'
|
|
88
88
|
type: :runtime
|
|
89
89
|
prerelease: false
|
|
90
90
|
version_requirements: !ruby/object:Gem::Requirement
|
|
91
91
|
requirements:
|
|
92
92
|
- - "~>"
|
|
93
93
|
- !ruby/object:Gem::Version
|
|
94
|
-
version: '0.
|
|
94
|
+
version: '0.131'
|
|
95
95
|
- !ruby/object:Gem::Dependency
|
|
96
96
|
name: ehbrs_ruby_utils
|
|
97
97
|
requirement: !ruby/object:Gem::Requirement
|
|
98
98
|
requirements:
|
|
99
99
|
- - "~>"
|
|
100
100
|
- !ruby/object:Gem::Version
|
|
101
|
-
version: '0.
|
|
101
|
+
version: '0.49'
|
|
102
102
|
- - ">="
|
|
103
103
|
- !ruby/object:Gem::Version
|
|
104
|
-
version: 0.
|
|
104
|
+
version: 0.49.1
|
|
105
105
|
type: :runtime
|
|
106
106
|
prerelease: false
|
|
107
107
|
version_requirements: !ruby/object:Gem::Requirement
|
|
108
108
|
requirements:
|
|
109
109
|
- - "~>"
|
|
110
110
|
- !ruby/object:Gem::Version
|
|
111
|
-
version: '0.
|
|
111
|
+
version: '0.49'
|
|
112
112
|
- - ">="
|
|
113
113
|
- !ruby/object:Gem::Version
|
|
114
|
-
version: 0.
|
|
114
|
+
version: 0.49.1
|
|
115
115
|
- !ruby/object:Gem::Dependency
|
|
116
116
|
name: filesize
|
|
117
117
|
requirement: !ruby/object:Gem::Requirement
|
|
@@ -166,20 +166,14 @@ dependencies:
|
|
|
166
166
|
requirements:
|
|
167
167
|
- - "~>"
|
|
168
168
|
- !ruby/object:Gem::Version
|
|
169
|
-
version: '0.
|
|
170
|
-
- - ">="
|
|
171
|
-
- !ruby/object:Gem::Version
|
|
172
|
-
version: 0.12.2
|
|
169
|
+
version: '0.13'
|
|
173
170
|
type: :development
|
|
174
171
|
prerelease: false
|
|
175
172
|
version_requirements: !ruby/object:Gem::Requirement
|
|
176
173
|
requirements:
|
|
177
174
|
- - "~>"
|
|
178
175
|
- !ruby/object:Gem::Version
|
|
179
|
-
version: '0.
|
|
180
|
-
- - ">="
|
|
181
|
-
- !ruby/object:Gem::Version
|
|
182
|
-
version: 0.12.2
|
|
176
|
+
version: '0.13'
|
|
183
177
|
description:
|
|
184
178
|
email:
|
|
185
179
|
executables:
|
|
@@ -193,6 +187,7 @@ files:
|
|
|
193
187
|
- exe/ehbrs
|
|
194
188
|
- lib/ehbrs.rb
|
|
195
189
|
- lib/ehbrs/tools.rb
|
|
190
|
+
- lib/ehbrs/tools/accommodations/runner.rb
|
|
196
191
|
- lib/ehbrs/tools/application.rb
|
|
197
192
|
- lib/ehbrs/tools/executables.rb
|
|
198
193
|
- lib/ehbrs/tools/google/translate/session.rb
|
|
@@ -200,6 +195,8 @@ files:
|
|
|
200
195
|
- lib/ehbrs/tools/observers/base.rb
|
|
201
196
|
- lib/ehbrs/tools/observers/with_persistence.rb
|
|
202
197
|
- lib/ehbrs/tools/runner.rb
|
|
198
|
+
- lib/ehbrs/tools/runner/airbnb.rb
|
|
199
|
+
- lib/ehbrs/tools/runner/airbnb/accommodations.rb
|
|
203
200
|
- lib/ehbrs/tools/runner/booking.rb
|
|
204
201
|
- lib/ehbrs/tools/runner/booking/accommodations.rb
|
|
205
202
|
- lib/ehbrs/tools/runner/cooking_book.rb
|
|
@@ -270,7 +267,7 @@ required_ruby_version: !ruby/object:Gem::Requirement
|
|
|
270
267
|
requirements:
|
|
271
268
|
- - ">="
|
|
272
269
|
- !ruby/object:Gem::Version
|
|
273
|
-
version: 2
|
|
270
|
+
version: '3.2'
|
|
274
271
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
|
275
272
|
requirements:
|
|
276
273
|
- - ">="
|