GitClassic
Feed
Explore
Random
Go Pro
Sign in
obafemitayor
/
newsletter-subscription-application
Code
/
Commits
/ ecdb9d5
Code Review: Added rubocop gem and fixed lint issues on the API
Omotayo Obafemi
committed on Apr 7, 2025, 01:32 PM
Showing
19
changed files
+199 additions
-119 deletions
A
api/.rubocop.yml
+44
M
api/Gemfile
+16
-13
M
api/Gemfile.lock
+42
M
api/Rakefile
+1
-1
M
api/app/controllers/v1/subscriptions_controller.rb
+6
-8
M
api/app/mailers/application_mailer.rb
+2
-2
M
api/app/models/category.rb
+1
-1
M
api/app/models/customer.rb
+1
-1
M
api/app/models/subscription.rb
+2
-2
M
api/app/services/category_service.rb
+1
-1
M
api/config.ru
+1
-1
M
api/spec/controllers/v1/categories_controller_spec.rb
+5
-5
M
api/spec/controllers/v1/subscriptions_controller_spec.rb
+19
-24
M
api/spec/models/category_spec.rb
+2
-2
M
api/spec/models/customer_spec.rb
+2
-2
M
api/spec/models/subscription_spec.rb
+4
-4
M
api/spec/rails_helper.rb
+1
-1
M
api/spec/services/subscription_service_spec.rb
+4
-4
M
api/spec/spec_helper.rb
+45
-47
Browse files at this commit โ