codin_rep 0.2.3 → 0.2.4

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 6c0cce479d68c01be7ce411879f178e83f3bbbea
4
- data.tar.gz: 31bb9d203c4e563baf36a711cc097e244c05744a
3
+ metadata.gz: 11080736d9e5f81dc9c79316644cbef599af319b
4
+ data.tar.gz: 4fec1f14792f50cfd14f97bde76ec66133c6ff1d
5
5
  SHA512:
6
- metadata.gz: 89032ebcb0f7fb386b100fb5085bfd452bd8789f22a9bd8046c3dafdfd39a5b1a49063978d35e186d5f34c077a4e951441223b053aca10110e7b0445e11dc881
7
- data.tar.gz: f686a13749a0ee52367d3a9126fc2a57af78652e8faf3c696fb1c5c34a6e4a307b6fa70c114a5e7e62f86c0dd3458504635cb24b014e02c7d6ac7596a002a3bf
6
+ metadata.gz: 043802d0598cf57818551e39f8b235f91198a1f5198a22fb030d926a9b0f4b9184cd71df707fa13d00dcfd8d6cfb06bda2496fda58d004e0fd59cd403aec93df
7
+ data.tar.gz: b071cb5f490f7b6feee737642fb36bee4cb3be32c2921215cc81fa3f8564ae5ff0b0ec241f3336d70d936cf10e5616c33bd749b928d10b865cc99f5277fd675c
@@ -51,7 +51,7 @@ module CodinRep
51
51
  rescue ArgumentError
52
52
  raise MalformedResponsePayload.new 'get time'
53
53
  end
54
- return @time
54
+ return [@time, Date.civil(1970,1,1), Date.civil(1970,1,1)]
55
55
  end
56
56
  end
57
57
  end
@@ -62,6 +62,8 @@ module CodinRep
62
62
  socket.write response
63
63
  @first_connection = false
64
64
  end
65
+ rescue EOFError => e
66
+ # Ignore EOF errors, as only the client should close connections.
65
67
  ensure
66
68
  socket.close unless socket.closed?
67
69
  @threadsMutex.synchronize {
@@ -19,5 +19,5 @@
19
19
  # e-mail: contato@ossystems.com.br
20
20
 
21
21
  module CodinRep
22
- VERSION = "0.2.3".freeze
22
+ VERSION = "0.2.4".freeze
23
23
  end
@@ -14,7 +14,7 @@
14
14
  <img src="./assets/0.10.0/loading.gif" alt="loading"/>
15
15
  </div>
16
16
  <div id="wrapper" style="display:none;">
17
- <div class="timestamp">Generated <abbr class="timeago" title="2017-01-31T15:21:16-02:00">2017-01-31T15:21:16-02:00</abbr></div>
17
+ <div class="timestamp">Generated <abbr class="timeago" title="2017-01-31T16:03:32-02:00">2017-01-31T16:03:32-02:00</abbr></div>
18
18
  <ul class="group_tabs"></ul>
19
19
 
20
20
  <div id="content">
@@ -5311,7 +5311,7 @@
5311
5311
  <li class="missed" data-hits="0" data-linenumber="54">
5312
5312
 
5313
5313
 
5314
- <code class="ruby"> return @time</code>
5314
+ <code class="ruby"> return [@time, Time.at(0), Time.at(0)]</code>
5315
5315
  </li>
5316
5316
 
5317
5317
  <li class="missed" data-hits="0" data-linenumber="55">
@@ -7321,7 +7321,7 @@
7321
7321
  <li class="covered" data-hits="1" data-linenumber="22">
7322
7322
  <span class="hits">1</span>
7323
7323
 
7324
- <code class="ruby"> VERSION = &quot;0.2.2&quot;.freeze</code>
7324
+ <code class="ruby"> VERSION = &quot;0.2.3&quot;.freeze</code>
7325
7325
  </li>
7326
7326
 
7327
7327
  <li class="never" data-hits="" data-linenumber="23">
@@ -274,7 +274,7 @@
274
274
  </table>
275
275
  </div>
276
276
 
277
- <p>Generated on 2017-01-31 15:21:16 -0200 with <a href="https://github.com/fguillen/simplecov-rcov">SimpleCov-RCov 0.2.3</a></p>
277
+ <p>Generated on 2017-01-31 16:03:32 -0200 with <a href="https://github.com/fguillen/simplecov-rcov">SimpleCov-RCov 0.2.3</a></p>
278
278
 
279
279
  <script type="text/javascript">
280
280
  $(document).ready(function(){$("#report_table").tablesorter({widgets: ['zebra'], textExtraction: 'complex'});});
@@ -194,7 +194,7 @@
194
194
  </tbody>
195
195
  </table>
196
196
 
197
- <p>Generated on 2017-01-31 15:21:16 -0200 with <a href="https://github.com/fguillen/simplecov-rcov">SimpleCov-RCov 0.2.3</a></p>
197
+ <p>Generated on 2017-01-31 16:03:32 -0200 with <a href="https://github.com/fguillen/simplecov-rcov">SimpleCov-RCov 0.2.3</a></p>
198
198
 
199
199
  </body>
200
200
  </html>
@@ -392,7 +392,7 @@
392
392
  </tbody>
393
393
  </table>
394
394
 
395
- <p>Generated on 2017-01-31 15:21:16 -0200 with <a href="https://github.com/fguillen/simplecov-rcov">SimpleCov-RCov 0.2.3</a></p>
395
+ <p>Generated on 2017-01-31 16:03:32 -0200 with <a href="https://github.com/fguillen/simplecov-rcov">SimpleCov-RCov 0.2.3</a></p>
396
396
 
397
397
  </body>
398
398
  </html>
@@ -425,7 +425,7 @@
425
425
  </tbody>
426
426
  </table>
427
427
 
428
- <p>Generated on 2017-01-31 15:21:16 -0200 with <a href="https://github.com/fguillen/simplecov-rcov">SimpleCov-RCov 0.2.3</a></p>
428
+ <p>Generated on 2017-01-31 16:03:32 -0200 with <a href="https://github.com/fguillen/simplecov-rcov">SimpleCov-RCov 0.2.3</a></p>
429
429
 
430
430
  </body>
431
431
  </html>
@@ -167,7 +167,7 @@
167
167
  </tbody>
168
168
  </table>
169
169
 
170
- <p>Generated on 2017-01-31 15:21:16 -0200 with <a href="https://github.com/fguillen/simplecov-rcov">SimpleCov-RCov 0.2.3</a></p>
170
+ <p>Generated on 2017-01-31 16:03:32 -0200 with <a href="https://github.com/fguillen/simplecov-rcov">SimpleCov-RCov 0.2.3</a></p>
171
171
 
172
172
  </body>
173
173
  </html>
@@ -344,7 +344,7 @@
344
344
  </tbody>
345
345
  </table>
346
346
 
347
- <p>Generated on 2017-01-31 15:21:16 -0200 with <a href="https://github.com/fguillen/simplecov-rcov">SimpleCov-RCov 0.2.3</a></p>
347
+ <p>Generated on 2017-01-31 16:03:32 -0200 with <a href="https://github.com/fguillen/simplecov-rcov">SimpleCov-RCov 0.2.3</a></p>
348
348
 
349
349
  </body>
350
350
  </html>
@@ -212,7 +212,7 @@
212
212
  </tbody>
213
213
  </table>
214
214
 
215
- <p>Generated on 2017-01-31 15:21:16 -0200 with <a href="https://github.com/fguillen/simplecov-rcov">SimpleCov-RCov 0.2.3</a></p>
215
+ <p>Generated on 2017-01-31 16:03:32 -0200 with <a href="https://github.com/fguillen/simplecov-rcov">SimpleCov-RCov 0.2.3</a></p>
216
216
 
217
217
  </body>
218
218
  </html>
@@ -521,7 +521,7 @@
521
521
  </tbody>
522
522
  </table>
523
523
 
524
- <p>Generated on 2017-01-31 15:21:16 -0200 with <a href="https://github.com/fguillen/simplecov-rcov">SimpleCov-RCov 0.2.3</a></p>
524
+ <p>Generated on 2017-01-31 16:03:32 -0200 with <a href="https://github.com/fguillen/simplecov-rcov">SimpleCov-RCov 0.2.3</a></p>
525
525
 
526
526
  </body>
527
527
  </html>
@@ -210,7 +210,7 @@
210
210
  <td><pre><a name="line54">54</a> end</pre></td>
211
211
  </tr>
212
212
  <tr class="uncovered">
213
- <td><pre><a name="line55">55</a> return @time</pre></td>
213
+ <td><pre><a name="line55">55</a> return [@time, Time.at(0), Time.at(0)]</pre></td>
214
214
  </tr>
215
215
  <tr class="uncovered">
216
216
  <td><pre><a name="line56">56</a> end</pre></td>
@@ -224,7 +224,7 @@
224
224
  </tbody>
225
225
  </table>
226
226
 
227
- <p>Generated on 2017-01-31 15:21:16 -0200 with <a href="https://github.com/fguillen/simplecov-rcov">SimpleCov-RCov 0.2.3</a></p>
227
+ <p>Generated on 2017-01-31 16:03:32 -0200 with <a href="https://github.com/fguillen/simplecov-rcov">SimpleCov-RCov 0.2.3</a></p>
228
228
 
229
229
  </body>
230
230
  </html>
@@ -611,7 +611,7 @@
611
611
  </tbody>
612
612
  </table>
613
613
 
614
- <p>Generated on 2017-01-31 15:21:16 -0200 with <a href="https://github.com/fguillen/simplecov-rcov">SimpleCov-RCov 0.2.3</a></p>
614
+ <p>Generated on 2017-01-31 16:03:32 -0200 with <a href="https://github.com/fguillen/simplecov-rcov">SimpleCov-RCov 0.2.3</a></p>
615
615
 
616
616
  </body>
617
617
  </html>
@@ -236,7 +236,7 @@
236
236
  </tbody>
237
237
  </table>
238
238
 
239
- <p>Generated on 2017-01-31 15:21:16 -0200 with <a href="https://github.com/fguillen/simplecov-rcov">SimpleCov-RCov 0.2.3</a></p>
239
+ <p>Generated on 2017-01-31 16:03:32 -0200 with <a href="https://github.com/fguillen/simplecov-rcov">SimpleCov-RCov 0.2.3</a></p>
240
240
 
241
241
  </body>
242
242
  </html>
@@ -206,7 +206,7 @@
206
206
  </tbody>
207
207
  </table>
208
208
 
209
- <p>Generated on 2017-01-31 15:21:16 -0200 with <a href="https://github.com/fguillen/simplecov-rcov">SimpleCov-RCov 0.2.3</a></p>
209
+ <p>Generated on 2017-01-31 16:03:32 -0200 with <a href="https://github.com/fguillen/simplecov-rcov">SimpleCov-RCov 0.2.3</a></p>
210
210
 
211
211
  </body>
212
212
  </html>
@@ -114,7 +114,7 @@
114
114
  <td><pre><a name="line22">22</a> module CodinRep</pre></td>
115
115
  </tr>
116
116
  <tr class="marked">
117
- <td><pre><a name="line23">23</a> VERSION = &quot;0.2.2&quot;.freeze</pre></td>
117
+ <td><pre><a name="line23">23</a> VERSION = &quot;0.2.3&quot;.freeze</pre></td>
118
118
  </tr>
119
119
  <tr class="inferred">
120
120
  <td><pre><a name="line24">24</a> end</pre></td>
@@ -122,7 +122,7 @@
122
122
  </tbody>
123
123
  </table>
124
124
 
125
- <p>Generated on 2017-01-31 15:21:16 -0200 with <a href="https://github.com/fguillen/simplecov-rcov">SimpleCov-RCov 0.2.3</a></p>
125
+ <p>Generated on 2017-01-31 16:03:32 -0200 with <a href="https://github.com/fguillen/simplecov-rcov">SimpleCov-RCov 0.2.3</a></p>
126
126
 
127
127
  </body>
128
128
  </html>
@@ -311,7 +311,7 @@
311
311
  </tbody>
312
312
  </table>
313
313
 
314
- <p>Generated on 2017-01-31 15:21:16 -0200 with <a href="https://github.com/fguillen/simplecov-rcov">SimpleCov-RCov 0.2.3</a></p>
314
+ <p>Generated on 2017-01-31 16:03:32 -0200 with <a href="https://github.com/fguillen/simplecov-rcov">SimpleCov-RCov 0.2.3</a></p>
315
315
 
316
316
  </body>
317
317
  </html>
@@ -35,6 +35,6 @@ class GetTimeTest < Minitest::Test
35
35
  # second.
36
36
  time = Time.now.round
37
37
  @mock_time_clock.data.time = time
38
- assert_equal time, @mock_time_clock.get_time
38
+ assert_equal [time, Date.civil(1970,1,1), Date.civil(1970,1,1)], @mock_time_clock.get_time
39
39
  end
40
40
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: codin_rep
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.2.3
4
+ version: 0.2.4
5
5
  platform: ruby
6
6
  authors:
7
7
  - O.S. Systems Softwares Ltda.