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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: c97b7ad1371972ed3a07bb3745d1d70659d408e143364ddc46ad443765fd7f1d
4
- data.tar.gz: e88e6fd28b7b52097ba0959317f671ccd97e07a85d5bb81c9883b38922dfdad4
3
+ metadata.gz: 4c83ec642703ff89b134c3f724eaf7552cba11b4c836417842403462a126c431
4
+ data.tar.gz: 4848a524d27dc714d78d182f9344ef8e97f8acd9fb9d7067ef520bd1c2a6f36e
5
5
  SHA512:
6
- metadata.gz: 7139cb60747d866cf6e1a12ffda87c930d8282a17baab4b4e22cbc74c985532aa64bca5053465f0fc3f7f7edda278dcc72460a619f1bb6a377751e95b431f9fa
7
- data.tar.gz: b72da9d0b232d076d6a18a5e4dc69a6ef408f71e59beea4f9f28b3627f47e2d329e1e867d2defd7dc2c7f7dada2fc7af501926fd5cfb04205149797f9ccce510
6
+ metadata.gz: 0d56c4816c3972f9b38a0f36a6466b62ca545454b2df3dd1fc9011a772ca1b07046feaf1f76c24d81793b6201ae9cbfb31d74ba2241373a326cf8dff10596666
7
+ data.tar.gz: b5f13eee91dd43cc7d415753cce8a01a1ee63f134cb78af03ce12b85e42f2aa2eb717edd437b3298802a71192c1b7e193f17a9257716ec5071551ffdc3cf5809
@@ -12,7 +12,7 @@ jobs:
12
12
  name: Ruby ${{ matrix.ruby }}
13
13
  steps:
14
14
  - uses: actions/checkout@v2
15
- - uses: actions/setup-ruby@v1
15
+ - uses: ruby/setup-ruby@v1
16
16
  with:
17
17
  ruby-version: ${{ matrix.ruby }}
18
18
  - name: Run Tests
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://go.tradegecko.com/oauth/authorize',
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
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module Gecko
4
- VERSION = '0.12.1'
4
+ VERSION = '0.12.2'
5
5
  end
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.1
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: 2020-07-20 00:00:00.000000000 Z
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.1.2
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.