fattaholmanan-venice 0.2.0 → 0.2.1

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: 49492d7429cb9a0d437ef24f1b5c5187e33ad084
4
- data.tar.gz: 2831c7853aebe0a0b6713ada36c257698fba8b00
3
+ metadata.gz: 8192baaaa08e457169b7d3525e8b12fe5168f91b
4
+ data.tar.gz: 1d4635d48a4680c3a9a4207e60be237e5e329ee4
5
5
  SHA512:
6
- metadata.gz: b0def4411ebf45599b39b61c75f1822a5dba44be7914b3eb495201fc5dd91c89cb0c01f01de1d964dc3d8e20d67134e05efc74c753fb084b7be21fab1eaf5b55
7
- data.tar.gz: 37a625cc05d06879bbcfc4b3e16424f9ad79b5e1d48eb072a0e1b47cdb71611ef8e42567e77d181427e64dc805dbcd36db0398379191edbea49a8224989f5e5d
6
+ metadata.gz: 1986918194b4d869b00349950c30df61e2f3a1f7fd67c19ba6dfcebe660f308ff2f43c8a45a4405ac63ddc1606e86debda112f67cffdce3f80bd745ce735c522
7
+ data.tar.gz: 94ba3fdbec4960b2fe0973a7dd233c67e3da8422a3759e96e0685ee059b921fb459e3c95679b9d429f3a734d7aa7367e532979f88daeb228bc7ee3290f1b80bd
@@ -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.at(attributes['expires_date'].to_i) if attributes['expires_date']
54
+ @expires_at = Time.new(attributes['expires_date']) if attributes['expires_date']
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.0"
2
+ VERSION = "0.2.1"
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.0
4
+ version: 0.2.1
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-08-26 00:00:00.000000000 Z
11
+ date: 2015-09-01 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: json