rootstrap/rails_api_base

View on GitHub
Fix rubocop #2348
Santiago Bartesaghi authored 82446a54
complete00:00:25
1
git clone
2
codeclimate validate-config
View output
codeclimate validate-config
No errors or warnings found in .codeclimate.yml.
3
codeclimate prepare
View output
codeclimate prepare
4
builder pull-engines
View output
determining required images
docker pull codeclimate/codeclimate-csslint:b84
b84: Pulling from codeclimate/codeclimate-csslint
1160f4abea84: Pulling fs layer
a3ed95caeb02: Pulling fs layer
3ec5cae38735: Pulling fs layer
8936ea0e8ba7: Pulling fs layer
94a9aff34d5e: Pulling fs layer
8d0399ee02d4: Pulling fs layer
4dfde3fb5720: Pulling fs layer
96be06cb94ee: Pulling fs layer
94a9aff34d5e: Waiting
8d0399ee02d4: Waiting
4dfde3fb5720: Waiting
96be06cb94ee: Waiting
8936ea0e8ba7: Waiting
a3ed95caeb02: Verifying Checksum
a3ed95caeb02: Download complete
1160f4abea84: Download complete
94a9aff34d5e: Verifying Checksum
94a9aff34d5e: Download complete
8936ea0e8ba7: Verifying Checksum
8936ea0e8ba7: Download complete
3ec5cae38735: Verifying Checksum
3ec5cae38735: Download complete
1160f4abea84: Pull complete
8d0399ee02d4: Download complete
96be06cb94ee: Download complete
a3ed95caeb02: Pull complete
4dfde3fb5720: Verifying Checksum
4dfde3fb5720: Download complete
3ec5cae38735: Pull complete
8936ea0e8ba7: Pull complete
94a9aff34d5e: Pull complete
8d0399ee02d4: Pull complete
4dfde3fb5720: Pull complete
96be06cb94ee: Pull complete
Digest: sha256:20ce00b71ed8952203f7bb71051aec98bc5e156bcaf474bac3a23c54e8567bed
Status: Downloaded newer image for registry.prod.codeclimate.net/codeclimate/codeclimate-csslint:b84
docker pull codeclimate/codeclimate-flog:b976
b976: Pulling from codeclimate/codeclimate-flog
df20fa9351a1: Pulling fs layer
b79bab524d4c: Pulling fs layer
8f5dd72031b5: Pulling fs layer
322f2010e51b: Pulling fs layer
da44f014aa21: Pulling fs layer
5d9ebd8a80b7: Pulling fs layer
5164282ac966: Pulling fs layer
362bcfd2d785: Pulling fs layer
5ae01dee2213: Pulling fs layer
e77c316d3f67: Pulling fs layer
322f2010e51b: Waiting
b0f4d98df8a9: Pulling fs layer
da44f014aa21: Waiting
362bcfd2d785: Waiting
5d9ebd8a80b7: Waiting
5ae01dee2213: Waiting
5164282ac966: Waiting
e77c316d3f67: Waiting
b0f4d98df8a9: Waiting
b79bab524d4c: Verifying Checksum
b79bab524d4c: Download complete
8f5dd72031b5: Verifying Checksum
8f5dd72031b5: Download complete
df20fa9351a1: Verifying Checksum
df20fa9351a1: Download complete
da44f014aa21: Verifying Checksum
da44f014aa21: Download complete
df20fa9351a1: Pull complete
5d9ebd8a80b7: Verifying Checksum
5d9ebd8a80b7: Download complete
322f2010e51b: Verifying Checksum
322f2010e51b: Download complete
5164282ac966: Verifying Checksum
5164282ac966: Download complete
b79bab524d4c: Pull complete
362bcfd2d785: Verifying Checksum
362bcfd2d785: Download complete
8f5dd72031b5: Pull complete
5ae01dee2213: Verifying Checksum
5ae01dee2213: Download complete
e77c316d3f67: Verifying Checksum
e77c316d3f67: Download complete
b0f4d98df8a9: Verifying Checksum
b0f4d98df8a9: Download complete
322f2010e51b: Pull complete
da44f014aa21: Pull complete
5d9ebd8a80b7: Pull complete
5164282ac966: Pull complete
362bcfd2d785: Pull complete
5ae01dee2213: Pull complete
e77c316d3f67: Pull complete
b0f4d98df8a9: Pull complete
Digest: sha256:536a5127f62d41c9014b12a035f064870dd4cd6db0a0c90ed18b15c4fa7e3f3d
Status: Downloaded newer image for registry.prod.codeclimate.net/codeclimate/codeclimate-flog:b976
5
structure
View output
12
Parser process id: 12
codeclimate-parser socket not present
waiting 1s...
W, [2024-11-12T15:49:50.606260 #1]  WARN -- : Skipping app/models/user.rb due to CC::Parser::Client::HTTPError
W, [2024-11-12T15:49:50.606293 #1]  WARN -- : Response status: 422
W, [2024-11-12T15:49:50.621997 #1]  WARN -- : Skipping app/controllers/api/v1/sessions_controller.rb due to CC::Parser::Client::HTTPError
W, [2024-11-12T15:49:50.622031 #1]  WARN -- : Response status: 422
W, [2024-11-12T15:49:50.624441 #1]  WARN -- : Skipping app/controllers/api/v1/registrations_controller.rb due to CC::Parser::Client::HTTPError
W, [2024-11-12T15:49:50.624470 #1]  WARN -- : Response status: 422
W, [2024-11-12T15:49:50.628127 #1]  WARN -- : Skipping app/controllers/api/v1/api_controller.rb due to CC::Parser::Client::HTTPError
W, [2024-11-12T15:49:50.628154 #1]  WARN -- : Response status: 422
W, [2024-11-12T15:49:50.635475 #1]  WARN -- : Skipping app/controllers/api/v1/passwords_controller.rb due to CC::Parser::Client::HTTPError
W, [2024-11-12T15:49:50.635505 #1]  WARN -- : Response status: 422
W, [2024-11-12T15:49:50.640786 #1]  WARN -- : Skipping app/controllers/api/v1/settings_controller.rb due to CC::Parser::Client::HTTPError
W, [2024-11-12T15:49:50.640816 #1]  WARN -- : Response status: 422
W, [2024-11-12T15:49:50.974259 #1]  WARN -- : Skipping spec/spec_helper.rb due to CC::Parser::Client::HTTPError
W, [2024-11-12T15:49:50.974295 #1]  WARN -- : Response status: 422
W, [2024-11-12T15:49:51.016302 #1]  WARN -- : Skipping spec/requests/api/v1/passwords/update_spec.rb due to CC::Parser::Client::HTTPError
W, [2024-11-12T15:49:51.016339 #1]  WARN -- : Response status: 422
W, [2024-11-12T15:49:51.018225 #1]  WARN -- : Skipping spec/requests/api/v1/passwords/create_spec.rb due to CC::Parser::Client::HTTPError
W, [2024-11-12T15:49:51.018253 #1]  WARN -- : Response status: 422
W, [2024-11-12T15:49:51.019897 #1]  WARN -- : Skipping spec/requests/api/v1/passwords/edit_spec.rb due to CC::Parser::Client::HTTPError
W, [2024-11-12T15:49:51.019926 #1]  WARN -- : Response status: 422
W, [2024-11-12T15:49:51.032992 #1]  WARN -- : Skipping spec/requests/api/v1/users/update_spec.rb due to CC::Parser::Client::HTTPError
W, [2024-11-12T15:49:51.033040 #1]  WARN -- : Response status: 422
W, [2024-11-12T15:49:51.046403 #1]  WARN -- : Skipping spec/requests/api/v1/users/create_spec.rb due to CC::Parser::Client::HTTPError
W, [2024-11-12T15:49:51.046438 #1]  WARN -- : Response status: 422
W, [2024-11-12T15:49:51.048862 #1]  WARN -- : Skipping spec/requests/api/v1/impersonations/create_spec.rb due to CC::Parser::Client::HTTPError
W, [2024-11-12T15:49:51.048890 #1]  WARN -- : Response status: 422
W, [2024-11-12T15:49:51.051116 #1]  WARN -- : Skipping spec/requests/api/v1/sessions/create_spec.rb due to CC::Parser::Client::HTTPError
W, [2024-11-12T15:49:51.051143 #1]  WARN -- : Response status: 422
W, [2024-11-12T15:49:51.054612 #1]  WARN -- : Skipping spec/requests/api/v1/sessions/destroy_spec.rb due to CC::Parser::Client::HTTPError
W, [2024-11-12T15:49:51.054638 #1]  WARN -- : Response status: 422
W, [2024-11-12T15:49:51.056916 #1]  WARN -- : Skipping spec/requests/api/v1/settings_spec.rb due to CC::Parser::Client::HTTPError
W, [2024-11-12T15:49:51.056944 #1]  WARN -- : Response status: 422
W, [2024-11-12T15:49:51.062366 #1]  WARN -- : Skipping spec/requests/api/v1/registrations/create_spec.rb due to CC::Parser::Client::HTTPError
W, [2024-11-12T15:49:51.062394 #1]  WARN -- : Response status: 422
W, [2024-11-12T15:49:51.070259 #1]  WARN -- : Skipping spec/objects/impersonation/authenticator_spec.rb due to CC::Parser::Client::HTTPError
W, [2024-11-12T15:49:51.070287 #1]  WARN -- : Response status: 422
W, [2024-11-12T15:49:51.204736 #1]  WARN -- : Skipping config/initializers/colorized_logger.rb due to CC::Parser::Client::HTTPError
W, [2024-11-12T15:49:51.204771 #1]  WARN -- : Response status: 422
6
duplication
View output
12
Parser process id: 12
codeclimate-parser socket not present
waiting 1s...
I, [2024-11-12T15:49:54.538875 #1]  INFO -- : Skipping file ./app/models/user.rb due to exception (Racc::ParseError): ./app/models/user.rb:41 :: parse error on value ":" (tCOLON)

I, [2024-11-12T15:49:54.564822 #1]  INFO -- : Skipping file ./app/controllers/api/v1/sessions_controller.rb due to exception (Racc::ParseError): ./app/controllers/api/v1/sessions_controller.rb:7 :: parse error on value ":" (tCOLON)

I, [2024-11-12T15:49:54.564951 #1]  INFO -- : Skipping file ./app/controllers/api/v1/registrations_controller.rb due to exception (Racc::ParseError): ./app/controllers/api/v1/registrations_controller.rb:7 :: parse error on value ":" (tCOLON)

I, [2024-11-12T15:49:54.606252 #1]  INFO -- : Skipping file ./app/controllers/api/v1/api_controller.rb due to exception (Racc::ParseError): ./app/controllers/api/v1/api_controller.rb:12 :: parse error on value ":" (tCOLON)

I, [2024-11-12T15:49:54.609170 #1]  INFO -- : Skipping file ./app/controllers/api/v1/passwords_controller.rb due to exception (Racc::ParseError): ./app/controllers/api/v1/passwords_controller.rb:7 :: parse error on value ":" (tCOLON)

I, [2024-11-12T15:49:54.628262 #1]  INFO -- : Skipping file ./app/controllers/api/v1/settings_controller.rb due to exception (Racc::ParseError): ./app/controllers/api/v1/settings_controller.rb:13 :: parse error on value ":" (tCOLON)

I, [2024-11-12T15:49:54.741556 #1]  INFO -- : Skipping file ./config/initializers/colorized_logger.rb due to exception (RubyParser::SyntaxError): Odd number (2) list for Hash. s(:array, s(:call, nil, :debug))
7
bundler-audit
bundler-audit engine documentation
8
csslint
csslint engine documentation
9
flog
flog engine documentation
View output
ERROR: parsing ruby file app/controllers/api/v1/api_controller.rb
Racc::ParseError: app/controllers/api/v1/api_controller.rb:36 :: parse error on value ["end", 36] (kEND) at:
  /usr/local/lib/ruby/2.6.0/racc/parser.rb:528:in `on_error'
  /usr/local/bundle/gems/ruby_parser-3.13.1/lib/ruby_parser_extras.rb:1179:in `on_error'
  /usr/local/lib/ruby/2.6.0/racc/parser.rb:259:in `_racc_do_parse_c'
  /usr/local/lib/ruby/2.6.0/racc/parser.rb:259:in `do_parse'
  /usr/local/bundle/gems/ruby_parser-3.13.1/lib/ruby_parser_extras.rb:1086:in `block in process'
ERROR: parsing ruby file app/controllers/api/v1/passwords_controller.rb
Racc::ParseError: app/controllers/api/v1/passwords_controller.rb:16 :: parse error on value ")" (tRPAREN) at:
  /usr/local/lib/ruby/2.6.0/racc/parser.rb:528:in `on_error'
  /usr/local/bundle/gems/ruby_parser-3.13.1/lib/ruby_parser_extras.rb:1179:in `on_error'
  /usr/local/lib/ruby/2.6.0/racc/parser.rb:259:in `_racc_do_parse_c'
  /usr/local/lib/ruby/2.6.0/racc/parser.rb:259:in `do_parse'
  /usr/local/bundle/gems/ruby_parser-3.13.1/lib/ruby_parser_extras.rb:1086:in `block in process'
ERROR: parsing ruby file app/controllers/api/v1/registrations_controller.rb
Racc::ParseError: app/controllers/api/v1/registrations_controller.rb:21 :: parse error on value ")" (tRPAREN) at:
  /usr/local/lib/ruby/2.6.0/racc/parser.rb:528:in `on_error'
  /usr/local/bundle/gems/ruby_parser-3.13.1/lib/ruby_parser_extras.rb:1179:in `on_error'
  /usr/local/lib/ruby/2.6.0/racc/parser.rb:259:in `_racc_do_parse_c'
  /usr/local/lib/ruby/2.6.0/racc/parser.rb:259:in `do_parse'
  /usr/local/bundle/gems/ruby_parser-3.13.1/lib/ruby_parser_extras.rb:1086:in `block in process'
ERROR: parsing ruby file app/controllers/api/v1/sessions_controller.rb
Racc::ParseError: app/controllers/api/v1/sessions_controller.rb:20 :: parse error on value ")" (tRPAREN) at:
  /usr/local/lib/ruby/2.6.0/racc/parser.rb:528:in `on_error'
  /usr/local/bundle/gems/ruby_parser-3.13.1/lib/ruby_parser_extras.rb:1179:in `on_error'
  /usr/local/lib/ruby/2.6.0/racc/parser.rb:259:in `_racc_do_parse_c'
  /usr/local/lib/ruby/2.6.0/racc/parser.rb:259:in `do_parse'
  /usr/local/bundle/gems/ruby_parser-3.13.1/lib/ruby_parser_extras.rb:1086:in `block in process'
ERROR: parsing ruby file app/controllers/api/v1/settings_controller.rb
Racc::ParseError: app/controllers/api/v1/settings_controller.rb:13 :: parse error on value "}" (tRCURLY) at:
  /usr/local/lib/ruby/2.6.0/racc/parser.rb:528:in `on_error'
  /usr/local/bundle/gems/ruby_parser-3.13.1/lib/ruby_parser_extras.rb:1179:in `on_error'
  /usr/local/lib/ruby/2.6.0/racc/parser.rb:259:in `_racc_do_parse_c'
  /usr/local/lib/ruby/2.6.0/racc/parser.rb:259:in `do_parse'
  /usr/local/bundle/gems/ruby_parser-3.13.1/lib/ruby_parser_extras.rb:1086:in `block in process'
ERROR: parsing ruby file app/models/user.rb
Racc::ParseError: app/models/user.rb:52 :: parse error on value "," (tCOMMA) at:
  /usr/local/lib/ruby/2.6.0/racc/parser.rb:528:in `on_error'
  /usr/local/bundle/gems/ruby_parser-3.13.1/lib/ruby_parser_extras.rb:1179:in `on_error'
  /usr/local/lib/ruby/2.6.0/racc/parser.rb:259:in `_racc_do_parse_c'
  /usr/local/lib/ruby/2.6.0/racc/parser.rb:259:in `do_parse'
  /usr/local/bundle/gems/ruby_parser-3.13.1/lib/ruby_parser_extras.rb:1086:in `block in process'