quicktravel_client 2.5.0 → 2.6.0

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
  SHA1:
3
- metadata.gz: 7f81983f10a25aba05f6ffcf08fff4793edd3bb7
4
- data.tar.gz: 3d8643c916f6010fd5e7a389320b6d56edc620c1
3
+ metadata.gz: 0860d761f32870c66c3db52e825b4ddd9beb3ea3
4
+ data.tar.gz: b8847c60dbf07178b4f158928712ec64e7ac0c30
5
5
  SHA512:
6
- metadata.gz: 37dbf45b3f41fb3405d220e5ea61ffba373a3476d04523af0d710c596b861e09a918b45456818568728d90b1912d6de6aedd0e0ad775d6d346a3e996c4c5e513
7
- data.tar.gz: c1255acb3891ceefb19247c739f0740d556abfb4fc562126c3ecdd5b5aaecc88e2359bae3d5778dd516ab2a1c0e6223b4ee2b417f414ff0f623b66b1e5dae425
6
+ metadata.gz: 89753ba3b3c560623e3677a5749e7fbc1d40a24c9feb55536b773c98b5b6d1fdf4323580e72fbcf5cecba04a802a20d1c6995bc09849ec7ee09594be77bf46b4
7
+ data.tar.gz: c343dbd4ad46c89f9eae77f6d42626a735662f4fcef5835712145647de5c9866ee813d045609b72f3b5c8e4deb565bdf5f256001cac73b8687a262f0a9428b61
data/CHANGELOG.md CHANGED
@@ -3,6 +3,10 @@ All notable changes to this project will be documented in this file.
3
3
  This project adheres to [Semantic Versioning](http://semver.org/).
4
4
  This changelog adheres to [Keep a CHANGELOG](http://keepachangelog.com/).
5
5
 
6
+ ## [2.6.0]
7
+ ### Removed
8
+ - Stop passing last_travel_date
9
+
6
10
  ## [2.5.0]
7
11
  ### Added
8
12
  - Add call to get client token
@@ -18,8 +18,7 @@ module QuickTravel
18
18
  # { :property_type_id=>1, :location_id=>5 , :number_of_rooms => 1 , :product => {:first_travel_date => "07-05-2010" , :duration => 1 } }
19
19
  def self.find!(condition = {})
20
20
  condition[:number_of_rooms] = 1 if condition[:number_of_rooms].blank? || condition[:number_of_rooms].to_i < 1
21
- condition[:last_travel_date] = condition[:product][:last_travel_date].to_date - 1 if condition[:product].try(:fetch, :last_travel_date, nil)
22
- self.find_all!('/api/properties.json', condition)
21
+ find_all!('/api/properties.json', condition)
23
22
  end
24
23
 
25
24
  def self.load_with_pricing(id, options)
@@ -1,3 +1,3 @@
1
1
  module QuickTravel
2
- VERSION = '2.5.0'
2
+ VERSION = '2.6.0'
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: quicktravel_client
3
3
  version: !ruby/object:Gem::Version
4
- version: 2.5.0
4
+ version: 2.6.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Michael Noack
@@ -10,7 +10,7 @@ authors:
10
10
  autorequire:
11
11
  bindir: bin
12
12
  cert_chain: []
13
- date: 2016-11-11 00:00:00.000000000 Z
13
+ date: 2016-12-13 00:00:00.000000000 Z
14
14
  dependencies:
15
15
  - !ruby/object:Gem::Dependency
16
16
  name: httparty