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
rescue ::Stripe::InvalidRequestError => e
return render_json_error e.message
render_json_error e.message
end
end
@ -34,7 +34,7 @@ module DiscourseSubscriptions
render_json_dump plan
rescue ::Stripe::InvalidRequestError => e
return render_json_error e.message
render_json_error e.message
end
end
@ -47,7 +47,7 @@ module DiscourseSubscriptions
render_json_dump serialized
rescue ::Stripe::InvalidRequestError => e
return render_json_error e.message
render_json_error e.message
end
end
@ -64,7 +64,7 @@ module DiscourseSubscriptions
render_json_dump plan
rescue ::Stripe::InvalidRequestError => e
return render_json_error e.message
render_json_error e.message
end
end
@ -75,7 +75,7 @@ module DiscourseSubscriptions
render_json_dump plan
rescue ::Stripe::InvalidRequestError => e
return render_json_error e.message
render_json_error e.message
end
end

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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