Repository navigation
Add acceptance and unit testing - #21
stevespringett merged 29 commits into
Conversation
|
In response to the DCO failure, I'll be signing all of my commits and doing a force push after that's done. |
|
Big thanks for the PR. I had to update the GitHub actions that were used. The ones specified were deprecated and no longer supported. Could you sync your fork to master? I'd like to get a passing build before merge. |
8e27d3d to
9a22bb0
Compare
Signed-off-by: M. Scott Ford <scott@corgibytes.com>
This better conforms to the structure that's generated by running the `bundle gem` command. Signed-off-by: M. Scott Ford <scott@corgibytes.com>
…bindir` This better conforms to the structure that's generated when `bundle gem` is run. Signed-off-by: M. Scott Ford <scott@corgibytes.com>
Signed-off-by: M. Scott Ford <scott@corgibytes.com>
`bom_builder.rb` is requiring `active_support/core_ext/hash` but `activesupport` wasn't listed in the `.gemspec` as a dependency. This likely hasn't come up before because consumers have had `activesupport` listed as dependency. Signed-off-by: M. Scott Ford <scott@corgibytes.com>
Signed-off-by: M. Scott Ford <scott@corgibytes.com>
This avoids issues with `Gemfile.lock` files being used with fixtures. Signed-off-by: M. Scott Ford <scott@corgibytes.com>
This `Gemfile` and `Gemfile.lock` only references `activesupport`. Signed-off-by: M. Scott Ford <scott@corgibytes.com>
Signed-off-by: M. Scott Ford <scott@corgibytes.com>
Signed-off-by: M. Scott Ford <scott@corgibytes.com>
Signed-off-by: M. Scott Ford <scott@corgibytes.com>
I'm not sure that acceptance tests for the short parameters makes sense. I think a unit test would be a better way to go about handling that. Signed-off-by: M. Scott Ford <scott@corgibytes.com>
Signed-off-by: M. Scott Ford <scott@corgibytes.com>
Signed-off-by: M. Scott Ford <scott@corgibytes.com>
Signed-off-by: M. Scott Ford <scott@corgibytes.com>
Signed-off-by: M. Scott Ford <scott@corgibytes.com>
Signed-off-by: M. Scott Ford <scott@corgibytes.com>
Signed-off-by: M. Scott Ford <scott@corgibytes.com>
Signed-off-by: M. Scott Ford <scott@corgibytes.com>
This was mainly done to make sure the `simplecov` configuration was working correctly. Signed-off-by: M. Scott Ford <scott@corgibytes.com>
Signed-off-by: M. Scott Ford <scott@corgibytes.com>
Signed-off-by: M. Scott Ford <scott@corgibytes.com>
Signed-off-by: M. Scott Ford <scott@corgibytes.com>
Signed-off-by: M. Scott Ford <scott@corgibytes.com>
9a22bb0 to
aae1fec
Compare
Not a problem! I've rebased off of |
|
I see that CI is still failing. I'm going to work on getting that to pass. I'm going to add a matrix of ruby versions to test against. |
Signed-off-by: M. Scott Ford <scott@corgibytes.com>
`activesupport` version 7.x does not support Ruby versions older than 2.7. Signed-off-by: M. Scott Ford <scott@corgibytes.com>
CI appears to have been failing because |
Signed-off-by: M. Scott Ford <scott@corgibytes.com>
Signed-off-by: M. Scott Ford <scott@corgibytes.com>
Sonatype Lift is using Rubocop to report quality violations. The default configuration Sonatype Lift is using is not publically available. So in order to fix the comment that it left on the pull request after the version requirement was added to the `.gemspec` file, I added Rubocop as a development dependency, and then generated a TODO style configuration that excludes all of the default warnings except for the one that Sonatype Lift reported. That one was fixed. Signed-off-by: M. Scott Ford <scott@corgibytes.com>
|
Yay! That's a passing build, @stevespringett. Please let me know if you have any code review feedback. |
|
Fantastic. Thanks so much for the PR. |
I have some new features that I'd like to add, and I wanted to make sure I kept all existing behavior in the process, so I added test coverage as a first step. This pull request brings the line coverage to ~85% and the branch coverage to about ~70%. Coverage is measured via
simplecovintegration and can be cleanly generated by runningbundle exec rake.