timecop-rspec 1.0.1 → 1.0.2
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/.github/workflows/deps_locked.yml +11 -1
- data/.rubocop_gradual.lock +8 -8
- data/CHANGELOG.md +17 -2
- data/CONTRIBUTING.md +1 -3
- data/Gemfile.lock +1 -1
- data/README.md +23 -6
- data/Rakefile +39 -2
- data/bin/console +3 -4
- data/checksums/timecop-rspec-1.0.2.gem.sha256 +1 -0
- data/checksums/timecop-rspec-1.0.2.gem.sha512 +1 -0
- data/docs/Timecop/Rspec/ExampleDecorator.html +1 -1
- data/docs/Timecop/Rspec/SequentialTimeMachine.html +1 -1
- data/docs/Timecop/Rspec/TimeMachine.html +1 -1
- data/docs/Timecop/Rspec/TravelLog.html +1 -1
- data/docs/Timecop/Rspec/Traveler.html +1 -1
- data/docs/Timecop/Rspec/Version.html +2 -2
- data/docs/Timecop/Rspec.html +1 -1
- data/docs/Timecop.html +1 -1
- data/docs/_index.html +8 -2
- data/docs/file.CHANGELOG.html +24 -4
- data/docs/file.CITATION.html +1 -1
- data/docs/file.CODE_OF_CONDUCT.html +1 -1
- data/docs/file.CONTRIBUTING.html +2 -4
- data/docs/file.LICENSE.html +1 -1
- data/docs/file.README.html +24 -10
- data/docs/file.REEK.html +1 -1
- data/docs/file.RUBOCOP.html +1 -1
- data/docs/file.SECURITY.html +1 -1
- data/docs/file.rspec.html +1 -1
- data/docs/file.timecop-rspec-1.0.0.gem.html +1 -1
- data/docs/file.timecop-rspec-1.0.1.gem.html +71 -0
- data/docs/file.timecop.html +1 -1
- data/docs/file_list.html +11 -1
- data/docs/index.html +24 -10
- data/docs/top-level-namespace.html +1 -1
- data/lib/timecop/rspec/version.rb +1 -1
- data/timecop-rspec.gemspec +5 -2
- data.tar.gz.sig +0 -0
- metadata +16 -9
- metadata.gz.sig +0 -0
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 23eab2a846a68e7884f2bbe6d48175cb5e38db1224bac078e53420b23505a49e
|
4
|
+
data.tar.gz: 35c2a43311a08750b2724ab5b849919b5a56626bbd88860cf9c790e09cd010cf
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: e5336e6a633c933fcaf7e67bbec119e623d578e5e02b04a02b781f8a32ac717a6d450146c8d18b81cb04283561599eda9a39822565dee92915b8921f287986f8
|
7
|
+
data.tar.gz: bc536d7a76deef5bf8457689af9fffa126e7041493d05d38839ee86337fab9c5676f78af4cbdf627f08e23e84145155598119e349a1a93ca455965d83d9ee9e4
|
checksums.yaml.gz.sig
CHANGED
Binary file
|
@@ -21,7 +21,17 @@ permissions:
|
|
21
21
|
contents: read
|
22
22
|
|
23
23
|
env:
|
24
|
-
|
24
|
+
# Running coverage, but not validating minimum coverage,
|
25
|
+
# because it would be redundant with the coverage workflow.
|
26
|
+
# Also we can validate all output formats without breaking CodeCov,
|
27
|
+
# since we aren't submitting these reports anywhere.
|
28
|
+
K_SOUP_COV_MIN_BRANCH: 71
|
29
|
+
K_SOUP_COV_MIN_LINE: 86
|
30
|
+
K_SOUP_COV_MIN_HARD: false
|
31
|
+
K_SOUP_COV_FORMATTERS: "html,xml,rcov,lcov,json,tty"
|
32
|
+
K_SOUP_COV_DO: true
|
33
|
+
K_SOUP_COV_MULTI_FORMATTERS: true
|
34
|
+
K_SOUP_COV_COMMAND_NAME: "Test Coverage"
|
25
35
|
|
26
36
|
on:
|
27
37
|
push:
|
data/.rubocop_gradual.lock
CHANGED
@@ -1,6 +1,6 @@
|
|
1
1
|
{
|
2
|
-
"Rakefile:
|
3
|
-
[
|
2
|
+
"Rakefile:2312831157": [
|
3
|
+
[70, 5, 15, "Rake/Desc: Describe the task with `desc` method.", 842824456]
|
4
4
|
],
|
5
5
|
"lib/timecop/rspec.rb:1066485176": [
|
6
6
|
[42, 9, 12, "ThreadSafety/ClassInstanceVariable: Avoid class instance variables.", 990613604]
|
@@ -66,11 +66,11 @@
|
|
66
66
|
[59, 33, 7, "RSpec/MessageSpies: Prefer `have_received` for setting message expectations. Setup `example_procsy` as a spy using `allow` or `instance_spy`.", 1384559950],
|
67
67
|
[64, 33, 7, "RSpec/MessageSpies: Prefer `have_received` for setting message expectations. Setup `example_procsy` as a spy using `allow` or `instance_spy`.", 1384559950]
|
68
68
|
],
|
69
|
-
"timecop-rspec.gemspec:
|
70
|
-
[
|
71
|
-
[
|
72
|
-
[
|
73
|
-
[
|
74
|
-
[
|
69
|
+
"timecop-rspec.gemspec:2892863758": [
|
70
|
+
[111, 3, 3, "Gemspec/DuplicatedAssignment: `files=` method calls already given on line 65 of the gemspec.", 193433027],
|
71
|
+
[111, 16, 19, "Packaging/GemspecGit: Avoid using git to produce lists of files. Downstreams often need to build your package in an environment that does not have git (on purpose). Use some pure Ruby alternative, like `Dir` or `Dir.glob`.", 3879951891],
|
72
|
+
[114, 3, 19, "Gemspec/DuplicatedAssignment: `bindir=` method calls already given on line 107 of the gemspec.", 554494033],
|
73
|
+
[115, 3, 70, "Gemspec/DuplicatedAssignment: `executables=` method calls already given on line 109 of the gemspec.", 18210340],
|
74
|
+
[116, 3, 28, "Gemspec/DuplicatedAssignment: `require_paths=` method calls already given on line 106 of the gemspec.", 1947597918]
|
75
75
|
]
|
76
76
|
}
|
data/CHANGELOG.md
CHANGED
@@ -12,12 +12,25 @@ and this project adheres to [Semantic Versioning v2](https://semver.org/spec/v2.
|
|
12
12
|
### Fixed
|
13
13
|
### Security
|
14
14
|
|
15
|
+
## [1.0.2] - 2025-08-18
|
16
|
+
- TAG: [v1.0.2][1.0.2t]
|
17
|
+
- COVERAGE: 100.00% -- 132/132 lines in 7 files
|
18
|
+
- BRANCH COVERAGE: 92.31% -- 24/26 branches in 7 files
|
19
|
+
- 100% documented
|
20
|
+
### Added
|
21
|
+
- improved CI
|
22
|
+
### Changed
|
23
|
+
- upgraded to Galtzo FLOSS Rakefile v1.0.9
|
24
|
+
### Fixed
|
25
|
+
- documentation, changelog
|
26
|
+
- fix ancient bin/console script
|
27
|
+
|
15
28
|
## [1.0.1] - 2025-08-17
|
16
29
|
- TAG: [v1.0.1][1.0.1t]
|
17
30
|
- COVERAGE: 100.00% -- 132/132 lines in 7 files
|
18
31
|
- BRANCH COVERAGE: 92.31% -- 24/26 branches in 7 files
|
19
32
|
- 100% documented
|
20
|
-
###
|
33
|
+
### Removed
|
21
34
|
- refactored to remove dependency on activesupport
|
22
35
|
|
23
36
|
## [1.0.0] - 2025-08-17
|
@@ -28,7 +41,9 @@ and this project adheres to [Semantic Versioning v2](https://semver.org/spec/v2.
|
|
28
41
|
### Added
|
29
42
|
- Initial release to rubygems (8 years late!)
|
30
43
|
|
31
|
-
[Unreleased]: https://gitlab.com/galtzo-floss/timecop-rspec/-/compare/v1.0.
|
44
|
+
[Unreleased]: https://gitlab.com/galtzo-floss/timecop-rspec/-/compare/v1.0.2...main
|
45
|
+
[1.0.2]: https://gitlab.com/galtzo-floss/timecop-rspec/-/compare/v1.0.2...v1.0.2
|
46
|
+
[1.0.2t]: https://gitlab.com/galtzo-floss/timecop-rspec/-/tags/v1.0.2
|
32
47
|
[1.0.1]: https://gitlab.com/galtzo-floss/timecop-rspec/-/compare/v1.0.0...v1.0.1
|
33
48
|
[1.0.1t]: https://gitlab.com/galtzo-floss/timecop-rspec/-/tags/v1.0.1
|
34
49
|
[1.0.0]: https://gitlab.com/galtzo-floss/timecop-rspec/-/compare/13c672f32c466824277d04c932e3244deb6451ea...v1.0.0
|
data/CONTRIBUTING.md
CHANGED
@@ -28,9 +28,7 @@ From time to time the Appraisal2 gemfiles in `gemfiles/` will need to be updated
|
|
28
28
|
They are created and updated with the commands:
|
29
29
|
|
30
30
|
```console
|
31
|
-
|
32
|
-
BUNDLE_GEMFILE=Appraisal.root.gemfile bundle exec appraisal update
|
33
|
-
bundle exec rake rubocop_gradual:autocorrect
|
31
|
+
bin/rake appraisal:update
|
34
32
|
```
|
35
33
|
|
36
34
|
When adding an appraisal to CI check the [runner tool cache][🏃♂️runner-tool-cache] to see which runner to use.
|
data/Gemfile.lock
CHANGED
data/README.md
CHANGED
@@ -148,7 +148,7 @@ NOTE: Be prepared to track down certs for signed gems and add them the same way
|
|
148
148
|
|
149
149
|
## ⚙️ Configuration
|
150
150
|
|
151
|
-
|
151
|
+
### Regular Time Machine
|
152
152
|
|
153
153
|
```ruby
|
154
154
|
# spec_helper.rb or some configuration file loaded by spec_helper.rb
|
@@ -165,7 +165,7 @@ end
|
|
165
165
|
The regular time machine will run each example at the time specified by the
|
166
166
|
RSpec metadata, or the global travel time.
|
167
167
|
|
168
|
-
|
168
|
+
### Sequential Time Machine
|
169
169
|
|
170
170
|
```ruby
|
171
171
|
# spec_helper.rb or some configuration file loaded by spec_helper.rb
|
@@ -219,7 +219,7 @@ end
|
|
219
219
|
|
220
220
|
## 🔧 Basic Usage
|
221
221
|
|
222
|
-
|
222
|
+
### Local Time Travel
|
223
223
|
|
224
224
|
Timecop.travel/freeze any RSpec (describe|context|example) with
|
225
225
|
`:travel` or `:freeze` metadata.
|
@@ -240,7 +240,7 @@ it "some description", :freeze => Time.new(2014, 11, 15) do
|
|
240
240
|
end
|
241
241
|
```
|
242
242
|
|
243
|
-
|
243
|
+
### Global Time Travel
|
244
244
|
|
245
245
|
Using global time travel will Timecop.travel any example that isn't
|
246
246
|
already time traveling. I.e. example level timecop metadata will take
|
@@ -314,7 +314,8 @@ Made with [contributors-img][🖐contrib-rocks].
|
|
314
314
|
|
315
315
|
Also see GitLab Contributors: [https://gitlab.com/galtzo-floss/timecop-rspec/-/graphs/main][🚎contributors-gl]
|
316
316
|
|
317
|
-
|
317
|
+
<details>
|
318
|
+
<summary>⭐️ Star History</summary>
|
318
319
|
|
319
320
|
<a href="https://star-history.com/#galtzo-floss/timecop-rspec&Date">
|
320
321
|
<picture>
|
@@ -324,6 +325,8 @@ Also see GitLab Contributors: [https://gitlab.com/galtzo-floss/timecop-rspec/-/g
|
|
324
325
|
</picture>
|
325
326
|
</a>
|
326
327
|
|
328
|
+
</details>
|
329
|
+
|
327
330
|
## 📌 Versioning
|
328
331
|
|
329
332
|
This Library adheres to [![Semantic Versioning 2.0.0][📌semver-img]][📌semver].
|
@@ -387,9 +390,22 @@ P.S. If you need help️ or want to say thanks, 👇 Join the Discord.
|
|
387
390
|
|
388
391
|
[![Live Chat on Discord][✉️discord-invite-img]][✉️discord-invite]
|
389
392
|
|
393
|
+
P.P.S. Maintainers have teeth, and need to pay their dentists.
|
394
|
+
After getting laid off in an RIF in March, and filled with many dozens of rejections,
|
395
|
+
I'm now spending ~80 hours a week building open source tools.
|
396
|
+
I'm hoping to be able to pay for my kids' health insurance this month,
|
397
|
+
so if you value the work I am doing, please help.
|
398
|
+
I need your support. Consider sponsoring me.
|
399
|
+
|
400
|
+
[![Sponsor me on GitHub Sponsors][🖇sponsor-bottom-img]][🖇sponsor] 💌 [![Sponsor me on Liberapay][⛳liberapay-bottom-img]][⛳liberapay-img] 💌 [![Donate on PayPal][🖇paypal-bottom-img]][🖇paypal-img]
|
401
|
+
|
402
|
+
Thank you ☺️
|
403
|
+
|
390
404
|
[⛳liberapay-img]: https://img.shields.io/liberapay/goal/pboling.svg?logo=liberapay&color=a51611
|
405
|
+
[⛳liberapay-bottom-img]: https://img.shields.io/liberapay/goal/pboling.svg?style=for-the-badge&logo=liberapay&color=a51611
|
391
406
|
[⛳liberapay]: https://liberapay.com/pboling/donate
|
392
407
|
[🖇sponsor-img]: https://img.shields.io/badge/Sponsor_Me!-pboling.svg?style=social&logo=github
|
408
|
+
[🖇sponsor-bottom-img]: https://img.shields.io/badge/Sponsor_Me!-pboling-blue?style=for-the-badge&logo=github
|
393
409
|
[🖇sponsor]: https://github.com/sponsors/pboling
|
394
410
|
[🖇polar-img]: https://img.shields.io/badge/polar-donate-a51611.svg
|
395
411
|
[🖇polar]: https://polar.sh/pboling
|
@@ -401,9 +417,10 @@ P.S. If you need help️ or want to say thanks, 👇 Join the Discord.
|
|
401
417
|
[🖇buyme-img]: https://img.buymeacoffee.com/button-api/?text=Buy%20me%20a%20latte&emoji=&slug=pboling&button_colour=FFDD00&font_colour=000000&font_family=Cookie&outline_colour=000000&coffee_colour=ffffff
|
402
418
|
[🖇buyme]: https://www.buymeacoffee.com/pboling
|
403
419
|
[🖇paypal-img]: https://img.shields.io/badge/donate-paypal-a51611.svg?style=flat&logo=paypal
|
420
|
+
[🖇paypal-bottom-img]: https://img.shields.io/badge/donate-paypal-a51611.svg?style=for-the-badge&logo=paypal&color=0A0A0A
|
404
421
|
[🖇paypal]: https://www.paypal.com/paypalme/peterboling
|
405
422
|
[🖇floss-funding.dev]: https://floss-funding.dev
|
406
|
-
[🖇floss-funding-gem]: https://github.com/galtzo-floss/
|
423
|
+
[🖇floss-funding-gem]: https://github.com/galtzo-floss/floss_funding
|
407
424
|
[✉️discord-invite]: https://discord.gg/3qme4XHNKN
|
408
425
|
[✉️discord-invite-img]: https://img.shields.io/discord/1373797679469170758?style=for-the-badge
|
409
426
|
|
data/Rakefile
CHANGED
@@ -1,6 +1,6 @@
|
|
1
1
|
# frozen_string_literal: true
|
2
2
|
|
3
|
-
# Galtzo FLOSS Rakefile v1.0.
|
3
|
+
# Galtzo FLOSS Rakefile v1.0.9 - 2025-08-18
|
4
4
|
#
|
5
5
|
# CHANGELOG
|
6
6
|
# v1.0.0 - initial release w/ support for rspec, minitest, rubocop, reek, yard, and stone_checksums
|
@@ -11,6 +11,8 @@
|
|
11
11
|
# v1.0.5 - add support for halting in Rake tasks with binding.b (from debug gem)
|
12
12
|
# v1.0.6 - add RBS files and checksums to YARD-generated docs site
|
13
13
|
# v1.0.7 - works with vanilla ruby, non-gem, bundler-managed, projects
|
14
|
+
# v1.0.8 - improved Dir globs, add back and document rbconfig dependency
|
15
|
+
# v1.0.9 - add appraisal:update task to update Appraisal gemfiles and autocorrect with RuboCop Gradual
|
14
16
|
#
|
15
17
|
# MIT License (see License.txt)
|
16
18
|
#
|
@@ -49,7 +51,8 @@
|
|
49
51
|
DEBUGGING = ENV.fetch("DEBUG", "false").casecmp("true").zero?
|
50
52
|
|
51
53
|
# External gems
|
52
|
-
require "bundler/gem_tasks" if !Dir["*.gemspec"].empty?
|
54
|
+
require "bundler/gem_tasks" if !Dir[File.join(__dir__, "*.gemspec")].empty?
|
55
|
+
require "rbconfig" if !Dir[File.join(__dir__, "benchmarks")].empty? # Used by `rake bench:run`
|
53
56
|
require "debug" if DEBUGGING
|
54
57
|
|
55
58
|
defaults = []
|
@@ -218,6 +221,40 @@ rescue LoadError
|
|
218
221
|
end
|
219
222
|
end
|
220
223
|
|
224
|
+
# Appraisal tasks
|
225
|
+
begin
|
226
|
+
require "bundler"
|
227
|
+
rescue LoadError
|
228
|
+
# ok
|
229
|
+
end
|
230
|
+
|
231
|
+
desc "Update Appraisal gemfiles and run RuboCop Gradual autocorrect"
|
232
|
+
task "appraisal:update" do
|
233
|
+
bundle = Gem.bindir ? File.join(Gem.bindir, "bundle") : "bundle"
|
234
|
+
|
235
|
+
run_in_unbundled = proc do
|
236
|
+
env = {"BUNDLE_GEMFILE" => "Appraisal.root.gemfile"}
|
237
|
+
|
238
|
+
# 1) BUNDLE_GEMFILE=Appraisal.root.gemfile bundle
|
239
|
+
ok = system(env, bundle)
|
240
|
+
abort("appraisal:update failed: bundler install under Appraisal.root.gemfile") unless ok
|
241
|
+
|
242
|
+
# 2) BUNDLE_GEMFILE=Appraisal.root.gemfile bundle exec appraisal update
|
243
|
+
ok = system(env, bundle, "exec", "appraisal", "update")
|
244
|
+
abort("appraisal:update failed: bundle exec appraisal update") unless ok
|
245
|
+
|
246
|
+
# 3) bundle exec rake rubocop_gradual:autocorrect
|
247
|
+
ok = system(bundle, "exec", "rake", "rubocop_gradual:autocorrect")
|
248
|
+
abort("appraisal:update failed: rubocop_gradual:autocorrect") unless ok
|
249
|
+
end
|
250
|
+
|
251
|
+
if defined?(Bundler)
|
252
|
+
Bundler.with_unbundled_env(&run_in_unbundled)
|
253
|
+
else
|
254
|
+
run_in_unbundled.call
|
255
|
+
end
|
256
|
+
end
|
257
|
+
|
221
258
|
### RELEASE TASKS
|
222
259
|
# Setup stone_checksums
|
223
260
|
begin
|
data/bin/console
CHANGED
@@ -1,12 +1,11 @@
|
|
1
|
+
#!/usr/bin/env ruby
|
2
|
+
# frozen_string_literal: true
|
3
|
+
|
1
4
|
require "bundler/setup"
|
2
5
|
require "timecop/rspec"
|
3
6
|
|
4
7
|
# You can add fixtures and/or initialization code here to make experimenting
|
5
8
|
# with your gem easier. You can also use a different console, if you like.
|
6
9
|
|
7
|
-
# (If you use this, don't forget to add pry to your Gemfile!)
|
8
|
-
# require 'pry'
|
9
|
-
# Pry.start
|
10
|
-
|
11
10
|
require "irb"
|
12
11
|
IRB.start(__FILE__)
|
@@ -0,0 +1 @@
|
|
1
|
+
aceff50f1ddb2be956ca10fbfb712bb509bf807c224dc1762d75d98a8fb04bd1
|
@@ -0,0 +1 @@
|
|
1
|
+
694e198c04ed9ddfc5afb9cf317068a9a2afcbf9dacf6fe85e848566f48647a15257a214fa37293d9acb027f86c9cea5e613fb727b74af47a93ebed4373867a4
|
@@ -616,7 +616,7 @@
|
|
616
616
|
</div>
|
617
617
|
|
618
618
|
<div id="footer">
|
619
|
-
Generated on
|
619
|
+
Generated on Mon Aug 18 05:40:24 2025 by
|
620
620
|
<a href="https://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
|
621
621
|
0.9.37 (ruby-3.4.5).
|
622
622
|
</div>
|
@@ -328,7 +328,7 @@ across multiple examples.</p>
|
|
328
328
|
</div>
|
329
329
|
|
330
330
|
<div id="footer">
|
331
|
-
Generated on
|
331
|
+
Generated on Mon Aug 18 05:40:24 2025 by
|
332
332
|
<a href="https://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
|
333
333
|
0.9.37 (ruby-3.4.5).
|
334
334
|
</div>
|
@@ -347,7 +347,7 @@ the example protocol that will be wrapped by ExampleDecorator.</p>
|
|
347
347
|
</div>
|
348
348
|
|
349
349
|
<div id="footer">
|
350
|
-
Generated on
|
350
|
+
Generated on Mon Aug 18 05:40:24 2025 by
|
351
351
|
<a href="https://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
|
352
352
|
0.9.37 (ruby-3.4.5).
|
353
353
|
</div>
|
@@ -430,7 +430,7 @@
|
|
430
430
|
</div>
|
431
431
|
|
432
432
|
<div id="footer">
|
433
|
-
Generated on
|
433
|
+
Generated on Mon Aug 18 05:40:24 2025 by
|
434
434
|
<a href="https://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
|
435
435
|
0.9.37 (ruby-3.4.5).
|
436
436
|
</div>
|
@@ -343,7 +343,7 @@ prior trips recorded in the travel log.</p>
|
|
343
343
|
</div>
|
344
344
|
|
345
345
|
<div id="footer">
|
346
|
-
Generated on
|
346
|
+
Generated on Mon Aug 18 05:40:23 2025 by
|
347
347
|
<a href="https://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
|
348
348
|
0.9.37 (ruby-3.4.5).
|
349
349
|
</div>
|
@@ -128,7 +128,7 @@
|
|
128
128
|
|
129
129
|
</div>
|
130
130
|
</dt>
|
131
|
-
<dd><pre class="code"><span class='tstring'><span class='tstring_beg'>"</span><span class='tstring_content'>1.0.
|
131
|
+
<dd><pre class="code"><span class='tstring'><span class='tstring_beg'>"</span><span class='tstring_content'>1.0.2</span><span class='tstring_end'>"</span></span></pre></dd>
|
132
132
|
|
133
133
|
</dl>
|
134
134
|
|
@@ -144,7 +144,7 @@
|
|
144
144
|
</div>
|
145
145
|
|
146
146
|
<div id="footer">
|
147
|
-
Generated on
|
147
|
+
Generated on Mon Aug 18 05:40:23 2025 by
|
148
148
|
<a href="https://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
|
149
149
|
0.9.37 (ruby-3.4.5).
|
150
150
|
</div>
|
data/docs/Timecop/Rspec.html
CHANGED
@@ -466,7 +466,7 @@ example strategy.</p>
|
|
466
466
|
</div>
|
467
467
|
|
468
468
|
<div id="footer">
|
469
|
-
Generated on
|
469
|
+
Generated on Mon Aug 18 05:40:23 2025 by
|
470
470
|
<a href="https://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
|
471
471
|
0.9.37 (ruby-3.4.5).
|
472
472
|
</div>
|
data/docs/Timecop.html
CHANGED
@@ -133,7 +133,7 @@
|
|
133
133
|
</div>
|
134
134
|
|
135
135
|
<div id="footer">
|
136
|
-
Generated on
|
136
|
+
Generated on Mon Aug 18 05:40:23 2025 by
|
137
137
|
<a href="https://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
|
138
138
|
0.9.37 (ruby-3.4.5).
|
139
139
|
</div>
|
data/docs/_index.html
CHANGED
@@ -87,7 +87,13 @@
|
|
87
87
|
<li class="r1"><a href="file.timecop-rspec-1.0.0.gem.html" title="timecop-rspec-1.0.0.gem">timecop-rspec-1.0.0.gem</a></li>
|
88
88
|
|
89
89
|
|
90
|
-
<li class="r2"><a href="file.timecop-rspec-1.0.
|
90
|
+
<li class="r2"><a href="file.timecop-rspec-1.0.1.gem.html" title="timecop-rspec-1.0.1.gem">timecop-rspec-1.0.1.gem</a></li>
|
91
|
+
|
92
|
+
|
93
|
+
<li class="r1"><a href="file.timecop-rspec-1.0.0.gem.html" title="timecop-rspec-1.0.0.gem">timecop-rspec-1.0.0.gem</a></li>
|
94
|
+
|
95
|
+
|
96
|
+
<li class="r2"><a href="file.timecop-rspec-1.0.1.gem.html" title="timecop-rspec-1.0.1.gem">timecop-rspec-1.0.1.gem</a></li>
|
91
97
|
|
92
98
|
|
93
99
|
<li class="r1"><a href="file.REEK.html" title="REEK">REEK</a></li>
|
@@ -214,7 +220,7 @@
|
|
214
220
|
</div>
|
215
221
|
|
216
222
|
<div id="footer">
|
217
|
-
Generated on
|
223
|
+
Generated on Mon Aug 18 05:40:23 2025 by
|
218
224
|
<a href="https://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
|
219
225
|
0.9.37 (ruby-3.4.5).
|
220
226
|
</div>
|
data/docs/file.CHANGELOG.html
CHANGED
@@ -63,7 +63,7 @@
|
|
63
63
|
<p>The format is based on <a href="https://keepachangelog.com/en/1.0.0/">Keep a Changelog v1</a>,<br>
|
64
64
|
and this project adheres to <a href="https://semver.org/spec/v2.0.0.html">Semantic Versioning v2</a>.</p>
|
65
65
|
|
66
|
-
<h2 id="unreleased"><a href="https://gitlab.com/galtzo-floss/timecop-rspec/-/compare/v1.0.
|
66
|
+
<h2 id="unreleased"><a href="https://gitlab.com/galtzo-floss/timecop-rspec/-/compare/v1.0.2...main">Unreleased</a></h2>
|
67
67
|
<h3 id="added">Added</h3>
|
68
68
|
<h3 id="changed">Changed</h3>
|
69
69
|
<h3 id="deprecated">Deprecated</h3>
|
@@ -71,6 +71,26 @@ and this project adheres to <a href="https://semver.org/spec/v2.0.0.html">Semant
|
|
71
71
|
<h3 id="fixed">Fixed</h3>
|
72
72
|
<h3 id="security">Security</h3>
|
73
73
|
|
74
|
+
<h2 id="102---2025-08-18">
|
75
|
+
<a href="https://gitlab.com/galtzo-floss/timecop-rspec/-/compare/v1.0.2...v1.0.2">1.0.2</a> - 2025-08-18</h2>
|
76
|
+
<ul>
|
77
|
+
<li>TAG: <a href="https://gitlab.com/galtzo-floss/timecop-rspec/-/tags/v1.0.2">v1.0.2</a>
|
78
|
+
</li>
|
79
|
+
<li>COVERAGE: 100.00% – 132/132 lines in 7 files</li>
|
80
|
+
<li>BRANCH COVERAGE: 92.31% – 24/26 branches in 7 files</li>
|
81
|
+
<li>100% documented
|
82
|
+
<h3 id="added-1">Added</h3>
|
83
|
+
</li>
|
84
|
+
<li>improved CI
|
85
|
+
<h3 id="changed-1">Changed</h3>
|
86
|
+
</li>
|
87
|
+
<li>upgraded to Galtzo FLOSS Rakefile v1.0.9
|
88
|
+
<h3 id="fixed-1">Fixed</h3>
|
89
|
+
</li>
|
90
|
+
<li>documentation, changelog</li>
|
91
|
+
<li>fix ancient bin/console script</li>
|
92
|
+
</ul>
|
93
|
+
|
74
94
|
<h2 id="101---2025-08-17">
|
75
95
|
<a href="https://gitlab.com/galtzo-floss/timecop-rspec/-/compare/v1.0.0...v1.0.1">1.0.1</a> - 2025-08-17</h2>
|
76
96
|
<ul>
|
@@ -79,7 +99,7 @@ and this project adheres to <a href="https://semver.org/spec/v2.0.0.html">Semant
|
|
79
99
|
<li>COVERAGE: 100.00% – 132/132 lines in 7 files</li>
|
80
100
|
<li>BRANCH COVERAGE: 92.31% – 24/26 branches in 7 files</li>
|
81
101
|
<li>100% documented
|
82
|
-
<h3 id="
|
102
|
+
<h3 id="removed-1">Removed</h3>
|
83
103
|
</li>
|
84
104
|
<li>refactored to remove dependency on activesupport</li>
|
85
105
|
</ul>
|
@@ -92,7 +112,7 @@ and this project adheres to <a href="https://semver.org/spec/v2.0.0.html">Semant
|
|
92
112
|
<li>COVERAGE: 100.00% – 131/131 lines in 7 files</li>
|
93
113
|
<li>BRANCH COVERAGE: 92.31% – 24/26 branches in 7 files</li>
|
94
114
|
<li>100% documented
|
95
|
-
<h3 id="added-
|
115
|
+
<h3 id="added-2">Added</h3>
|
96
116
|
</li>
|
97
117
|
<li>Initial release to rubygems (8 years late!)</li>
|
98
118
|
</ul>
|
@@ -100,7 +120,7 @@ and this project adheres to <a href="https://semver.org/spec/v2.0.0.html">Semant
|
|
100
120
|
</div></div>
|
101
121
|
|
102
122
|
<div id="footer">
|
103
|
-
Generated on
|
123
|
+
Generated on Mon Aug 18 05:40:23 2025 by
|
104
124
|
<a href="https://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
|
105
125
|
0.9.37 (ruby-3.4.5).
|
106
126
|
</div>
|
data/docs/file.CITATION.html
CHANGED
@@ -82,7 +82,7 @@ license: See license file</li>
|
|
82
82
|
</div></div>
|
83
83
|
|
84
84
|
<div id="footer">
|
85
|
-
Generated on
|
85
|
+
Generated on Mon Aug 18 05:40:23 2025 by
|
86
86
|
<a href="https://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
|
87
87
|
0.9.37 (ruby-3.4.5).
|
88
88
|
</div>
|
@@ -191,7 +191,7 @@ version 2.1, available at<br>
|
|
191
191
|
</div></div>
|
192
192
|
|
193
193
|
<div id="footer">
|
194
|
-
Generated on
|
194
|
+
Generated on Mon Aug 18 05:40:23 2025 by
|
195
195
|
<a href="https://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
|
196
196
|
0.9.37 (ruby-3.4.5).
|
197
197
|
</div>
|
data/docs/file.CONTRIBUTING.html
CHANGED
@@ -88,9 +88,7 @@ the <a href="https://gitlab.com/galtzo-floss/timecop-rspec/-/blob/main/CODE_OF_C
|
|
88
88
|
<p>From time to time the Appraisal2 gemfiles in <code>gemfiles/</code> will need to be updated.<br>
|
89
89
|
They are created and updated with the commands:</p>
|
90
90
|
|
91
|
-
<pre class="code language-console"><code class="language-console">
|
92
|
-
BUNDLE_GEMFILE=Appraisal.root.gemfile bundle exec appraisal update
|
93
|
-
bundle exec rake rubocop_gradual:autocorrect
|
91
|
+
<pre class="code language-console"><code class="language-console">bin/rake appraisal:update
|
94
92
|
</code></pre>
|
95
93
|
|
96
94
|
<p>When adding an appraisal to CI check the <a href="https://github.com/ruby/ruby-builder/releases/tag/toolcache">runner tool cache</a> to see which runner to use.</p>
|
@@ -210,7 +208,7 @@ push git commits and tags, and push the <code>.gem</code> file to <a href="https
|
|
210
208
|
</div></div>
|
211
209
|
|
212
210
|
<div id="footer">
|
213
|
-
Generated on
|
211
|
+
Generated on Mon Aug 18 05:40:23 2025 by
|
214
212
|
<a href="https://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
|
215
213
|
0.9.37 (ruby-3.4.5).
|
216
214
|
</div>
|
data/docs/file.LICENSE.html
CHANGED
@@ -60,7 +60,7 @@
|
|
60
60
|
<div id="content"><div id='filecontents'>The MIT License (MIT)<br><br>Copyright (c) 2025 Peter H. Boling<br>Copyright (c) 2014-2017 Zach Taylor & Avant<br><br>Permission is hereby granted, free of charge, to any person obtaining a copy<br>of this software and associated documentation files (the "Software"), to deal<br>in the Software without restriction, including without limitation the rights<br>to use, copy, modify, merge, publish, distribute, sublicense, and/or sell<br>copies of the Software, and to permit persons to whom the Software is<br>furnished to do so, subject to the following conditions:<br><br>The above copyright notice and this permission notice shall be included in<br>all copies or substantial portions of the Software.<br><br>THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR<br>IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,<br>FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE<br>AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER<br>LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,<br>OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN<br>THE SOFTWARE.</div></div>
|
61
61
|
|
62
62
|
<div id="footer">
|
63
|
-
Generated on
|
63
|
+
Generated on Mon Aug 18 05:40:23 2025 by
|
64
64
|
<a href="https://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
|
65
65
|
0.9.37 (ruby-3.4.5).
|
66
66
|
</div>
|
data/docs/file.README.html
CHANGED
@@ -283,7 +283,7 @@ NOTE: Be prepared to track down certs for signed gems and add them the same way
|
|
283
283
|
|
284
284
|
<h2 id="️-configuration">⚙️ Configuration</h2>
|
285
285
|
|
286
|
-
<
|
286
|
+
<h3 id="regular-time-machine">Regular Time Machine</h3>
|
287
287
|
|
288
288
|
<pre class="code language-ruby"><code class="language-ruby"># spec_helper.rb or some configuration file loaded by spec_helper.rb
|
289
289
|
|
@@ -299,7 +299,7 @@ end
|
|
299
299
|
<p>The regular time machine will run each example at the time specified by the<br>
|
300
300
|
RSpec metadata, or the global travel time.</p>
|
301
301
|
|
302
|
-
<
|
302
|
+
<h3 id="sequential-time-machine">Sequential Time Machine</h3>
|
303
303
|
|
304
304
|
<pre class="code language-ruby"><code class="language-ruby"># spec_helper.rb or some configuration file loaded by spec_helper.rb
|
305
305
|
|
@@ -350,7 +350,7 @@ end
|
|
350
350
|
|
351
351
|
<h2 id="-basic-usage">🔧 Basic Usage</h2>
|
352
352
|
|
353
|
-
<
|
353
|
+
<h3 id="local-time-travel">Local Time Travel</h3>
|
354
354
|
|
355
355
|
<p>Timecop.travel/freeze any RSpec (describe|context|example) with<br>
|
356
356
|
<code>:travel</code> or <code>:freeze</code> metadata.</p>
|
@@ -370,7 +370,7 @@ it "some description", :freeze => Time.new(2014, 11, 15) do
|
|
370
370
|
end
|
371
371
|
</code></pre>
|
372
372
|
|
373
|
-
<
|
373
|
+
<h3 id="global-time-travel">Global Time Travel</h3>
|
374
374
|
|
375
375
|
<p>Using global time travel will Timecop.travel any example that isn’t<br>
|
376
376
|
already time traveling. I.e. example level timecop metadata will take<br>
|
@@ -399,7 +399,7 @@ end
|
|
399
399
|
|
400
400
|
<p>If you work at a company that uses my work, please encourage them to support me as a corporate sponsor. My work on gems you use might show up in <code>bundle fund</code>.</p>
|
401
401
|
|
402
|
-
<p>I’m developing a new library, <a href="https://github.com/galtzo-floss/
|
402
|
+
<p>I’m developing a new library, <a href="https://github.com/galtzo-floss/floss_funding">floss_funding</a>, designed to empower open-source developers like myself to get paid for the work we do, in a sustainable way. Please give it a look.</p>
|
403
403
|
|
404
404
|
<p><strong><a href="https://floss-funding.dev">Floss-Funding.dev</a>: 👉️ No network calls. 👉️ No tracking. 👉️ No oversight. 👉️ Minimal crypto hashing. 💡 Easily disabled nags</strong></p>
|
405
405
|
|
@@ -444,15 +444,18 @@ chat rooms and mailing lists agrees to follow the <a href="file.CODE_OF_CONDUCT.
|
|
444
444
|
|
445
445
|
<p>Also see GitLab Contributors: <a href="https://gitlab.com/galtzo-floss/timecop-rspec/-/graphs/main">https://gitlab.com/galtzo-floss/timecop-rspec/-/graphs/main</a></p>
|
446
446
|
|
447
|
-
<
|
447
|
+
<details>
|
448
|
+
<summary>⭐️ Star History</summary>
|
448
449
|
|
449
|
-
<
|
450
|
-
<picture>
|
450
|
+
<a href="https://star-history.com/#galtzo-floss/timecop-rspec&Date">
|
451
|
+
<picture>
|
451
452
|
<source media="(prefers-color-scheme: dark)" srcset="https://api.star-history.com/svg?repos=galtzo-floss/timecop-rspec&type=Date&theme=dark"></source>
|
452
453
|
<source media="(prefers-color-scheme: light)" srcset="https://api.star-history.com/svg?repos=galtzo-floss/timecop-rspec&type=Date"></source>
|
453
454
|
<img alt="Star History Chart" src="https://api.star-history.com/svg?repos=galtzo-floss/timecop-rspec&type=Date">
|
454
455
|
</picture>
|
455
|
-
|
456
|
+
</a>
|
457
|
+
|
458
|
+
</details>
|
456
459
|
|
457
460
|
<h2 id="-versioning">📌 Versioning</h2>
|
458
461
|
|
@@ -518,10 +521,21 @@ See <a href="file.LICENSE.html" title="LICENSE.txt">LICENSE.txt</a> for the offi
|
|
518
521
|
|
519
522
|
<p><a href="https://discord.gg/3qme4XHNKN"><img src="https://img.shields.io/discord/1373797679469170758?style=for-the-badge" alt="Live Chat on Discord"></a></p>
|
520
523
|
|
524
|
+
<p>P.P.S. Maintainers have teeth, and need to pay their dentists.<br>
|
525
|
+
After getting laid off in an RIF in March, and filled with many dozens of rejections,<br>
|
526
|
+
I’m now spending ~80 hours a week building open source tools.<br>
|
527
|
+
I’m hoping to be able to pay for my kids’ health insurance this month,<br>
|
528
|
+
so if you value the work I am doing, please help.<br>
|
529
|
+
I need your support. Consider sponsoring me.</p>
|
530
|
+
|
531
|
+
<p><a href="https://github.com/sponsors/pboling"><img src="https://img.shields.io/badge/Sponsor_Me!-pboling-blue?style=for-the-badge&logo=github" alt="Sponsor me on GitHub Sponsors"></a> 💌 <a href="https://img.shields.io/liberapay/goal/pboling.svg?logo=liberapay&color=a51611"><img src="https://img.shields.io/liberapay/goal/pboling.svg?style=for-the-badge&logo=liberapay&color=a51611" alt="Sponsor me on Liberapay"></a> 💌 <a href="https://img.shields.io/badge/donate-paypal-a51611.svg?style=flat&logo=paypal"><img src="https://img.shields.io/badge/donate-paypal-a51611.svg?style=for-the-badge&logo=paypal&color=0A0A0A" alt="Donate on PayPal"></a></p>
|
532
|
+
|
533
|
+
<p>Thank you ☺️</p>
|
534
|
+
|
521
535
|
</div></div>
|
522
536
|
|
523
537
|
<div id="footer">
|
524
|
-
Generated on
|
538
|
+
Generated on Mon Aug 18 05:40:23 2025 by
|
525
539
|
<a href="https://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
|
526
540
|
0.9.37 (ruby-3.4.5).
|
527
541
|
</div>
|
data/docs/file.REEK.html
CHANGED
data/docs/file.RUBOCOP.html
CHANGED
@@ -161,7 +161,7 @@ a. or just the default <code>bundle exec rake</code>, as autocorrection is a pre
|
|
161
161
|
</div></div>
|
162
162
|
|
163
163
|
<div id="footer">
|
164
|
-
Generated on
|
164
|
+
Generated on Mon Aug 18 05:40:23 2025 by
|
165
165
|
<a href="https://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
|
166
166
|
0.9.37 (ruby-3.4.5).
|
167
167
|
</div>
|
data/docs/file.SECURITY.html
CHANGED
@@ -91,7 +91,7 @@ or find other sponsorship links in the <a href="index.html" title="README">READM
|
|
91
91
|
</div></div>
|
92
92
|
|
93
93
|
<div id="footer">
|
94
|
-
Generated on
|
94
|
+
Generated on Mon Aug 18 05:40:23 2025 by
|
95
95
|
<a href="https://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
|
96
96
|
0.9.37 (ruby-3.4.5).
|
97
97
|
</div>
|
data/docs/file.rspec.html
CHANGED
@@ -99,7 +99,7 @@ def self.global_time: () -> ::Time end end
|
|
99
99
|
</div></div>
|
100
100
|
|
101
101
|
<div id="footer">
|
102
|
-
Generated on
|
102
|
+
Generated on Mon Aug 18 05:40:23 2025 by
|
103
103
|
<a href="https://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
|
104
104
|
0.9.37 (ruby-3.4.5).
|
105
105
|
</div>
|
@@ -0,0 +1,71 @@
|
|
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.1.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.1.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.1.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>b73676700bb59bedde9c12bf93a2ccf8a86f55836d8f6e8426fc581290fc4058b34eef50a1929e06c7e7c112b9a9587fb917c2e5170c28af6d71b61925bd330a</p>
|
61
|
+
</div></div>
|
62
|
+
|
63
|
+
<div id="footer">
|
64
|
+
Generated on Mon Aug 18 05:40:23 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
CHANGED
@@ -62,7 +62,7 @@ end</p>
|
|
62
62
|
</div></div>
|
63
63
|
|
64
64
|
<div id="footer">
|
65
|
-
Generated on
|
65
|
+
Generated on Mon Aug 18 05:40:23 2025 by
|
66
66
|
<a href="https://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
|
67
67
|
0.9.37 (ruby-3.4.5).
|
68
68
|
</div>
|
data/docs/file_list.html
CHANGED
@@ -92,11 +92,21 @@
|
|
92
92
|
</li>
|
93
93
|
|
94
94
|
|
95
|
-
<li id="object_timecop-rspec-1.0.
|
95
|
+
<li id="object_timecop-rspec-1.0.1.gem" class="even">
|
96
|
+
<div class="item"><span class="object_link"><a href="file.timecop-rspec-1.0.1.gem.html" title="timecop-rspec-1.0.1.gem">timecop-rspec-1.0.1.gem</a></span></div>
|
97
|
+
</li>
|
98
|
+
|
99
|
+
|
100
|
+
<li id="object_timecop-rspec-1.0.0.gem" class="odd">
|
96
101
|
<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
102
|
</li>
|
98
103
|
|
99
104
|
|
105
|
+
<li id="object_timecop-rspec-1.0.1.gem" class="even">
|
106
|
+
<div class="item"><span class="object_link"><a href="file.timecop-rspec-1.0.1.gem.html" title="timecop-rspec-1.0.1.gem">timecop-rspec-1.0.1.gem</a></span></div>
|
107
|
+
</li>
|
108
|
+
|
109
|
+
|
100
110
|
<li id="object_REEK" class="odd">
|
101
111
|
<div class="item"><span class="object_link"><a href="file.REEK.html" title="REEK">REEK</a></span></div>
|
102
112
|
</li>
|
data/docs/index.html
CHANGED
@@ -283,7 +283,7 @@ NOTE: Be prepared to track down certs for signed gems and add them the same way
|
|
283
283
|
|
284
284
|
<h2 id="️-configuration">⚙️ Configuration</h2>
|
285
285
|
|
286
|
-
<
|
286
|
+
<h3 id="regular-time-machine">Regular Time Machine</h3>
|
287
287
|
|
288
288
|
<pre class="code language-ruby"><code class="language-ruby"># spec_helper.rb or some configuration file loaded by spec_helper.rb
|
289
289
|
|
@@ -299,7 +299,7 @@ end
|
|
299
299
|
<p>The regular time machine will run each example at the time specified by the<br>
|
300
300
|
RSpec metadata, or the global travel time.</p>
|
301
301
|
|
302
|
-
<
|
302
|
+
<h3 id="sequential-time-machine">Sequential Time Machine</h3>
|
303
303
|
|
304
304
|
<pre class="code language-ruby"><code class="language-ruby"># spec_helper.rb or some configuration file loaded by spec_helper.rb
|
305
305
|
|
@@ -350,7 +350,7 @@ end
|
|
350
350
|
|
351
351
|
<h2 id="-basic-usage">🔧 Basic Usage</h2>
|
352
352
|
|
353
|
-
<
|
353
|
+
<h3 id="local-time-travel">Local Time Travel</h3>
|
354
354
|
|
355
355
|
<p>Timecop.travel/freeze any RSpec (describe|context|example) with<br>
|
356
356
|
<code>:travel</code> or <code>:freeze</code> metadata.</p>
|
@@ -370,7 +370,7 @@ it "some description", :freeze => Time.new(2014, 11, 15) do
|
|
370
370
|
end
|
371
371
|
</code></pre>
|
372
372
|
|
373
|
-
<
|
373
|
+
<h3 id="global-time-travel">Global Time Travel</h3>
|
374
374
|
|
375
375
|
<p>Using global time travel will Timecop.travel any example that isn’t<br>
|
376
376
|
already time traveling. I.e. example level timecop metadata will take<br>
|
@@ -399,7 +399,7 @@ end
|
|
399
399
|
|
400
400
|
<p>If you work at a company that uses my work, please encourage them to support me as a corporate sponsor. My work on gems you use might show up in <code>bundle fund</code>.</p>
|
401
401
|
|
402
|
-
<p>I’m developing a new library, <a href="https://github.com/galtzo-floss/
|
402
|
+
<p>I’m developing a new library, <a href="https://github.com/galtzo-floss/floss_funding">floss_funding</a>, designed to empower open-source developers like myself to get paid for the work we do, in a sustainable way. Please give it a look.</p>
|
403
403
|
|
404
404
|
<p><strong><a href="https://floss-funding.dev">Floss-Funding.dev</a>: 👉️ No network calls. 👉️ No tracking. 👉️ No oversight. 👉️ Minimal crypto hashing. 💡 Easily disabled nags</strong></p>
|
405
405
|
|
@@ -444,15 +444,18 @@ chat rooms and mailing lists agrees to follow the <a href="file.CODE_OF_CONDUCT.
|
|
444
444
|
|
445
445
|
<p>Also see GitLab Contributors: <a href="https://gitlab.com/galtzo-floss/timecop-rspec/-/graphs/main">https://gitlab.com/galtzo-floss/timecop-rspec/-/graphs/main</a></p>
|
446
446
|
|
447
|
-
<
|
447
|
+
<details>
|
448
|
+
<summary>⭐️ Star History</summary>
|
448
449
|
|
449
|
-
<
|
450
|
-
<picture>
|
450
|
+
<a href="https://star-history.com/#galtzo-floss/timecop-rspec&Date">
|
451
|
+
<picture>
|
451
452
|
<source media="(prefers-color-scheme: dark)" srcset="https://api.star-history.com/svg?repos=galtzo-floss/timecop-rspec&type=Date&theme=dark"></source>
|
452
453
|
<source media="(prefers-color-scheme: light)" srcset="https://api.star-history.com/svg?repos=galtzo-floss/timecop-rspec&type=Date"></source>
|
453
454
|
<img alt="Star History Chart" src="https://api.star-history.com/svg?repos=galtzo-floss/timecop-rspec&type=Date">
|
454
455
|
</picture>
|
455
|
-
|
456
|
+
</a>
|
457
|
+
|
458
|
+
</details>
|
456
459
|
|
457
460
|
<h2 id="-versioning">📌 Versioning</h2>
|
458
461
|
|
@@ -518,10 +521,21 @@ See <a href="file.LICENSE.html" title="LICENSE.txt">LICENSE.txt</a> for the offi
|
|
518
521
|
|
519
522
|
<p><a href="https://discord.gg/3qme4XHNKN"><img src="https://img.shields.io/discord/1373797679469170758?style=for-the-badge" alt="Live Chat on Discord"></a></p>
|
520
523
|
|
524
|
+
<p>P.P.S. Maintainers have teeth, and need to pay their dentists.<br>
|
525
|
+
After getting laid off in an RIF in March, and filled with many dozens of rejections,<br>
|
526
|
+
I’m now spending ~80 hours a week building open source tools.<br>
|
527
|
+
I’m hoping to be able to pay for my kids’ health insurance this month,<br>
|
528
|
+
so if you value the work I am doing, please help.<br>
|
529
|
+
I need your support. Consider sponsoring me.</p>
|
530
|
+
|
531
|
+
<p><a href="https://github.com/sponsors/pboling"><img src="https://img.shields.io/badge/Sponsor_Me!-pboling-blue?style=for-the-badge&logo=github" alt="Sponsor me on GitHub Sponsors"></a> 💌 <a href="https://img.shields.io/liberapay/goal/pboling.svg?logo=liberapay&color=a51611"><img src="https://img.shields.io/liberapay/goal/pboling.svg?style=for-the-badge&logo=liberapay&color=a51611" alt="Sponsor me on Liberapay"></a> 💌 <a href="https://img.shields.io/badge/donate-paypal-a51611.svg?style=flat&logo=paypal"><img src="https://img.shields.io/badge/donate-paypal-a51611.svg?style=for-the-badge&logo=paypal&color=0A0A0A" alt="Donate on PayPal"></a></p>
|
532
|
+
|
533
|
+
<p>Thank you ☺️</p>
|
534
|
+
|
521
535
|
</div></div>
|
522
536
|
|
523
537
|
<div id="footer">
|
524
|
-
Generated on
|
538
|
+
Generated on Mon Aug 18 05:40:23 2025 by
|
525
539
|
<a href="https://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
|
526
540
|
0.9.37 (ruby-3.4.5).
|
527
541
|
</div>
|
@@ -100,7 +100,7 @@
|
|
100
100
|
</div>
|
101
101
|
|
102
102
|
<div id="footer">
|
103
|
-
Generated on
|
103
|
+
Generated on Mon Aug 18 05:40:23 2025 by
|
104
104
|
<a href="https://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
|
105
105
|
0.9.37 (ruby-3.4.5).
|
106
106
|
</div>
|
data/timecop-rspec.gemspec
CHANGED
@@ -23,8 +23,11 @@ Gem::Specification.new do |spec|
|
|
23
23
|
spec.authors = ["Peter H. Boling", "Zach Taylor", "Tim Mertens"]
|
24
24
|
spec.email = ["floss@galtzo.com"]
|
25
25
|
|
26
|
-
spec.summary = "Timecop time-machines for RSpec"
|
27
|
-
spec.description = "
|
26
|
+
spec.summary = "⌚️ Timecop time-machines for RSpec"
|
27
|
+
spec.description = "⌚️ Timecop::Rspec provides Timecop time-machines for RSpec that allow you" \
|
28
|
+
"to time-travel test examples, context/describes, and/or your entire test suite. " \
|
29
|
+
"Find out how your code will behave... in the future! " \
|
30
|
+
"Fund overlooked open source projects - bottom of stack, dev/test dependencies: floss-funding.dev"
|
28
31
|
spec.homepage = "https://github.com/galtzo-floss/timecop-rspec"
|
29
32
|
spec.license = "MIT"
|
30
33
|
spec.required_ruby_version = ">= 1.9.2"
|
data.tar.gz.sig
CHANGED
Binary file
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: timecop-rspec
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.0.
|
4
|
+
version: 1.0.2
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Peter H. Boling
|
@@ -37,7 +37,7 @@ cert_chain:
|
|
37
37
|
DVjBtqT23eugOqQ73umLcYDZkc36vnqGxUBSsXrzY9pzV5gGr2I8YUxMqf6ATrZt
|
38
38
|
L9nRqA==
|
39
39
|
-----END CERTIFICATE-----
|
40
|
-
date: 2025-08-
|
40
|
+
date: 2025-08-18 00:00:00.000000000 Z
|
41
41
|
dependencies:
|
42
42
|
- !ruby/object:Gem::Dependency
|
43
43
|
name: delegate
|
@@ -211,8 +211,10 @@ dependencies:
|
|
211
211
|
- - "~>"
|
212
212
|
- !ruby/object:Gem::Version
|
213
213
|
version: '13.0'
|
214
|
-
description:
|
215
|
-
|
214
|
+
description: "⌚️ Timecop::Rspec provides Timecop time-machines for RSpec that allow
|
215
|
+
youto time-travel test examples, context/describes, and/or your entire test suite.
|
216
|
+
Find out how your code will behave... in the future! Fund overlooked open source
|
217
|
+
projects - bottom of stack, dev/test dependencies: floss-funding.dev"
|
216
218
|
email:
|
217
219
|
- floss@galtzo.com
|
218
220
|
executables: []
|
@@ -231,6 +233,8 @@ extra_rdoc_files:
|
|
231
233
|
- checksums/timecop-rspec-1.0.0.gem.sha512
|
232
234
|
- checksums/timecop-rspec-1.0.1.gem.sha256
|
233
235
|
- checksums/timecop-rspec-1.0.1.gem.sha512
|
236
|
+
- checksums/timecop-rspec-1.0.2.gem.sha256
|
237
|
+
- checksums/timecop-rspec-1.0.2.gem.sha512
|
234
238
|
- sig/timecop.rbs
|
235
239
|
- sig/timecop/rspec.rbs
|
236
240
|
files:
|
@@ -325,6 +329,8 @@ files:
|
|
325
329
|
- checksums/timecop-rspec-1.0.0.gem.sha512
|
326
330
|
- checksums/timecop-rspec-1.0.1.gem.sha256
|
327
331
|
- checksums/timecop-rspec-1.0.1.gem.sha512
|
332
|
+
- checksums/timecop-rspec-1.0.2.gem.sha256
|
333
|
+
- checksums/timecop-rspec-1.0.2.gem.sha512
|
328
334
|
- docs/Timecop.html
|
329
335
|
- docs/Timecop/Rspec.html
|
330
336
|
- docs/Timecop/Rspec/ExampleDecorator.html
|
@@ -349,6 +355,7 @@ files:
|
|
349
355
|
- docs/file.SECURITY.html
|
350
356
|
- docs/file.rspec.html
|
351
357
|
- docs/file.timecop-rspec-1.0.0.gem.html
|
358
|
+
- docs/file.timecop-rspec-1.0.1.gem.html
|
352
359
|
- docs/file.timecop.html
|
353
360
|
- docs/file_list.html
|
354
361
|
- docs/frames.html
|
@@ -392,10 +399,10 @@ licenses:
|
|
392
399
|
- MIT
|
393
400
|
metadata:
|
394
401
|
homepage_uri: https://timecop-rspec.galtzo.com/
|
395
|
-
source_code_uri: https://github.com/galtzo-floss/timecop-rspec/tree/v1.0.
|
396
|
-
changelog_uri: https://github.com/galtzo-floss/timecop-rspec/blob/v1.0.
|
402
|
+
source_code_uri: https://github.com/galtzo-floss/timecop-rspec/tree/v1.0.2
|
403
|
+
changelog_uri: https://github.com/galtzo-floss/timecop-rspec/blob/v1.0.2/CHANGELOG.md
|
397
404
|
bug_tracker_uri: https://github.com/galtzo-floss/timecop-rspec/issues
|
398
|
-
documentation_uri: https://www.rubydoc.info/gems/timecop-rspec/1.0.
|
405
|
+
documentation_uri: https://www.rubydoc.info/gems/timecop-rspec/1.0.2
|
399
406
|
funding_uri: https://github.com/sponsors/pboling
|
400
407
|
wiki_uri: https://github.com/galtzo-floss/timecop-rspec/wiki
|
401
408
|
news_uri: https://www.railsbling.com/tags/timecop-rspec
|
@@ -403,7 +410,7 @@ metadata:
|
|
403
410
|
rubygems_mfa_required: 'true'
|
404
411
|
rdoc_options:
|
405
412
|
- "--title"
|
406
|
-
- timecop-rspec - Timecop time-machines for RSpec
|
413
|
+
- timecop-rspec - ⌚️ Timecop time-machines for RSpec
|
407
414
|
- "--main"
|
408
415
|
- checksums/**/*.sha256
|
409
416
|
- checksums/**/*.sha512
|
@@ -435,5 +442,5 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
435
442
|
requirements: []
|
436
443
|
rubygems_version: 3.7.1
|
437
444
|
specification_version: 4
|
438
|
-
summary: Timecop time-machines for RSpec
|
445
|
+
summary: "⌚️ Timecop time-machines for RSpec"
|
439
446
|
test_files: []
|
metadata.gz.sig
CHANGED
Binary file
|