Commit Graph

5 Commits

Author SHA1 Message Date
Bobby McDonald 2846ea63a9 Update github urls to hashie/hashie (#497)
* Update github urls to hashie/hashie

* Point omniauth in integration tests at master.

Until omniauth releases the changes merged from
https://github.com/omniauth/omniauth/pull/977 , we must point at
master branch.

* revert incorrect change of gem email

Co-Authored-By: Michael Herold <github@michaeljherold.com>

* Reference open issue for release
2019-11-17 11:35:30 -06:00
Michael Herold 5a6ffc7e2d
Update Rubocop and address the addressable todos
This is a big step forward in our Rubocop setup. I addressed all of the todos
from the current version of Rubocop that made sense to. The only things that
remain are metrics and one cop that relies on the line length metric to work.

I made some judgment calls on disabling a few cops:

1. The `Layout/IndentHeredoc` cop wants you to either use the squiggly heredoc
   from Ruby 2.3 or introduce a library. Since we are a low-level library that
   is used as a transitive dependency, we cannot introduce another library as a
   dependence, so that option is out. Also, we support Rubies back to 2.0
   currently, so using the squiggly heredoc isn't an option. Once we remove
   support for Rubies older than 2.3, we can switch to the squiggly heredoc cop.
2. The `Naming/FileName` cop was reporting false positives for a few files in
   the repository, so I disabled it on those files.
3. The `Style/DoubleNegation` cop reports lints on a few cases where we use
   double negation. Given the very generic nature of Hashie, the double-negation
   is the easiest, clearest way to express that we want an item to be a Boolean.
   I disabled the cop because we exist in the gray area where this makes sense.
2018-06-17 11:04:56 -05:00
Michael Herold 9f77380ddb
Add performance benchmarks for Mash 2017-02-24 07:11:34 -06:00
Michael Herold 7742133ffe Clean up integration specs to test for STDOUT log
This standardizes the way we're loading the example applications for the
integration tests so we're actually testing the behavior of the
application in each case. They're also structured in such a way to test
that the Hashie logger doesn't accidentally write to the STDOUT during
the initialization process of the applications.
2017-02-10 19:36:20 -06:00
dblock 9cc952f607 Added omniauth integration spec for #391. 2017-01-31 12:57:18 -05:00