fitbit_api 0.15.2 → 0.15.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
  SHA256:
3
- metadata.gz: 561a52dc9c8bfad8017608499dea22837c6f5d8a9313cd0071df7196bb33219c
4
- data.tar.gz: c9651611471aab84d90a9e2c4d09693e655ea22ec63e4bd728967b96a1796ad4
3
+ metadata.gz: 35ca25eddb9d20edb608f8ba914c32b0056484d730c9b1c671385af4348320f0
4
+ data.tar.gz: c79bc99fda06b0f6ad0f2ad321acf371ed619353c13c44d8225efa2263929358
5
5
  SHA512:
6
- metadata.gz: 3ea7353d5c9699180dab5f91e0da027bb52ac032b8801b3d2120c98f47d7c594b972446322fe791b26ba1cea35286f8dd985a3936dec028fa2e705ca7fa8befd
7
- data.tar.gz: 2a361f5e95e628e3a2b3da7e682953b7ec2b028de79559f2302729a8fda07ecf8a90b9d0ea0688daf5e1f30ebcfa24d66ac7927952100532b2db1fde4e67557e
6
+ metadata.gz: 5c35f3405ae380230338376184bda00152619b94bbc91a4eba3075b3dee0c4906da2327967733c17fd5cf3097dbf75ff123e6e8c55f15159a4476e4085573a46
7
+ data.tar.gz: 5e136456daf9ec21fbb2fd89fb5b8ab001c3a99cce3b51ebd007fd320a79d1dcd530463d51b6976057541c6b39cfe152509c5829a160ac7bf7d9cade23f8c41e
data/CHANGELOG.md CHANGED
@@ -1,3 +1,7 @@
1
+ 0.15.3
2
+ ------
3
+ - Use strict encoding for auth tokens
4
+
1
5
  0.15.2
2
6
  ------
3
7
  - Reduce build size
@@ -177,7 +177,7 @@ module FitbitAPI
177
177
  end
178
178
 
179
179
  def auth_headers
180
- { 'Authorization' => "Basic #{Base64.encode64("#{@client_id}:#{@client_secret}")}" }
180
+ { 'Authorization' => "Basic #{Base64.strict_encode64("#{@client_id}:#{@client_secret}")}" }
181
181
  end
182
182
 
183
183
  def default_request_headers
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module FitbitAPI
4
- VERSION = '0.15.2'
4
+ VERSION = '0.15.3'
5
5
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: fitbit_api
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.15.2
4
+ version: 0.15.3
5
5
  platform: ruby
6
6
  authors:
7
7
  - Zoran
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2023-11-19 00:00:00.000000000 Z
11
+ date: 2023-12-19 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: oauth2
@@ -119,8 +119,8 @@ licenses:
119
119
  - MIT
120
120
  metadata:
121
121
  source_code_uri: https://github.com/zokioki/fitbit_api
122
- changelog_uri: https://github.com/zokioki/fitbit_api/blob/v0.15.2/CHANGELOG.md
123
- documentation_uri: https://www.rubydoc.info/gems/fitbit_api/0.15.2
122
+ changelog_uri: https://github.com/zokioki/fitbit_api/blob/v0.15.3/CHANGELOG.md
123
+ documentation_uri: https://www.rubydoc.info/gems/fitbit_api/0.15.3
124
124
  rubygems_mfa_required: 'true'
125
125
  post_install_message:
126
126
  rdoc_options: []