gecko-ruby 0.12.1 → 0.12.2
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/.github/workflows/testing.yml +1 -1
- data/CHANGELOG.md +5 -1
- data/lib/gecko/client.rb +1 -1
- data/lib/gecko/record/purchase_order.rb +2 -3
- data/lib/gecko/version.rb +1 -1
- metadata +3 -3
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 4c83ec642703ff89b134c3f724eaf7552cba11b4c836417842403462a126c431
|
4
|
+
data.tar.gz: 4848a524d27dc714d78d182f9344ef8e97f8acd9fb9d7067ef520bd1c2a6f36e
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 0d56c4816c3972f9b38a0f36a6466b62ca545454b2df3dd1fc9011a772ca1b07046feaf1f76c24d81793b6201ae9cbfb31d74ba2241373a326cf8dff10596666
|
7
|
+
data.tar.gz: b5f13eee91dd43cc7d415753cce8a01a1ee63f134cb78af03ce12b85e42f2aa2eb717edd437b3298802a71192c1b7e193f17a9257716ec5071551ffdc3cf5809
|
data/CHANGELOG.md
CHANGED
@@ -1,3 +1,7 @@
|
|
1
|
+
## 0.12.2 (2020-08-12)
|
2
|
+
- Change authorize url to commerce.intuit.com
|
3
|
+
- Add `payment_due_at` to `Gecko::Record::PurchaseOrder`
|
4
|
+
|
1
5
|
## 0.12.1 (2020-07-20)
|
2
6
|
- Add `Gecko::Record::PaymentMethod` model.
|
3
7
|
|
@@ -22,7 +26,7 @@
|
|
22
26
|
## 0.9.0 (2019-07-24)
|
23
27
|
- Added an optional `ActiveSupport::LogSubscriber` class for easy logging,
|
24
28
|
can be enabled via `Gecko.enable_logging`.
|
25
|
-
- Added an optional compatibility shim for the Liquid templating language,
|
29
|
+
- Added an optional compatibility shim for the Liquid templating language,
|
26
30
|
can be enabled via `Gecko.install_liquid_shim`.
|
27
31
|
|
28
32
|
## 0.8.0 (2019-07-01)
|
data/lib/gecko/client.rb
CHANGED
@@ -127,7 +127,7 @@ module Gecko
|
|
127
127
|
def setup_oauth_client(client_id, client_secret, options)
|
128
128
|
defaults = {
|
129
129
|
site: 'https://api.tradegecko.com',
|
130
|
-
authorize_url: 'https://
|
130
|
+
authorize_url: 'https://commerce.intuit.com/oauth/authorize',
|
131
131
|
connection_opts: {
|
132
132
|
headers: self.class.default_headers
|
133
133
|
}
|
@@ -20,7 +20,9 @@ module Gecko
|
|
20
20
|
attribute :order_number, String
|
21
21
|
attribute :reference_number, String
|
22
22
|
attribute :email, String
|
23
|
+
|
23
24
|
attribute :due_at, Date
|
25
|
+
attribute :payment_due_at, Date
|
24
26
|
attribute :received_at, Date
|
25
27
|
|
26
28
|
attribute :status, String
|
@@ -34,9 +36,6 @@ module Gecko
|
|
34
36
|
attribute :cached_quantity, BigDecimal, readonly: true
|
35
37
|
|
36
38
|
attribute :tags, Array[String]
|
37
|
-
|
38
|
-
# DEPRECATED
|
39
|
-
# attribute :cached_total, BigDecimal, readonly: true
|
40
39
|
end
|
41
40
|
|
42
41
|
class PurchaseOrderAdapter < BaseAdapter
|
data/lib/gecko/version.rb
CHANGED
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: gecko-ruby
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.12.
|
4
|
+
version: 0.12.2
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Bradley Priest
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date:
|
11
|
+
date: 2021-08-12 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: bundler
|
@@ -371,7 +371,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
371
371
|
- !ruby/object:Gem::Version
|
372
372
|
version: '0'
|
373
373
|
requirements: []
|
374
|
-
rubygems_version: 3.
|
374
|
+
rubygems_version: 3.2.25
|
375
375
|
signing_key:
|
376
376
|
specification_version: 4
|
377
377
|
summary: A Ruby interface to the TradeGecko API.
|