app_manager 2.2.3 → 2.2.4
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/Gemfile.lock +1 -1
- data/app/controllers/app_manager/charges_controller.rb +1 -1
- data/lib/app_manager/version.rb +1 -1
- metadata +1 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: b79e8f73435de3ded9d7a71d76c5658884d624c96944ae4a1fa6aa9d96504fcc
|
4
|
+
data.tar.gz: cca64ffae23b40444c8abc95ea1d9474b201c74569661e958d145744eff2195e
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: ce51ba456521c7877e92602bcea65a7238eaf2f57b275d2746d8931e75f6074be343386ff96c3d51d5b674800bf56c2e4423c65e80addaaae7777f281d6dd455
|
7
|
+
data.tar.gz: 42d2907e6918b99dd9bceb0f1cf720c08a17bb71de1f4f520b2d17ad741a800ba617c4955c6de68ea894efd667915487dbad522f68646738d34943e907a4bcf0
|
data/Gemfile.lock
CHANGED
@@ -140,7 +140,7 @@ module AppManager
|
|
140
140
|
|
141
141
|
begin
|
142
142
|
plan_obj = AppManager::Client.new
|
143
|
-
if params[:discount].present? && !params[:discount].nil?
|
143
|
+
if params[:discount].present? && !params[:discount].nil? && params[:discount] != '0'
|
144
144
|
discounted_plans = plan_obj.get_related_discounted_plans(params[:discount])
|
145
145
|
if discounted_plans.empty? || discounted_plans.include?(params[:plan].to_i)
|
146
146
|
plan_obj.discount_used(@shop[shopify_domain], params[:discount])
|
data/lib/app_manager/version.rb
CHANGED