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.
- checksums.yaml +4 -4
- checksums.yaml.gz.sig +0 -0
- data/CHANGELOG.md +36 -2
- data/CONTRIBUTING.md +1 -3
- data/README.md +39 -13
- data/checksums/timecop-rspec-1.0.2.gem.sha256 +1 -0
- data/checksums/timecop-rspec-1.0.2.gem.sha512 +1 -0
- data/checksums/timecop-rspec-1.0.3.gem.sha256 +1 -0
- data/checksums/timecop-rspec-1.0.3.gem.sha512 +1 -0
- data/lib/timecop/rspec/version.rb +1 -1
- data.tar.gz.sig +2 -1
- metadata +53 -140
- metadata.gz.sig +0 -0
- data/.devcontainer/devcontainer.json +0 -26
- data/.env.local.example +0 -3
- data/.envrc +0 -41
- data/.github/FUNDING.yml +0 -13
- data/.github/dependabot.yml +0 -12
- data/.github/workflows/ancient.yml +0 -77
- data/.github/workflows/auto-assign.yml +0 -21
- data/.github/workflows/codeql-analysis.yml +0 -70
- data/.github/workflows/coverage.yml +0 -126
- data/.github/workflows/current.yml +0 -85
- data/.github/workflows/dependency-review.yml +0 -20
- data/.github/workflows/deps_locked.yml +0 -75
- data/.github/workflows/deps_unlocked.yml +0 -84
- data/.github/workflows/discord-notifier.yml +0 -38
- data/.github/workflows/heads.yml +0 -84
- data/.github/workflows/jruby.yml +0 -75
- data/.github/workflows/legacy.yml +0 -67
- data/.github/workflows/style.yml +0 -64
- data/.github/workflows/supported.yml +0 -82
- data/.github/workflows/truffle.yml +0 -75
- data/.github/workflows/unsupported.yml +0 -75
- data/.gitignore +0 -45
- data/.gitlab-ci.yml +0 -44
- data/.idea/.gitignore +0 -8
- data/.idea/GitLink.xml +0 -6
- data/.idea/misc.xml +0 -4
- data/.idea/modules.xml +0 -8
- data/.idea/timecop-rspec.iml +0 -122
- data/.idea/vcs.xml +0 -6
- data/.junie/TASK_NOTE.md +0 -1
- data/.junie/guidelines.md +0 -139
- data/.qlty/qlty.toml +0 -79
- data/.rspec +0 -8
- data/.rubocop.yml +0 -15
- data/.rubocop_gradual.lock +0 -76
- data/.simplecov +0 -11
- data/.tool-versions +0 -1
- data/.yard_gfm_support.rb +0 -22
- data/.yardopts +0 -11
- data/Appraisal.root.gemfile +0 -12
- data/Appraisals +0 -104
- data/CNAME +0 -1
- data/Gemfile +0 -38
- data/Gemfile.lock +0 -293
- data/Rakefile +0 -287
- data/bin/appraisal +0 -16
- data/bin/bundle-audit +0 -16
- data/bin/bundler-audit +0 -16
- data/bin/code_climate_reek +0 -16
- data/bin/coderay +0 -16
- data/bin/console +0 -12
- data/bin/erb +0 -16
- data/bin/gem_checksums +0 -16
- data/bin/htmldiff +0 -16
- data/bin/irb +0 -16
- data/bin/kramdown +0 -16
- data/bin/ldiff +0 -16
- data/bin/nokogiri +0 -16
- data/bin/pry +0 -16
- data/bin/racc +0 -16
- data/bin/rake +0 -16
- data/bin/rdbg +0 -16
- data/bin/rdoc +0 -16
- data/bin/reek +0 -16
- data/bin/ri +0 -16
- data/bin/rspec +0 -16
- data/bin/rubocop +0 -16
- data/bin/rubocop-gradual +0 -16
- data/bin/ruby-parse +0 -16
- data/bin/ruby-rewrite +0 -16
- data/bin/setup +0 -7
- data/bin/standardrb +0 -16
- data/bin/thor +0 -16
- data/bin/yard +0 -16
- data/bin/yard-junk +0 -16
- data/bin/yardoc +0 -16
- data/bin/yri +0 -16
- data/certs/pboling.pem +0 -27
- data/docs/Timecop/Rspec/ExampleDecorator.html +0 -626
- data/docs/Timecop/Rspec/SequentialTimeMachine.html +0 -338
- data/docs/Timecop/Rspec/TimeMachine.html +0 -357
- data/docs/Timecop/Rspec/TravelLog.html +0 -440
- data/docs/Timecop/Rspec/Traveler.html +0 -353
- data/docs/Timecop/Rspec/Version.html +0 -154
- data/docs/Timecop/Rspec.html +0 -476
- data/docs/Timecop.html +0 -143
- data/docs/_index.html +0 -224
- data/docs/class_list.html +0 -54
- data/docs/css/common.css +0 -1
- data/docs/css/full_list.css +0 -58
- data/docs/css/style.css +0 -503
- data/docs/file.CHANGELOG.html +0 -110
- data/docs/file.CITATION.html +0 -92
- data/docs/file.CODE_OF_CONDUCT.html +0 -201
- data/docs/file.CONTRIBUTING.html +0 -220
- data/docs/file.LICENSE.html +0 -70
- data/docs/file.README.html +0 -531
- data/docs/file.REEK.html +0 -71
- data/docs/file.RUBOCOP.html +0 -171
- data/docs/file.SECURITY.html +0 -101
- data/docs/file.rspec.html +0 -109
- data/docs/file.timecop-rspec-1.0.0.gem.html +0 -71
- data/docs/file.timecop.html +0 -72
- data/docs/file_list.html +0 -119
- data/docs/frames.html +0 -22
- data/docs/index.html +0 -531
- data/docs/js/app.js +0 -344
- data/docs/js/full_list.js +0 -242
- data/docs/js/jquery.js +0 -4
- data/docs/method_list.html +0 -198
- data/docs/top-level-namespace.html +0 -110
- data/gemfiles/audit.gemfile +0 -10
- data/gemfiles/coverage.gemfile +0 -10
- data/gemfiles/current.gemfile +0 -8
- data/gemfiles/deps_unlocked.gemfile +0 -13
- data/gemfiles/head.gemfile +0 -9
- data/gemfiles/modular/audit.gemfile +0 -5
- data/gemfiles/modular/coverage.gemfile +0 -6
- data/gemfiles/modular/documentation.gemfile +0 -11
- data/gemfiles/modular/style.gemfile +0 -14
- data/gemfiles/ruby_2_3.gemfile +0 -5
- data/gemfiles/ruby_2_4.gemfile +0 -5
- data/gemfiles/ruby_2_5.gemfile +0 -5
- data/gemfiles/ruby_2_6.gemfile +0 -8
- data/gemfiles/ruby_2_7.gemfile +0 -8
- data/gemfiles/ruby_3_0.gemfile +0 -8
- data/gemfiles/ruby_3_1.gemfile +0 -8
- data/gemfiles/ruby_3_2.gemfile +0 -8
- data/gemfiles/ruby_3_3.gemfile +0 -8
- data/gemfiles/style.gemfile +0 -10
- data/timecop-rspec.gemspec +0 -146
data/docs/file.RUBOCOP.html
DELETED
@@ -1,171 +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
|
-
File: RUBOCOP
|
8
|
-
|
9
|
-
— 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 = "RUBOCOP";
|
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="file_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</a> »
|
40
|
-
<span class="title">File: RUBOCOP</span>
|
41
|
-
|
42
|
-
</div>
|
43
|
-
|
44
|
-
<div id="search">
|
45
|
-
|
46
|
-
<a class="full_list_link" id="class_list_link"
|
47
|
-
href="class_list.html">
|
48
|
-
|
49
|
-
<svg width="24" height="24">
|
50
|
-
<rect x="0" y="4" width="24" height="4" rx="1" ry="1"></rect>
|
51
|
-
<rect x="0" y="12" width="24" height="4" rx="1" ry="1"></rect>
|
52
|
-
<rect x="0" y="20" width="24" height="4" rx="1" ry="1"></rect>
|
53
|
-
</svg>
|
54
|
-
</a>
|
55
|
-
|
56
|
-
</div>
|
57
|
-
<div class="clear"></div>
|
58
|
-
</div>
|
59
|
-
|
60
|
-
<div id="content"><div id='filecontents'><h1 id="rubocop-usage-guide">RuboCop Usage Guide</h1>
|
61
|
-
|
62
|
-
<h2 id="overview">Overview</h2>
|
63
|
-
|
64
|
-
<p>A tale of two RuboCop plugin gems.</p>
|
65
|
-
|
66
|
-
<h3 id="rubocop-gradual">RuboCop Gradual</h3>
|
67
|
-
|
68
|
-
<p>This project uses <code>rubocop_gradual</code> instead of vanilla RuboCop for code style checking. The <code>rubocop_gradual</code> tool allows for gradual adoption of RuboCop rules by tracking violations in a lock file.</p>
|
69
|
-
|
70
|
-
<h3 id="rubocop-lts">RuboCop LTS</h3>
|
71
|
-
|
72
|
-
<p>This project uses <code>rubocop-lts</code> to ensure, on a best-effort basis, compatibility with Ruby >= 1.9.2.<br>
|
73
|
-
RuboCop rules are meticulously configured by the <code>rubocop-lts</code> family of gems to ensure that a project is compatible with a specific version of Ruby. See: https://rubocop-lts.gitlab.io for more.</p>
|
74
|
-
|
75
|
-
<h2 id="checking-rubocop-violations">Checking RuboCop Violations</h2>
|
76
|
-
|
77
|
-
<p>To check for RuboCop violations in this project, always use:</p>
|
78
|
-
|
79
|
-
<pre class="code language-bash"><code class="language-bash">bundle exec rake rubocop_gradual:check
|
80
|
-
</code></pre>
|
81
|
-
|
82
|
-
<p><strong>Do not use</strong> the standard RuboCop commands like:</p>
|
83
|
-
<ul>
|
84
|
-
<li><code>bundle exec rubocop</code></li>
|
85
|
-
<li><code>rubocop</code></li>
|
86
|
-
</ul>
|
87
|
-
|
88
|
-
<h2 id="understanding-the-lock-file">Understanding the Lock File</h2>
|
89
|
-
|
90
|
-
<p>The <code>.rubocop_gradual.lock</code> file tracks all current RuboCop violations in the project. This allows the team to:</p>
|
91
|
-
|
92
|
-
<ol>
|
93
|
-
<li>Prevent new violations while gradually fixing existing ones</li>
|
94
|
-
<li>Track progress on code style improvements</li>
|
95
|
-
<li>Ensure CI builds don’t fail due to pre-existing violations</li>
|
96
|
-
</ol>
|
97
|
-
|
98
|
-
<h2 id="common-commands">Common Commands</h2>
|
99
|
-
|
100
|
-
<ul>
|
101
|
-
<li>
|
102
|
-
<strong>Check violations</strong>
|
103
|
-
<ul>
|
104
|
-
<li><code>bundle exec rake rubocop_gradual</code></li>
|
105
|
-
<li><code>bundle exec rake rubocop_gradual:check</code></li>
|
106
|
-
</ul>
|
107
|
-
</li>
|
108
|
-
<li>
|
109
|
-
<strong>(Safe) Autocorrect violations, and update lockfile if no new violations</strong>
|
110
|
-
<ul>
|
111
|
-
<li><code>bundle exec rake rubocop_gradual:autocorrect</code></li>
|
112
|
-
</ul>
|
113
|
-
</li>
|
114
|
-
<li>
|
115
|
-
<strong>Force update the lock file (w/o autocorrect) to match violations present in code</strong>
|
116
|
-
<ul>
|
117
|
-
<li><code>bundle exec rake rubocop_gradual:force_update</code></li>
|
118
|
-
</ul>
|
119
|
-
</li>
|
120
|
-
</ul>
|
121
|
-
|
122
|
-
<h2 id="workflow">Workflow</h2>
|
123
|
-
|
124
|
-
<ol>
|
125
|
-
<li>Before submitting a PR, run <code>bundle exec rake rubocop_gradual:autocorrect</code><br>
|
126
|
-
a. or just the default <code>bundle exec rake</code>, as autocorrection is a pre-requisite of the default task.</li>
|
127
|
-
<li>If there are new violations, either:
|
128
|
-
<ul>
|
129
|
-
<li>Fix them in your code</li>
|
130
|
-
<li>Run <code>bundle exec rake rubocop_gradual:force_update</code> to update the lock file (only for violations you can’t fix immediately)</li>
|
131
|
-
</ul>
|
132
|
-
</li>
|
133
|
-
<li>Commit the updated <code>.rubocop_gradual.lock</code> file along with your changes</li>
|
134
|
-
</ol>
|
135
|
-
|
136
|
-
<h2 id="never-add-inline-rubocop-disables">Never add inline RuboCop disables</h2>
|
137
|
-
|
138
|
-
<p>Do not add inline <code>rubocop:disable</code> / <code>rubocop:enable</code> comments anywhere in the codebase (including specs, except when following the few existing <code>rubocop:disable</code> patterns for a rule already being disabled elsewhere in the code). We handle exceptions in two supported ways:</p>
|
139
|
-
|
140
|
-
<ul>
|
141
|
-
<li>Permanent/structural exceptions: prefer adjusting the RuboCop configuration (e.g., in <code>.rubocop.yml</code>) to exclude a rule for a path or file pattern when it makes sense project-wide.</li>
|
142
|
-
<li>Temporary exceptions while improving code: record the current violations in <code>.rubocop_gradual.lock</code> via the gradual workflow:
|
143
|
-
<ul>
|
144
|
-
<li>
|
145
|
-
<code>bundle exec rake rubocop_gradual:autocorrect</code> (preferred; will autocorrect what it can and update the lock only if no new violations were introduced)</li>
|
146
|
-
<li>If needed, <code>bundle exec rake rubocop_gradual:force_update</code> (as a last resort when you cannot fix the newly reported violations immediately)</li>
|
147
|
-
</ul>
|
148
|
-
</li>
|
149
|
-
</ul>
|
150
|
-
|
151
|
-
<p>In general, treat the rules as guidance to follow; fix violations rather than ignore them. For example, RSpec conventions in this project expect <code>described_class</code> to be used in specs that target a specific class under test.</p>
|
152
|
-
|
153
|
-
<h2 id="benefits-of-rubocop_gradual">Benefits of rubocop_gradual</h2>
|
154
|
-
|
155
|
-
<ul>
|
156
|
-
<li>Allows incremental adoption of code style rules</li>
|
157
|
-
<li>Prevents CI failures due to pre-existing violations</li>
|
158
|
-
<li>Provides a clear record of code style debt</li>
|
159
|
-
<li>Enables focused efforts on improving code quality over time</li>
|
160
|
-
</ul>
|
161
|
-
</div></div>
|
162
|
-
|
163
|
-
<div id="footer">
|
164
|
-
Generated on Sun Aug 17 17:04:07 2025 by
|
165
|
-
<a href="https://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
|
166
|
-
0.9.37 (ruby-3.4.5).
|
167
|
-
</div>
|
168
|
-
|
169
|
-
</div>
|
170
|
-
</body>
|
171
|
-
</html>
|
data/docs/file.SECURITY.html
DELETED
@@ -1,101 +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
|
-
File: SECURITY
|
8
|
-
|
9
|
-
— 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 = "SECURITY";
|
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="file_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</a> »
|
40
|
-
<span class="title">File: SECURITY</span>
|
41
|
-
|
42
|
-
</div>
|
43
|
-
|
44
|
-
<div id="search">
|
45
|
-
|
46
|
-
<a class="full_list_link" id="class_list_link"
|
47
|
-
href="class_list.html">
|
48
|
-
|
49
|
-
<svg width="24" height="24">
|
50
|
-
<rect x="0" y="4" width="24" height="4" rx="1" ry="1"></rect>
|
51
|
-
<rect x="0" y="12" width="24" height="4" rx="1" ry="1"></rect>
|
52
|
-
<rect x="0" y="20" width="24" height="4" rx="1" ry="1"></rect>
|
53
|
-
</svg>
|
54
|
-
</a>
|
55
|
-
|
56
|
-
</div>
|
57
|
-
<div class="clear"></div>
|
58
|
-
</div>
|
59
|
-
|
60
|
-
<div id="content"><div id='filecontents'><h1 id="security-policy">Security Policy</h1>
|
61
|
-
|
62
|
-
<h2 id="supported-versions">Supported Versions</h2>
|
63
|
-
|
64
|
-
<table>
|
65
|
-
<thead>
|
66
|
-
<tr>
|
67
|
-
<th>Version</th>
|
68
|
-
<th>Supported</th>
|
69
|
-
</tr>
|
70
|
-
</thead>
|
71
|
-
<tbody>
|
72
|
-
<tr>
|
73
|
-
<td>1.latest</td>
|
74
|
-
<td>✅</td>
|
75
|
-
</tr>
|
76
|
-
</tbody>
|
77
|
-
</table>
|
78
|
-
|
79
|
-
<h2 id="security-contact-information">Security contact information</h2>
|
80
|
-
|
81
|
-
<p>To report a security vulnerability, please use the<br>
|
82
|
-
<a href="https://tidelift.com/security">Tidelift security contact</a>.<br>
|
83
|
-
Tidelift will coordinate the fix and disclosure.</p>
|
84
|
-
|
85
|
-
<h2 id="additional-support">Additional Support</h2>
|
86
|
-
|
87
|
-
<p>If you are interested in support for versions older than the latest release,<br>
|
88
|
-
please consider sponsoring the project / maintainer @ https://liberapay.com/pboling/donate,<br>
|
89
|
-
or find other sponsorship links in the <a href="index.html" title="README">README</a>.</p>
|
90
|
-
|
91
|
-
</div></div>
|
92
|
-
|
93
|
-
<div id="footer">
|
94
|
-
Generated on Sun Aug 17 17:04:07 2025 by
|
95
|
-
<a href="https://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
|
96
|
-
0.9.37 (ruby-3.4.5).
|
97
|
-
</div>
|
98
|
-
|
99
|
-
</div>
|
100
|
-
</body>
|
101
|
-
</html>
|
data/docs/file.rspec.html
DELETED
@@ -1,109 +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
|
-
File: rspec
|
8
|
-
|
9
|
-
— 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 = "rspec";
|
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="file_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</a> »
|
40
|
-
<span class="title">File: rspec</span>
|
41
|
-
|
42
|
-
</div>
|
43
|
-
|
44
|
-
<div id="search">
|
45
|
-
|
46
|
-
<a class="full_list_link" id="class_list_link"
|
47
|
-
href="class_list.html">
|
48
|
-
|
49
|
-
<svg width="24" height="24">
|
50
|
-
<rect x="0" y="4" width="24" height="4" rx="1" ry="1"></rect>
|
51
|
-
<rect x="0" y="12" width="24" height="4" rx="1" ry="1"></rect>
|
52
|
-
<rect x="0" y="20" width="24" height="4" rx="1" ry="1"></rect>
|
53
|
-
</svg>
|
54
|
-
</a>
|
55
|
-
|
56
|
-
</div>
|
57
|
-
<div class="clear"></div>
|
58
|
-
</div>
|
59
|
-
|
60
|
-
<div id="content"><div id='filecontents'><p>class Timecop<br>
|
61
|
-
module Rspec<br>
|
62
|
-
module Version<br>
|
63
|
-
end</p>
|
64
|
-
|
65
|
-
<pre class="code ruby"><code class="ruby">class TimeMachine
|
66
|
-
def self.instance: () -> TimeMachine
|
67
|
-
def run: (untyped example) -> untyped
|
68
|
-
end
|
69
|
-
|
70
|
-
class SequentialTimeMachine
|
71
|
-
def self.instance: () -> SequentialTimeMachine
|
72
|
-
def run: (untyped example) -> untyped
|
73
|
-
end
|
74
|
-
|
75
|
-
class ExampleDecorator < ::SimpleDelegator
|
76
|
-
def timecop?: () -> bool
|
77
|
-
def timecop_method: () -> (:freeze | :travel)?
|
78
|
-
def timecop_time: () -> untyped
|
79
|
-
def local_timecop?: () -> bool
|
80
|
-
def global_timecop?: () -> bool
|
81
|
-
def skip_global_timecop?: () -> bool
|
82
|
-
end
|
83
|
-
|
84
|
-
class Traveler
|
85
|
-
def initialize: (ExampleDecorator example, TravelLog travel_log) -> void
|
86
|
-
def run: () -> untyped
|
87
|
-
end
|
88
|
-
|
89
|
-
class TravelLog
|
90
|
-
def initialize: (*untyped) -> void
|
91
|
-
def resume_or_new_trip: ((:travel | :freeze) travel_method, untyped start_time) -> untyped
|
92
|
-
def pause_trip: () -> void
|
93
|
-
end
|
94
|
-
|
95
|
-
def self.time_machine: (*untyped) -> (SequentialTimeMachine | TimeMachine)
|
96
|
-
def self.global_time_configured?: () -> bool
|
97
|
-
def self.global_time: () -> ::Time end end
|
98
|
-
</code></pre>
|
99
|
-
</div></div>
|
100
|
-
|
101
|
-
<div id="footer">
|
102
|
-
Generated on Sun Aug 17 17:04:07 2025 by
|
103
|
-
<a href="https://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
|
104
|
-
0.9.37 (ruby-3.4.5).
|
105
|
-
</div>
|
106
|
-
|
107
|
-
</div>
|
108
|
-
</body>
|
109
|
-
</html>
|
@@ -1,71 +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
|
-
File: timecop-rspec-1.0.0.gem
|
8
|
-
|
9
|
-
— 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-1.0.0.gem";
|
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="file_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</a> »
|
40
|
-
<span class="title">File: timecop-rspec-1.0.0.gem</span>
|
41
|
-
|
42
|
-
</div>
|
43
|
-
|
44
|
-
<div id="search">
|
45
|
-
|
46
|
-
<a class="full_list_link" id="class_list_link"
|
47
|
-
href="class_list.html">
|
48
|
-
|
49
|
-
<svg width="24" height="24">
|
50
|
-
<rect x="0" y="4" width="24" height="4" rx="1" ry="1"></rect>
|
51
|
-
<rect x="0" y="12" width="24" height="4" rx="1" ry="1"></rect>
|
52
|
-
<rect x="0" y="20" width="24" height="4" rx="1" ry="1"></rect>
|
53
|
-
</svg>
|
54
|
-
</a>
|
55
|
-
|
56
|
-
</div>
|
57
|
-
<div class="clear"></div>
|
58
|
-
</div>
|
59
|
-
|
60
|
-
<div id="content"><div id='filecontents'><p>33eb0a04d6ea0cffb26108d404e70e04ee2e53d7f5e62b9c5b0c83c75f91ff06fc507e2e086bd190d8e978e61a95034aa014fa7c03c9d60019d885226a6a0372</p>
|
61
|
-
</div></div>
|
62
|
-
|
63
|
-
<div id="footer">
|
64
|
-
Generated on Sun Aug 17 17:04:07 2025 by
|
65
|
-
<a href="https://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
|
66
|
-
0.9.37 (ruby-3.4.5).
|
67
|
-
</div>
|
68
|
-
|
69
|
-
</div>
|
70
|
-
</body>
|
71
|
-
</html>
|
data/docs/file.timecop.html
DELETED
@@ -1,72 +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
|
-
File: timecop
|
8
|
-
|
9
|
-
— 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";
|
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="file_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</a> »
|
40
|
-
<span class="title">File: timecop</span>
|
41
|
-
|
42
|
-
</div>
|
43
|
-
|
44
|
-
<div id="search">
|
45
|
-
|
46
|
-
<a class="full_list_link" id="class_list_link"
|
47
|
-
href="class_list.html">
|
48
|
-
|
49
|
-
<svg width="24" height="24">
|
50
|
-
<rect x="0" y="4" width="24" height="4" rx="1" ry="1"></rect>
|
51
|
-
<rect x="0" y="12" width="24" height="4" rx="1" ry="1"></rect>
|
52
|
-
<rect x="0" y="20" width="24" height="4" rx="1" ry="1"></rect>
|
53
|
-
</svg>
|
54
|
-
</a>
|
55
|
-
|
56
|
-
</div>
|
57
|
-
<div class="clear"></div>
|
58
|
-
</div>
|
59
|
-
|
60
|
-
<div id="content"><div id='filecontents'><p>class Timecop<br>
|
61
|
-
end</p>
|
62
|
-
</div></div>
|
63
|
-
|
64
|
-
<div id="footer">
|
65
|
-
Generated on Sun Aug 17 17:04:07 2025 by
|
66
|
-
<a href="https://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
|
67
|
-
0.9.37 (ruby-3.4.5).
|
68
|
-
</div>
|
69
|
-
|
70
|
-
</div>
|
71
|
-
</body>
|
72
|
-
</html>
|
data/docs/file_list.html
DELETED
@@ -1,119 +0,0 @@
|
|
1
|
-
<!DOCTYPE html>
|
2
|
-
<html >
|
3
|
-
<head>
|
4
|
-
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
5
|
-
<meta charset="utf-8" />
|
6
|
-
|
7
|
-
<link rel="stylesheet" href="css/full_list.css" type="text/css" media="screen" />
|
8
|
-
|
9
|
-
<link rel="stylesheet" href="css/common.css" type="text/css" media="screen" />
|
10
|
-
|
11
|
-
|
12
|
-
|
13
|
-
<script type="text/javascript" charset="utf-8" src="js/jquery.js"></script>
|
14
|
-
|
15
|
-
<script type="text/javascript" charset="utf-8" src="js/full_list.js"></script>
|
16
|
-
|
17
|
-
|
18
|
-
<title>File List</title>
|
19
|
-
<base id="base_target" target="_parent" />
|
20
|
-
</head>
|
21
|
-
<body>
|
22
|
-
<div id="content">
|
23
|
-
<div class="fixed_header">
|
24
|
-
<h1 id="full_list_header">File List</h1>
|
25
|
-
<div id="full_list_nav">
|
26
|
-
|
27
|
-
<span><a target="_self" href="class_list.html">
|
28
|
-
Classes
|
29
|
-
</a></span>
|
30
|
-
|
31
|
-
<span><a target="_self" href="method_list.html">
|
32
|
-
Methods
|
33
|
-
</a></span>
|
34
|
-
|
35
|
-
<span><a target="_self" href="file_list.html">
|
36
|
-
Files
|
37
|
-
</a></span>
|
38
|
-
|
39
|
-
</div>
|
40
|
-
|
41
|
-
<div id="search">
|
42
|
-
<label for="search-class">Search:</label>
|
43
|
-
<input id="search-class" type="text" />
|
44
|
-
</div>
|
45
|
-
</div>
|
46
|
-
|
47
|
-
<ul id="full_list" class="file">
|
48
|
-
|
49
|
-
|
50
|
-
<li id="object_README" class="odd">
|
51
|
-
<div class="item"><span class="object_link"><a href="index.html" title="README">README</a></span></div>
|
52
|
-
</li>
|
53
|
-
|
54
|
-
|
55
|
-
<li id="object_CHANGELOG" class="even">
|
56
|
-
<div class="item"><span class="object_link"><a href="file.CHANGELOG.html" title="CHANGELOG">CHANGELOG</a></span></div>
|
57
|
-
</li>
|
58
|
-
|
59
|
-
|
60
|
-
<li id="object_CODE_OF_CONDUCT" class="odd">
|
61
|
-
<div class="item"><span class="object_link"><a href="file.CODE_OF_CONDUCT.html" title="CODE_OF_CONDUCT">CODE_OF_CONDUCT</a></span></div>
|
62
|
-
</li>
|
63
|
-
|
64
|
-
|
65
|
-
<li id="object_CONTRIBUTING" class="even">
|
66
|
-
<div class="item"><span class="object_link"><a href="file.CONTRIBUTING.html" title="CONTRIBUTING">CONTRIBUTING</a></span></div>
|
67
|
-
</li>
|
68
|
-
|
69
|
-
|
70
|
-
<li id="object_RUBOCOP" class="odd">
|
71
|
-
<div class="item"><span class="object_link"><a href="file.RUBOCOP.html" title="RUBOCOP">RUBOCOP</a></span></div>
|
72
|
-
</li>
|
73
|
-
|
74
|
-
|
75
|
-
<li id="object_SECURITY" class="even">
|
76
|
-
<div class="item"><span class="object_link"><a href="file.SECURITY.html" title="SECURITY">SECURITY</a></span></div>
|
77
|
-
</li>
|
78
|
-
|
79
|
-
|
80
|
-
<li id="object_LICENSE" class="odd">
|
81
|
-
<div class="item"><span class="object_link"><a href="file.LICENSE.html" title="LICENSE">LICENSE</a></span></div>
|
82
|
-
</li>
|
83
|
-
|
84
|
-
|
85
|
-
<li id="object_CITATION" class="even">
|
86
|
-
<div class="item"><span class="object_link"><a href="file.CITATION.html" title="CITATION">CITATION</a></span></div>
|
87
|
-
</li>
|
88
|
-
|
89
|
-
|
90
|
-
<li id="object_timecop-rspec-1.0.0.gem" class="odd">
|
91
|
-
<div class="item"><span class="object_link"><a href="file.timecop-rspec-1.0.0.gem.html" title="timecop-rspec-1.0.0.gem">timecop-rspec-1.0.0.gem</a></span></div>
|
92
|
-
</li>
|
93
|
-
|
94
|
-
|
95
|
-
<li id="object_timecop-rspec-1.0.0.gem" class="even">
|
96
|
-
<div class="item"><span class="object_link"><a href="file.timecop-rspec-1.0.0.gem.html" title="timecop-rspec-1.0.0.gem">timecop-rspec-1.0.0.gem</a></span></div>
|
97
|
-
</li>
|
98
|
-
|
99
|
-
|
100
|
-
<li id="object_REEK" class="odd">
|
101
|
-
<div class="item"><span class="object_link"><a href="file.REEK.html" title="REEK">REEK</a></span></div>
|
102
|
-
</li>
|
103
|
-
|
104
|
-
|
105
|
-
<li id="object_rspec" class="even">
|
106
|
-
<div class="item"><span class="object_link"><a href="file.rspec.html" title="rspec">rspec</a></span></div>
|
107
|
-
</li>
|
108
|
-
|
109
|
-
|
110
|
-
<li id="object_timecop" class="odd">
|
111
|
-
<div class="item"><span class="object_link"><a href="file.timecop.html" title="timecop">timecop</a></span></div>
|
112
|
-
</li>
|
113
|
-
|
114
|
-
|
115
|
-
|
116
|
-
</ul>
|
117
|
-
</div>
|
118
|
-
</body>
|
119
|
-
</html>
|
data/docs/frames.html
DELETED
@@ -1,22 +0,0 @@
|
|
1
|
-
<!DOCTYPE html>
|
2
|
-
<html>
|
3
|
-
<head>
|
4
|
-
<meta charset="utf-8">
|
5
|
-
<title>Documentation by YARD 0.9.37</title>
|
6
|
-
</head>
|
7
|
-
<script type="text/javascript">
|
8
|
-
var mainUrl = 'index.html';
|
9
|
-
try {
|
10
|
-
var match = decodeURIComponent(window.location.hash).match(/^#!(.+)/);
|
11
|
-
var name = match ? match[1] : mainUrl;
|
12
|
-
var url = new URL(name, location.href);
|
13
|
-
window.top.location.replace(url.origin === location.origin ? name : mainUrl);
|
14
|
-
} catch (e) {
|
15
|
-
window.top.location.replace(mainUrl);
|
16
|
-
}
|
17
|
-
</script>
|
18
|
-
<noscript>
|
19
|
-
<h1>Oops!</h1>
|
20
|
-
<h2>YARD requires JavaScript!</h2>
|
21
|
-
</noscript>
|
22
|
-
</html>
|