timecop-rspec 1.0.1 → 1.0.3

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 (144) hide show
  1. checksums.yaml +4 -4
  2. checksums.yaml.gz.sig +0 -0
  3. data/CHANGELOG.md +36 -2
  4. data/CONTRIBUTING.md +1 -3
  5. data/README.md +39 -13
  6. data/checksums/timecop-rspec-1.0.2.gem.sha256 +1 -0
  7. data/checksums/timecop-rspec-1.0.2.gem.sha512 +1 -0
  8. data/checksums/timecop-rspec-1.0.3.gem.sha256 +1 -0
  9. data/checksums/timecop-rspec-1.0.3.gem.sha512 +1 -0
  10. data/lib/timecop/rspec/version.rb +1 -1
  11. data.tar.gz.sig +2 -1
  12. metadata +53 -140
  13. metadata.gz.sig +0 -0
  14. data/.devcontainer/devcontainer.json +0 -26
  15. data/.env.local.example +0 -3
  16. data/.envrc +0 -41
  17. data/.github/FUNDING.yml +0 -13
  18. data/.github/dependabot.yml +0 -12
  19. data/.github/workflows/ancient.yml +0 -77
  20. data/.github/workflows/auto-assign.yml +0 -21
  21. data/.github/workflows/codeql-analysis.yml +0 -70
  22. data/.github/workflows/coverage.yml +0 -126
  23. data/.github/workflows/current.yml +0 -85
  24. data/.github/workflows/dependency-review.yml +0 -20
  25. data/.github/workflows/deps_locked.yml +0 -75
  26. data/.github/workflows/deps_unlocked.yml +0 -84
  27. data/.github/workflows/discord-notifier.yml +0 -38
  28. data/.github/workflows/heads.yml +0 -84
  29. data/.github/workflows/jruby.yml +0 -75
  30. data/.github/workflows/legacy.yml +0 -67
  31. data/.github/workflows/style.yml +0 -64
  32. data/.github/workflows/supported.yml +0 -82
  33. data/.github/workflows/truffle.yml +0 -75
  34. data/.github/workflows/unsupported.yml +0 -75
  35. data/.gitignore +0 -45
  36. data/.gitlab-ci.yml +0 -44
  37. data/.idea/.gitignore +0 -8
  38. data/.idea/GitLink.xml +0 -6
  39. data/.idea/misc.xml +0 -4
  40. data/.idea/modules.xml +0 -8
  41. data/.idea/timecop-rspec.iml +0 -122
  42. data/.idea/vcs.xml +0 -6
  43. data/.junie/TASK_NOTE.md +0 -1
  44. data/.junie/guidelines.md +0 -139
  45. data/.qlty/qlty.toml +0 -79
  46. data/.rspec +0 -8
  47. data/.rubocop.yml +0 -15
  48. data/.rubocop_gradual.lock +0 -76
  49. data/.simplecov +0 -11
  50. data/.tool-versions +0 -1
  51. data/.yard_gfm_support.rb +0 -22
  52. data/.yardopts +0 -11
  53. data/Appraisal.root.gemfile +0 -12
  54. data/Appraisals +0 -104
  55. data/CNAME +0 -1
  56. data/Gemfile +0 -38
  57. data/Gemfile.lock +0 -293
  58. data/Rakefile +0 -287
  59. data/bin/appraisal +0 -16
  60. data/bin/bundle-audit +0 -16
  61. data/bin/bundler-audit +0 -16
  62. data/bin/code_climate_reek +0 -16
  63. data/bin/coderay +0 -16
  64. data/bin/console +0 -12
  65. data/bin/erb +0 -16
  66. data/bin/gem_checksums +0 -16
  67. data/bin/htmldiff +0 -16
  68. data/bin/irb +0 -16
  69. data/bin/kramdown +0 -16
  70. data/bin/ldiff +0 -16
  71. data/bin/nokogiri +0 -16
  72. data/bin/pry +0 -16
  73. data/bin/racc +0 -16
  74. data/bin/rake +0 -16
  75. data/bin/rdbg +0 -16
  76. data/bin/rdoc +0 -16
  77. data/bin/reek +0 -16
  78. data/bin/ri +0 -16
  79. data/bin/rspec +0 -16
  80. data/bin/rubocop +0 -16
  81. data/bin/rubocop-gradual +0 -16
  82. data/bin/ruby-parse +0 -16
  83. data/bin/ruby-rewrite +0 -16
  84. data/bin/setup +0 -7
  85. data/bin/standardrb +0 -16
  86. data/bin/thor +0 -16
  87. data/bin/yard +0 -16
  88. data/bin/yard-junk +0 -16
  89. data/bin/yardoc +0 -16
  90. data/bin/yri +0 -16
  91. data/certs/pboling.pem +0 -27
  92. data/docs/Timecop/Rspec/ExampleDecorator.html +0 -626
  93. data/docs/Timecop/Rspec/SequentialTimeMachine.html +0 -338
  94. data/docs/Timecop/Rspec/TimeMachine.html +0 -357
  95. data/docs/Timecop/Rspec/TravelLog.html +0 -440
  96. data/docs/Timecop/Rspec/Traveler.html +0 -353
  97. data/docs/Timecop/Rspec/Version.html +0 -154
  98. data/docs/Timecop/Rspec.html +0 -476
  99. data/docs/Timecop.html +0 -143
  100. data/docs/_index.html +0 -224
  101. data/docs/class_list.html +0 -54
  102. data/docs/css/common.css +0 -1
  103. data/docs/css/full_list.css +0 -58
  104. data/docs/css/style.css +0 -503
  105. data/docs/file.CHANGELOG.html +0 -110
  106. data/docs/file.CITATION.html +0 -92
  107. data/docs/file.CODE_OF_CONDUCT.html +0 -201
  108. data/docs/file.CONTRIBUTING.html +0 -220
  109. data/docs/file.LICENSE.html +0 -70
  110. data/docs/file.README.html +0 -531
  111. data/docs/file.REEK.html +0 -71
  112. data/docs/file.RUBOCOP.html +0 -171
  113. data/docs/file.SECURITY.html +0 -101
  114. data/docs/file.rspec.html +0 -109
  115. data/docs/file.timecop-rspec-1.0.0.gem.html +0 -71
  116. data/docs/file.timecop.html +0 -72
  117. data/docs/file_list.html +0 -119
  118. data/docs/frames.html +0 -22
  119. data/docs/index.html +0 -531
  120. data/docs/js/app.js +0 -344
  121. data/docs/js/full_list.js +0 -242
  122. data/docs/js/jquery.js +0 -4
  123. data/docs/method_list.html +0 -198
  124. data/docs/top-level-namespace.html +0 -110
  125. data/gemfiles/audit.gemfile +0 -10
  126. data/gemfiles/coverage.gemfile +0 -10
  127. data/gemfiles/current.gemfile +0 -8
  128. data/gemfiles/deps_unlocked.gemfile +0 -13
  129. data/gemfiles/head.gemfile +0 -9
  130. data/gemfiles/modular/audit.gemfile +0 -5
  131. data/gemfiles/modular/coverage.gemfile +0 -6
  132. data/gemfiles/modular/documentation.gemfile +0 -11
  133. data/gemfiles/modular/style.gemfile +0 -14
  134. data/gemfiles/ruby_2_3.gemfile +0 -5
  135. data/gemfiles/ruby_2_4.gemfile +0 -5
  136. data/gemfiles/ruby_2_5.gemfile +0 -5
  137. data/gemfiles/ruby_2_6.gemfile +0 -8
  138. data/gemfiles/ruby_2_7.gemfile +0 -8
  139. data/gemfiles/ruby_3_0.gemfile +0 -8
  140. data/gemfiles/ruby_3_1.gemfile +0 -8
  141. data/gemfiles/ruby_3_2.gemfile +0 -8
  142. data/gemfiles/ruby_3_3.gemfile +0 -8
  143. data/gemfiles/style.gemfile +0 -10
  144. data/timecop-rspec.gemspec +0 -146
@@ -1,353 +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::Traveler
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::Traveler";
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">Traveler</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::Traveler
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::Traveler</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/traveler.rb</dd>
98
- </dl>
99
-
100
- </div>
101
-
102
- <h2>Overview</h2><div class="docstring">
103
- <div class="discussion">
104
- <p>Runs an example, optionally continuing a travel across invocations.</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>(example, travel_log) &#x21d2; Traveler </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 Traveler.</p>
147
- </div></span>
148
-
149
- </li>
150
-
151
-
152
- <li class="public ">
153
- <span class="summary_signature">
154
-
155
- <a href="#run-instance_method" title="#run (instance method)">#<strong>run</strong> &#x21d2; Object </a>
156
-
157
-
158
-
159
- </span>
160
-
161
-
162
-
163
-
164
-
165
-
166
-
167
-
168
-
169
- <span class="summary_desc"><div class='inline'><p>Executes the example within the appropriate Timecop context.</p>
170
- </div></span>
171
-
172
- </li>
173
-
174
-
175
- </ul>
176
-
177
-
178
- <div id="constructor_details" class="method_details_list">
179
- <h2>Constructor Details</h2>
180
-
181
- <div class="method_details first">
182
- <h3 class="signature first" id="initialize-instance_method">
183
-
184
- #<strong>initialize</strong>(example, travel_log) &#x21d2; <tt><span class='object_link'><a href="" title="Timecop::Rspec::Traveler (class)">Traveler</a></span></tt>
185
-
186
-
187
-
188
-
189
-
190
- </h3><div class="docstring">
191
- <div class="discussion">
192
- <p>Returns a new instance of Traveler.</p>
193
-
194
-
195
- </div>
196
- </div>
197
- <div class="tags">
198
- <p class="tag_title">Parameters:</p>
199
- <ul class="param">
200
-
201
- <li>
202
-
203
- <span class='name'>example</span>
204
-
205
-
206
- <span class='type'>(<tt><span class='object_link'><a href="ExampleDecorator.html" title="Timecop::Rspec::ExampleDecorator (class)">ExampleDecorator</a></span></tt>)</span>
207
-
208
-
209
-
210
- </li>
211
-
212
- <li>
213
-
214
- <span class='name'>travel_log</span>
215
-
216
-
217
- <span class='type'>(<tt><span class='object_link'><a href="TravelLog.html" title="Timecop::Rspec::TravelLog (class)">TravelLog</a></span></tt>)</span>
218
-
219
-
220
-
221
- </li>
222
-
223
- </ul>
224
-
225
-
226
- </div><table class="source_code">
227
- <tr>
228
- <td>
229
- <pre class="lines">
230
-
231
-
232
- 7
233
- 8
234
- 9
235
- 10</pre>
236
- </td>
237
- <td>
238
- <pre class="code"><span class="info file"># File 'lib/timecop/rspec/traveler.rb', line 7</span>
239
-
240
- <span class='kw'>def</span> <span class='id identifier rubyid_initialize'>initialize</span><span class='lparen'>(</span><span class='id identifier rubyid_example'>example</span><span class='comma'>,</span> <span class='id identifier rubyid_travel_log'>travel_log</span><span class='rparen'>)</span>
241
- <span class='ivar'>@example</span> <span class='op'>=</span> <span class='id identifier rubyid_example'>example</span>
242
- <span class='ivar'>@travel_log</span> <span class='op'>=</span> <span class='id identifier rubyid_travel_log'>travel_log</span>
243
- <span class='kw'>end</span></pre>
244
- </td>
245
- </tr>
246
- </table>
247
- </div>
248
-
249
- </div>
250
-
251
-
252
- <div id="instance_method_details" class="method_details_list">
253
- <h2>Instance Method Details</h2>
254
-
255
-
256
- <div class="method_details first">
257
- <h3 class="signature first" id="run-instance_method">
258
-
259
- #<strong>run</strong> &#x21d2; <tt>Object</tt>
260
-
261
-
262
-
263
-
264
-
265
- </h3><div class="docstring">
266
- <div class="discussion">
267
- <p>Executes the example within the appropriate Timecop context.<br />
268
- If the method is :travel, the starting time may be adjusted based on<br />
269
- prior trips recorded in the travel log.</p>
270
-
271
-
272
- </div>
273
- </div>
274
- <div class="tags">
275
-
276
- <p class="tag_title">Returns:</p>
277
- <ul class="return">
278
-
279
- <li>
280
-
281
-
282
- <span class='type'>(<tt>Object</tt>)</span>
283
-
284
-
285
-
286
- </li>
287
-
288
- </ul>
289
-
290
- </div><table class="source_code">
291
- <tr>
292
- <td>
293
- <pre class="lines">
294
-
295
-
296
- 17
297
- 18
298
- 19
299
- 20
300
- 21
301
- 22
302
- 23
303
- 24
304
- 25
305
- 26
306
- 27
307
- 28
308
- 29
309
- 30
310
- 31
311
- 32
312
- 33
313
- 34</pre>
314
- </td>
315
- <td>
316
- <pre class="code"><span class="info file"># File 'lib/timecop/rspec/traveler.rb', line 17</span>
317
-
318
- <span class='kw'>def</span> <span class='id identifier rubyid_run'>run</span>
319
- <span class='id identifier rubyid_method'>method</span> <span class='op'>=</span> <span class='id identifier rubyid_example'>example</span><span class='period'>.</span><span class='id identifier rubyid_timecop_method'>timecop_method</span>
320
- <span class='id identifier rubyid_time'>time</span> <span class='op'>=</span> <span class='id identifier rubyid_example'>example</span><span class='period'>.</span><span class='id identifier rubyid_timecop_time'>timecop_time</span>
321
-
322
- <span class='kw'>if</span> <span class='id identifier rubyid_method'>method</span> <span class='op'>==</span> <span class='symbol'>:travel</span>
323
- <span class='id identifier rubyid_time'>time</span> <span class='op'>=</span> <span class='id identifier rubyid_travel_log'>travel_log</span><span class='period'>.</span><span class='id identifier rubyid_resume_or_new_trip'>resume_or_new_trip</span><span class='lparen'>(</span>
324
- <span class='id identifier rubyid_example'>example</span><span class='period'>.</span><span class='id identifier rubyid_timecop_method'>timecop_method</span><span class='comma'>,</span> <span class='id identifier rubyid_example'>example</span><span class='period'>.</span><span class='id identifier rubyid_timecop_time'>timecop_time</span>
325
- <span class='rparen'>)</span>
326
- <span class='kw'>end</span>
327
-
328
- <span class='op'>::</span><span class='const'><span class='object_link'><a href="../../Timecop.html" title="Timecop (class)">Timecop</a></span></span><span class='period'>.</span><span class='id identifier rubyid_public_send'>public_send</span><span class='lparen'>(</span><span class='id identifier rubyid_method'>method</span><span class='comma'>,</span> <span class='id identifier rubyid_time'>time</span><span class='rparen'>)</span> <span class='kw'>do</span>
329
- <span class='kw'>begin</span>
330
- <span class='id identifier rubyid_example'>example</span><span class='period'>.</span><span class='id identifier rubyid_run'>run</span>
331
- <span class='kw'>ensure</span>
332
- <span class='id identifier rubyid_travel_log'>travel_log</span><span class='period'>.</span><span class='id identifier rubyid_pause_trip'>pause_trip</span> <span class='kw'>if</span> <span class='id identifier rubyid_method'>method</span> <span class='op'>==</span> <span class='symbol'>:travel</span>
333
- <span class='kw'>end</span>
334
- <span class='kw'>end</span>
335
- <span class='kw'>end</span></pre>
336
- </td>
337
- </tr>
338
- </table>
339
- </div>
340
-
341
- </div>
342
-
343
- </div>
344
-
345
- <div id="footer">
346
- Generated on Sun Aug 17 17:04:07 2025 by
347
- <a href="https://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
348
- 0.9.37 (ruby-3.4.5).
349
- </div>
350
-
351
- </div>
352
- </body>
353
- </html>
@@ -1,154 +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
- Module: Timecop::Rspec::Version
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::Version";
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 (V)</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">Version</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>Module: Timecop::Rspec::Version
63
-
64
-
65
-
66
- </h1>
67
- <div class="box_info">
68
-
69
-
70
-
71
-
72
-
73
-
74
-
75
-
76
-
77
-
78
-
79
- <dl>
80
- <dt>Defined in:</dt>
81
- <dd>lib/timecop/rspec/version.rb</dd>
82
- </dl>
83
-
84
- </div>
85
-
86
- <h2>Overview</h2><div class="docstring">
87
- <div class="discussion">
88
- <p>Version namespace for Timecop::Rspec.</p>
89
-
90
-
91
- </div>
92
- </div>
93
- <div class="tags">
94
-
95
-
96
- </div>
97
-
98
- <h2>
99
- Constant Summary
100
- <small><a href="#" class="constants_summary_toggle">collapse</a></small>
101
- </h2>
102
-
103
- <dl class="constants">
104
-
105
- <dt id="VERSION-constant" class="">VERSION =
106
- <div class="docstring">
107
- <div class="discussion">
108
- <p>The gem version.</p>
109
-
110
-
111
- </div>
112
- </div>
113
- <div class="tags">
114
-
115
- <p class="tag_title">Returns:</p>
116
- <ul class="return">
117
-
118
- <li>
119
-
120
-
121
- <span class='type'>(<tt>String</tt>)</span>
122
-
123
-
124
-
125
- </li>
126
-
127
- </ul>
128
-
129
- </div>
130
- </dt>
131
- <dd><pre class="code"><span class='tstring'><span class='tstring_beg'>&quot;</span><span class='tstring_content'>1.0.1</span><span class='tstring_end'>&quot;</span></span></pre></dd>
132
-
133
- </dl>
134
-
135
-
136
-
137
-
138
-
139
-
140
-
141
-
142
-
143
-
144
- </div>
145
-
146
- <div id="footer">
147
- Generated on Sun Aug 17 17:04:07 2025 by
148
- <a href="https://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
149
- 0.9.37 (ruby-3.4.5).
150
- </div>
151
-
152
- </div>
153
- </body>
154
- </html>