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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 3abdec6703223fbe5b3130d1dbcc36c24534ce7b
4
- data.tar.gz: 868fd90b9b7dbcb7fc21be8bbb1d8dd96736d558
3
+ metadata.gz: 1320b498cb6f58eca88a5fd12a6b8a558e1cef6a
4
+ data.tar.gz: 369157911d3e89b476a17961515d81cc97db6d44
5
5
  SHA512:
6
- metadata.gz: d7afcc073f6c4ecb614574eb1b6ae294073af82471350d7b3b97fc975f79584885bfc901cd25ddbe8e00b40704b6a3d7712d92d63c013b7dee8c4ed0ba586b3c
7
- data.tar.gz: b22c3a37a1effe634e2ecd3fb3de9266a9c02411d5ef0cf58c9f67274b8a5d279c12587db54b02b0c05846bda4f6346da84c90a42fbcb00748c419ce92ca7eda
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.to_time if value.is_a?(ActiveSupport::TimeWithZone)
14
+ i[key] = value.iso8601(3) if value.respond_to?(:iso8601)
15
15
  end
16
16
  end
17
17
  super(i)
@@ -1,3 +1,3 @@
1
1
  module ShipStation
2
- VERSION = "0.0.6"
2
+ VERSION = "0.0.7"
3
3
  end
@@ -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
- expect(orders.params[:modifyDateEnd]).to be_a(Time)
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
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: ship_station
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.6
4
+ version: 0.0.7
5
5
  platform: ruby
6
6
  authors:
7
7
  - Ben Jacobs