hotel_price 0.2.5 → 0.2.6

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: d48fd88b537c417778f6d18610816db6576f4af18e8841e617b2d7cdb92e472d
4
- data.tar.gz: dba3f92cc584db596f5ff2b3df6d4e32dd7fae421bd092a1c0aa25fd4748f7bf
3
+ metadata.gz: 2f638ac5be499fba87e0541c19e1dd7d1bbed4b3c5638587e2a4c5ae05a8e7aa
4
+ data.tar.gz: 56298398791b7af4eb97fbb78b24b880243d4df14e12ec4a94feee6e35cb5507
5
5
  SHA512:
6
- metadata.gz: 97608f3f9fc515dec4bdaed15935607da8d05dd26e99093ea9d4f5e2b1f9bbdd6db6e5c6fe27b5224cd0d5bcb1684f5c5c80afb9c50b238a9ccd8928b7a55512
7
- data.tar.gz: 86c82ee4e6c5e3f8aa19c274e492f96017643adf0bedfeb272198e2256fc729ed84f223793f208fb240bd7199cc190171a7136aa3385fe94650a8b663034c2bd
6
+ metadata.gz: b6d2d5f1fcc13f699dd4840758dc07dfc9c7c2bc2c41b781b98b869b5ccc1493c9c5402467feeaca7e429bda4b2739d0a6eaf9ca89b7d5f4b9719e07b08e054d
7
+ data.tar.gz: 4ed7d49997122f82e0e61801717e1a1b23e9936180fcc186ce30a9522a2882b64836a9867a6d52c662aaf6eb3137797725abefa07e59ee7858d06b4bb4a648a7
@@ -15,5 +15,15 @@ module HotelPrice::Rakuten
15
15
  driver.quit
16
16
  data
17
17
  end
18
+
19
+ def self.get_selenium_driver
20
+ # firefox_capabilities = Selenium::WebDriver::Remote::Capabilities.firefox
21
+ # @driver = Selenium::WebDriver.for(:remote, url: "http://hub:4444/wd/hub", desired_capabilities: firefox_capabilities)
22
+
23
+ options = Selenium::WebDriver::Firefox::Options.new
24
+ options.add_argument("-headless")
25
+ Selenium::WebDriver.for :firefox, options: options
26
+ end
27
+
18
28
  end
19
29
  end
@@ -1,3 +1,3 @@
1
1
  module HotelPrice
2
- VERSION = "0.2.5"
2
+ VERSION = "0.2.6"
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: hotel_price
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.2.5
4
+ version: 0.2.6
5
5
  platform: ruby
6
6
  authors:
7
7
  - Fumitake Kawasaki