rootstrap/rails_api_base

View on GitHub
Fix warnings (#918) #2402
Santiago Bartesaghi authored fb0e9715
complete00:00:19
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-12-09T14:25:58.246996 #1]  WARN -- : Skipping app/models/user.rb due to CC::Parser::Client::HTTPError
W, [2024-12-09T14:25:58.247045 #1]  WARN -- : Response status: 422
W, [2024-12-09T14:25:58.264800 #1]  WARN -- : Skipping app/controllers/api/v1/sessions_controller.rb due to CC::Parser::Client::HTTPError
W, [2024-12-09T14:25:58.264836 #1]  WARN -- : Response status: 422
W, [2024-12-09T14:25:58.268266 #1]  WARN -- : Skipping app/controllers/api/v1/registrations_controller.rb due to CC::Parser::Client::HTTPError
W, [2024-12-09T14:25:58.268298 #1]  WARN -- : Response status: 422
W, [2024-12-09T14:25:58.273913 #1]  WARN -- : Skipping app/controllers/api/v1/api_controller.rb due to CC::Parser::Client::HTTPError
W, [2024-12-09T14:25:58.273942 #1]  WARN -- : Response status: 422
W, [2024-12-09T14:25:58.282208 #1]  WARN -- : Skipping app/controllers/api/v1/passwords_controller.rb due to CC::Parser::Client::HTTPError
W, [2024-12-09T14:25:58.282238 #1]  WARN -- : Response status: 422
W, [2024-12-09T14:25:58.289140 #1]  WARN -- : Skipping app/controllers/api/v1/settings_controller.rb due to CC::Parser::Client::HTTPError
W, [2024-12-09T14:25:58.289169 #1]  WARN -- : Response status: 422
W, [2024-12-09T14:25:58.690759 #1]  WARN -- : Skipping spec/spec_helper.rb due to CC::Parser::Client::HTTPError
W, [2024-12-09T14:25:58.690813 #1]  WARN -- : Response status: 422
W, [2024-12-09T14:25:58.744730 #1]  WARN -- : Skipping spec/requests/api/v1/passwords/update_spec.rb due to CC::Parser::Client::HTTPError
W, [2024-12-09T14:25:58.744776 #1]  WARN -- : Response status: 422
W, [2024-12-09T14:25:58.752523 #1]  WARN -- : Skipping spec/requests/api/v1/passwords/create_spec.rb due to CC::Parser::Client::HTTPError
W, [2024-12-09T14:25:58.752576 #1]  WARN -- : Response status: 422
W, [2024-12-09T14:25:58.755220 #1]  WARN -- : Skipping spec/requests/api/v1/passwords/edit_spec.rb due to CC::Parser::Client::HTTPError
W, [2024-12-09T14:25:58.755251 #1]  WARN -- : Response status: 422
W, [2024-12-09T14:25:58.769241 #1]  WARN -- : Skipping spec/requests/api/v1/users/update_spec.rb due to CC::Parser::Client::HTTPError
W, [2024-12-09T14:25:58.769276 #1]  WARN -- : Response status: 422
W, [2024-12-09T14:25:58.778821 #1]  WARN -- : Skipping spec/requests/api/v1/users/create_spec.rb due to CC::Parser::Client::HTTPError
W, [2024-12-09T14:25:58.778853 #1]  WARN -- : Response status: 422
W, [2024-12-09T14:25:58.781217 #1]  WARN -- : Skipping spec/requests/api/v1/impersonations/create_spec.rb due to CC::Parser::Client::HTTPError
W, [2024-12-09T14:25:58.781246 #1]  WARN -- : Response status: 422
W, [2024-12-09T14:25:58.783100 #1]  WARN -- : Skipping spec/requests/api/v1/sessions/create_spec.rb due to CC::Parser::Client::HTTPError
W, [2024-12-09T14:25:58.783128 #1]  WARN -- : Response status: 422
W, [2024-12-09T14:25:58.786530 #1]  WARN -- : Skipping spec/requests/api/v1/sessions/destroy_spec.rb due to CC::Parser::Client::HTTPError
W, [2024-12-09T14:25:58.786556 #1]  WARN -- : Response status: 422
W, [2024-12-09T14:25:58.788892 #1]  WARN -- : Skipping spec/requests/api/v1/settings_spec.rb due to CC::Parser::Client::HTTPError
W, [2024-12-09T14:25:58.788920 #1]  WARN -- : Response status: 422
W, [2024-12-09T14:25:58.796024 #1]  WARN -- : Skipping spec/requests/api/v1/registrations/create_spec.rb due to CC::Parser::Client::HTTPError
W, [2024-12-09T14:25:58.796052 #1]  WARN -- : Response status: 422
W, [2024-12-09T14:25:58.804319 #1]  WARN -- : Skipping spec/objects/impersonation/authenticator_spec.rb due to CC::Parser::Client::HTTPError
W, [2024-12-09T14:25:58.804350 #1]  WARN -- : Response status: 422
W, [2024-12-09T14:25:58.924815 #1]  WARN -- : Skipping config/initializers/colorized_logger.rb due to CC::Parser::Client::HTTPError
W, [2024-12-09T14:25:58.924852 #1]  WARN -- : Response status: 422
6
duplication
View output
12
Parser process id: 12
codeclimate-parser socket not present
waiting 1s...
I, [2024-12-09T14:26:02.010561 #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-12-09T14:26:02.038321 #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-12-09T14:26:02.038955 #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-12-09T14:26:02.076425 #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-12-09T14:26:02.080939 #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-12-09T14:26:02.098026 #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-12-09T14:26:02.246258 #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'