gecko-ruby 0.12.2 → 0.12.3

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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 4c83ec642703ff89b134c3f724eaf7552cba11b4c836417842403462a126c431
4
- data.tar.gz: 4848a524d27dc714d78d182f9344ef8e97f8acd9fb9d7067ef520bd1c2a6f36e
3
+ metadata.gz: '069a7e4b8a02ab0289b0e3e1a605900023f10eec49527357450d1015d60d12e0'
4
+ data.tar.gz: e5feb98bafcc6779fff79a311417d7066d2ee13b0673bb71b26adfac9b86e2c2
5
5
  SHA512:
6
- metadata.gz: 0d56c4816c3972f9b38a0f36a6466b62ca545454b2df3dd1fc9011a772ca1b07046feaf1f76c24d81793b6201ae9cbfb31d74ba2241373a326cf8dff10596666
7
- data.tar.gz: b5f13eee91dd43cc7d415753cce8a01a1ee63f134cb78af03ce12b85e42f2aa2eb717edd437b3298802a71192c1b7e193f17a9257716ec5071551ffdc3cf5809
6
+ metadata.gz: 6602475856673d6859aa177edf2d0b2841fdabdaebcb03865642f3c69c1522b5b9ca5e385754e38476129d64b8a42e2b8d27c809726e6b68af77c808be55607c
7
+ data.tar.gz: c7d8508ab889d9cde9f1c5df08c24f53dc9c65099df71a00f5b5096a44683336dfd549bb1dce3bd949696d7bf600b74760b4e61c7c6030acb8d890068e7189f4
@@ -20,7 +20,3 @@ jobs:
20
20
  gem install bundler --no-document
21
21
  bundle install --jobs 4 --retry 3
22
22
  bundle exec rake
23
- - name: Rubocop
24
- uses: andrewmcodes/rubocop-linter-action@v3.1.0
25
- env:
26
- GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
data/CHANGELOG.md CHANGED
@@ -1,3 +1,7 @@
1
+ ## 0.12.3 (2021-12-22)
2
+ - Add `issued_at` to `Gecko::Record::PurchaseOrder`
3
+ - Make liquid shim work with `Gecko::Record::Variant#locations`
4
+
1
5
  ## 0.12.2 (2020-08-12)
2
6
  - Change authorize url to commerce.intuit.com
3
7
  - Add `payment_due_at` to `Gecko::Record::PurchaseOrder`
@@ -35,6 +35,9 @@ module Gecko
35
35
  Gecko::Record::Base.include(LiquidCompatibility)
36
36
  Gecko::Helpers::CollectionProxy.delegate(:to_liquid, to: :@target)
37
37
 
38
+ Gecko::Record::Variant::VariantLocation.include(Gecko::LiquidCompatibility)
39
+ Gecko::Record::Variant::VariantPrice.include(Gecko::LiquidCompatibility)
40
+
38
41
  class BaseDecorator < Liquid::Drop
39
42
  def initialize(delegate)
40
43
  raise 'Turtles all the way down' if delegate.is_a?(BaseDecorator)
@@ -1,5 +1,7 @@
1
1
  # frozen_string_literal: true
2
2
 
3
+ require 'active_support/core_ext/module'
4
+
3
5
  module Gecko
4
6
  module Helpers
5
7
  # Helper for has_many/belongs_to relationships
@@ -22,6 +22,7 @@ module Gecko
22
22
  attribute :email, String
23
23
 
24
24
  attribute :due_at, Date
25
+ attribute :issued_at, Date
25
26
  attribute :payment_due_at, Date
26
27
  attribute :received_at, Date
27
28
 
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.2'
4
+ VERSION = '0.12.3'
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.2
4
+ version: 0.12.3
5
5
  platform: ruby
6
6
  authors:
7
7
  - Bradley Priest
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2021-08-12 00:00:00.000000000 Z
11
+ date: 2021-12-22 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: bundler
@@ -199,7 +199,6 @@ executables: []
199
199
  extensions: []
200
200
  extra_rdoc_files: []
201
201
  files:
202
- - ".github/config/rubocop_linter_action.yml"
203
202
  - ".github/workflows/testing.yml"
204
203
  - ".gitignore"
205
204
  - ".hound.yml"
@@ -371,7 +370,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
371
370
  - !ruby/object:Gem::Version
372
371
  version: '0'
373
372
  requirements: []
374
- rubygems_version: 3.2.25
373
+ rubygems_version: 3.1.6
375
374
  signing_key:
376
375
  specification_version: 4
377
376
  summary: A Ruby interface to the TradeGecko API.
@@ -1,7 +0,0 @@
1
- ---
2
- check_name: 'Rubocop Results'
3
- check_scope: 'modified'
4
- versions:
5
- - rubocop
6
- - rubocop-minitest
7
- - rubocop-performance