Skip to content
This repository has been archived by the owner on Jan 15, 2025. It is now read-only.

Commit

Permalink
chore(release): 2.9.0 [skip ci]
Browse files Browse the repository at this point in the history
# [2.9.0](v2.8.1...v2.9.0) (2020-05-12)

### Features

* **logger:** possibility to override debug mode's default logging mechanism. See README.md ([038cc0c](038cc0c))
  • Loading branch information
semantic-release-bot committed May 12, 2020
1 parent 038cc0c commit 9b1cf93
Show file tree
Hide file tree
Showing 71 changed files with 1,129 additions and 893 deletions.
7 changes: 7 additions & 0 deletions HISTORY.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,10 @@
# [2.9.0](https://github.com/hexonet/perl-sdk/compare/v2.8.1...v2.9.0) (2020-05-12)


### Features

* **logger:** possibility to override debug mode's default logging mechanism. See README.md ([038cc0c](https://github.com/hexonet/perl-sdk/commit/038cc0cd8657e0b3e1e30eb6655ff6f61ad68a41))

## [2.8.1](https://github.com/hexonet/perl-sdk/compare/v2.8.0...v2.8.1) (2020-05-12)


Expand Down
Binary file modified WebService-Hexonet-Connector-latest.tar.gz
Binary file not shown.
Original file line number Diff line number Diff line change
Expand Up @@ -20,44 +20,45 @@
<h1>Branch Coverage</h1>
<table>
<tr><td class="h" align="right">File:</td><td align="left">blib/lib/WebService/Hexonet/Connector/APIClient.pm</td></tr>
<tr><td class="h" align="right">Coverage:</td><td align="left" class="c1">86.4%</td></tr>
<tr><td class="h" align="right">Coverage:</td><td align="left" class="c1">83.8%</td></tr>
</table>
<div><br/></div>
<table>
<tr><th>line</th><th>%</th><th colspan="2">coverage</th><th>branch</th></tr>
<tr><td class="h"><a id="L59">59</a></td><td class="c3">100</td><td class="c3">T</td><td class="c3">F</td><td class="s">if (defined $secured and $secured == 1)</td></tr>
<tr><td class="h"><a id="L63">63</a></td><td class="c3">100</td><td class="c3">T</td><td class="c3">F</td><td class="s">if (ref $cmd eq &#39;HASH&#39;) { }</td></tr>
<tr><td class="h"><a id="L65">65</a></td><td class="c3">100</td><td class="c3">T</td><td class="c3">F</td><td class="s">if (defined $cmd-&gt;{$key})</td></tr>
<tr><td class="h"><a id="L74">74</a></td><td class="c3">100</td><td class="c3">T</td><td class="c3">F</td><td class="s">if (defined $secured and $secured == 1)</td></tr>
<tr><td class="h"><a id="L78">78</a></td><td class="c3">100</td><td class="c3">T</td><td class="c3">F</td><td class="s">if (utf8::is_utf8($tmp))</td></tr>
<tr><td class="h"><a id="L89">89</a></td><td class="c3">100</td><td class="c3">T</td><td class="c3">F</td><td class="s">if (length $sessid)</td></tr>
<tr><td class="h"><a id="L104">104</a></td><td class="c3">100</td><td class="c3">T</td><td class="c3">F</td><td class="s">unless (length $self-&gt;{&#39;ua&#39;})</td></tr>
<tr><td class="h"><a id="L120">120</a></td><td class="c3">100</td><td class="c3">T</td><td class="c3">F</td><td class="s">if (defined $modules and length $modules &gt; 0)</td></tr>
<tr><td class="h"><a id="L130">130</a></td><td class="c3">100</td><td class="c3">T</td><td class="c3">F</td><td class="s">if (exists $self-&gt;{&#39;curlopts&#39;}{&#39;PROXY&#39;})</td></tr>
<tr><td class="h"><a id="L139">139</a></td><td class="c3">100</td><td class="c3">T</td><td class="c3">F</td><td class="s">if (length $proxy == 0) { }</td></tr>
<tr><td class="h"><a id="L150">150</a></td><td class="c3">100</td><td class="c3">T</td><td class="c3">F</td><td class="s">if (exists $self-&gt;{&#39;curlopts&#39;}{&#39;REFERER&#39;})</td></tr>
<tr><td class="h"><a id="L159">159</a></td><td class="c3">100</td><td class="c3">T</td><td class="c3">F</td><td class="s">if (length $referer == 0) { }</td></tr>
<tr><td class="h"><a id="L241">241</a></td><td class="c3">100</td><td class="c3">T</td><td class="c3">F</td><td class="s">if ($rr-&gt;isSuccess)</td></tr>
<tr><td class="h"><a id="L244">244</a></td><td class="c0">50</td><td class="c3">T</td><td class="c0">F</td><td class="s">if (defined $col)</td></tr>
<tr><td class="h"><a id="L258">258</a></td><td class="c0">50</td><td class="c3">T</td><td class="c0">F</td><td class="s">unless (defined $otpc)</td></tr>
<tr><td class="h"><a id="L267">267</a></td><td class="c0">50</td><td class="c3">T</td><td class="c0">F</td><td class="s">if ($rr-&gt;isSuccess)</td></tr>
<tr><td class="h"><a id="L270">270</a></td><td class="c0">50</td><td class="c3">T</td><td class="c0">F</td><td class="s">if (defined $col)</td></tr>
<tr><td class="h"><a id="L283">283</a></td><td class="c3">100</td><td class="c3">T</td><td class="c3">F</td><td class="s">if ($rr-&gt;isSuccess)</td></tr>
<tr><td class="h"><a id="L307">307</a></td><td class="c0">50</td><td class="c0">T</td><td class="c3">F</td><td class="s">if ($referer)</td></tr>
<tr><td class="h"><a id="L311">311</a></td><td class="c0">50</td><td class="c0">T</td><td class="c3">F</td><td class="s">if ($proxy)</td></tr>
<tr><td class="h"><a id="L316">316</a></td><td class="c3">100</td><td class="c3">T</td><td class="c3">F</td><td class="s">if ($r-&gt;is_success) { }</td></tr>
<tr><td class="h"><a id="L318">318</a></td><td class="c3">100</td><td class="c3">T</td><td class="c3">F</td><td class="s">if ($self-&gt;{&#39;debugMode&#39;})</td></tr>
<tr><td class="h"><a id="L326">326</a></td><td class="c0">50</td><td class="c0">T</td><td class="c3">F</td><td class="s">if ($self-&gt;{&#39;debugMode&#39;})</td></tr>
<tr><td class="h"><a id="L339">339</a></td><td class="c0">50</td><td class="c0">T</td><td class="c3">F</td><td class="s">if (defined $mycmd-&gt;{&#39;LAST&#39;})</td></tr>
<tr><td class="h"><a id="L343">343</a></td><td class="c3">100</td><td class="c3">T</td><td class="c3">F</td><td class="s">if (defined $mycmd-&gt;{&#39;FIRST&#39;})</td></tr>
<tr><td class="h"><a id="L349">349</a></td><td class="c3">100</td><td class="c3">T</td><td class="c3">F</td><td class="s">if ($first &lt; $total)</td></tr>
<tr><td class="h"><a id="L421">421</a></td><td class="c3">100</td><td class="c3">T</td><td class="c3">F</td><td class="s">if ($newkey ne $key)</td></tr>
<tr><td class="h"><a id="L424">424</a></td><td class="c3">100</td><td class="c3">T</td><td class="c3">F</td><td class="s">if (ref $cmd-&gt;{$newkey} eq &quot;ARRAY&quot;)</td></tr>
<tr><td class="h"><a id="L441">441</a></td><td class="c3">100</td><td class="c3">T</td><td class="c3">F</td><td class="s">if ($cmd-&gt;{&#39;COMMAND&#39;} =~ /^CONVERTIDN$/imsux)</td></tr>
<tr><td class="h"><a id="L445">445</a></td><td class="c3">100</td><td class="c3">T</td><td class="c3">F</td><td class="s">if (scalar @keys == 0)</td></tr>
<tr><td class="h"><a id="L452">452</a></td><td class="c3">100</td><td class="c3">T</td><td class="c3">F</td><td class="s">if ($val =~ /[^[:lower:]\d. -]/imsux)</td></tr>
<tr><td class="h"><a id="L462">462</a></td><td class="c3">100</td><td class="c3">T</td><td class="c3">F</td><td class="s">if ($r-&gt;isSuccess)</td></tr>
<tr><td class="h"><a id="L464">464</a></td><td class="c0">50</td><td class="c3">T</td><td class="c0">F</td><td class="s">if ($col)</td></tr>
<tr><td class="h"><a id="L54">54</a></td><td class="c0">0</td><td class="c0">T</td><td class="c0">F</td><td class="s">if (defined $logger and $logger-&gt;can(&quot;log&quot;))</td></tr>
<tr><td class="h"><a id="L78">78</a></td><td class="c3">100</td><td class="c3">T</td><td class="c3">F</td><td class="s">if (defined $secured and $secured == 1)</td></tr>
<tr><td class="h"><a id="L82">82</a></td><td class="c3">100</td><td class="c3">T</td><td class="c3">F</td><td class="s">if (ref $cmd eq &#39;HASH&#39;) { }</td></tr>
<tr><td class="h"><a id="L84">84</a></td><td class="c3">100</td><td class="c3">T</td><td class="c3">F</td><td class="s">if (defined $cmd-&gt;{$key})</td></tr>
<tr><td class="h"><a id="L93">93</a></td><td class="c3">100</td><td class="c3">T</td><td class="c3">F</td><td class="s">if (defined $secured and $secured == 1)</td></tr>
<tr><td class="h"><a id="L97">97</a></td><td class="c3">100</td><td class="c3">T</td><td class="c3">F</td><td class="s">if (utf8::is_utf8($tmp))</td></tr>
<tr><td class="h"><a id="L108">108</a></td><td class="c3">100</td><td class="c3">T</td><td class="c3">F</td><td class="s">if (length $sessid)</td></tr>
<tr><td class="h"><a id="L123">123</a></td><td class="c3">100</td><td class="c3">T</td><td class="c3">F</td><td class="s">unless (length $self-&gt;{&#39;ua&#39;})</td></tr>
<tr><td class="h"><a id="L139">139</a></td><td class="c3">100</td><td class="c3">T</td><td class="c3">F</td><td class="s">if (defined $modules and length $modules &gt; 0)</td></tr>
<tr><td class="h"><a id="L149">149</a></td><td class="c3">100</td><td class="c3">T</td><td class="c3">F</td><td class="s">if (exists $self-&gt;{&#39;curlopts&#39;}{&#39;PROXY&#39;})</td></tr>
<tr><td class="h"><a id="L158">158</a></td><td class="c3">100</td><td class="c3">T</td><td class="c3">F</td><td class="s">if (length $proxy == 0) { }</td></tr>
<tr><td class="h"><a id="L169">169</a></td><td class="c3">100</td><td class="c3">T</td><td class="c3">F</td><td class="s">if (exists $self-&gt;{&#39;curlopts&#39;}{&#39;REFERER&#39;})</td></tr>
<tr><td class="h"><a id="L178">178</a></td><td class="c3">100</td><td class="c3">T</td><td class="c3">F</td><td class="s">if (length $referer == 0) { }</td></tr>
<tr><td class="h"><a id="L260">260</a></td><td class="c3">100</td><td class="c3">T</td><td class="c3">F</td><td class="s">if ($rr-&gt;isSuccess)</td></tr>
<tr><td class="h"><a id="L263">263</a></td><td class="c0">50</td><td class="c3">T</td><td class="c0">F</td><td class="s">if (defined $col)</td></tr>
<tr><td class="h"><a id="L277">277</a></td><td class="c0">50</td><td class="c3">T</td><td class="c0">F</td><td class="s">unless (defined $otpc)</td></tr>
<tr><td class="h"><a id="L286">286</a></td><td class="c0">50</td><td class="c3">T</td><td class="c0">F</td><td class="s">if ($rr-&gt;isSuccess)</td></tr>
<tr><td class="h"><a id="L289">289</a></td><td class="c0">50</td><td class="c3">T</td><td class="c0">F</td><td class="s">if (defined $col)</td></tr>
<tr><td class="h"><a id="L302">302</a></td><td class="c3">100</td><td class="c3">T</td><td class="c3">F</td><td class="s">if ($rr-&gt;isSuccess)</td></tr>
<tr><td class="h"><a id="L326">326</a></td><td class="c0">50</td><td class="c0">T</td><td class="c3">F</td><td class="s">if ($referer)</td></tr>
<tr><td class="h"><a id="L330">330</a></td><td class="c0">50</td><td class="c0">T</td><td class="c3">F</td><td class="s">if ($proxy)</td></tr>
<tr><td class="h"><a id="L335">335</a></td><td class="c3">100</td><td class="c3">T</td><td class="c3">F</td><td class="s">if ($r-&gt;is_success) { }</td></tr>
<tr><td class="h"><a id="L337">337</a></td><td class="c3">100</td><td class="c3">T</td><td class="c3">F</td><td class="s">if ($self-&gt;{&#39;debugMode&#39;})</td></tr>
<tr><td class="h"><a id="L342">342</a></td><td class="c0">50</td><td class="c0">T</td><td class="c3">F</td><td class="s">if ($self-&gt;{&#39;debugMode&#39;})</td></tr>
<tr><td class="h"><a id="L353">353</a></td><td class="c0">50</td><td class="c0">T</td><td class="c3">F</td><td class="s">if (defined $mycmd-&gt;{&#39;LAST&#39;})</td></tr>
<tr><td class="h"><a id="L357">357</a></td><td class="c3">100</td><td class="c3">T</td><td class="c3">F</td><td class="s">if (defined $mycmd-&gt;{&#39;FIRST&#39;})</td></tr>
<tr><td class="h"><a id="L363">363</a></td><td class="c3">100</td><td class="c3">T</td><td class="c3">F</td><td class="s">if ($first &lt; $total)</td></tr>
<tr><td class="h"><a id="L435">435</a></td><td class="c3">100</td><td class="c3">T</td><td class="c3">F</td><td class="s">if ($newkey ne $key)</td></tr>
<tr><td class="h"><a id="L438">438</a></td><td class="c3">100</td><td class="c3">T</td><td class="c3">F</td><td class="s">if (ref $cmd-&gt;{$newkey} eq &quot;ARRAY&quot;)</td></tr>
<tr><td class="h"><a id="L455">455</a></td><td class="c3">100</td><td class="c3">T</td><td class="c3">F</td><td class="s">if ($cmd-&gt;{&#39;COMMAND&#39;} =~ /^CONVERTIDN$/imsux)</td></tr>
<tr><td class="h"><a id="L459">459</a></td><td class="c3">100</td><td class="c3">T</td><td class="c3">F</td><td class="s">if (scalar @keys == 0)</td></tr>
<tr><td class="h"><a id="L466">466</a></td><td class="c3">100</td><td class="c3">T</td><td class="c3">F</td><td class="s">if ($val =~ /[^[:lower:]\d. -]/imsux)</td></tr>
<tr><td class="h"><a id="L476">476</a></td><td class="c3">100</td><td class="c3">T</td><td class="c3">F</td><td class="s">if ($r-&gt;isSuccess)</td></tr>
<tr><td class="h"><a id="L478">478</a></td><td class="c0">50</td><td class="c3">T</td><td class="c0">F</td><td class="s">if ($col)</td></tr>
</table>
</body>
</html>
Original file line number Diff line number Diff line change
Expand Up @@ -20,15 +20,16 @@
<h1>Condition Coverage</h1>
<table>
<tr><td class="h" align="right">File:</td><td align="left">blib/lib/WebService/Hexonet/Connector/APIClient.pm</td></tr>
<tr><td class="h" align="right">Coverage:</td><td align="left" class="c0">63.6%</td></tr>
<tr><td class="h" align="right">Coverage:</td><td align="left" class="c0">50.0%</td></tr>
</table>
<div><br/></div>
<table>
<tr><th>line</th><th>%</th><th>coverage</th><th>condition</th></tr>
<tr><td class="h"><a id="L59">59</a></td><td class="c0">67</td><td><div><table><tr><th>A</th><th>B</th><th>dec</th></tr><tr align="center"><td class="c3">0</td><td class="c3">X</td><td class="c3">0</td></tr><tr align="center"><td class="c0">1</td><td class="c0">0</td><td class="c0">0</td></tr><tr align="center"><td class="c3">1</td><td class="c3">1</td><td class="c3">1</td></tr></table></div></td><td class="s">defined $secured and $secured == 1</td></tr>
<tr><td class="h"><a id="L74">74</a></td><td class="c0">67</td><td><div><table><tr><th>A</th><th>B</th><th>dec</th></tr><tr align="center"><td class="c3">0</td><td class="c3">X</td><td class="c3">0</td></tr><tr align="center"><td class="c0">1</td><td class="c0">0</td><td class="c0">0</td></tr><tr align="center"><td class="c3">1</td><td class="c3">1</td><td class="c3">1</td></tr></table></div></td><td class="s">defined $secured and $secured == 1</td></tr>
<tr><td class="h"><a id="L120">120</a></td><td class="c0">67</td><td><div><table><tr><th>A</th><th>B</th><th>dec</th></tr><tr align="center"><td class="c3">0</td><td class="c3">X</td><td class="c3">0</td></tr><tr align="center"><td class="c0">1</td><td class="c0">0</td><td class="c0">0</td></tr><tr align="center"><td class="c3">1</td><td class="c3">1</td><td class="c3">1</td></tr></table></div></td><td class="s">defined $modules and length $modules &gt; 0</td></tr>
<tr><td class="h"><a id="L239">239</a></td><td class="c0">50</td><td><div><table><tr><th>A</th><th>dec</th></tr><tr align="center"><td class="c3">0</td><td class="c3">0</td></tr><tr align="center"><td class="c0">1</td><td class="c0">1</td></tr></table></div></td><td class="s">$otp || &#39;&#39;</td></tr>
<tr><td class="h"><a id="L54">54</a></td><td class="c0">0</td><td><div><table><tr><th>A</th><th>B</th><th>dec</th></tr><tr align="center"><td class="c0">0</td><td class="c0">X</td><td class="c0">0</td></tr><tr align="center"><td class="c0">1</td><td class="c0">0</td><td class="c0">0</td></tr><tr align="center"><td class="c0">1</td><td class="c0">1</td><td class="c0">1</td></tr></table></div></td><td class="s">defined $logger and $logger-&gt;can(&quot;log&quot;)</td></tr>
<tr><td class="h"><a id="L78">78</a></td><td class="c0">67</td><td><div><table><tr><th>A</th><th>B</th><th>dec</th></tr><tr align="center"><td class="c3">0</td><td class="c3">X</td><td class="c3">0</td></tr><tr align="center"><td class="c0">1</td><td class="c0">0</td><td class="c0">0</td></tr><tr align="center"><td class="c3">1</td><td class="c3">1</td><td class="c3">1</td></tr></table></div></td><td class="s">defined $secured and $secured == 1</td></tr>
<tr><td class="h"><a id="L93">93</a></td><td class="c0">67</td><td><div><table><tr><th>A</th><th>B</th><th>dec</th></tr><tr align="center"><td class="c3">0</td><td class="c3">X</td><td class="c3">0</td></tr><tr align="center"><td class="c0">1</td><td class="c0">0</td><td class="c0">0</td></tr><tr align="center"><td class="c3">1</td><td class="c3">1</td><td class="c3">1</td></tr></table></div></td><td class="s">defined $secured and $secured == 1</td></tr>
<tr><td class="h"><a id="L139">139</a></td><td class="c0">67</td><td><div><table><tr><th>A</th><th>B</th><th>dec</th></tr><tr align="center"><td class="c3">0</td><td class="c3">X</td><td class="c3">0</td></tr><tr align="center"><td class="c0">1</td><td class="c0">0</td><td class="c0">0</td></tr><tr align="center"><td class="c3">1</td><td class="c3">1</td><td class="c3">1</td></tr></table></div></td><td class="s">defined $modules and length $modules &gt; 0</td></tr>
<tr><td class="h"><a id="L258">258</a></td><td class="c0">50</td><td><div><table><tr><th>A</th><th>dec</th></tr><tr align="center"><td class="c3">0</td><td class="c3">0</td></tr><tr align="center"><td class="c0">1</td><td class="c0">1</td></tr></table></div></td><td class="s">$otp || &#39;&#39;</td></tr>
</table>
</body>
</html>
Loading

0 comments on commit 9b1cf93

Please sign in to comment.