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 +4 -4
- data/lib/newgistics/order.rb +2 -0
- data/lib/newgistics/requests/post_shipment.rb +2 -0
- data/lib/newgistics/version.rb +1 -1
- data/newgistics.gemspec +1 -1
- metadata +6 -6
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: a7102bd462733a83d1d2feb94572a2e21923b6ba
|
4
|
+
data.tar.gz: 2cc9355b5df9e998f7bf45925de7fe1c5951831b
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 0b4882f4bfab7b5233f739c3a031b9a7e29ffdaed5af1f095b0e42041ceeacc2817743e59af3c0f8bd0676d6f3b23137d3bd28219ded0d0af5edf6ba6fd1a38c
|
7
|
+
data.tar.gz: 0cd0c053dbbb127cbe95d6ae16b58af81e7593285bf6a240392c3d487c41dc53e18f1846dfa8b555ce0ff3f44b416ebdd56df25ae3e44ec267d8fb0086c15442
|
data/lib/newgistics/order.rb
CHANGED
@@ -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)
|
data/lib/newgistics/version.rb
CHANGED
data/newgistics.gemspec
CHANGED
@@ -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
|
+
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:
|
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:
|
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:
|
139
|
+
version: 0.17.1
|
140
140
|
- !ruby/object:Gem::Dependency
|
141
141
|
name: dotenv
|
142
142
|
requirement: !ruby/object:Gem::Requirement
|