xsys 0.2.10 → 0.2.11

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: 95ecba7c9d99f591384aced77ca921384d481e44
4
- data.tar.gz: 6f0232471d69495745daa5afa5e482f26c474d18
3
+ metadata.gz: 59a321f1965944027a14114a97e9686651b834cc
4
+ data.tar.gz: ef0845b36f2b548aee88c0220d81f8741abe9281
5
5
  SHA512:
6
- metadata.gz: 24287ffa1d88f7c41ee4019bbedac354c04b9020bd297620634f8c838c7260af703e29a1bfc2ca771f3d785a57f036b5aa09024ed8f67bd1fe9ebb990621809e
7
- data.tar.gz: b00edb95caf93ee6ecbb3c88f34c0c0d5eb621634004578acdce3442acb21d49ecb20e45c39b0461685cab09df382a2db99dfcc2f020ad924886b74355d97ed8
6
+ metadata.gz: 35524998e50508f033ad6acc2aed9ed4ff693b8bc87e4c3566bcd395a2e8646ea1119e2d194ba358abf082a6b68f2e7a89b5b75b44a70eb8c7ddb2519782aa72
7
+ data.tar.gz: 13e0a2c49c1936c26771bb7defb3d96428a4ede8312cbd94b9f42081b6ef49cfe9e87b7bb6de2e8a8784e8aedc67f87529dafad3f5ed55377d58a10c833eab92
data/CHANGELOG.md CHANGED
@@ -157,3 +157,7 @@
157
157
  ## v0.2.10
158
158
 
159
159
  * Added service and sellable stocks
160
+
161
+ ## v0.2.11
162
+
163
+ * Bugfixes nil update dates
data/LICENSE.md CHANGED
File without changes
data/README.md CHANGED
File without changes
data/lib/xsys/api.rb CHANGED
File without changes
File without changes
File without changes
File without changes
@@ -20,7 +20,7 @@ module Xsys
20
20
  elsif k.to_s == 'prices'
21
21
  @prices = v.map { |s| ProductPriceList.new(s) }
22
22
  elsif k.to_s == 'cost_updated_at'
23
- @cost_updated_at = Time.parse(v)
23
+ @cost_updated_at = Time.parse(v) unless v.nil?
24
24
  else
25
25
  self.send("#{k}=", v) if self.respond_to?(k)
26
26
  end
File without changes
@@ -11,7 +11,7 @@ module Xsys
11
11
  def initialize(attributes={})
12
12
  attributes.each do |k, v|
13
13
  if k.to_s == 'price_updated_at'
14
- @price_updated_at = Time.parse(v)
14
+ @price_updated_at = Time.parse(v) unless v.nil?
15
15
  else
16
16
  self.send("#{k}=", v) if self.respond_to?(k)
17
17
  end
File without changes
File without changes
File without changes
File without changes
File without changes
data/lib/xsys/version.rb CHANGED
@@ -1,3 +1,3 @@
1
1
  module Xsys
2
- VERSION = "0.2.10"
2
+ VERSION = "0.2.11"
3
3
  end
data/lib/xsys.rb CHANGED
File without changes
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: xsys
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.2.10
4
+ version: 0.2.11
5
5
  platform: ruby
6
6
  authors:
7
7
  - Matias Hick
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2014-05-28 00:00:00.000000000 Z
11
+ date: 2014-08-06 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: bundler