dexcom 0.2.1 → 0.2.2

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: 5653661beebe0e668ae5cd40e7a8bb8f88d0580c95a9a3ccc2bd407fa233f3d1
4
- data.tar.gz: 46769e4275d66d8a680f31e5550a8be64f4cd159632ff87fdcb07939c3fdf119
3
+ metadata.gz: 9d280d55dcaebe7390a8c9abfa96f778d011030120b485bc63b6043a8095f179
4
+ data.tar.gz: 839a8c2d15504a7d6de4853285d5b8b0f01de3bb6c453f917d964930ea59765e
5
5
  SHA512:
6
- metadata.gz: 51bc3300fdb22d4f58b97ca5aad688cdf6837586a9e7ec1a4dcd168eb6e9e7df53b15054750cbc21108b4aebd37049c63b2a7dcdbe34de804b1acd649b45e841
7
- data.tar.gz: 225b52b8df6f4044b4eddc110d31c115b142c0e91181ec34b5f510f72741e0ea96d2e301f97d407c7a1959b79da23a357bbe2472238d1824b03564d9cdd38443
6
+ metadata.gz: 298d575a9935df69443b1d420a719cb2188bfa1c26ab7eff85c963f05ad7877e346f139289a641eab3d5aaf0f7c591edd92947085d8e4110ad548a0eb21fc115
7
+ data.tar.gz: a716d140828a40330c9c9f80f65380b66458c2c6fe9d2307e9433b973ab68e490b519f9ac7f593897f5b445fc10aed97878740eb9db32e09ab36dbf6e7dca2da
@@ -7,7 +7,7 @@ module Dexcom
7
7
  MINUTES_PER_DATAPOINT = 5
8
8
 
9
9
  def last
10
- get_last(max_count: 1)
10
+ get_last(max_count: 1).first
11
11
  end
12
12
 
13
13
  def get_last(max_count: nil, minutes: nil)
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module Dexcom
4
- VERSION = '0.2.1'
4
+ VERSION = '0.2.2'
5
5
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: dexcom
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.2.1
4
+ version: 0.2.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - Alex Gascon