Skip to content

Instantly share code, notes, and snippets.

ijothomas@administrator-HP-ProBook-440-G8-Notebook-PC:~/Documents/Projects/onelogin/event-forwarding-service$ rubocop
/home/jijothomas/Documents/Projects/onelogin/event-forwarding-service/.rubocop.yml: Warning: no department given for NumericLiterals.
/home/jijothomas/Documents/Projects/onelogin/event-forwarding-service/.rubocop.yml: Warning: no department given for Lambda.
/home/jijothomas/Documents/Projects/onelogin/event-forwarding-service/.rubocop.yml: Warning: no department given for Next.
/home/jijothomas/Documents/Projects/onelogin/event-forwarding-service/.rubocop.yml: Warning: no department given for DoubleNegation.
/home/jijothomas/Documents/Projects/onelogin/event-forwarding-service/.rubocop.yml: Warning: no department given for Documentation.
The following cops were added to RuboCop, but are not configured. Please set Enabled to either `true` or `false` in your `.rubocop.yml` file:
- Lint/RaiseException (0.81)
- Lint/StructNewOverride (0.81)
- Style/HashEachMethods (0.80)
@jijo-quest
jijo-quest / event-forwarding-gemlist
Created January 11, 2024 03:42
event-forwarding-gemlist
source 'https://rubygems.org'
ruby '2.3.1'
ONELOGIN_GITHUB_TOKEN = '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'.freeze
gem 'active_model_serializers', '~> 0.10.12'
gem 'awesome_print'
gem 'bunny'
gem 'bunny-mock'
@jijo-quest
jijo-quest / event-service-fasterer
Created January 11, 2024 03:38
event-service-fasterer
lib/ordered_association_hash.rb:6 Hash#fetch with second argument is slower than Hash#fetch with block.
lib/one_login/escs/presenters.rb:7 Hash#fetch with second argument is slower than Hash#fetch with block.
99 files inspected, 2 offenses detected
@jijo-quest
jijo-quest / event-service-brakeman
Created January 11, 2024 03:31
event-service-brakeman
oading scanner...
Processing application in /home/jijothomas/Documents/Projects/onelogin/event-forwarding-service
Processing gems...
[Notice] Detected Rails 4 application
Processing configuration...
[Notice] Escaping HTML by default
Parsing files...
Processing initializers...
Processing libs...ed
Processing routes...
@jijo-quest
jijo-quest / rubocop
Last active January 11, 2024 09:46
rubocop
ijothomas@administrator-HP-ProBook-440-G8-Notebook-PC:~/Documents/onelogin/event-forwarder$ rubocop
/home/jijothomas/Documents/onelogin/event-forwarder/.rubocop.yml: Warning: no department given for NumericLiterals.
/home/jijothomas/Documents/onelogin/event-forwarder/.rubocop.yml: Warning: no department given for Lambda.
/home/jijothomas/Documents/onelogin/event-forwarder/.rubocop.yml: Warning: no department given for Next.
/home/jijothomas/Documents/onelogin/event-forwarder/.rubocop.yml: Warning: no department given for DoubleNegation.
/home/jijothomas/Documents/onelogin/event-forwarder/.rubocop.yml: Warning: no department given for Documentation.
The following cops were added to RuboCop, but are not configured. Please set Enabled to either `true` or `false` in your `.rubocop.yml` file:
- Lint/RaiseException (0.81)
- Lint/StructNewOverride (0.81)
- Style/HashEachMethods (0.80)
ONELOGIN_GITHUB_TOKEN = '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'.freeze
source 'https://rubygems.org'
ruby '2.3.1'
gem 'airbrake-ruby'
gem 'bunny'
gem 'httparty'
gem 'msgpack'
@jijo-quest
jijo-quest / faserer
Created January 10, 2024 04:38
fasterer
jijothomas@administrator-HP-ProBook-440-G8-Notebook-PC:~/Documents/onelogin/event-forwarder$ fasterer
lib/onelogin/event_forwarder.rb:66 Hash#fetch with second argument is slower than Hash#fetch with block.
lib/onelogin/event_forwarder.rb:67 Hash#fetch with second argument is slower than Hash#fetch with block.
lib/onelogin/event_forwarder/packer/sequences_dispatcher.rb:18 Calling blocks with call is slower than yielding.
lib/onelogin/event_forwarder/sequences/sequence.rb:43 Calling blocks with call is slower than yielding.
lib/onelogin/event_forwarder/subscription_options.rb:9 Hash#fetch with second argument is slower than Hash#fetch with block.
@jijo-quest
jijo-quest / bundle-audit
Created January 10, 2024 04:29
Bundle-Audit
ijothomas@administrator-HP-ProBook-440-G8-Notebook-PC:~/Documents/onelogin/event-forwarder$ bundle-audit
Name: activesupport
Version: 5.2.8.1
CVE: CVE-2023-38037
GHSA: GHSA-cr5q-6q9f-rq6q
Criticality: Unknown
URL: https://github.com/rails/rails/releases/tag/v7.0.7.1
Title: Possible File Disclosure of Locally Encrypted Files
Solution: upgrade to '~> 6.1.7, >= 6.1.7.5', '>= 7.0.7.1'
oading scanner...
Processing application in /home/jijothomas/Documents/onelogin/event-forwarder
Processing gems...
Processing configuration...
Parsing files...
Processing initializers...
Processing libs...ed
Processing routes...
[Notice] No route information found
Processing templates...