ax-track 0.2.2 → 0.2.3

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 6f78da793c4f53b05b464fc50ee9706fdcfee25b4d72feadc27ef0e60e1a868e
4
- data.tar.gz: 54cabd6e87be27a30eb0826dd142b5c80ff4cd69a361b12ff437e18fb38e11d1
3
+ metadata.gz: bd2f0e29c25c63a3d0ba8fa8ebfd51b608737ef0031250fbc94980065e11c122
4
+ data.tar.gz: e43566965134307c34a3e1c9821ef3d7ab55b62758a81cbfabb42be5d9a59485
5
5
  SHA512:
6
- metadata.gz: 7dc4c3bf7479eff86ac3f04b38520c1b2d0252b180f1cb34e27e476749b29c982ccfa579f2d7c98079a47e53c0d7a4f09b190b7b5baf568de45a60eb4b949208
7
- data.tar.gz: cb6c264e58bc56f5cfcd816a6cd0a728451dbba2193c33e94ed3ab204fbf53732dff6575a455f2523c3b3a2c8170e81c2507a586e0e74fc02ee3f9ce607041b8
6
+ metadata.gz: 8dc872bcee3f20330251703d696919dbf69b77705b85bcd9ccb4a7291fc7fbf804c9605ba58c21758cddc685122eb29dd8076a2c971657ea18cb0643d2b8524b
7
+ data.tar.gz: 026c286cfc104b610b2f49a6d46f360564611bdd64092ce991f83c9c35cf16c3c7a048c4c4a4fc179a5016288f7471f0ede63e12553817cc0d822265b23d110b
data/Gemfile.lock CHANGED
@@ -1,7 +1,7 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- ax-track (0.2.2)
4
+ ax-track (0.2.3)
5
5
  faraday (~> 1.7)
6
6
  faraday_middleware (~> 1.1)
7
7
 
@@ -32,7 +32,7 @@ module AxTrack
32
32
  end
33
33
 
34
34
  def website_url
35
- "https://app.ax-track.ch/#/map/assets/#{@tracker_id}"
35
+ "https://app.ax-track.ch/#/map/assets/#{@id}"
36
36
  end
37
37
 
38
38
  def available_sensor_data
@@ -28,7 +28,7 @@ module AxTrack
28
28
  raise "Client not defined" unless defined? @client
29
29
  endpoint = endpoint + "/" unless endpoint[-1] == "/"
30
30
 
31
- body['picture'] = Faraday::UploadIO.new(
31
+ body['picture'] = Faraday::FilePart.new(
32
32
  body['picture'].tempfile.path,
33
33
  body['picture'].content_type,
34
34
  body['picture'].filename
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module AxTrack
4
- VERSION = "0.2.2"
4
+ VERSION = "0.2.3"
5
5
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: ax-track
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.2.2
4
+ version: 0.2.3
5
5
  platform: ruby
6
6
  authors:
7
7
  - Philipp Baumann
8
8
  autorequire:
9
9
  bindir: exe
10
10
  cert_chain: []
11
- date: 2021-10-16 00:00:00.000000000 Z
11
+ date: 2021-10-17 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: faraday