hotel_price 0.2.8 → 0.2.9

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: cec6b6a9fb37eae8bd2143915236c564ed1eab5c9f1cf3227f2d3dc83bfb1031
4
- data.tar.gz: 841b1c9cb0fac2d92424ed6a3ca266925b29950f9ec154c578d278076fa939ee
3
+ metadata.gz: f4600c4b8f490cc83db7718805ba6e740ab5678be4e0a6323d5d7ac19a50a6f5
4
+ data.tar.gz: 2c0de3ef8805d9ae6613835b860276fb8b7837b1d8e69d5d06b362268a17b689
5
5
  SHA512:
6
- metadata.gz: 9b3d6c4f44c678b5e10b08152824e2a9111d863e97784beecd26d72fc537105cfa8c4fa335148654c04bed608b8d1f5a096c2f44d9b0741de495be1bb9707306
7
- data.tar.gz: 28e79679b519a336d6d3cba9fede059304e02c34d980c869ce1f00ae4f170a44d4669ae071d6e4a4b34bd5dc6100c6645dd0d45ec94da725f846dc82d190c6d2
6
+ metadata.gz: 1e303b17521f5868e80ac3c5562a8c53e102d8e59dc025f7a00e6ac4857921c7a028ed6326a9fe9e8a52eec57648f02a923aa60f0773b3579563856e638666e2
7
+ data.tar.gz: 5e32a742d3bf6ed5980a8396c14e51ad0d20466cce43421b6e4863e83a4766944dda1ebf4f362c791042e1db436d794f58a759701579391fd96aaa039072097d
data/.rubocop.yml CHANGED
@@ -219,4 +219,7 @@ Naming/AccessorMethodName:
219
219
  Enabled: false
220
220
 
221
221
  Style/MutableConstant:
222
+ Enabled: false
223
+
224
+ Lint/NonDeterministicRequireOrder:
222
225
  Enabled: false
data/hotel_price.gemspec CHANGED
@@ -5,7 +5,7 @@ require "hotel_price/version"
5
5
  Gem::Specification.new do |spec|
6
6
  spec.name = "hotel_price"
7
7
  spec.version = HotelPrice::VERSION
8
- spec.authors = ["Fumitake Kawasaki"]
8
+ spec.authors = ["Fumitake Kawasaki", "James Neve"]
9
9
  spec.email = ["fumitake.kawasaki@el-soul.com"]
10
10
 
11
11
  spec.summary = %q{Scraping Library to get world hotel price}
@@ -1,4 +1,12 @@
1
1
  module HotelPrice::Jalan
2
2
  class JalanConsole
3
+ def initialize params
4
+ @config = {
5
+ login_id: params[:login_id],
6
+ login_pw: params[:login_pw],
7
+ chain: params[:chain] ||= false,
8
+ jalan_hotel_id: params[:jalan_hotel_id] ||= 0
9
+ }
10
+ end
3
11
  end
4
12
  end
@@ -1,4 +1,5 @@
1
1
  require_relative "./jalan/jalan_api"
2
+ require_relative "./jalan/jalan_console"
2
3
  require_relative "./jalan/jalan_scraper"
3
4
 
4
5
  module HotelPrice
@@ -5,7 +5,7 @@ module HotelPrice::Rakuten
5
5
  login_id: params[:login_id],
6
6
  login_pw: params[:login_pw],
7
7
  chain: params[:chain] ||= false,
8
- rakuten_hotel_id: params[:rakuten_hotel_id] ||= 0,
8
+ rakuten_hotel_id: params[:rakuten_hotel_id] ||= 0
9
9
  }
10
10
  end
11
11
  end
@@ -1,3 +1,3 @@
1
1
  module HotelPrice
2
- VERSION = "0.2.8"
2
+ VERSION = "0.2.9"
3
3
  end
metadata CHANGED
@@ -1,10 +1,11 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: hotel_price
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.2.8
4
+ version: 0.2.9
5
5
  platform: ruby
6
6
  authors:
7
7
  - Fumitake Kawasaki
8
+ - James Neve
8
9
  autorequire:
9
10
  bindir: exe
10
11
  cert_chain: []