ship_station 0.0.6 → 0.0.7
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/ship_station/api/model.rb +1 -1
- data/lib/ship_station/version.rb +1 -1
- data/spec/ship_station/models/order_spec.rb +3 -1
- metadata +1 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 1320b498cb6f58eca88a5fd12a6b8a558e1cef6a
|
4
|
+
data.tar.gz: 369157911d3e89b476a17961515d81cc97db6d44
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 5df6390355bab97246e13c6bf3c724c5b72755e8b2fdaaf80f28313c57d96ff486f4b73480e1080b12874d351b47e7ae69f77b7cc03a12fce7199f74f98b2354
|
7
|
+
data.tar.gz: cd527cb3916ac7742458ba4976bca79fe4c0e260f2075661547a7bf426f6edae4cd4376bc1ccef36aa03abda522642d02deabb6d2bbbe34c09490e574e0f2850
|
@@ -11,7 +11,7 @@ module ShipStation
|
|
11
11
|
raise(ConfigurationError, "Shipstation password not configured") if ShipStation.password.nil?
|
12
12
|
if i.is_a?(Hash)
|
13
13
|
i.each do |key, value|
|
14
|
-
i[key] = value.
|
14
|
+
i[key] = value.iso8601(3) if value.respond_to?(:iso8601)
|
15
15
|
end
|
16
16
|
end
|
17
17
|
super(i)
|
data/lib/ship_station/version.rb
CHANGED
@@ -60,6 +60,8 @@ RSpec.describe ShipStation::Order do
|
|
60
60
|
Time.zone = "Eastern Time (US & Canada)"
|
61
61
|
modifyDateEnd = 3.minutes.ago
|
62
62
|
orders = ShipStation::Order.where(modifyDateEnd: modifyDateEnd)
|
63
|
-
|
63
|
+
parsed = orders.params[:modifyDateEnd]
|
64
|
+
expect(parsed).to be_a(String)
|
65
|
+
expect(parsed).to eq(modifyDateEnd.iso8601(3))
|
64
66
|
end
|
65
67
|
end
|