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

chore: Missing Dev Dependencies + rubocop #79 #80

Merged
merged 5 commits into from
Oct 5, 2018
Merged

Conversation

kplimack
Copy link
Contributor

@kplimack kplimack commented Oct 3, 2018

Signed-off-by: Jake Plimack [email protected]

Resolves #79

  • provides missing gems needed for development ( minitest )
  • lints code w/rubocop, provides .rubocop.yml
  • expanded Rakefile to drive linting + testing

You can now use the Rakefile to drive testing.

bundle exec rake 
rubocop -c .rubocop.yml
.rubocop.yml: Style/SpaceBeforeFirstArg has the wrong namespace - should be Layout
.rubocop.yml: Style/EmptyLinesAroundBlockBody has the wrong namespace - should be Layout
.rubocop.yml: Style/FileName has the wrong namespace - should be Naming
.rubocop.yml: Style/ExtraSpacing has the wrong namespace - should be Layout
Inspecting 7 files
.......

7 files inspected, no offenses detected
Run options: --seed 54688

# Running:

F....FF.....F.................F

Finished in 0.005653s, 5483.5423 runs/s, 7783.0923 assertions/s.

  1) Failure:
TestClient#test_usage_exists [/Users/jplimack/repos/ruby-http-client/test/test_ruby_http_client.rb:245]:
Expected false to be truthy.

  2) Failure:
TestClient#test_docker_exists [/Users/jplimack/repos/ruby-http-client/test/test_ruby_http_client.rb:189]:
Expected false to be truthy.

  3) Failure:
TestClient#test_docker_compose_exists [/Users/jplimack/repos/ruby-http-client/test/test_ruby_http_client.rb:193]:
Expected false to be truthy.

  4) Failure:
TestClient#test_use_cases_exists [/Users/jplimack/repos/ruby-http-client/test/test_ruby_http_client.rb:249]:
Expected false to be truthy.

  5) Failure:
TestClient#test_license_date_is_updated [/Users/jplimack/repos/ruby-http-client/test/test_ruby_http_client.rb:255]:
Expected: 2018
  Actual: 2017

31 runs, 44 assertions, 5 failures, 0 errors, 0 skips
rake aborted!
Command failed with status (1): [ruby -I"lib:test" -I"/Users/jplimack/repos/ruby-http-client/vendor/ruby/2.3.0/gems/rake-0.9.6/lib" "/Users/jplimack/repos/ruby-http-client/vendor/ruby/2.3.0/gems/rake-0.9.6/lib/rake/rake_test_loader.rb" "test/test*.rb" ]
/Users/jplimack/repos/ruby-http-client/Rakefile:19:in `block in <top (required)>'
/Users/jplimack/repos/ruby-http-client/Rakefile:28:in `block (2 levels) in <top (required)>'
Tasks: TOP => test
(See full trace by running task with --trace)

Checklist

  • I have made a material change to the repo (functionality, testing, spelling, grammar)
  • I have read the [Contribution Guide] and my PR follows them.
  • I updated my branch with the master branch.
  • I have added tests that prove my fix is effective or that my feature works
  • I have added necessary documentation about the functionality in the appropriate .md file
  • I have added in line documentation to the code I modified

If you have questions, please send an email to Sendgrid, or file a Github Issue in this repository.

Signed-off-by: Jake Plimack <[email protected]>
@thinkingserious thinkingserious added the status: code review request requesting a community code review or review from Twilio label Oct 3, 2018
@kplimack kplimack changed the title Missing Dev Dependencies #79 Missing Dev Dependencies + rubocop #79 Oct 3, 2018
@kplimack kplimack self-assigned this Oct 3, 2018
@thinkingserious thinkingserious added type: community enhancement feature request not on Twilio's roadmap difficulty: medium fix is medium in difficulty hacktoberfest status: ready for deploy code ready to be released in next deploy and removed status: code review request requesting a community code review or review from Twilio labels Oct 3, 2018
@thinkingserious
Copy link
Contributor

Hello @kplimack,

Thanks again for the PR!

It's HACKTOBERFEST! We want to show our appreciation by sending you some special Hacktoberfest swag. If you have not already, could you please fill out this form so we can send it to you? Thanks!

Team SendGrid DX

@tachyons tachyons mentioned this pull request Oct 4, 2018
6 tasks
@kplimack
Copy link
Contributor Author

kplimack commented Oct 4, 2018

Thanks to @tachyons for his help on this!

@thinkingserious thinkingserious merged commit 74b7bff into master Oct 5, 2018
@thinkingserious thinkingserious deleted the issue#79 branch October 11, 2018 20:44
@thinkingserious
Copy link
Contributor

Hello @kplimack,

Thanks again for the PR!

We noticed that you have earned 4 out of the 5 points needed to receive glorious SendGrid Hacktoberfest swag.

Please take a moment to checkout this link to find more issues to get you past the required threshold.

Also, please be sure that you have officially registered here.

Thank you and Happy Hacktobering!

Team SendGrid DX

@thinkingserious
Copy link
Contributor

Hello @kplimack,

Thanks again for the PR!

You have earned 4 out of the 5 points needed to receive glorious SendGrid Hacktoberfest swag.

Please take a moment to checkout this link to find more issues to get you past the required threshold or to simply continue the celebration.

Also, please be sure you have officially registered with us here by November 1, 2018 to qualify.

If you have any questions you can email us at [email protected].

Thank you and Happy Hacktobering!

Team SendGrid

@thinkingserious thinkingserious changed the title Missing Dev Dependencies + rubocop #79 chore: Missing Dev Dependencies + rubocop #79 Jan 9, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
difficulty: medium fix is medium in difficulty status: ready for deploy code ready to be released in next deploy type: community enhancement feature request not on Twilio's roadmap
Projects
None yet
Development

Successfully merging this pull request may close these issues.

minitest missing from development dependencies
2 participants