timecop-rspec 1.0.2 → 1.0.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.
Files changed (157) hide show
  1. checksums.yaml +4 -4
  2. checksums.yaml.gz.sig +0 -0
  3. data/CHANGELOG.md +182 -8
  4. data/LICENSE.md +11 -0
  5. data/README.md +283 -241
  6. data/lib/timecop/rspec/version.rb +7 -7
  7. data/lib/timecop/rspec.rb +1 -1
  8. data/sig/timecop/rspec.rbs +2 -0
  9. data.tar.gz.sig +0 -0
  10. metadata +472 -423
  11. metadata.gz.sig +0 -0
  12. data/.devcontainer/devcontainer.json +0 -26
  13. data/.env.local.example +0 -3
  14. data/.envrc +0 -41
  15. data/.github/FUNDING.yml +0 -13
  16. data/.github/dependabot.yml +0 -12
  17. data/.github/workflows/ancient.yml +0 -77
  18. data/.github/workflows/auto-assign.yml +0 -21
  19. data/.github/workflows/codeql-analysis.yml +0 -70
  20. data/.github/workflows/coverage.yml +0 -126
  21. data/.github/workflows/current.yml +0 -85
  22. data/.github/workflows/dependency-review.yml +0 -20
  23. data/.github/workflows/deps_locked.yml +0 -85
  24. data/.github/workflows/deps_unlocked.yml +0 -84
  25. data/.github/workflows/discord-notifier.yml +0 -38
  26. data/.github/workflows/heads.yml +0 -84
  27. data/.github/workflows/jruby.yml +0 -75
  28. data/.github/workflows/legacy.yml +0 -67
  29. data/.github/workflows/style.yml +0 -64
  30. data/.github/workflows/supported.yml +0 -82
  31. data/.github/workflows/truffle.yml +0 -75
  32. data/.github/workflows/unsupported.yml +0 -75
  33. data/.gitignore +0 -45
  34. data/.gitlab-ci.yml +0 -44
  35. data/.idea/.gitignore +0 -8
  36. data/.idea/GitLink.xml +0 -6
  37. data/.idea/misc.xml +0 -4
  38. data/.idea/modules.xml +0 -8
  39. data/.idea/timecop-rspec.iml +0 -122
  40. data/.idea/vcs.xml +0 -6
  41. data/.junie/TASK_NOTE.md +0 -1
  42. data/.junie/guidelines.md +0 -139
  43. data/.qlty/qlty.toml +0 -79
  44. data/.rspec +0 -8
  45. data/.rubocop.yml +0 -15
  46. data/.rubocop_gradual.lock +0 -76
  47. data/.simplecov +0 -11
  48. data/.tool-versions +0 -1
  49. data/.yard_gfm_support.rb +0 -22
  50. data/.yardopts +0 -11
  51. data/Appraisal.root.gemfile +0 -12
  52. data/Appraisals +0 -104
  53. data/CITATION.cff +0 -20
  54. data/CNAME +0 -1
  55. data/CODE_OF_CONDUCT.md +0 -134
  56. data/CONTRIBUTING.md +0 -143
  57. data/Gemfile +0 -38
  58. data/Gemfile.lock +0 -293
  59. data/LICENSE.txt +0 -22
  60. data/REEK +0 -0
  61. data/RUBOCOP.md +0 -71
  62. data/Rakefile +0 -324
  63. data/SECURITY.md +0 -21
  64. data/bin/appraisal +0 -16
  65. data/bin/bundle-audit +0 -16
  66. data/bin/bundler-audit +0 -16
  67. data/bin/code_climate_reek +0 -16
  68. data/bin/coderay +0 -16
  69. data/bin/console +0 -11
  70. data/bin/erb +0 -16
  71. data/bin/gem_checksums +0 -16
  72. data/bin/htmldiff +0 -16
  73. data/bin/irb +0 -16
  74. data/bin/kramdown +0 -16
  75. data/bin/ldiff +0 -16
  76. data/bin/nokogiri +0 -16
  77. data/bin/pry +0 -16
  78. data/bin/racc +0 -16
  79. data/bin/rake +0 -16
  80. data/bin/rdbg +0 -16
  81. data/bin/rdoc +0 -16
  82. data/bin/reek +0 -16
  83. data/bin/ri +0 -16
  84. data/bin/rspec +0 -16
  85. data/bin/rubocop +0 -16
  86. data/bin/rubocop-gradual +0 -16
  87. data/bin/ruby-parse +0 -16
  88. data/bin/ruby-rewrite +0 -16
  89. data/bin/setup +0 -7
  90. data/bin/standardrb +0 -16
  91. data/bin/thor +0 -16
  92. data/bin/yard +0 -16
  93. data/bin/yard-junk +0 -16
  94. data/bin/yardoc +0 -16
  95. data/bin/yri +0 -16
  96. data/certs/pboling.pem +0 -27
  97. data/checksums/timecop-rspec-1.0.0.gem.sha256 +0 -1
  98. data/checksums/timecop-rspec-1.0.0.gem.sha512 +0 -1
  99. data/checksums/timecop-rspec-1.0.1.gem.sha256 +0 -1
  100. data/checksums/timecop-rspec-1.0.1.gem.sha512 +0 -1
  101. data/checksums/timecop-rspec-1.0.2.gem.sha256 +0 -1
  102. data/checksums/timecop-rspec-1.0.2.gem.sha512 +0 -1
  103. data/docs/Timecop/Rspec/ExampleDecorator.html +0 -626
  104. data/docs/Timecop/Rspec/SequentialTimeMachine.html +0 -338
  105. data/docs/Timecop/Rspec/TimeMachine.html +0 -357
  106. data/docs/Timecop/Rspec/TravelLog.html +0 -440
  107. data/docs/Timecop/Rspec/Traveler.html +0 -353
  108. data/docs/Timecop/Rspec/Version.html +0 -154
  109. data/docs/Timecop/Rspec.html +0 -476
  110. data/docs/Timecop.html +0 -143
  111. data/docs/_index.html +0 -230
  112. data/docs/class_list.html +0 -54
  113. data/docs/css/common.css +0 -1
  114. data/docs/css/full_list.css +0 -58
  115. data/docs/css/style.css +0 -503
  116. data/docs/file.CHANGELOG.html +0 -130
  117. data/docs/file.CITATION.html +0 -92
  118. data/docs/file.CODE_OF_CONDUCT.html +0 -201
  119. data/docs/file.CONTRIBUTING.html +0 -218
  120. data/docs/file.LICENSE.html +0 -70
  121. data/docs/file.README.html +0 -545
  122. data/docs/file.REEK.html +0 -71
  123. data/docs/file.RUBOCOP.html +0 -171
  124. data/docs/file.SECURITY.html +0 -101
  125. data/docs/file.rspec.html +0 -109
  126. data/docs/file.timecop-rspec-1.0.0.gem.html +0 -71
  127. data/docs/file.timecop-rspec-1.0.1.gem.html +0 -71
  128. data/docs/file.timecop.html +0 -72
  129. data/docs/file_list.html +0 -129
  130. data/docs/frames.html +0 -22
  131. data/docs/index.html +0 -545
  132. data/docs/js/app.js +0 -344
  133. data/docs/js/full_list.js +0 -242
  134. data/docs/js/jquery.js +0 -4
  135. data/docs/method_list.html +0 -198
  136. data/docs/top-level-namespace.html +0 -110
  137. data/gemfiles/audit.gemfile +0 -10
  138. data/gemfiles/coverage.gemfile +0 -10
  139. data/gemfiles/current.gemfile +0 -8
  140. data/gemfiles/deps_unlocked.gemfile +0 -13
  141. data/gemfiles/head.gemfile +0 -9
  142. data/gemfiles/modular/audit.gemfile +0 -5
  143. data/gemfiles/modular/coverage.gemfile +0 -6
  144. data/gemfiles/modular/documentation.gemfile +0 -11
  145. data/gemfiles/modular/style.gemfile +0 -14
  146. data/gemfiles/ruby_2_3.gemfile +0 -5
  147. data/gemfiles/ruby_2_4.gemfile +0 -5
  148. data/gemfiles/ruby_2_5.gemfile +0 -5
  149. data/gemfiles/ruby_2_6.gemfile +0 -8
  150. data/gemfiles/ruby_2_7.gemfile +0 -8
  151. data/gemfiles/ruby_3_0.gemfile +0 -8
  152. data/gemfiles/ruby_3_1.gemfile +0 -8
  153. data/gemfiles/ruby_3_2.gemfile +0 -8
  154. data/gemfiles/ruby_3_3.gemfile +0 -8
  155. data/gemfiles/style.gemfile +0 -10
  156. data/sig/timecop.rbs +0 -2
  157. data/timecop-rspec.gemspec +0 -149
@@ -1,440 +0,0 @@
1
- <!DOCTYPE html>
2
- <html>
3
- <head>
4
- <meta charset="utf-8">
5
- <meta name="viewport" content="width=device-width, initial-scale=1.0">
6
- <title>
7
- Class: Timecop::Rspec::TravelLog
8
-
9
- &mdash; Documentation by YARD 0.9.37
10
-
11
- </title>
12
-
13
- <link rel="stylesheet" href="../../css/style.css" type="text/css" />
14
-
15
- <link rel="stylesheet" href="../../css/common.css" type="text/css" />
16
-
17
- <script type="text/javascript">
18
- pathId = "Timecop::Rspec::TravelLog";
19
- relpath = '../../';
20
- </script>
21
-
22
-
23
- <script type="text/javascript" charset="utf-8" src="../../js/jquery.js"></script>
24
-
25
- <script type="text/javascript" charset="utf-8" src="../../js/app.js"></script>
26
-
27
-
28
- </head>
29
- <body>
30
- <div class="nav_wrap">
31
- <iframe id="nav" src="../../class_list.html?1"></iframe>
32
- <div id="resizer"></div>
33
- </div>
34
-
35
- <div id="main" tabindex="-1">
36
- <div id="header">
37
- <div id="menu">
38
-
39
- <a href="../../_index.html">Index (T)</a> &raquo;
40
- <span class='title'><span class='object_link'><a href="../../Timecop.html" title="Timecop (class)">Timecop</a></span></span> &raquo; <span class='title'><span class='object_link'><a href="../Rspec.html" title="Timecop::Rspec (module)">Rspec</a></span></span>
41
- &raquo;
42
- <span class="title">TravelLog</span>
43
-
44
- </div>
45
-
46
- <div id="search">
47
-
48
- <a class="full_list_link" id="class_list_link"
49
- href="../../class_list.html">
50
-
51
- <svg width="24" height="24">
52
- <rect x="0" y="4" width="24" height="4" rx="1" ry="1"></rect>
53
- <rect x="0" y="12" width="24" height="4" rx="1" ry="1"></rect>
54
- <rect x="0" y="20" width="24" height="4" rx="1" ry="1"></rect>
55
- </svg>
56
- </a>
57
-
58
- </div>
59
- <div class="clear"></div>
60
- </div>
61
-
62
- <div id="content"><h1>Class: Timecop::Rspec::TravelLog
63
-
64
-
65
-
66
- </h1>
67
- <div class="box_info">
68
-
69
- <dl>
70
- <dt>Inherits:</dt>
71
- <dd>
72
- <span class="inheritName">Object</span>
73
-
74
- <ul class="fullTree">
75
- <li>Object</li>
76
-
77
- <li class="next">Timecop::Rspec::TravelLog</li>
78
-
79
- </ul>
80
- <a href="#" class="inheritanceTree">show all</a>
81
-
82
- </dd>
83
- </dl>
84
-
85
-
86
-
87
-
88
-
89
-
90
-
91
-
92
-
93
-
94
-
95
- <dl>
96
- <dt>Defined in:</dt>
97
- <dd>lib/timecop/rspec/travel_log.rb</dd>
98
- </dl>
99
-
100
- </div>
101
-
102
- <h2>Overview</h2><div class="docstring">
103
- <div class="discussion">
104
- <p>Tracks details about a time travel operation that can be resumed later.</p>
105
-
106
-
107
- </div>
108
- </div>
109
- <div class="tags">
110
-
111
-
112
- </div>
113
-
114
-
115
-
116
-
117
-
118
-
119
-
120
- <h2>
121
- Instance Method Summary
122
- <small><a href="#" class="summary_toggle">collapse</a></small>
123
- </h2>
124
-
125
- <ul class="summary">
126
-
127
- <li class="public ">
128
- <span class="summary_signature">
129
-
130
- <a href="#initialize-instance_method" title="#initialize (instance method)">#<strong>initialize</strong>(travel_method = nil, start_time = nil) &#x21d2; TravelLog </a>
131
-
132
-
133
-
134
- </span>
135
-
136
-
137
- <span class="note title constructor">constructor</span>
138
-
139
-
140
-
141
-
142
-
143
-
144
-
145
-
146
- <span class="summary_desc"><div class='inline'><p>A new instance of TravelLog.</p>
147
- </div></span>
148
-
149
- </li>
150
-
151
-
152
- <li class="public ">
153
- <span class="summary_signature">
154
-
155
- <a href="#pause_trip-instance_method" title="#pause_trip (instance method)">#<strong>pause_trip</strong> &#x21d2; void </a>
156
-
157
-
158
-
159
- </span>
160
-
161
-
162
-
163
-
164
-
165
-
166
-
167
-
168
-
169
- <span class="summary_desc"><div class='inline'><p>Pauses the current trip, recording its duration.</p>
170
- </div></span>
171
-
172
- </li>
173
-
174
-
175
- <li class="public ">
176
- <span class="summary_signature">
177
-
178
- <a href="#resume_or_new_trip-instance_method" title="#resume_or_new_trip (instance method)">#<strong>resume_or_new_trip</strong>(travel_method, start_time) &#x21d2; Object </a>
179
-
180
-
181
-
182
- </span>
183
-
184
-
185
-
186
-
187
-
188
-
189
-
190
-
191
-
192
- <span class="summary_desc"><div class='inline'><p>Either resumes a previous trip or starts a new one.</p>
193
- </div></span>
194
-
195
- </li>
196
-
197
-
198
- </ul>
199
-
200
-
201
- <div id="constructor_details" class="method_details_list">
202
- <h2>Constructor Details</h2>
203
-
204
- <div class="method_details first">
205
- <h3 class="signature first" id="initialize-instance_method">
206
-
207
- #<strong>initialize</strong>(travel_method = nil, start_time = nil) &#x21d2; <tt><span class='object_link'><a href="" title="Timecop::Rspec::TravelLog (class)">TravelLog</a></span></tt>
208
-
209
-
210
-
211
-
212
-
213
- </h3><div class="docstring">
214
- <div class="discussion">
215
- <p>Returns a new instance of TravelLog.</p>
216
-
217
-
218
- </div>
219
- </div>
220
- <div class="tags">
221
- <p class="tag_title">Parameters:</p>
222
- <ul class="param">
223
-
224
- <li>
225
-
226
- <span class='name'>travel_method</span>
227
-
228
-
229
- <span class='type'>(<tt>Symbol</tt>, <tt>nil</tt>)</span>
230
-
231
-
232
- <em class="default">(defaults to: <tt>nil</tt>)</em>
233
-
234
-
235
- &mdash;
236
- <div class='inline'><p>:travel or :freeze (or nil)</p>
237
- </div>
238
-
239
- </li>
240
-
241
- <li>
242
-
243
- <span class='name'>start_time</span>
244
-
245
-
246
- <span class='type'>(<tt>Object</tt>, <tt>nil</tt>)</span>
247
-
248
-
249
- <em class="default">(defaults to: <tt>nil</tt>)</em>
250
-
251
-
252
- &mdash;
253
- <div class='inline'><p>a time-like object or string</p>
254
- </div>
255
-
256
- </li>
257
-
258
- </ul>
259
-
260
-
261
- </div><table class="source_code">
262
- <tr>
263
- <td>
264
- <pre class="lines">
265
-
266
-
267
- 7
268
- 8
269
- 9</pre>
270
- </td>
271
- <td>
272
- <pre class="code"><span class="info file"># File 'lib/timecop/rspec/travel_log.rb', line 7</span>
273
-
274
- <span class='kw'>def</span> <span class='id identifier rubyid_initialize'>initialize</span><span class='lparen'>(</span><span class='id identifier rubyid_travel_method'>travel_method</span> <span class='op'>=</span> <span class='kw'>nil</span><span class='comma'>,</span> <span class='id identifier rubyid_start_time'>start_time</span> <span class='op'>=</span> <span class='kw'>nil</span><span class='rparen'>)</span>
275
- <span class='id identifier rubyid_new_trip'>new_trip</span><span class='lparen'>(</span><span class='id identifier rubyid_travel_method'>travel_method</span><span class='comma'>,</span> <span class='id identifier rubyid_start_time'>start_time</span><span class='rparen'>)</span>
276
- <span class='kw'>end</span></pre>
277
- </td>
278
- </tr>
279
- </table>
280
- </div>
281
-
282
- </div>
283
-
284
-
285
- <div id="instance_method_details" class="method_details_list">
286
- <h2>Instance Method Details</h2>
287
-
288
-
289
- <div class="method_details first">
290
- <h3 class="signature first" id="pause_trip-instance_method">
291
-
292
- #<strong>pause_trip</strong> &#x21d2; <tt>void</tt>
293
-
294
-
295
-
296
-
297
-
298
- </h3><div class="docstring">
299
- <div class="discussion">
300
- <p class="note returns_void">This method returns an undefined value.</p><p>Pauses the current trip, recording its duration.</p>
301
-
302
-
303
- </div>
304
- </div>
305
- <div class="tags">
306
-
307
-
308
- </div><table class="source_code">
309
- <tr>
310
- <td>
311
- <pre class="lines">
312
-
313
-
314
- 25
315
- 26
316
- 27</pre>
317
- </td>
318
- <td>
319
- <pre class="code"><span class="info file"># File 'lib/timecop/rspec/travel_log.rb', line 25</span>
320
-
321
- <span class='kw'>def</span> <span class='id identifier rubyid_pause_trip'>pause_trip</span>
322
- <span class='kw'>self</span><span class='period'>.</span><span class='id identifier rubyid_trip_duration'>trip_duration</span> <span class='op'>=</span> <span class='const'>Time</span><span class='period'>.</span><span class='id identifier rubyid_now'>now</span> <span class='op'>-</span> <span class='id identifier rubyid_coalesced_start_time'>coalesced_start_time</span>
323
- <span class='kw'>end</span></pre>
324
- </td>
325
- </tr>
326
- </table>
327
- </div>
328
-
329
- <div class="method_details ">
330
- <h3 class="signature " id="resume_or_new_trip-instance_method">
331
-
332
- #<strong>resume_or_new_trip</strong>(travel_method, start_time) &#x21d2; <tt>Object</tt>
333
-
334
-
335
-
336
-
337
-
338
- </h3><div class="docstring">
339
- <div class="discussion">
340
- <p>Either resumes a previous trip or starts a new one.</p>
341
-
342
-
343
- </div>
344
- </div>
345
- <div class="tags">
346
- <p class="tag_title">Parameters:</p>
347
- <ul class="param">
348
-
349
- <li>
350
-
351
- <span class='name'>travel_method</span>
352
-
353
-
354
- <span class='type'>(<tt>Symbol</tt>)</span>
355
-
356
-
357
-
358
- &mdash;
359
- <div class='inline'><p>:travel or :freeze</p>
360
- </div>
361
-
362
- </li>
363
-
364
- <li>
365
-
366
- <span class='name'>start_time</span>
367
-
368
-
369
- <span class='type'>(<tt>Object</tt>)</span>
370
-
371
-
372
-
373
- &mdash;
374
- <div class='inline'><p>a time-like object or string</p>
375
- </div>
376
-
377
- </li>
378
-
379
- </ul>
380
-
381
- <p class="tag_title">Returns:</p>
382
- <ul class="return">
383
-
384
- <li>
385
-
386
-
387
- <span class='type'>(<tt>Object</tt>)</span>
388
-
389
-
390
-
391
- &mdash;
392
- <div class='inline'><p>the computed starting time for the trip</p>
393
- </div>
394
-
395
- </li>
396
-
397
- </ul>
398
-
399
- </div><table class="source_code">
400
- <tr>
401
- <td>
402
- <pre class="lines">
403
-
404
-
405
- 15
406
- 16
407
- 17
408
- 18
409
- 19
410
- 20
411
- 21</pre>
412
- </td>
413
- <td>
414
- <pre class="code"><span class="info file"># File 'lib/timecop/rspec/travel_log.rb', line 15</span>
415
-
416
- <span class='kw'>def</span> <span class='id identifier rubyid_resume_or_new_trip'>resume_or_new_trip</span><span class='lparen'>(</span><span class='id identifier rubyid_travel_method'>travel_method</span><span class='comma'>,</span> <span class='id identifier rubyid_start_time'>start_time</span><span class='rparen'>)</span>
417
- <span class='kw'>if</span> <span class='id identifier rubyid_resume_trip?'>resume_trip?</span><span class='lparen'>(</span><span class='id identifier rubyid_travel_method'>travel_method</span><span class='comma'>,</span> <span class='id identifier rubyid_start_time'>start_time</span><span class='rparen'>)</span>
418
- <span class='id identifier rubyid_resume_trip'>resume_trip</span>
419
- <span class='kw'>else</span>
420
- <span class='id identifier rubyid_new_trip'>new_trip</span><span class='lparen'>(</span><span class='id identifier rubyid_travel_method'>travel_method</span><span class='comma'>,</span> <span class='id identifier rubyid_start_time'>start_time</span><span class='rparen'>)</span>
421
- <span class='kw'>end</span>
422
- <span class='kw'>end</span></pre>
423
- </td>
424
- </tr>
425
- </table>
426
- </div>
427
-
428
- </div>
429
-
430
- </div>
431
-
432
- <div id="footer">
433
- Generated on Mon Aug 18 05:40:24 2025 by
434
- <a href="https://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
435
- 0.9.37 (ruby-3.4.5).
436
- </div>
437
-
438
- </div>
439
- </body>
440
- </html>