diplomat 2.1.0 → 2.1.1

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: 2638dd7e205e74662fe2dd9124a268447b21173a7fa383f124cea572a7fbf0c0
4
- data.tar.gz: d2630310fb56f3b8fe9ae2a4cf4b71b1773481078d6349c8bd2fd5bd189cbe3f
3
+ metadata.gz: 592187da9061242848c78fb7766bb1f132daa69c83362c5a45bab4ba0fc29b74
4
+ data.tar.gz: 3ae523b3d012adedac528a97d00dbf97c1fd97972537488870cefcaa6dd1062e
5
5
  SHA512:
6
- metadata.gz: cb12a73c20d249c32f87c3a36b59e90e691a71192f534c29ec127f82042e92d4f697b314924d33b4a8d6104892a5e68063ec2d450e4fc3153d3ab8be74110bac
7
- data.tar.gz: 742b7f771257d00c95c037869e9e23458d3c81dbaecefa1dfc848722566082ac90c0770ed87a4563bd19f638291bbe24e5cd69e6b676bce3d2be248e62d5d5dc
6
+ metadata.gz: 608a2c2a508ce613d5f45e6075bb06df173b9dae6b21a9c05e8eeaee271891a99acb44867197a5a12d2b0abac27e0d92135fd5a33cd74507b7ee96f1eee9e9b0
7
+ data.tar.gz: ccccaa4bb45ff1d974bfd9db76835c91b18e6b4011b634907f7ae791d6fd06fa4d450ae666a757c9035a70bfaaed245f92f67a89387563e07cbab4102edad3ea
@@ -177,8 +177,8 @@ module Diplomat
177
177
  consistency = []
178
178
 
179
179
  # Parse options used as header
180
- headers = { 'X-Consul-Token': configuration.acl_token } if configuration.acl_token
181
- headers = { 'X-Consul-Token': options[:token] } if options[:token]
180
+ headers = { 'X-Consul-Token' => configuration.acl_token } if configuration.acl_token
181
+ headers = { 'X-Consul-Token' => options[:token] } if options[:token]
182
182
 
183
183
  # Parse options used as query params
184
184
  consistency = 'stale' if options[:stale]
@@ -1,3 +1,3 @@
1
1
  module Diplomat
2
- VERSION = '2.1.0'.freeze
2
+ VERSION = '2.1.1'.freeze
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: diplomat
3
3
  version: !ruby/object:Gem::Version
4
- version: 2.1.0
4
+ version: 2.1.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - John Hamelink
@@ -9,7 +9,7 @@ authors:
9
9
  autorequire:
10
10
  bindir: bin
11
11
  cert_chain: []
12
- date: 2019-03-18 00:00:00.000000000 Z
12
+ date: 2019-03-19 00:00:00.000000000 Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: bundler