plesk_kit 2.1.0 → 2.1.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +8 -8
- data/app/models/plesk_kit/subscription.rb +1 -1
- data/lib/plesk_kit/version.rb +1 -1
- metadata +1 -1
checksums.yaml
CHANGED
@@ -1,15 +1,15 @@
|
|
1
1
|
---
|
2
2
|
!binary "U0hBMQ==":
|
3
3
|
metadata.gz: !binary |-
|
4
|
-
|
4
|
+
ZjkzY2RlMWU0MTNkZWUwMWU0ODMyMTE1YWNjN2RhNjY4ODA0MDhmOA==
|
5
5
|
data.tar.gz: !binary |-
|
6
|
-
|
6
|
+
ZmI4OTYxZTIyMWNlYTBmOThhNGRiMzUwNWUzMDE5NmM4NTk5MmM2Zg==
|
7
7
|
SHA512:
|
8
8
|
metadata.gz: !binary |-
|
9
|
-
|
10
|
-
|
11
|
-
|
9
|
+
ZjRjMjA0NDgyMjJkNjI0ODMzNjg2YjdmYWQzMDgxOTc1Nzc4ZGZlNTUyMjcx
|
10
|
+
ZTQ1ZTNhNzQ2M2UyNzcyNjk5OWI2ODM4MzQ2MTFiYTk2NmI2MjUxYzdlY2Vh
|
11
|
+
YzExYWI4OTYxYThhNTExYTA4ZjQ2OGJhMzNmMzc1MTJlOTdjY2I=
|
12
12
|
data.tar.gz: !binary |-
|
13
|
-
|
14
|
-
|
15
|
-
|
13
|
+
MjRlMThkNmFkYWIwYzI5YmFhMjFjYjMxMDU3NWVjZGE2ZDU5NDcyM2EwY2Qw
|
14
|
+
OGNlMTIwZTg3Yzk4NTEzNWNlZGU3NTY1MGNiY2M4YjA1NDg0YmUzNzkxNDIy
|
15
|
+
OWE0ZTBkZjIzZDQxZGJiZTBmYTdjNmU3YjMwYzc2OGFkNTQ4OTA=
|
@@ -46,7 +46,7 @@ module PleskKit
|
|
46
46
|
end
|
47
47
|
end
|
48
48
|
|
49
|
-
def downgradable?(
|
49
|
+
def downgradable?(new_plan)
|
50
50
|
account = (customer_account_id.present? ? customer_account : (reseller_account_id.present? ? reseller_account : raise(msg="no accounts?")))
|
51
51
|
mbox_limit = new_plan.mailboxes
|
52
52
|
space_limit = new_plan.storage #needs to be in bytes or convert the next value to GB
|
data/lib/plesk_kit/version.rb
CHANGED