hotel_price 0.4.2 → 0.4.3

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: 8271fc1ad3a22ae3308a9a9fc6e4b71e2b75bbc04b27e9f9fb380dcba14d6d5f
4
- data.tar.gz: 57f8bb20af2a5b0b8024b1c341060da9c03f5b99070be2b45ffe8502b5025988
3
+ metadata.gz: 64b49cfd8aca2da0c47fd29c46a0b1a70a23f6dd9852da8576d9a24773e1e59c
4
+ data.tar.gz: bef4fb3140761c1e472cb4051a12ddcfbd07ab76f0d696229889b6b57d7cf815
5
5
  SHA512:
6
- metadata.gz: 6b895ba6069ad8042362ad936ad0b4275ca2034a57e3d07159041e915181fa6a99acf8096b1ab582697c7294ad45f466403a031d3119a2b13679b7ae1f77e613
7
- data.tar.gz: 0e006edc3409af3fe1e00b6f8cb0acfb95e63ef91bd60b7438e86848639d3703bef32fbb5f54b1c7ffc918cfeecdd578d5357c84be5bb80aac4c1d52d22e7870
6
+ metadata.gz: 2cb37de968269a27681e86d0954b822aeee887ae4a56df57c2997f5fecd8b64b07cb04de5b0a9fc5d454190417c6f22d9db79b80fdb45380daaca1490e7c8fac
7
+ data.tar.gz: 6bce2f249247a93ff09e3f742474edfb731ce46566903effa5dc3d1eaf9657caca9c531c51883a84545ee10e0b73d6f79c748aebd6dd5fa0b7ddd221f6487c1b
data/Gemfile.lock CHANGED
@@ -1,7 +1,7 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- hotel_price (0.4.1)
4
+ hotel_price (0.4.2)
5
5
  activesupport (~> 6.0.2.1)
6
6
  json (~> 2.3.0)
7
7
  nokogiri (~> 1.10.9)
@@ -192,6 +192,7 @@ module HotelPrice::Rakuten
192
192
  status: "found",
193
193
  hotel_name: key["hotel"][0]["hotelBasicInfo"]["hotelName"],
194
194
  area_name: body[:area_name],
195
+ page_num: params[:page_num],
195
196
  area_rank: i.to_i + ((body[:page_num].to_i - 1) * 30),
196
197
  middle_class_code: body[:middle_class_code],
197
198
  small_class_code: body[:small_class_code],
@@ -10,7 +10,7 @@ module HotelPrice::Rakuten
10
10
  options = Selenium::WebDriver::Firefox::Options.new
11
11
  options.add_argument("-headless")
12
12
  @wait = Selenium::WebDriver::Wait.new(:timeout => 100)
13
- @driver = Selenium::WebDriver.for :firefox#, options: options
13
+ @driver = Selenium::WebDriver.for :firefox, options: options
14
14
  if @config[:chain]
15
15
  go_to_management_page_chain
16
16
  else
@@ -1,3 +1,3 @@
1
1
  module HotelPrice
2
- VERSION = "0.4.2"
2
+ VERSION = "0.4.3"
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.4.2
4
+ version: 0.4.3
5
5
  platform: ruby
6
6
  authors:
7
7
  - Fumitake Kawasaki