diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml
index edb22659..b50fab56 100644
--- a/.github/workflows/ci.yml
+++ b/.github/workflows/ci.yml
@@ -4,18 +4,25 @@ on: [push, pull_request]
jobs:
test:
-
runs-on: ubuntu-latest
-
strategy:
fail-fast: false
matrix:
- ruby: ["2.6", "2.7", "3.0", "3.1", ruby-head]
- env:
- - FARADAY_VERSION: "~> 2.0"
- - FARADAY_VERSION: "~> 1.0"
-
- env: ${{ matrix.env }}
+ ruby:
+ - "2.6"
+ - "2.7"
+ - "3.0"
+ - "3.1"
+ - "3.2"
+ - "ruby-head"
+ - "jruby-9.3"
+ - "jruby-9.4"
+ - "jruby-head"
+ faraday:
+ - "~> 1.0"
+ - "~> 2.0"
+ env:
+ FARADAY_VERSION: ${{ matrix.faraday }}
steps:
- uses: actions/checkout@v2
- name: Set up Ruby
diff --git a/Gemfile b/Gemfile
index 2d73000c..de6fde28 100644
--- a/Gemfile
+++ b/Gemfile
@@ -1,7 +1,5 @@
source 'http://rubygems.org'
-ruby RUBY_VERSION
-
gem 'pry'
gemspec
diff --git a/HISTORY.md b/HISTORY.md
index 64b94fb5..d0ca102f 100644
--- a/HISTORY.md
+++ b/HISTORY.md
@@ -1,15 +1,18 @@
-## 2.0.2 (2023-07-12)
+## 2.0.3 (2023-07-12)
cherry-picked `Fintechqb 1967 enable service level logging` from master
+## 2.0.2 (2022-12-28)
+
+* Update dependency on `faraday-gzip` to support JRuby (#594)
+
## 2.0.1 (2022-12-27)
Faraday Versions (#593)
* Test against Faraday 1.x and 2.x
* Faraday 1.x support for Quickbooks::Service::AccessToken#disconnect
-Thanks @jaredmoody and @ ashkulz
-
+Thanks @jaredmoody and @ashkulz
## 2.0 (2022-11-10)
diff --git a/README.md b/README.md
index 7e6ec020..1b6255d2 100644
--- a/README.md
+++ b/README.md
@@ -119,6 +119,8 @@ def oauth_callback
end
```
+Your Redirect URI needs to be publicly accessible. If you are still in development and running everything via `localhost` you will need to use a tool like [Ngrok](https://ngrok.com/product/secure-tunnels) to expose your localhost to a public URL with HTTPS.
+
Most likely you will want to persist the OAuth access credentials so that users don't need to re-authorize your application in every session.
An example database table could have fields likes:
diff --git a/lib/quickbooks/version.rb b/lib/quickbooks/version.rb
index f2f235f4..253c84da 100644
--- a/lib/quickbooks/version.rb
+++ b/lib/quickbooks/version.rb
@@ -1,5 +1,5 @@
module Quickbooks
- VERSION = "2.0.2"
+ VERSION = "2.0.3"
end
diff --git a/quickbooks-ruby.gemspec b/quickbooks-ruby.gemspec
index b86ca61b..3168bef4 100644
--- a/quickbooks-ruby.gemspec
+++ b/quickbooks-ruby.gemspec
@@ -24,7 +24,7 @@ Gem::Specification.new do |gem|
gem.add_dependency 'multipart-post' # promiscuous mode
gem.add_dependency 'faraday', '< 3.0'
gem.add_dependency 'faraday-multipart', '~> 1.0'
- gem.add_dependency 'faraday-gzip', '~> 0.1'
+ gem.add_dependency 'faraday-gzip', '~> 1.0'
gem.add_development_dependency 'rake'
gem.add_development_dependency 'simplecov'
diff --git a/spec/fixtures/tax_agency.xml b/spec/fixtures/tax_agency.xml
index 11c07876..9dbf1485 100644
--- a/spec/fixtures/tax_agency.xml
+++ b/spec/fixtures/tax_agency.xml
@@ -5,7 +5,7 @@
2013-12-11T10:59:51-08:00
2013-12-11T10:59:51-08:00
- First TaxAgency
- false
- true
+ First TaxAgency
+ false
+ true