fattaholmanan-venice 0.2.1 → 0.2.2

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: 8192baaaa08e457169b7d3525e8b12fe5168f91b
4
- data.tar.gz: 1d4635d48a4680c3a9a4207e60be237e5e329ee4
3
+ metadata.gz: e5d4980fc856024de181ef1865ef21943916cc70
4
+ data.tar.gz: c134ecae990f16dddba0ec976df9c0625fdd159e
5
5
  SHA512:
6
- metadata.gz: 1986918194b4d869b00349950c30df61e2f3a1f7fd67c19ba6dfcebe660f308ff2f43c8a45a4405ac63ddc1606e86debda112f67cffdce3f80bd745ce735c522
7
- data.tar.gz: 94ba3fdbec4960b2fe0973a7dd233c67e3da8422a3759e96e0685ee059b921fb459e3c95679b9d429f3a734d7aa7367e532979f88daeb228bc7ee3290f1b80bd
6
+ metadata.gz: f40f3d34716bcf20c409fa5fdc3101aa0a286465a6e1c686632e17c9effafe4963f90eddb7fc19037d6fd8e9796f126e11e14cfa8b1db0a1f7db3f87a5c4833c
7
+ data.tar.gz: ee14cbac4937e2503983b06fd9f46387570fa3677aabaea3d38a0497864ea38478e3a5e7a010d36bf4d5659f177b8c269767929cd1ccac0acef83c376b635dd8
@@ -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']) if attributes['expires_date']
54
+ @expires_at = Time.new(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.1"
2
+ VERSION = "0.2.2"
3
3
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: fattaholmanan-venice
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.2.1
4
+ version: 0.2.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - Ali Fattaholmanan
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2015-09-01 00:00:00.000000000 Z
11
+ date: 2015-11-01 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: json