fix rubocop newer version

This commit is contained in:
Rimian Perkins 2019-12-12 09:59:38 +11:00
parent ff1740d035
commit 41b0667350
10 changed files with 22 additions and 22 deletions

View File

@ -14,7 +14,7 @@ module DiscourseSubscriptions
render_json_dump plans.data render_json_dump plans.data
rescue ::Stripe::InvalidRequestError => e rescue ::Stripe::InvalidRequestError => e
return render_json_error e.message render_json_error e.message
end end
end end
@ -34,7 +34,7 @@ module DiscourseSubscriptions
render_json_dump plan render_json_dump plan
rescue ::Stripe::InvalidRequestError => e rescue ::Stripe::InvalidRequestError => e
return render_json_error e.message render_json_error e.message
end end
end end
@ -47,7 +47,7 @@ module DiscourseSubscriptions
render_json_dump serialized render_json_dump serialized
rescue ::Stripe::InvalidRequestError => e rescue ::Stripe::InvalidRequestError => e
return render_json_error e.message render_json_error e.message
end end
end end
@ -64,7 +64,7 @@ module DiscourseSubscriptions
render_json_dump plan render_json_dump plan
rescue ::Stripe::InvalidRequestError => e rescue ::Stripe::InvalidRequestError => e
return render_json_error e.message render_json_error e.message
end end
end end
@ -75,7 +75,7 @@ module DiscourseSubscriptions
render_json_dump plan render_json_dump plan
rescue ::Stripe::InvalidRequestError => e rescue ::Stripe::InvalidRequestError => e
return render_json_error e.message render_json_error e.message
end end
end end

View File

@ -13,7 +13,7 @@ module DiscourseSubscriptions
render_json_dump products.data render_json_dump products.data
rescue ::Stripe::InvalidRequestError => e rescue ::Stripe::InvalidRequestError => e
return render_json_error e.message render_json_error e.message
end end
end end
@ -30,7 +30,7 @@ module DiscourseSubscriptions
render_json_dump product render_json_dump product
rescue ::Stripe::InvalidRequestError => e rescue ::Stripe::InvalidRequestError => e
return render_json_error e.message render_json_error e.message
end end
end end
@ -41,7 +41,7 @@ module DiscourseSubscriptions
render_json_dump product render_json_dump product
rescue ::Stripe::InvalidRequestError => e rescue ::Stripe::InvalidRequestError => e
return render_json_error e.message render_json_error e.message
end end
end end
@ -55,7 +55,7 @@ module DiscourseSubscriptions
render_json_dump product render_json_dump product
rescue ::Stripe::InvalidRequestError => e rescue ::Stripe::InvalidRequestError => e
return render_json_error e.message render_json_error e.message
end end
end end
@ -66,7 +66,7 @@ module DiscourseSubscriptions
render_json_dump product render_json_dump product
rescue ::Stripe::InvalidRequestError => e rescue ::Stripe::InvalidRequestError => e
return render_json_error e.message render_json_error e.message
end end
end end

View File

@ -13,7 +13,7 @@ module DiscourseSubscriptions
render_json_dump subscriptions render_json_dump subscriptions
rescue ::Stripe::InvalidRequestError => e rescue ::Stripe::InvalidRequestError => e
return render_json_error e.message render_json_error e.message
end end
end end
@ -37,7 +37,7 @@ module DiscourseSubscriptions
render_json_dump subscription render_json_dump subscription
rescue ::Stripe::InvalidRequestError => e rescue ::Stripe::InvalidRequestError => e
return render_json_error e.message render_json_error e.message
end end
end end
end end

View File

@ -21,7 +21,7 @@ module DiscourseSubscriptions
render_json_dump customer render_json_dump customer
rescue ::Stripe::InvalidRequestError => e rescue ::Stripe::InvalidRequestError => e
return render_json_error e.message render_json_error e.message
end end
end end
end end

View File

@ -18,7 +18,7 @@ module DiscourseSubscriptions
render_json_dump [] render_json_dump []
end end
rescue ::Stripe::InvalidRequestError => e rescue ::Stripe::InvalidRequestError => e
return render_json_error e.message render_json_error e.message
end end
end end

View File

@ -21,7 +21,7 @@ module DiscourseSubscriptions
render_json_dump serialized render_json_dump serialized
rescue ::Stripe::InvalidRequestError => e rescue ::Stripe::InvalidRequestError => e
return render_json_error e.message render_json_error e.message
end end
end end
end end

View File

@ -17,7 +17,7 @@ module DiscourseSubscriptions
render_json_dump products render_json_dump products
rescue ::Stripe::InvalidRequestError => e rescue ::Stripe::InvalidRequestError => e
return render_json_error e.message render_json_error e.message
end end
end end
@ -28,7 +28,7 @@ module DiscourseSubscriptions
render_json_dump serialize(product) render_json_dump serialize(product)
rescue ::Stripe::InvalidRequestError => e rescue ::Stripe::InvalidRequestError => e
return render_json_error e.message render_json_error e.message
end end
end end

View File

@ -21,7 +21,7 @@ module DiscourseSubscriptions
render_json_dump subscriptions render_json_dump subscriptions
rescue ::Stripe::InvalidRequestError => e rescue ::Stripe::InvalidRequestError => e
return render_json_error e.message render_json_error e.message
end end
end end
@ -50,7 +50,7 @@ module DiscourseSubscriptions
render_json_dump @subscription render_json_dump @subscription
rescue ::Stripe::InvalidRequestError => e rescue ::Stripe::InvalidRequestError => e
return render_json_error e.message render_json_error e.message
end end
end end

View File

@ -31,7 +31,7 @@ module DiscourseSubscriptions
render_json_dump subscriptions render_json_dump subscriptions
rescue ::Stripe::InvalidRequestError => e rescue ::Stripe::InvalidRequestError => e
return render_json_error e.message render_json_error e.message
end end
end end
@ -58,7 +58,7 @@ module DiscourseSubscriptions
end end
rescue ::Stripe::InvalidRequestError => e rescue ::Stripe::InvalidRequestError => e
return render_json_error e.message render_json_error e.message
end end
end end
end end

View File

@ -29,7 +29,7 @@ en:
subscribe: Subscribe subscribe: Subscribe
billing: Billing billing: Billing
plans: plans:
select: Select subscription period select: Select subscription plan
purchase: Purchase a subscription purchase: Purchase a subscription
interval: interval:
adverb: adverb: