rootstrap/rails_api_base

View on GitHub
Fix rubocop #2330
Santiago Bartesaghi authored fb313daf
complete00:00:17
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
5
structure
View output
12
Parser process id: 12
codeclimate-parser socket not present
waiting 1s...
W, [2024-11-05T16:23:10.013396 #1]  WARN -- : Skipping app/models/user.rb due to CC::Parser::Client::HTTPError
W, [2024-11-05T16:23:10.013432 #1]  WARN -- : Response status: 422
W, [2024-11-05T16:23:10.031405 #1]  WARN -- : Skipping app/controllers/api/v1/sessions_controller.rb due to CC::Parser::Client::HTTPError
W, [2024-11-05T16:23:10.031440 #1]  WARN -- : Response status: 422
W, [2024-11-05T16:23:10.034847 #1]  WARN -- : Skipping app/controllers/api/v1/registrations_controller.rb due to CC::Parser::Client::HTTPError
W, [2024-11-05T16:23:10.034877 #1]  WARN -- : Response status: 422
W, [2024-11-05T16:23:10.040699 #1]  WARN -- : Skipping app/controllers/api/v1/api_controller.rb due to CC::Parser::Client::HTTPError
W, [2024-11-05T16:23:10.040731 #1]  WARN -- : Response status: 422
W, [2024-11-05T16:23:10.048604 #1]  WARN -- : Skipping app/controllers/api/v1/passwords_controller.rb due to CC::Parser::Client::HTTPError
W, [2024-11-05T16:23:10.048650 #1]  WARN -- : Response status: 422
W, [2024-11-05T16:23:10.054952 #1]  WARN -- : Skipping app/controllers/api/v1/settings_controller.rb due to CC::Parser::Client::HTTPError
W, [2024-11-05T16:23:10.054995 #1]  WARN -- : Response status: 422
W, [2024-11-05T16:23:10.374128 #1]  WARN -- : Skipping spec/spec_helper.rb due to CC::Parser::Client::HTTPError
W, [2024-11-05T16:23:10.374165 #1]  WARN -- : Response status: 422
W, [2024-11-05T16:23:10.416215 #1]  WARN -- : Skipping spec/requests/api/v1/passwords/update_spec.rb due to CC::Parser::Client::HTTPError
W, [2024-11-05T16:23:10.416251 #1]  WARN -- : Response status: 422
W, [2024-11-05T16:23:10.417937 #1]  WARN -- : Skipping spec/requests/api/v1/passwords/create_spec.rb due to CC::Parser::Client::HTTPError
W, [2024-11-05T16:23:10.417968 #1]  WARN -- : Response status: 422
W, [2024-11-05T16:23:10.419580 #1]  WARN -- : Skipping spec/requests/api/v1/passwords/edit_spec.rb due to CC::Parser::Client::HTTPError
W, [2024-11-05T16:23:10.419608 #1]  WARN -- : Response status: 422
W, [2024-11-05T16:23:10.431889 #1]  WARN -- : Skipping spec/requests/api/v1/users/update_spec.rb due to CC::Parser::Client::HTTPError
W, [2024-11-05T16:23:10.431917 #1]  WARN -- : Response status: 422
W, [2024-11-05T16:23:10.440968 #1]  WARN -- : Skipping spec/requests/api/v1/users/create_spec.rb due to CC::Parser::Client::HTTPError
W, [2024-11-05T16:23:10.441000 #1]  WARN -- : Response status: 422
W, [2024-11-05T16:23:10.442693 #1]  WARN -- : Skipping spec/requests/api/v1/impersonations/create_spec.rb due to CC::Parser::Client::HTTPError
W, [2024-11-05T16:23:10.442720 #1]  WARN -- : Response status: 422
W, [2024-11-05T16:23:10.444492 #1]  WARN -- : Skipping spec/requests/api/v1/sessions/create_spec.rb due to CC::Parser::Client::HTTPError
W, [2024-11-05T16:23:10.444521 #1]  WARN -- : Response status: 422
W, [2024-11-05T16:23:10.447630 #1]  WARN -- : Skipping spec/requests/api/v1/sessions/destroy_spec.rb due to CC::Parser::Client::HTTPError
W, [2024-11-05T16:23:10.447665 #1]  WARN -- : Response status: 422
W, [2024-11-05T16:23:10.449694 #1]  WARN -- : Skipping spec/requests/api/v1/settings_spec.rb due to CC::Parser::Client::HTTPError
W, [2024-11-05T16:23:10.449728 #1]  WARN -- : Response status: 422
W, [2024-11-05T16:23:10.455779 #1]  WARN -- : Skipping spec/requests/api/v1/registrations/create_spec.rb due to CC::Parser::Client::HTTPError
W, [2024-11-05T16:23:10.455816 #1]  WARN -- : Response status: 422
W, [2024-11-05T16:23:10.467346 #1]  WARN -- : Skipping spec/objects/impersonation/authenticator_spec.rb due to CC::Parser::Client::HTTPError
W, [2024-11-05T16:23:10.467378 #1]  WARN -- : Response status: 422
6
duplication
View output
12
Parser process id: 12
codeclimate-parser socket not present
waiting 1s...
I, [2024-11-05T16:23:13.581531 #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-05T16:23:13.604476 #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-05T16:23:13.610566 #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-05T16:23:13.641448 #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-05T16:23:13.648748 #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-05T16:23:13.664950 #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)
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'