qbo_api 1.8.1 → 1.8.2

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: 67f39d1f93ec40aaaf360187cd576f68d9cc5c06
4
- data.tar.gz: 37b06114ee6d7f18b4fd18fc795804ed252d0176
3
+ metadata.gz: 706590c1ebea65c87b5bd12452dca43fa3746bbc
4
+ data.tar.gz: 7d815c391cca1e6f11ff95d804bc6f17692be548
5
5
  SHA512:
6
- metadata.gz: 11d28f4225f8565b01dc097cc602a77f2249d54879204536a9372fc67b0a344110c9da63323605c6e7703fa90ac9714bcd4d947fc653879268b3f88743fc5d82
7
- data.tar.gz: 172082e7b1e7772eae2d5450ec9e726a37178fc5c3ff357ba6fd9a0facc953177ac758568094f5e41c53ceb70b8ea942038ecacf5da6eb38d8be79b8de308ea3
6
+ metadata.gz: 10c69ee5b8e677a9dc58bb1c6c5e9b24e806bd76bf9e5070cd2f99614446c9d5ba5a5f9fca44a4ab50199e20b8f047e1c246bce9f2180e8029df036809ad6c74
7
+ data.tar.gz: 9352623cd9286a26149cfbb8cb5bbdeeb77f95882b938d7bd5774957bae1cdcbe51e766212bae4f13335c1664ac64fe4dec91114091b1465f72502b57ce78397
@@ -12,8 +12,8 @@ class QboApi
12
12
 
13
13
  def authorized_json_connection(url, headers: nil)
14
14
  headers ||= {}
15
- headers['Accept'] ||= 'application/json;charset=UTF-8' # required "we'll only accept JSON". Can be changed to any `+json` media type.
16
- headers['Content-Type'] ||= 'application/json' # required when request has a body, else harmless
15
+ headers['Accept'] ||= 'application/json' # required "we'll only accept JSON". Can be changed to any `+json` media type.
16
+ headers['Content-Type'] ||= 'application/json;charset=UTF-8' # required when request has a body, else harmless
17
17
  build_connection(url, headers: headers) do |conn|
18
18
  add_authorization_middleware(conn)
19
19
  add_exception_middleware(conn)
@@ -1,3 +1,3 @@
1
1
  class QboApi
2
- VERSION = "1.8.1"
2
+ VERSION = "1.8.2"
3
3
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: qbo_api
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.8.1
4
+ version: 1.8.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - Christian Pelczarski
8
8
  autorequire:
9
9
  bindir: exe
10
10
  cert_chain: []
11
- date: 2018-03-28 00:00:00.000000000 Z
11
+ date: 2018-04-03 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: bundler