Skip to content

Conversation

@scorpion35
Copy link

Added new endpoints to get all items from the queue and build details for a specified build

And a couple of bug fixes -

  • Disabling cert check when none is passed in

@scorpion35
Copy link
Author

@arangamani Opened my first PR on this repo. Let me know if you need more information please

def initialize(args)
args = symbolize_keys(args)
args.each do |key, value|
if value && VALID_PARAMS.include?(key.to_s)
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

why did this change ?

http.ca_file = @ca_file if @ca_file

if @ca_file
http.ca_file = @ca_file
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

use 2-space indent

Comment on lines +370 to +373
http.verify_mode = OpenSSL::SSL::VERIFY_NONE
end
else
http.verify_mode = OpenSSL::SSL::VERIFY_NONE
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

this seems like an unsafe default

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants