qbo_api 1.5.1 → 1.5.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/README.md +3 -0
- data/example/views/oauth2_redirect.erb +25 -0
- data/lib/qbo_api/entity.rb +1 -1
- data/lib/qbo_api/raise_http_exception.rb +1 -1
- data/lib/qbo_api/version.rb +1 -1
- data/qbo_api.gemspec +1 -1
- metadata +7 -6
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 9aa8fd9083ddf6fc25a4ffc9c3b372bc96510eaf
|
4
|
+
data.tar.gz: f05e8153ca1a65b5c4e105ae510422667aeb6ebc
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 49c7dc7d77864991763879a564df323ecc2e363248e4a3abd78cfb91323146a77e0e25671685e7e62906a82ae42c91a4c77a2fb2950e59571858f68085144bc3
|
7
|
+
data.tar.gz: 147cc777b4ea88ec4dccfdc3302056b285fe7391e790b788ca37b708f0b862654d4069f0fa6e8bf6cb2a8c5e809251e4f2553571267f64c181f1f3d3079d9882
|
data/README.md
CHANGED
@@ -73,6 +73,9 @@ Or install it yourself as:
|
|
73
73
|
- qboapi.get :customer, 1
|
74
74
|
```
|
75
75
|
|
76
|
+
### TLS v1.2
|
77
|
+
Intuit will be [requiring](https://developer.intuit.com/hub/blog/2017/08/03/upgrading-your-apps-to-support-tls-1-2) API client connections to be negotiated over TLS1.2 by December 31st, 2017. Using the default HTTP client (Net::HTTP) with Faraday this is the case with QboApi, however, if you are using another HTTP client you may need to directly set the TLS version negotiation manually.
|
78
|
+
|
76
79
|
### Configuration options
|
77
80
|
- By default this client runs against a QBO sandbox. To run against the production QBO API URL do:
|
78
81
|
```ruby
|
@@ -0,0 +1,25 @@
|
|
1
|
+
<!DOCTYPE html>
|
2
|
+
<html lang="en">
|
3
|
+
<head>
|
4
|
+
<meta charset="UTF-8">
|
5
|
+
<title></title>
|
6
|
+
<style type="text/css" media="all">
|
7
|
+
ul li span {
|
8
|
+
vertical-align: top;
|
9
|
+
}
|
10
|
+
</style>
|
11
|
+
</head>
|
12
|
+
<body>
|
13
|
+
<h1>OAuth2 Process Success!</h1>
|
14
|
+
<ul>
|
15
|
+
<li><span>Access token:</span> <textarea rows="8" cols="160"><%= session[:access_token] %></textarea></li>
|
16
|
+
<li><span>Refresh token:</span> <textarea rows="4" cols="60"><%= session[:refresh_token] %></textarea></li>
|
17
|
+
</ul>
|
18
|
+
<div>
|
19
|
+
<p>
|
20
|
+
<a href='/oauth2/customer/5'>Click here</a> to make an API call
|
21
|
+
</p>
|
22
|
+
</div>
|
23
|
+
|
24
|
+
</body>
|
25
|
+
</html>
|
data/lib/qbo_api/entity.rb
CHANGED
data/lib/qbo_api/version.rb
CHANGED
data/qbo_api.gemspec
CHANGED
@@ -34,5 +34,5 @@ Gem::Specification.new do |spec|
|
|
34
34
|
spec.add_runtime_dependency 'faraday_middleware'
|
35
35
|
spec.add_runtime_dependency 'faraday-detailed_logger'
|
36
36
|
spec.add_runtime_dependency 'simple_oauth'
|
37
|
-
spec.add_runtime_dependency 'nokogiri'
|
37
|
+
spec.add_runtime_dependency 'nokogiri', "~> 1.7.0"
|
38
38
|
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.5.
|
4
|
+
version: 1.5.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: 2017-
|
11
|
+
date: 2017-09-28 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: bundler
|
@@ -238,16 +238,16 @@ dependencies:
|
|
238
238
|
name: nokogiri
|
239
239
|
requirement: !ruby/object:Gem::Requirement
|
240
240
|
requirements:
|
241
|
-
- - "
|
241
|
+
- - "~>"
|
242
242
|
- !ruby/object:Gem::Version
|
243
|
-
version:
|
243
|
+
version: 1.7.0
|
244
244
|
type: :runtime
|
245
245
|
prerelease: false
|
246
246
|
version_requirements: !ruby/object:Gem::Requirement
|
247
247
|
requirements:
|
248
|
-
- - "
|
248
|
+
- - "~>"
|
249
249
|
- !ruby/object:Gem::Version
|
250
|
-
version:
|
250
|
+
version: 1.7.0
|
251
251
|
description:
|
252
252
|
email:
|
253
253
|
- christian@minimul.com
|
@@ -267,6 +267,7 @@ files:
|
|
267
267
|
- example/views/customer.erb
|
268
268
|
- example/views/index.erb
|
269
269
|
- example/views/oauth2.erb
|
270
|
+
- example/views/oauth2_redirect.erb
|
270
271
|
- lib/qbo_api.rb
|
271
272
|
- lib/qbo_api/configuration.rb
|
272
273
|
- lib/qbo_api/entity.rb
|