hypertrack 0.0.2 → 0.0.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
  SHA1:
3
- metadata.gz: e3117268450676faa824eada7433de18ede4edfa
4
- data.tar.gz: aa5eb28485a7c72425459758630ec272b9391b56
3
+ metadata.gz: 497161ee6c7532a5d8905a0f5be8659007905b89
4
+ data.tar.gz: 6c0618355dda776262082d2c88b6beec75468e45
5
5
  SHA512:
6
- metadata.gz: 78607d37513ab79914d7c61716709c053def04d59eb828cdc4fb150fced1604877b6009de5fb20b732a9dd9ce202e6d05ad8932751a94f775bc5e3ec750d4d25
7
- data.tar.gz: 26ae3858d188e56a7d982144b8d99b475d765dc4803368e1fd91c1d9de6cdb623e977ced4101c992d713791b6f88d3dce23e73c09ad5fa4f3230040b9674097e
6
+ metadata.gz: 3599e44c50219ae6d9e4a4f3dfeb5841f39e9a723054deb9efc1718eab767a11eec6b93e0c2654ec2730d79743fcb182616abfcb4fd2e0d93b18f9e91e84da0c
7
+ data.tar.gz: 56236254eeb03d089563e775b229e1cc78115b50a1aa74250c3f220a95a868b2ecdad9350dfcf6a3b8a2f2812eae568800596cdd8fe8d1d0a49002f2c8193eb9
@@ -20,7 +20,7 @@ module HyperTrack
20
20
  # Don't want to name this method as 'end'. Its a reserved keyword in Ruby.
21
21
  def end_trip(params)
22
22
  path = "end/"
23
- self.update(path, params, [:end_location])
23
+ self.update(path, params, [])
24
24
  end
25
25
 
26
26
  def add_task(params)
@@ -3,7 +3,7 @@ module HyperTrack
3
3
  include HyperTrack::ApiOperations::TripAPI
4
4
 
5
5
  API_BASE_PATH = "trips/"
6
- REQUIRED_FIELDS = [:driver_id, :start_location, :tasks, :has_ordered_tasks]
6
+ REQUIRED_FIELDS = [:driver_id]
7
7
 
8
8
  VALID_ATTRIBUTE_VALUES = {
9
9
  vehicle_type: {
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: hypertrack
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.2
4
+ version: 0.0.3
5
5
  platform: ruby
6
6
  authors:
7
7
  - Utsav Kesharwani