hotel_price 0.5.5 → 0.5.6
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/Gemfile.lock +1 -1
- data/lib/hotel_price/rakuten/rakuten_console.rb +0 -2
- data/lib/hotel_price/version.rb +1 -1
- metadata +1 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 4032b76766cf85f77988bddc0bfb08c0e2520151649cf480e24bc243c7a5e699
|
4
|
+
data.tar.gz: 73ab442fc9b859c4c4cb8a529c9d2b46f5dc3d1da2a217499646945c356d7002
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 82ac37e8446bd5d3160cc7623956bd4d07a67c69027f6422f8960010d1fa5d30d23c73f4d16af7af8d5428cc36b2bbeaa1c80105a005447d3bb4ac633c1af94f
|
7
|
+
data.tar.gz: 3c44a8bec12eb334a86e32822dfa97896d65beeadbde37f1f2d94dd0100442906c9415b4377c4f448a658d90929b75e23ab56836b5b245013ab73f5446bdc64e
|
data/Gemfile.lock
CHANGED
@@ -320,14 +320,12 @@ module HotelPrice::Rakuten
|
|
320
320
|
def login_check
|
321
321
|
exp = @driver.find_element(:xpath, "/html/body/table[1]/tbody/tr[1]/td/table/tbody/tr/td[5]/table/tbody/tr[1]/td").text.gsub("次回パスワード更新日:", "").gsub("※事前にパスワードを変更されたい場合はこちらをご参照ください。\n", "")
|
322
322
|
rakuten_hotel_id = @driver.find_element(:xpath, "/html/body/table[1]/tbody/tr[1]/td/table/tbody/tr/td[2]/table/tbody/tr/td").text.gsub("施設番号 : ", "").split("\n")[0]
|
323
|
-
@driver.quit
|
324
323
|
{
|
325
324
|
status: "success",
|
326
325
|
password_exp_date: exp,
|
327
326
|
rakuten_hotel_id: rakuten_hotel_id
|
328
327
|
}
|
329
328
|
rescue StandardError => e
|
330
|
-
@driver.quit
|
331
329
|
{
|
332
330
|
status: "error",
|
333
331
|
error: e.to_s
|
data/lib/hotel_price/version.rb
CHANGED