uphold 1.1.0 → 1.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
  SHA1:
3
- metadata.gz: 0ea311052aefef8d48f00041ec404a864e296d07
4
- data.tar.gz: c0daaf546e7a1c033b1d58306952e027b01c87f7
3
+ metadata.gz: ebb5550fb10ca88ce0da7249bca1d44748dd1bf6
4
+ data.tar.gz: 914cfa1a512e956e35906add853e6410808c9ef1
5
5
  SHA512:
6
- metadata.gz: 8562644ea03754faf17641ba96ac1d3728a3c70936226ff2816657a322329970cf92414a55efd59ce76117ba0ea5915cb0e8d33aefd6d2e9ddaa122b32af1d68
7
- data.tar.gz: 6c7ea074cafd84793b25c662964d2594fb73dc9a7eb22a77189122e7a9ecb0c59cca427cdf426c4acb92e1a01bcb3dabe2d44b017b459d197090e35ca6693cce
6
+ metadata.gz: 9f56e63017a63d15c1a048e0769bd3e1635492db03f9975b188661ab27219282079287f66bfead96ebeb699cbe79cfbc784f4c204674d0583e4ed1489d3e5924
7
+ data.tar.gz: 1bab6ef13383591fa84afa237b359405e1337f4bb864b50c3c2b47e1df0362bb93cc064aecd44acf9fcd4a8eab01c3592460276eeeaa6d29077892c278f76132
@@ -7,7 +7,11 @@ module Uphold
7
7
  request_data = Uphold::RequestData.new(
8
8
  Endpoints::AUTH,
9
9
  Entities::AuthToken,
10
- { 'X-Uphold-OTP' => otp, 'Authorization' => 'Basic ' + Base64.encode64("#{username}:#{password}") },
10
+ {
11
+ 'X-Uphold-OTP' => otp,
12
+ 'X-Bitreserve-OTP' => otp,
13
+ 'Authorization' => 'Basic ' + Base64.encode64("#{username}:#{password}")
14
+ },
11
15
  description: 'Uphold ruby'
12
16
  )
13
17
  Request.perform_with_object(:post, request_data)
@@ -1,3 +1,3 @@
1
1
  module Uphold
2
- VERSION = '1.1.0'
2
+ VERSION = '1.1.1'
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: uphold
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.1.0
4
+ version: 1.1.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Subvisual
@@ -245,7 +245,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
245
245
  version: '0'
246
246
  requirements: []
247
247
  rubyforge_project:
248
- rubygems_version: 2.4.6
248
+ rubygems_version: 2.4.8
249
249
  signing_key:
250
250
  specification_version: 4
251
251
  summary: A wrapper for the Uphold API
@@ -293,4 +293,3 @@ test_files:
293
293
  - spec/unit/entities/base_entity_spec.rb
294
294
  - spec/unit/helper_spec.rb
295
295
  - spec/unit/request_spec.rb
296
- has_rdoc: