gecko-ruby 0.11.0 → 0.11.1

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: 57ccb059212f755e0b5199cb01f8b32bc190e3b614ce0fcc8c0f1313363a91bb
4
- data.tar.gz: 59271e89c7f7ac7217d53f6a44cbb1b6b453ce7d03602b2540490edc67f0abf5
3
+ metadata.gz: d199e8dad0e8cfc71dab3994fd32e91d9862fbacd17e5ef33b7ea56042a0c47b
4
+ data.tar.gz: d588aafb7703430db428da743fda7f5acab475759b5c45cb007f843b0fe41822
5
5
  SHA512:
6
- metadata.gz: 0ecc3d0449defcebc48edc48780eeeb9419ca8cc02b7f0b28223725f3722940d1c68fe7280d8c70b4b5ef4ac14f6d0d387ef56c465824f2cc6e03ffc8c7a75f8
7
- data.tar.gz: 7e8a8f9e96f966c23bc66f7577ae735f0144553bf3011e40784cafd7ce9b4def6b64bb61cfb87b64f8a6cadd1789344268ff66d224c559ee5c9bb55950f0da7f
6
+ metadata.gz: ded7f2c92168eb1266b892d91d81902715893ba6df9c3b3d5b738b7655ea8a3a031046324718d170741b9dd9397316aa403d129234eed16dcfb5175ca0bc0dea
7
+ data.tar.gz: 0c4684e13aef815bb59a2b09a49c7cb6625c9201a85af9b9cbad569a2291287a10dc2c9bdb006ac9a31581a1b3ae8bc8651ac0c1b30ba4090158799425578f1e
@@ -1,3 +1,6 @@
1
+ ## 0.11.1 (2020-04-30)
2
+ - Fix addresses on Invoice
3
+
1
4
  ## 0.11.0 (2020-04-29)
2
5
  - Store create/update responses under `adapter.last_response` as well.
3
6
 
@@ -6,8 +6,8 @@ module Gecko
6
6
  module Record
7
7
  class Invoice < Base
8
8
  belongs_to :order, writeable_on: :create
9
- belongs_to :shipping_address
10
- belongs_to :billing_address
9
+ belongs_to :shipping_address, class_name: 'Address'
10
+ belongs_to :billing_address, class_name: 'Address'
11
11
  belongs_to :payment_term
12
12
  belongs_to :company, readonly: true
13
13
  belongs_to :currency, readonly: true
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module Gecko
4
- VERSION = '0.11.0'
4
+ VERSION = '0.11.1'
5
5
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: gecko-ruby
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.11.0
4
+ version: 0.11.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Bradley Priest