Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

New endpoints + bug fixes #310

Open
wants to merge 14 commits into
base: master
Choose a base branch
from

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

@@ -114,7 +114,7 @@ class Client
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