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 HTTP CLI client implementation #8

Open
wants to merge 3 commits into
base: 2.0
Choose a base branch
from

Conversation

janost
Copy link
Contributor

@janost janost commented May 26, 2016

Implemented a new CLI client which makes it relatively easy to communicate with Acquia HMACv2 enabled services.

@janost janost force-pushed the new-http-client branch from 40653ac to 7501633 Compare May 26, 2016 14:42
indent_style = space
indent_size = 2
end_of_line = lf
charset = utf-8
Copy link
Contributor

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?

Copy link
Contributor Author

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.

@pwolanin
Copy link
Contributor

We use excon genreally as a standard. If we are adopting a better http library, I'd use that

@janost
Copy link
Contributor Author

janost commented May 26, 2016

Sure, we could use excon too. Do you want me to throw out rest-client and use excon instead?

@janost
Copy link
Contributor Author

janost commented May 27, 2016

  • Removed .editorconfig
  • Using excon instead of rest-client

@ghaabor
Copy link

ghaabor commented May 30, 2016

+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')
Copy link
Contributor

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?

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.

4 participants