-
Notifications
You must be signed in to change notification settings - Fork 11
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 HTTP CLI client implementation #8
base: 2.0
Are you sure you want to change the base?
Conversation
indent_style = space | ||
indent_size = 2 | ||
end_of_line = lf | ||
charset = utf-8 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Why do we need this file in the repo?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I was thinking its easier to manage the basic code formatting this way. Since I didn't find any guideline related to coding style on this project, I thought I add this as a proposal.
If you'd like to keep this off the repository, I can remove it.
We use excon genreally as a standard. If we are adopting a better http library, I'd use that |
Sure, we could use excon too. Do you want me to throw out rest-client and use excon instead? |
|
+1 |
@@ -13,6 +13,9 @@ Gem::Specification.new do |s| | |||
s.require_paths = ["lib"] | |||
s.executables << 'acq-http-request' | |||
|
|||
s.add_dependency('commander', '~> 4.4') |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This gem has intentionally avoided introducing dependencies to avoid code bloat in projects which depend on it. This will cause these gems to be required for every ruby package which depends on http-hmac-ruby, regardless of whether the CLI client is actually used. Can we make these development dependencies instead?
Implemented a new CLI client which makes it relatively easy to communicate with Acquia HMACv2 enabled services.