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 +4 -4
- data/lib/codin_rep/get_time.rb +1 -1
- data/lib/codin_rep/mock_time_clock.rb +2 -0
- data/lib/codin_rep/version.rb +1 -1
- data/test/coverage/index.html +3 -3
- data/test/coverage/rcov/index.html +1 -1
- data/test/coverage/rcov/lib-codin_rep-add_employee_rb.html +1 -1
- data/test/coverage/rcov/lib-codin_rep-command_rb.html +1 -1
- data/test/coverage/rcov/lib-codin_rep-communication_rb.html +1 -1
- data/test/coverage/rcov/lib-codin_rep-del_employee_rb.html +1 -1
- data/test/coverage/rcov/lib-codin_rep-employee_command_rb.html +1 -1
- data/test/coverage/rcov/lib-codin_rep-get_afd_header_rb.html +1 -1
- data/test/coverage/rcov/lib-codin_rep-get_records_rb.html +1 -1
- data/test/coverage/rcov/lib-codin_rep-get_time_rb.html +2 -2
- data/test/coverage/rcov/lib-codin_rep-mock_time_clock_rb.html +1 -1
- data/test/coverage/rcov/lib-codin_rep-set_time_rb.html +1 -1
- data/test/coverage/rcov/lib-codin_rep-time_util_rb.html +1 -1
- data/test/coverage/rcov/lib-codin_rep-version_rb.html +2 -2
- data/test/coverage/rcov/lib-codin_rep_rb.html +1 -1
- data/test/unit/get_time_test.rb +1 -1
- metadata +1 -1
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA1:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 11080736d9e5f81dc9c79316644cbef599af319b
|
|
4
|
+
data.tar.gz: 4fec1f14792f50cfd14f97bde76ec66133c6ff1d
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 043802d0598cf57818551e39f8b235f91198a1f5198a22fb030d926a9b0f4b9184cd71df707fa13d00dcfd8d6cfb06bda2496fda58d004e0fd59cd403aec93df
|
|
7
|
+
data.tar.gz: b071cb5f490f7b6feee737642fb36bee4cb3be32c2921215cc81fa3f8564ae5ff0b0ec241f3336d70d936cf10e5616c33bd749b928d10b865cc99f5277fd675c
|
data/lib/codin_rep/get_time.rb
CHANGED
data/lib/codin_rep/version.rb
CHANGED
data/test/coverage/index.html
CHANGED
|
@@ -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-
|
|
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 = "0.2.
|
|
7324
|
+
<code class="ruby"> VERSION = "0.2.3".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
|
|
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
|
|
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
|
|
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
|
|
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
|
|
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
|
|
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
|
|
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
|
|
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
|
|
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
|
|
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
|
|
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
|
|
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 = "0.2.
|
|
117
|
+
<td><pre><a name="line23">23</a> VERSION = "0.2.3".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
|
|
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
|
|
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>
|
data/test/unit/get_time_test.rb
CHANGED
|
@@ -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
|