monza 1.3.5 → 1.3.6
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/monza/renewal_info.rb +9 -4
- data/lib/monza/version.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: f7eb3c42faa182696449307917a570e0a8a9206d7d49aad26300e0137939621c
|
4
|
+
data.tar.gz: 4a9e08e3b637335402e1b34c078c8c990a80a121d5054e76e5ff38329014902c
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: ddd4c029f5d1006b3f2cf062567638731917e5306a0ae542b4a9bdec9b4d6d15f24064926045861ef88dc8f0d061b57aff20901f5982e93cce752d8266ba3804
|
7
|
+
data.tar.gz: c068e9330a65d54b594fcde47a31f57a6618ddf0652499d97d08b0bc7cb874de8d79cd395489a1925b0ba2454a80a24d634b99a160bbcf9134278ec893fab327
|
data/lib/monza/renewal_info.rb
CHANGED
@@ -19,10 +19,15 @@ module Monza
|
|
19
19
|
@auto_renew_product_id = attributes['auto_renew_product_id']
|
20
20
|
@original_transaction_id = attributes['original_transaction_id']
|
21
21
|
|
22
|
-
|
23
|
-
|
24
|
-
|
25
|
-
|
22
|
+
if attributes['grace_period_expires_date']
|
23
|
+
@grace_period_expires_date = DateTime.parse(attributes['grace_period_expires_date'])
|
24
|
+
end
|
25
|
+
if attributes['grace_period_expires_date_ms']
|
26
|
+
@grace_period_expires_date_ms = Time.zone.at(attributes['grace_period_expires_date_ms'].to_i / 1000)
|
27
|
+
end
|
28
|
+
if attributes['grace_period_expires_date_pst']
|
29
|
+
@grace_period_expires_date_pst = DateTime.parse(attributes['grace_period_expires_date_pst'].gsub("America/Los_Angeles","PST"))
|
30
|
+
end
|
26
31
|
if attributes['expiration_intent']
|
27
32
|
@expiration_intent = attributes['expiration_intent']
|
28
33
|
end
|
data/lib/monza/version.rb
CHANGED
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: monza
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.3.
|
4
|
+
version: 1.3.6
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Gabriel Garza
|
8
8
|
autorequire:
|
9
9
|
bindir: exe
|
10
10
|
cert_chain: []
|
11
|
-
date: 2019-
|
11
|
+
date: 2019-11-01 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: json
|