trustvox 0.3.0 → 0.4.0

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: d3b21c5a07ec38b10c78111af13293944d5f928c
4
- data.tar.gz: 30a4a5b76f65cab16b53d8fb52a0f259eb299c49
3
+ metadata.gz: 708e280f659eb9e5854a10e030ce4eac1a6caea9
4
+ data.tar.gz: 4448dce2ff5e6356b0bd8bdfd77750b047cc7508
5
5
  SHA512:
6
- metadata.gz: 0da22e5f7a9a61fae64fca8508c786aeba074dc1c15282fe4ca957d03e1fb7bf0c66b6c2485569a6c84c5235e666c8ad16cf67f7632232460653e443ed543a08
7
- data.tar.gz: 8d1fddb1a0b0ce8d3f0b94a326af0a297a012ddc8d0ca2e244f94696848bf5dc22b6b06dbaf2b75bda9f6993a82e67381bc68e997a1ff9877678d9c79ffb6ff5
6
+ metadata.gz: be469e62693013f5435382f42c120b615794aba485335ff0a832222d83b96d9f1c4ba24a0cbf1dba9b796faff1e326d632629105654fc2a3caf5f8568e03da8c
7
+ data.tar.gz: 4fbc7e8b8bdafd21c1329678da626ba0043dcf98a7c8ad7c6a794e954349a3d2076d846697c5731ba3da054ae40f9d9e155d3cabaa2d617610bbf3bbd5801b17
data/Gemfile.lock CHANGED
@@ -1,7 +1,7 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- trustvox (0.3.0)
4
+ trustvox (0.4.0)
5
5
  httparty (~> 0.14)
6
6
 
7
7
  GEM
@@ -12,7 +12,7 @@ GEM
12
12
  dotenv (2.2.1)
13
13
  faker (1.8.7)
14
14
  i18n (>= 0.7)
15
- httparty (0.16.1)
15
+ httparty (0.16.2)
16
16
  multi_xml (>= 0.5.2)
17
17
  i18n (1.0.0)
18
18
  concurrent-ruby (~> 1.0)
data/lib/trustvox/base.rb CHANGED
@@ -5,8 +5,8 @@ module Trustvox
5
5
  class Base
6
6
  include HTTParty
7
7
 
8
- headers 'Accept': 'application/vnd.trustvox.com; version=1',
9
- 'Content-Type': 'application/json'
8
+ headers 'Accept' => 'application/vnd.trustvox.com; version=1',
9
+ 'Content-Type' => 'application/json'
10
10
 
11
11
  def initialize
12
12
  if Config.is_on_staging?
@@ -18,11 +18,11 @@ module Trustvox
18
18
  end
19
19
 
20
20
  def auth_by_platform_token!
21
- self.class.headers 'Authorization': "token #{Config.token}"
21
+ self.class.headers 'Authorization' => "token #{Config.token}"
22
22
  end
23
23
 
24
24
  def auth_by_store_token!
25
- self.class.headers 'Authorization': "token #{Config.store_token}"
25
+ self.class.headers 'Authorization' => "token #{Config.store_token}"
26
26
  end
27
27
  end
28
28
  end
@@ -1,3 +1,3 @@
1
1
  module Trustvox
2
- VERSION = "0.3.0"
2
+ VERSION = "0.4.0"
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: trustvox
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.3.0
4
+ version: 0.4.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Bruno Frank