Ran
|
Files
4
|
Run time
1s
|
Badge
Embed ▾
README BADGES
|
travis-ci
<a href="https://github.com/bitpay/ruby-client/commit/<a class=hub.com/bitpay/ruby-client/commit/b760d2b38596a9a9c37f7fb49b1adcec50a64030">b760d2b38<a href="https://github.com/bitpay/ruby-client/commit/b760d2b38596a9a9c37f7fb49b1adcec50a64030">">Fix Travis failure on nil ENV[&#39;BITPAYPEM&#39;] The commit </a><a class="double-link" href="https://github.com/bitpay/ruby-client/commit/<a class="double-link" href="https://git"><a class=</a>hub.com/bitpay/ruby-client/commit/<a class=hub.com/bitpay/ruby-client/commit/671fe5657b3558c242fa2367e979c3d9ca571b2b">671fe5657">671fe5657</a><a href="https://github.com/bitpay/ruby-client/commit/b760d2b38596a9a9c37f7fb49b1adcec50a64030"> introduced (a new ENV['BITPAYPEM'])[https://github.com/bitpay/ruby-client/commit/671fe5657b3558c242fa2367e979c3d9ca571b2b#diff-2fbdf6e6f53a9bb9a2c06059507373a8R18] but it wasn't defined anywhere. There is already (a constant called `PEM` in the `spec_helper.rb` file)[https://github.com/bitpay/ruby-client/blob/master/spec/spec_helper.rb#L12] so figured it should just use that. This could be moved to the constants config file instead if preferred and use the ENV variable and default to a value if ENV variable is nil.</a>
133 of 146 relevant lines covered (91.1%)
10.41 hits per line
Coverage | ∆ | File | Lines | Relevant | Covered | Missed | Hits/Line |
---|