newgistics 2.4.1 → 2.5.0

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
  SHA1:
3
- metadata.gz: 501fd75a15918e4343b08c54703c624ed3321b26
4
- data.tar.gz: 16007118503adb0b95b51d8591d159feefd77448
3
+ metadata.gz: a7102bd462733a83d1d2feb94572a2e21923b6ba
4
+ data.tar.gz: 2cc9355b5df9e998f7bf45925de7fe1c5951831b
5
5
  SHA512:
6
- metadata.gz: a5f51b558789523c672cd74c024d1d0097cc0b8fa74fdb915d3077f252729021ce5534b9ed29e77a79de1a513fcbeaf157393ee5d8e33d5a721fa4b3691f035d
7
- data.tar.gz: b660bffc2914034cbaa7fb14260e0f36ecacb2e5b27bc7904ae0da56ce5c9c0b971d9b4c0e9dbbff9c006c7adaaceb6639f55214ae898b3071259c851fa47249
6
+ metadata.gz: 0b4882f4bfab7b5233f739c3a031b9a7e29ffdaed5af1f095b0e42041ceeacc2817743e59af3c0f8bd0676d6f3b23137d3bd28219ded0d0af5edf6ba6fd1a38c
7
+ data.tar.gz: 0cd0c053dbbb127cbe95d6ae16b58af81e7593285bf6a240392c3d487c41dc53e18f1846dfa8b555ce0ff3f44b416ebdd56df25ae3e44ec267d8fb0086c15442
@@ -18,6 +18,8 @@ module Newgistics
18
18
  attribute :custom_fields, Hash
19
19
  attribute :allow_duplicate, Boolean
20
20
  attribute :items, Array[Item]
21
+ attribute :reference_1, String
22
+ attribute :reference_2, String
21
23
 
22
24
  attribute :errors, Array[String], default: []
23
25
  attribute :warnings, Array[String], default: []
@@ -54,6 +54,8 @@ module Newgistics
54
54
  xml.GiftMessage order.gift_message
55
55
  xml.HoldForAllInventory order.hold_for_all_inventory
56
56
  xml.AllowDuplicate order.allow_duplicate
57
+ xml.Reference1 order.reference_1
58
+ xml.Reference2 order.reference_2
57
59
 
58
60
  order_date_xml(order, xml)
59
61
  customer_xml(order.customer, xml)
@@ -1,3 +1,3 @@
1
1
  module Newgistics
2
- VERSION = "2.4.1".freeze
2
+ VERSION = "2.5.0".freeze
3
3
  end
@@ -30,7 +30,7 @@ Gem::Specification.new do |spec|
30
30
  spec.add_development_dependency "rake", "~> 10.0"
31
31
  spec.add_development_dependency "rspec", "~> 3.0"
32
32
  spec.add_development_dependency "pry"
33
- spec.add_development_dependency "simplecov"
33
+ spec.add_development_dependency "simplecov", "~> 0.17.1"
34
34
  spec.add_development_dependency "dotenv"
35
35
  spec.add_development_dependency "vcr", "~> 3.0.3"
36
36
  spec.add_development_dependency "timecop", "~> 0.9"
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: newgistics
3
3
  version: !ruby/object:Gem::Version
4
- version: 2.4.1
4
+ version: 2.5.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Manuel Martinez
@@ -9,7 +9,7 @@ authors:
9
9
  autorequire:
10
10
  bindir: exe
11
11
  cert_chain: []
12
- date: 2019-06-05 00:00:00.000000000 Z
12
+ date: 2020-10-02 00:00:00.000000000 Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: virtus
@@ -127,16 +127,16 @@ dependencies:
127
127
  name: simplecov
128
128
  requirement: !ruby/object:Gem::Requirement
129
129
  requirements:
130
- - - ">="
130
+ - - "~>"
131
131
  - !ruby/object:Gem::Version
132
- version: '0'
132
+ version: 0.17.1
133
133
  type: :development
134
134
  prerelease: false
135
135
  version_requirements: !ruby/object:Gem::Requirement
136
136
  requirements:
137
- - - ">="
137
+ - - "~>"
138
138
  - !ruby/object:Gem::Version
139
- version: '0'
139
+ version: 0.17.1
140
140
  - !ruby/object:Gem::Dependency
141
141
  name: dotenv
142
142
  requirement: !ruby/object:Gem::Requirement