xsys 0.2.12 → 0.2.13

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: 7c104bd6698a1aea3fa1b95272caf3c6784f193c
4
- data.tar.gz: 2138ebf0d60a7a2204bf1228d2a396f35820fa58
3
+ metadata.gz: e1d80dfc9f2580e9c018b3a507c7a8ef5ee9dd47
4
+ data.tar.gz: 896c4554576b91c6c4ff55073be527384547afe2
5
5
  SHA512:
6
- metadata.gz: b741f0e67e18cf9d86098ccda9b42600320ca29c7589f71c38a44c5a28b553bab42041bb981349d6e4269d9db1403a3be3900bd04dd64d0795cbd985afde3fe8
7
- data.tar.gz: 259a46b6f089a98013df94cc2c29c04348ffcb6b426817559a2b12fbade91a91f1c94b4e886d60a0feb0080fa2ca55a8127b7e07745f85f661c86eb62a8444e0
6
+ metadata.gz: debb3c3d5393466c59f85186398e993458ef05091db1b86157b419ff09c04c0dbb0d3834a5888bdf9dc5069441f912b55d0805fdd461804ef2c26e14d416e40e
7
+ data.tar.gz: a98818519c8f2d5195ee77e08c9a65ba15a66d51319c77c1a6f50bb2951631f730af95f1473ba0115c2747bdbbf1ae11afef65d1f234a7a2b1930be5df7be086
data/CHANGELOG.md CHANGED
@@ -165,3 +165,7 @@
165
165
  ## v0.2.12
166
166
 
167
167
  * Added last cost to products
168
+
169
+ ## v0.2.13
170
+
171
+ * Bugfix last cost
@@ -23,7 +23,7 @@ module Xsys
23
23
  elsif k.to_s == 'cost_updated_at'
24
24
  @cost_updated_at = Time.parse(v) unless v.nil?
25
25
  elsif k.to_s == 'last_cost_updated_at'
26
- @cost_updated_at = Time.parse(v) unless v.nil?
26
+ @last_cost_updated_at = Time.parse(v) unless v.nil?
27
27
  else
28
28
  self.send("#{k}=", v) if self.respond_to?(k)
29
29
  end
data/lib/xsys/version.rb CHANGED
@@ -1,3 +1,3 @@
1
1
  module Xsys
2
- VERSION = "0.2.12"
2
+ VERSION = "0.2.13"
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: xsys
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.2.12
4
+ version: 0.2.13
5
5
  platform: ruby
6
6
  authors:
7
7
  - Matias Hick