lib/deliver/upload_price_tier.rb in deliver-1.9.0 vs lib/deliver/upload_price_tier.rb in deliver-1.10.0
- old
+ new
@@ -8,14 +8,14 @@
# just to be sure, the user might have passed an int (which is fine with us)
options[:price_tier] = options[:price_tier].to_s
old_price = app.price_tier
if options[:price_tier] == old_price
- Helper.log.info "Price Tier unchanged (tier #{options[:price_tier]})".green
+ UI.success("Price Tier unchanged (tier #{options[:price_tier]})")
return
end
app.update_price_tier!(options[:price_tier])
- Helper.log.info "Successfully updated the pricing from #{old_price} to #{options[:price_tier]}".green
+ UI.success("Successfully updated the pricing from #{old_price} to #{options[:price_tier]}")
end
end
end