fattaholmanan-venice 0.2.2 → 0.2.3

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: e5d4980fc856024de181ef1865ef21943916cc70
4
- data.tar.gz: c134ecae990f16dddba0ec976df9c0625fdd159e
3
+ metadata.gz: 01d4b6d572cc3e4f0cecabffd70733fac81d76bb
4
+ data.tar.gz: cb8162fbb18e7936483337dac9193f26d4f11443
5
5
  SHA512:
6
- metadata.gz: f40f3d34716bcf20c409fa5fdc3101aa0a286465a6e1c686632e17c9effafe4963f90eddb7fc19037d6fd8e9796f126e11e14cfa8b1db0a1f7db3f87a5c4833c
7
- data.tar.gz: ee14cbac4937e2503983b06fd9f46387570fa3677aabaea3d38a0497864ea38478e3a5e7a010d36bf4d5659f177b8c269767929cd1ccac0acef83c376b635dd8
6
+ metadata.gz: 5f5f90a6a31025462cd0b12f2cbcc5ff7c254a53a3abdb1584d0572fa7ad71cc067e4c2b678e1302e54d73f1dedbc4cc4b225fa79d2ab98c6afadae95c0b909f
7
+ data.tar.gz: f040d440bc01905fe821917003ebd2cd2851b36efaf4cdb34df037019c58afe4f13a7b18565571194988afd28be9ff3f2a6caded04010a2443f1c799050bdf65
@@ -51,7 +51,7 @@ module Venice
51
51
  @app_item_id = attributes['app_item_id']
52
52
  @version_external_identifier = attributes['version_external_identifier']
53
53
 
54
- @expires_at = Time.new(attributes['expires_date_ms'].to_i/1000) if attributes['expires_date_ms']
54
+ @expires_at = Time.at(attributes['expires_date_ms'].to_i/1000) if attributes['expires_date_ms']
55
55
  # cancellation_date is in ms since the Epoch, Time.at expects seconds
56
56
  @cancellation_date = Time.at(attributes['cancellation_date'].to_i / 1000) if attributes['cancellation_date']
57
57
 
@@ -1,3 +1,3 @@
1
1
  module Venice
2
- VERSION = "0.2.2"
2
+ VERSION = "0.2.3"
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: fattaholmanan-venice
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.2.2
4
+ version: 0.2.3
5
5
  platform: ruby
6
6
  authors:
7
7
  - Ali Fattaholmanan