timecop-rspec 1.0.2 → 1.0.4
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- checksums.yaml.gz.sig +0 -0
- data/CHANGELOG.md +182 -8
- data/LICENSE.md +11 -0
- data/README.md +283 -241
- data/lib/timecop/rspec/version.rb +7 -7
- data/lib/timecop/rspec.rb +1 -1
- data/sig/timecop/rspec.rbs +2 -0
- data.tar.gz.sig +0 -0
- metadata +472 -423
- 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 -85
- 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/CITATION.cff +0 -20
- data/CNAME +0 -1
- data/CODE_OF_CONDUCT.md +0 -134
- data/CONTRIBUTING.md +0 -143
- data/Gemfile +0 -38
- data/Gemfile.lock +0 -293
- data/LICENSE.txt +0 -22
- data/REEK +0 -0
- data/RUBOCOP.md +0 -71
- data/Rakefile +0 -324
- data/SECURITY.md +0 -21
- 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 -11
- 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/checksums/timecop-rspec-1.0.0.gem.sha256 +0 -1
- data/checksums/timecop-rspec-1.0.0.gem.sha512 +0 -1
- data/checksums/timecop-rspec-1.0.1.gem.sha256 +0 -1
- data/checksums/timecop-rspec-1.0.1.gem.sha512 +0 -1
- data/checksums/timecop-rspec-1.0.2.gem.sha256 +0 -1
- data/checksums/timecop-rspec-1.0.2.gem.sha512 +0 -1
- 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 -230
- 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 -130
- data/docs/file.CITATION.html +0 -92
- data/docs/file.CODE_OF_CONDUCT.html +0 -201
- data/docs/file.CONTRIBUTING.html +0 -218
- data/docs/file.LICENSE.html +0 -70
- data/docs/file.README.html +0 -545
- 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-rspec-1.0.1.gem.html +0 -71
- data/docs/file.timecop.html +0 -72
- data/docs/file_list.html +0 -129
- data/docs/frames.html +0 -22
- data/docs/index.html +0 -545
- 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/sig/timecop.rbs +0 -2
- data/timecop-rspec.gemspec +0 -149
data/README.md
CHANGED
|
@@ -1,27 +1,27 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
[🖼️galtzo-i]: https://logos.galtzo.com/assets/images/galtzo-floss/avatar-192px.svg
|
|
4
|
-
[🖼️galtzo-discord]: https://discord.gg/3qme4XHNKN
|
|
5
|
-
[🖼️ruby-lang-i]: https://logos.galtzo.com/assets/images/ruby-lang/avatar-192px.svg
|
|
6
|
-
[🖼️ruby-lang]: https://www.ruby-lang.org/
|
|
7
|
-
[🖼️timecop-rspec-i]: https://logos.galtzo.com/assets/images/galtzo-floss/timecop-rspec/avatar-192px.svg
|
|
8
|
-
[🖼️timecop-rspec]: https://github.com/galtzo-floss/timecop-rspec
|
|
1
|
+
<a href="https://github.com/galtzo-floss"><img alt="galtzo-floss Logo by GitHub" src="https://github.com/galtzo-floss.png?size=192" width="14%" align="right"/></a>
|
|
9
2
|
|
|
10
3
|
# ⌚️ Timecop::Rspec
|
|
11
4
|
|
|
12
|
-
[![Version][👽versioni]][👽version] [![License: MIT][📄license-img]][📄license
|
|
5
|
+
[![Version][👽versioni]][👽version] [![Ruby Users Forum][✉️ruby-forum-top-img]][✉️ruby-forum] [![GitHub tag (latest SemVer)][⛳️tag-img]][⛳️tag] [![License: MIT][📄license-img]][📄license] [![Total downloads][👽dl-ranki]][👽dl-rank] [![CodeCov Test Coverage][🏀codecovi]][🏀codecov] [![Coveralls Test Coverage][🏀coveralls-img]][🏀coveralls] [![QLTY Test Coverage][🏀qlty-covi]][🏀qlty-cov] [![QLTY Maintainability][🏀qlty-mnti]][🏀qlty-mnt] [![CI Heads][🚎3-hd-wfi]][🚎3-hd-wf] [![CI Runtime Dependencies @ HEAD][🚎12-crh-wfi]][🚎12-crh-wf] [![CI Current][🚎11-c-wfi]][🚎11-c-wf] [![CI Truffle Ruby][🚎9-t-wfi]][🚎9-t-wf] [![CI JRuby][🚎10-j-wfi]][🚎10-j-wf] [![Deps Locked][🚎13-🔒️-wfi]][🚎13-🔒️-wf] [![Deps Unlocked][🚎14-🔓️-wfi]][🚎14-🔓️-wf] [![CI Test Coverage][🚎2-cov-wfi]][🚎2-cov-wf] [![CI Style][🚎5-st-wfi]][🚎5-st-wf] [![Apache SkyWalking Eyes License Compatibility Check][🚎15-🪪-wfi]][🚎15-🪪-wf]
|
|
6
|
+
|
|
7
|
+
`if ci_badges.map(&:color).detect { it != "green"}` ☝️ [let me know on Discord][✉️discord-invite] or [RubyForum][✉️ruby-forum], as I may have missed the notification.
|
|
13
8
|
|
|
14
|
-
|
|
9
|
+
`if ci_badges.map(&:color).all? { it == "green"}` 👇️ send money so I can do more of this. FLOSS maintenance is now my full-time job.
|
|
15
10
|
|
|
16
|
-
[![
|
|
11
|
+
[![OpenCollective Backers][🖇osc-backers-i]][🖇osc-backers] [![OpenCollective Sponsors][🖇osc-sponsors-i]][🖇osc-sponsors] [![Sponsor Me on Github][🖇sponsor-img]][🖇sponsor] [![Liberapay Goal Progress][⛳liberapay-img]][⛳liberapay] [![Donate on PayPal][🖇paypal-img]][🖇paypal] [![Buy me a coffee][🖇buyme-small-img]][🖇buyme] [![Donate at ko-fi.com][🖇kofi-img]][🖇kofi]
|
|
17
12
|
|
|
18
|
-
|
|
13
|
+
<!-- kettle-sponsors:shields:start -->
|
|
14
|
+
<a href="#corporate-sponsorship"><img src="https://logos.galtzo.com/assets/images/sponsors/shield/github.svg" alt="services: GitHub"></a> <a href="#corporate-sponsorship"><img src="https://logos.galtzo.com/assets/images/sponsors/shield/healthsherpa.svg" alt="sponsor: HealthSherpa"></a> <a href="#corporate-sponsorship"><img src="https://logos.galtzo.com/assets/images/sponsors/shield/microsoft.svg" alt="compute: Microsoft"></a>
|
|
15
|
+
<!-- kettle-sponsors:shields:end -->
|
|
16
|
+
|
|
17
|
+
## 🌻 Synopsis <a href="https://discord.gg/3qme4XHNKN"><img alt="Galtzo FLOSS Logo by Aboling0, CC BY-SA 4.0" src="https://logos.galtzo.com/assets/images/galtzo-floss/avatar-128px.svg" width="8%" align="right"/></a> <a href="https://ruby-toolbox.com"><img alt="ruby-lang Logo, Yukihiro Matsumoto, Ruby Visual Identity Team, CC BY-SA 2.5" src="https://logos.galtzo.com/assets/images/ruby-lang/avatar-128px.svg" width="8%" align="right"/></a>
|
|
19
18
|
|
|
20
19
|
[Timecop::Rspec](https://github.com/avantoss/timecop-rspec) provides [Timecop](https://github.com/travisjeffery/timecop) time-machines for [RSpec](https://github.com/rspec/rspec) that allow you to time-travel test examples, context/describes, and/or your entire test suite.
|
|
21
20
|
|
|
22
21
|
The gem was never released by its original author, who later moved on to work in other languages.
|
|
23
|
-
[Zach Taylor](https://github.com/taylorzr)
|
|
24
|
-
|
|
22
|
+
[Zach Taylor](https://github.com/taylorzr) and
|
|
23
|
+
[Tim Mertens](https://github.com/tmertens)
|
|
24
|
+
did a great job with it, and people have been [hoping it would be published](https://github.com/avantoss/timecop-rspec/issues/2).
|
|
25
25
|
It has a great API, and I was about to build this exact thing myself, so I am glad I found this.
|
|
26
26
|
I've modernized everything, added more tests and documentation, and released it.
|
|
27
27
|
Thanks to the long-term stability of both RSpec and Timecop, the original code still works perfectly.
|
|
@@ -49,103 +49,20 @@ I have only found one, but it didn't have the API I wanted.
|
|
|
49
49
|
|------------------------------------------------|-------------------------------------------------------------------------------------|
|
|
50
50
|
| 👟 Check it out! | ✨ [github.com/appraisal-rb/appraisal2][💎appraisal2] ✨ |
|
|
51
51
|
|
|
52
|
-
## 💡 Info you can shake a stick at
|
|
53
|
-
|
|
54
|
-
### Federated DVCS
|
|
55
|
-
|
|
56
|
-
<details>
|
|
57
|
-
<summary>Find this repo on other forges (Coming soon!)</summary>
|
|
58
|
-
|
|
59
|
-
| Federated [DVCS][💎d-in-dvcs] Repository | Status | Issues | PRs | Wiki | CI | Discussions |
|
|
60
|
-
|-------------------------------------------------------|-------------------------------------------------------------------|---------------------------|--------------------------|---------------------------|--------------------------|------------------------------|
|
|
61
|
-
| 🧪 [galtzo-floss/timecop-rspec on GitLab][📜src-gl] | The Truth | [💚][🤝gl-issues] | [💚][🤝gl-pulls] | [💚][📜wiki] | 🏀 Tiny Matrix | ➖ |
|
|
62
|
-
| 🧊 [galtzo-floss/timecop-rspec on CodeBerg][📜src-cb] | An Ethical Mirror ([Donate][🤝cb-donate]) | [💚][🤝cb-issues] | [💚][🤝cb-pulls] | ➖ | ⭕️ No Matrix | ➖ |
|
|
63
|
-
| 🐙 [galtzo-floss/timecop-rspec on GitHub][📜src-gh] | A Dirty Mirror | [💚][🤝gh-issues] | [💚][🤝gh-pulls] | ➖ | 💯 Full Matrix | [💚][gh-discussions] |
|
|
64
|
-
| 🎮️ [Discord Server][✉️discord-invite] | [![Live Chat on Discord][✉️discord-invite-img]][✉️discord-invite] | [Let's][✉️discord-invite] | [talk][✉️discord-invite] | [about][✉️discord-invite] | [this][✉️discord-invite] | [library!][✉️discord-invite] |
|
|
65
|
-
|
|
66
|
-
</details>
|
|
67
|
-
|
|
68
|
-
[gh-discussions]: https://github.com/galtzo-floss/timecop-rspec/discussions
|
|
69
|
-
|
|
70
|
-
### Enterprise Support [](https://tidelift.com/subscription/pkg/rubygems-timecop-rspec?utm_source=rubygems-timecop-rspec&utm_medium=referral&utm_campaign=readme)
|
|
71
|
-
|
|
72
|
-
<details>
|
|
73
|
-
<summary>Need enterprise-level guarantees?</summary>
|
|
74
|
-
|
|
75
|
-
[![Get help from me on Tidelift][🏙️entsup-tidelift-img]][🏙️entsup-tidelift]
|
|
76
|
-
|
|
77
|
-
- 💡Subscribe for support guarantees covering _all_ FLOSS dependencies
|
|
78
|
-
- 💡Tidelift is part of [Sonar][🏙️entsup-tidelift-sonar]
|
|
79
|
-
- 💡Tidelift pays maintainers to maintain the software you depend on!<br/>📊`@`Pointy Haired Boss: An [enterprise support][🏙️entsup-tidelift] subscription is "[never gonna let you down][🧮kloc]", and *supports* open source maintainers
|
|
80
|
-
|
|
81
|
-
Alternatively:
|
|
82
|
-
|
|
83
|
-
- [![Live Chat on Discord][✉️discord-invite-img]][✉️discord-invite]
|
|
84
|
-
- [![Get help from me on Upwork][👨🏼🏫expsup-upwork-img]][👨🏼🏫expsup-upwork]
|
|
85
|
-
- [![Get help from me on Codementor][👨🏼🏫expsup-codementor-img]][👨🏼🏫expsup-codementor]
|
|
86
|
-
|
|
87
|
-
</details>
|
|
88
|
-
|
|
89
|
-
| Tokens to Remember | [![Gem name][⛳️name-img]][⛳️gem-name] [![Gem namespace][⛳️namespace-img]][⛳️gem-namespace] |
|
|
90
|
-
|-------------------------|----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|
|
|
91
|
-
| Works with JRuby | ![JRuby 9.1 Compat][💎jruby-9.1i] ![JRuby 9.2 Compat][💎jruby-9.2i] <br/> [![JRuby 9.3 Compat][💎jruby-9.3i]][🚎10-j-wf] [![JRuby 9.4 Compat][💎jruby-9.4i]][🚎10-j-wf] [![JRuby 10.0 Compat][💎jruby-c-i]][🚎11-c-wf] [![JRuby HEAD Compat][💎jruby-headi]][🚎3-hd-wf] |
|
|
92
|
-
| Works with Truffle Ruby | ![Truffle Ruby 22.3 Compat][💎truby-22.3i] <br/> [![Truffle Ruby 23.0 Compat][💎truby-23.0i]][🚎9-t-wf] [![Truffle Ruby 23.1 Compat][💎truby-23.1i]][🚎9-t-wf] [![Truffle Ruby 24.1 Compat][💎truby-c-i]][🚎11-c-wf] |
|
|
93
|
-
| Works with MRI Ruby 3 | [![Ruby 3.0 Compat][💎ruby-3.0i]][🚎4-lg-wf] [![Ruby 3.1 Compat][💎ruby-3.1i]][🚎6-s-wf] [![Ruby 3.2 Compat][💎ruby-3.2i]][🚎6-s-wf] [![Ruby 3.3 Compat][💎ruby-3.3i]][🚎6-s-wf] [![Ruby 3.4 Compat][💎ruby-c-i]][🚎11-c-wf] [![Ruby HEAD Compat][💎ruby-headi]][🚎3-hd-wf] |
|
|
94
|
-
| Works with MRI Ruby 2 | ![Ruby 2.0 Compat][💎ruby-2.0i] ![Ruby 2.1 Compat][💎ruby-2.1i] ![Ruby 2.2 Compat][💎ruby-2.2i] <br/> [![Ruby 2.3 Compat][💎ruby-2.3i]][🚎1-an-wf] [![Ruby 2.4 Compat][💎ruby-2.4i]][🚎1-an-wf] [![Ruby 2.5 Compat][💎ruby-2.5i]][🚎1-an-wf] [![Ruby 2.6 Compat][💎ruby-2.6i]][🚎7-us-wf] [![Ruby 2.7 Compat][💎ruby-2.7i]][🚎7-us-wf] |
|
|
95
|
-
| Works with MRI Ruby 1 | ![Ruby 1.9 Compat][💎ruby-1.9i] |
|
|
96
|
-
| Source | [![Source on GitLab.com][📜src-gl-img]][📜src-gl] [![Source on CodeBerg.org][📜src-cb-img]][📜src-cb] [![Source on Github.com][📜src-gh-img]][📜src-gh] [![The best SHA: dQw4w9WgXcQ!][🧮kloc-img]][🧮kloc] |
|
|
97
|
-
| Documentation | [![Current release on RubyDoc.info][📜docs-cr-rd-img]][🚎yard-current] [![YARD on Galtzo.com][📜docs-head-rd-img]][🚎yard-head] [![Maintainer Blog][🚂maint-blog-img]][🚂maint-blog] [![Wiki][📜wiki-img]][📜wiki] |
|
|
98
|
-
| Compliance | [![License: MIT][📄license-img]][📄license-ref] [![📄ilo-declaration-img]][📄ilo-declaration] [![Security Policy][🔐security-img]][🔐security] [![Contributor Covenant 2.1][🪇conduct-img]][🪇conduct] [![SemVer 2.0.0][📌semver-img]][📌semver] |
|
|
99
|
-
| Style | [![Enforced Code Style Linter][💎rlts-img]][💎rlts] [![Keep-A-Changelog 1.0.0][📗keep-changelog-img]][📗keep-changelog] [![Gitmoji Commits][📌gitmoji-img]][📌gitmoji] [![Compatibility appraised by: appraisal2][💎appraisal2-img]][💎appraisal2] |
|
|
100
|
-
| Support | [![Live Chat on Discord][✉️discord-invite-img]][✉️discord-invite] [![Get help from me on Upwork][👨🏼🏫expsup-upwork-img]][👨🏼🏫expsup-upwork] [![Get help from me on Codementor][👨🏼🏫expsup-codementor-img]][👨🏼🏫expsup-codementor] |
|
|
101
|
-
| Maintainer 🎖️ | [![Follow Me on LinkedIn][💖🖇linkedin-img]][💖🖇linkedin] [![Follow Me on Ruby.Social][💖🐘ruby-mast-img]][💖🐘ruby-mast] [![Follow Me on Bluesky][💖🦋bluesky-img]][💖🦋bluesky] [![Contact Maintainer][🚂maint-contact-img]][🚂maint-contact] [![My technical writing][💖💁🏼♂️devto-img]][💖💁🏼♂️devto] |
|
|
102
|
-
| `...` 💖 | [![Find Me on WellFound:][💖✌️wellfound-img]][💖✌️wellfound] [![Find Me on CrunchBase][💖💲crunchbase-img]][💖💲crunchbase] [![My LinkTree][💖🌳linktree-img]][💖🌳linktree] [![More About Me][💖💁🏼♂️aboutme-img]][💖💁🏼♂️aboutme] [🧊][💖🧊berg] [🐙][💖🐙hub] [🛖][💖🛖hut] [🧪][💖🧪lab] |
|
|
103
|
-
|
|
104
52
|
## ✨ Installation
|
|
105
53
|
|
|
106
54
|
Install the gem and add to the application's Gemfile by executing:
|
|
107
55
|
|
|
108
|
-
$ bundle add timecop-rspec
|
|
109
|
-
|
|
110
|
-
If bundler is not being used to manage dependencies, install the gem by executing:
|
|
111
|
-
|
|
112
|
-
$ gem install timecop-rspec
|
|
113
|
-
|
|
114
|
-
### 🔒 Secure Installation
|
|
115
|
-
|
|
116
|
-
<details>
|
|
117
|
-
<summary>For Medium or High Security Installations</summary>
|
|
118
|
-
|
|
119
|
-
This gem is cryptographically signed, and has verifiable [SHA-256 and SHA-512][💎SHA_checksums] checksums by
|
|
120
|
-
[stone_checksums][💎stone_checksums]. Be sure the gem you install hasn’t been tampered with
|
|
121
|
-
by following the instructions below.
|
|
122
|
-
|
|
123
|
-
Add my public key (if you haven’t already, expires 2045-04-29) as a trusted certificate:
|
|
124
|
-
|
|
125
56
|
```console
|
|
126
|
-
|
|
57
|
+
bundle add timecop-rspec
|
|
127
58
|
```
|
|
128
59
|
|
|
129
|
-
|
|
130
|
-
|
|
131
|
-
```console
|
|
132
|
-
gem install timecop-rspec -P HighSecurity
|
|
133
|
-
```
|
|
134
|
-
|
|
135
|
-
The `HighSecurity` trust profile will verify signed gems, and not allow the installation of unsigned dependencies.
|
|
136
|
-
|
|
137
|
-
If you want to up your security game full-time:
|
|
60
|
+
If bundler is not being used to manage dependencies, install the gem by executing:
|
|
138
61
|
|
|
139
62
|
```console
|
|
140
|
-
|
|
63
|
+
gem install timecop-rspec
|
|
141
64
|
```
|
|
142
65
|
|
|
143
|
-
`MediumSecurity` instead of `HighSecurity` is necessary if not all the gems you use are signed.
|
|
144
|
-
|
|
145
|
-
NOTE: Be prepared to track down certs for signed gems and add them the same way you added mine.
|
|
146
|
-
|
|
147
|
-
</details>
|
|
148
|
-
|
|
149
66
|
## ⚙️ Configuration
|
|
150
67
|
|
|
151
68
|
### Regular Time Machine
|
|
@@ -174,7 +91,7 @@ require "timecop/rspec"
|
|
|
174
91
|
|
|
175
92
|
RSpec.configure do |config|
|
|
176
93
|
config.around(:example) do |example|
|
|
177
|
-
Timecop::Rspec.time_machine(:
|
|
94
|
+
Timecop::Rspec.time_machine(sequential: true).run(example)
|
|
178
95
|
end
|
|
179
96
|
end
|
|
180
97
|
```
|
|
@@ -201,7 +118,7 @@ Following local travel will resume when specified time is the same as the
|
|
|
201
118
|
previous examples specified time. If the time is different, it will
|
|
202
119
|
start from the current examples specified time.
|
|
203
120
|
```ruby
|
|
204
|
-
describe SomeUnit, :
|
|
121
|
+
describe SomeUnit, travel: Time.new(2014, 11, 15) do
|
|
205
122
|
it "example 1" do
|
|
206
123
|
Time.now # => 2014-11-15 00:00:00
|
|
207
124
|
sleep 6
|
|
@@ -211,7 +128,7 @@ describe SomeUnit, :travel => Time.new(2014, 11, 15) do
|
|
|
211
128
|
Time.now # => 2014-11-15 00:00:06 (resumed from end of previous example)
|
|
212
129
|
end
|
|
213
130
|
|
|
214
|
-
it "example 3", :
|
|
131
|
+
it "example 3", travel: Time.new(1982, 6, 16) do
|
|
215
132
|
Time.now # => 1982-06-16 00:00:00
|
|
216
133
|
end
|
|
217
134
|
end
|
|
@@ -226,14 +143,14 @@ Timecop.travel/freeze any RSpec (describe|context|example) with
|
|
|
226
143
|
|
|
227
144
|
```ruby
|
|
228
145
|
# Timecop.travel
|
|
229
|
-
it "some description", :
|
|
146
|
+
it "some description", travel: Time.new(2014, 11, 15) do
|
|
230
147
|
Time.now # 2014-11-15 00:00:00
|
|
231
148
|
sleep 6
|
|
232
149
|
Time.now # 2014-11-15 00:00:06 (6 seconds later)
|
|
233
150
|
end
|
|
234
151
|
|
|
235
152
|
# Timecop.freeze
|
|
236
|
-
it "some description", :
|
|
153
|
+
it "some description", freeze: Time.new(2014, 11, 15) do
|
|
237
154
|
Time.now # 2014-11-15 00:00:00
|
|
238
155
|
sleep 6
|
|
239
156
|
Time.now # 2014-11-15 00:00:00 (Ruby's time hasn't advanced)
|
|
@@ -262,10 +179,46 @@ end
|
|
|
262
179
|
|
|
263
180
|
## 🦷 FLOSS Funding
|
|
264
181
|
|
|
265
|
-
|
|
266
|
-
|
|
182
|
+
While galtzo-floss tools are free software and will always be, the project would benefit immensely from some funding.
|
|
183
|
+
Raising a monthly budget of... "dollars" would make the project more sustainable.
|
|
184
|
+
|
|
185
|
+
We welcome both individual and corporate sponsors! We also offer a
|
|
186
|
+
wide array of funding channels to account for your preferences.
|
|
187
|
+
Currently, [Open Collective][🖇osc] is our preferred funding platform.
|
|
188
|
+
|
|
189
|
+
### Individual Support
|
|
190
|
+
|
|
191
|
+
You can support the development of galtzo-floss tools via
|
|
192
|
+
[GitHub Sponsors][🖇sponsor],
|
|
193
|
+
[Liberapay][⛳liberapay],
|
|
194
|
+
[Open Collective][🖇osc],
|
|
195
|
+
and [PayPal][🖇paypal].
|
|
196
|
+
|
|
197
|
+
### Open Collective for Individuals
|
|
198
|
+
|
|
199
|
+
Support us with a monthly donation and help us continue our activities. [[Become a backer](https://opencollective.com/galtzo-floss#backer)]
|
|
200
|
+
|
|
201
|
+
NOTE: [kettle-readme-backers][kettle-readme-backers] updates this list every day, automatically.
|
|
202
|
+
|
|
203
|
+
<!-- OPENCOLLECTIVE-INDIVIDUALS:START -->
|
|
204
|
+
No backers yet. Be the first!
|
|
205
|
+
<!-- OPENCOLLECTIVE-INDIVIDUALS:END -->
|
|
206
|
+
|
|
207
|
+
### Open Collective for Organizations
|
|
267
208
|
|
|
268
|
-
|
|
209
|
+
Become a sponsor and get your logo on our README on GitHub with a link to your site. [[Become a sponsor](https://opencollective.com/galtzo-floss#sponsor)]
|
|
210
|
+
|
|
211
|
+
NOTE: [kettle-readme-backers][kettle-readme-backers] updates this list every day, automatically.
|
|
212
|
+
|
|
213
|
+
<!-- OPENCOLLECTIVE-ORGANIZATIONS:START -->
|
|
214
|
+
No sponsors yet. Be the first!
|
|
215
|
+
<!-- OPENCOLLECTIVE-ORGANIZATIONS:END -->
|
|
216
|
+
|
|
217
|
+
[kettle-readme-backers]: https://github.com/galtzo-floss/timecop-rspec/blob/main/bin/kettle-readme-backers
|
|
218
|
+
|
|
219
|
+
### Another way to support open-source
|
|
220
|
+
|
|
221
|
+
I’m driven by a passion to foster a thriving open-source community – a space where people can tackle complex problems, no matter how small. Revitalizing libraries that have fallen into disrepair, and building new libraries focused on solving real-world challenges, are my passions. Maintainers have teeth and need to pay their dentists; after getting laid off in an RIF, I began spending most of my time building open source tools full-time. Your support significantly aids my efforts to provide for my family (including health insurance) and my farm (11 🐔 chickens, 2 🐶 dogs, 3 🐰 rabbits, 8 🐈 cats).
|
|
269
222
|
|
|
270
223
|
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 `bundle fund`.
|
|
271
224
|
|
|
@@ -273,7 +226,96 @@ I’m developing a new library, [floss_funding][🖇floss-funding-gem], designed
|
|
|
273
226
|
|
|
274
227
|
**[Floss-Funding.dev][🖇floss-funding.dev]: 👉️ No network calls. 👉️ No tracking. 👉️ No oversight. 👉️ Minimal crypto hashing. 💡 Easily disabled nags**
|
|
275
228
|
|
|
276
|
-
|
|
229
|
+
To join the community or get help, use the RubyForum or Discord. You can send support with the sponsor buttons at the end of this README.
|
|
230
|
+
|
|
231
|
+
[![Ruby Users Forum][✉️ruby-forum-img]][✉️ruby-forum] [![Live Chat on Discord][✉️discord-invite-img-ftb]][✉️discord-invite]
|
|
232
|
+
|
|
233
|
+
## 🏢 Corporate Sponsorship
|
|
234
|
+
|
|
235
|
+
<!-- kettle-sponsors:cards:start -->
|
|
236
|
+
<a href="https://github.com"><picture><source media="(max-width: 600px)" srcset="https://logos.galtzo.com/assets/images/sponsors/phone/github.svg"><img src="https://logos.galtzo.com/assets/images/sponsors/github.svg" align="top" alt="Sponsor: GitHub - Copilot Max"></picture></a> <a href="https://healthsherpa.com"><picture><source media="(max-width: 600px)" srcset="https://logos.galtzo.com/assets/images/sponsors/phone/healthsherpa.svg"><img src="https://logos.galtzo.com/assets/images/sponsors/healthsherpa.svg" align="top" alt="Sponsor: HealthSherpa - GitHub Sponsors => @pboling (maintainer)"></picture></a> <a href="https://opensource.microsoft.com"><picture><source media="(max-width: 600px)" srcset="https://logos.galtzo.com/assets/images/sponsors/phone/microsoft.svg"><img src="https://logos.galtzo.com/assets/images/sponsors/microsoft.svg" align="top" alt="Sponsor: Microsoft - Azure compute resources"></picture></a>
|
|
237
|
+
|
|
238
|
+
<sub>Create sponsorship badges for your project with [kettle-sponsors](https://github.com/kettle-dev/kettle-sponsors).</sub>
|
|
239
|
+
<!-- kettle-sponsors:cards:end -->
|
|
240
|
+
|
|
241
|
+
**If you're working in a company that's making significant use of galtzo-floss tools we'd
|
|
242
|
+
appreciate it if you suggest to your company to become a galtzo-floss sponsor.**
|
|
243
|
+
|
|
244
|
+
## 💡 Info you can shake a stick at
|
|
245
|
+
|
|
246
|
+
| Tokens to Remember | [![Gem name][⛳️name-img]][⛳️gem-name] [![Gem namespace][⛳️namespace-img]][⛳️gem-namespace] |
|
|
247
|
+
|-------------------------|---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|
|
|
248
|
+
| Works with JRuby | [![JRuby 10.0 Compat][💎jruby-10.0i]][🚎jruby-10.0-wf] [![JRuby current Compat][💎jruby-c-i]][🚎10-j-wf] [![JRuby HEAD Compat][💎jruby-headi]][🚎3-hd-wf]|
|
|
249
|
+
| Works with Truffle Ruby | [![Truffle Ruby 33.0 Compat][💎truby-33.0i]][🚎truby-33.0-wf] [![Truffle Ruby current Compat][💎truby-c-i]][🚎9-t-wf]|
|
|
250
|
+
| Works with MRI Ruby 4 | [![Ruby current Compat][💎ruby-c-i]][🚎11-c-wf] [![Ruby HEAD Compat][💎ruby-headi]][🚎3-hd-wf]|
|
|
251
|
+
| Works with MRI Ruby 3 | [![Ruby 3.0 Compat][💎ruby-3.0i]][🚎ruby-3.0-wf] [![Ruby 3.1 Compat][💎ruby-3.1i]][🚎ruby-3.1-wf] [![Ruby 3.2 Compat][💎ruby-3.2i]][🚎ruby-3.2-wf] [![Ruby 3.3 Compat][💎ruby-3.3i]][🚎ruby-3.3-wf] [![Ruby 3.4 Compat][💎ruby-3.4i]][🚎ruby-3.4-wf]|
|
|
252
|
+
| Works with MRI Ruby 2 | ![Ruby 2.0 Compat][💎ruby-2.0i] ![Ruby 2.1 Compat][💎ruby-2.1i] ![Ruby 2.2 Compat][💎ruby-2.2i] ![Ruby 2.3 Compat][💎ruby-2.3i] <br/> [![Ruby 2.4 Compat][💎ruby-2.4i]][🚎ruby-2.4-wf] [![Ruby 2.5 Compat][💎ruby-2.5i]][🚎ruby-2.5-wf] [![Ruby 2.6 Compat][💎ruby-2.6i]][🚎ruby-2.6-wf] [![Ruby 2.7 Compat][💎ruby-2.7i]][🚎ruby-2.7-wf]|
|
|
253
|
+
| Works with MRI Ruby 1 | ![Ruby 1.9 Compat][💎ruby-1.9i]|
|
|
254
|
+
| Support & Community | [![Join Me on Daily.dev's RubyFriends][✉️ruby-friends-img]][✉️ruby-friends] [![Get help from RubyForum][✉️ruby-forum-img]][✉️ruby-forum] [![Live Chat on Discord][✉️discord-invite-img-ftb]][✉️discord-invite] [![Get help from me on Upwork][👨🏼🏫expsup-upwork-img]][👨🏼🏫expsup-upwork] [![Get help from me on Codementor][👨🏼🏫expsup-codementor-img]][👨🏼🏫expsup-codementor] |
|
|
255
|
+
| Source | [![Source on GitLab.com][📜src-gl-img]][📜src-gl] [![Source on CodeBerg.org][📜src-cb-img]][📜src-cb] [![Source on GitHub.com][📜src-gh-img]][📜src-gh] [![The best SHA: dQw4w9WgXcQ!][🧮kloc-img]][🧮kloc] |
|
|
256
|
+
| Documentation | [![Current release on RubyDoc.info][📜docs-cr-rd-img]][🚎yard-current] [![YARD on Galtzo.com][📜docs-head-rd-img]][🚎yard-head] [![Maintainer Blog][🚂maint-blog-img]][🚂maint-blog] [![GitLab Wiki][📜gl-wiki-img]][📜gl-wiki] [![GitHub Wiki][📜gh-wiki-img]][📜gh-wiki] |
|
|
257
|
+
| Compliance | [![License: MIT][📄license-img]][📄license] [![Apache license compatibility: Category A][📄license-compat-img]][📄license-compat] [![📄ilo-declaration-img]][📄ilo-declaration] [![Security Policy][🔐security-img]][🔐security] [![Contributor Covenant 3.0][🪇conduct-img]][🪇conduct] [![SemVer 2.0.0][📌semver-img]][📌semver] |
|
|
258
|
+
| Style | [![Enforced Code Style Linter][💎rlts-img]][💎rlts] [![Keep-A-Changelog 1.0.0][📗keep-changelog-img]][📗keep-changelog] [![Gitmoji Commits][📌gitmoji-img]][📌gitmoji] [![Compatibility appraised by: appraisal2][💎appraisal2-img]][💎appraisal2] |
|
|
259
|
+
| Maintainer 🎖️ | [![Follow Me on LinkedIn][💖🖇linkedin-img]][💖🖇linkedin] [![Follow Me on Ruby.Social][💖🐘ruby-mast-img]][💖🐘ruby-mast] [![Follow Me on Bluesky][💖🦋bluesky-img]][💖🦋bluesky] [![Contact Maintainer][🚂maint-contact-img]][🚂maint-contact] [![My technical writing][💖💁🏼♂️devto-img]][💖💁🏼♂️devto] |
|
|
260
|
+
| `...` 💖 | [![Find Me on WellFound:][💖✌️wellfound-img]][💖✌️wellfound] [![Find Me on CrunchBase][💖💲crunchbase-img]][💖💲crunchbase] [![My LinkTree][💖🌳linktree-img]][💖🌳linktree] [![More About Me][💖💁🏼♂️aboutme-img]][💖💁🏼♂️aboutme] [🧊][💖🧊berg] [🐙][💖🐙hub] [🛖][💖🛖hut] [🧪][💖🧪lab] |
|
|
261
|
+
|
|
262
|
+
### Compatibility
|
|
263
|
+
|
|
264
|
+
The gem's declared runtime compatibility floor is MRI Ruby 1.9.2+, with concordant releases of JRuby and TruffleRuby.
|
|
265
|
+
CI workflows and Appraisals are generated for MRI Ruby 2.4+.
|
|
266
|
+
The current MRI CI lane runs on Linux and macOS.
|
|
267
|
+
The test floor is configured by `ruby.test_minimum` in `.structuredmerge/kettle-jem.yml`.
|
|
268
|
+
When it is higher than the runtime floor, older runtime-compatible Rubies are
|
|
269
|
+
not covered by the generated CI or Appraisal matrix.
|
|
270
|
+
|
|
271
|
+
<a href="https://github.com/kettle-dev"><img alt="kettle-dev Logo by Aboling0, CC BY-SA 4.0" src="https://logos.galtzo.com/assets/images/kettle-dev/avatar-128px.svg" width="14%" align="right"/></a>
|
|
272
|
+
|
|
273
|
+
The _amazing_ test matrix is powered by the kettle-dev stack.
|
|
274
|
+
|
|
275
|
+
<details markdown="1">
|
|
276
|
+
<summary>How kettle-dev manages complexity in tests</summary>
|
|
277
|
+
|
|
278
|
+
| Gem | Source | Role | Total downloads |
|
|
279
|
+
|-----|--------|------|---------------------|
|
|
280
|
+
| [appraisal2](https://clickgems.clickhouse.com/dashboard/appraisal2) | [GitHub](https://github.com/appraisal-rb/appraisal2) | multi-dependency Appraisal matrix generation | [](https://clickgems.clickhouse.com/dashboard/appraisal2) |
|
|
281
|
+
| [appraisal2-rubocop](https://clickgems.clickhouse.com/dashboard/appraisal2-rubocop) | [GitHub](https://github.com/appraisal-rb/appraisal2-rubocop) | RuboCop Appraisal generator integration | [](https://clickgems.clickhouse.com/dashboard/appraisal2-rubocop) |
|
|
282
|
+
| [kettle-dev](https://clickgems.clickhouse.com/dashboard/kettle-dev) | [GitHub](https://github.com/kettle-dev/kettle-dev) | development, release, and CI workflow tooling | [](https://clickgems.clickhouse.com/dashboard/kettle-dev) |
|
|
283
|
+
| [kettle-jem](https://clickgems.clickhouse.com/dashboard/kettle-jem) | [GitHub](https://github.com/kettle-dev/kettle-jem) | Appraisals & CI workflow templates | [](https://clickgems.clickhouse.com/dashboard/kettle-jem) |
|
|
284
|
+
| [kettle-soup-cover](https://clickgems.clickhouse.com/dashboard/kettle-soup-cover) | [GitHub](https://github.com/kettle-dev/kettle-soup-cover) | SimpleCov coverage policy and reporting | [](https://clickgems.clickhouse.com/dashboard/kettle-soup-cover) |
|
|
285
|
+
| [kettle-test](https://clickgems.clickhouse.com/dashboard/kettle-test) | [GitHub](https://github.com/kettle-dev/kettle-test) | standard test runner and coverage harness | [](https://clickgems.clickhouse.com/dashboard/kettle-test) |
|
|
286
|
+
| [rubocop-lts](https://clickgems.clickhouse.com/dashboard/rubocop-lts) | [GitHub](https://github.com/rubocop-lts/rubocop-lts) | Ruby-version-aware linting | [](https://clickgems.clickhouse.com/dashboard/rubocop-lts) |
|
|
287
|
+
| [turbo_tests2](https://clickgems.clickhouse.com/dashboard/turbo_tests2) | [GitHub](https://github.com/galtzo-floss/turbo_tests2) | parallel test execution | [](https://clickgems.clickhouse.com/dashboard/turbo_tests2) |
|
|
288
|
+
|
|
289
|
+
</details>
|
|
290
|
+
|
|
291
|
+
### Federated DVCS
|
|
292
|
+
|
|
293
|
+
<details markdown="1">
|
|
294
|
+
<summary>Find this repo on federated forges (Coming soon!)</summary>
|
|
295
|
+
|
|
296
|
+
| Federated [DVCS][💎d-in-dvcs] Repository | Status | Issues | PRs | Wiki | CI |
|
|
297
|
+
|-------------------------------------------------|-------------------------------------------|-------------------|------------------|-----------------|----------------|
|
|
298
|
+
| 🧪 [galtzo-floss/timecop-rspec on GitLab][📜src-gl] | The Truth | [💚][🤝gl-issues] | [💚][🤝gl-pulls] | [💚][📜gl-wiki] | 🐭 Tiny Matrix |
|
|
299
|
+
| 🧊 [galtzo-floss/timecop-rspec on CodeBerg][📜src-cb] | An Ethical Mirror ([Donate][🤝cb-donate]) | [💚][🤝cb-issues] | [💚][🤝cb-pulls] | ➖ | ⭕️ No Matrix |
|
|
300
|
+
| 🐙 [galtzo-floss/timecop-rspec on GitHub][📜src-gh] | Another Mirror | [💚][🤝gh-issues] | [💚][🤝gh-pulls] | [💚][📜gh-wiki] | 💯 Full Matrix |
|
|
301
|
+
|
|
302
|
+
</details>
|
|
303
|
+
|
|
304
|
+
<details markdown="1">
|
|
305
|
+
<summary>👣 How will this project approach the September 2025 hostile takeover of RubyGems? 🚑️</summary>
|
|
306
|
+
|
|
307
|
+
I've summarized my thoughts in [this blog post](https://dev.to/galtzo/hostile-takeover-of-rubygems-my-thoughts-5hlo).
|
|
308
|
+
|
|
309
|
+
</details>
|
|
310
|
+
|
|
311
|
+
### Enterprise Support
|
|
312
|
+
|
|
313
|
+
For enterprise support from the maintainer, use [Upwork][👨🏼🏫expsup-upwork] or [CodeMentor][👨🏼🏫expsup-codementor].
|
|
314
|
+
|
|
315
|
+
Other support channels:
|
|
316
|
+
|
|
317
|
+
- [![Ruby Users Forum][✉️ruby-forum-img]][✉️ruby-forum]
|
|
318
|
+
- [![Live Chat on Discord][✉️discord-invite-img-ftb]][✉️discord-invite]
|
|
277
319
|
|
|
278
320
|
## 🔐 Security
|
|
279
321
|
|
|
@@ -282,29 +324,35 @@ See [SECURITY.md][🔐security].
|
|
|
282
324
|
## 🤝 Contributing
|
|
283
325
|
|
|
284
326
|
If you need some ideas of where to help, you could work on adding more code coverage,
|
|
285
|
-
|
|
286
|
-
or use the gem and think about how it could be better.
|
|
327
|
+
check [issues][🤝gh-issues] or [PRs][🤝gh-pulls], or use the gem and think about how it could be better.
|
|
287
328
|
|
|
288
329
|
We [![Keep A Changelog][📗keep-changelog-img]][📗keep-changelog] so if you make changes, remember to update it.
|
|
289
330
|
|
|
290
331
|
See [CONTRIBUTING.md][🤝contributing] for more detailed instructions.
|
|
291
332
|
|
|
333
|
+
Want to contribute with AI coding agents? This project is developed with [Cloudroom][🖇cloudroom] and ships an `AGENTS.md` with repo conventions so agents can jump straight in. Signing up with [my referral link][🖇cloudroom] also supports ongoing maintenance at no extra cost to you.
|
|
334
|
+
|
|
292
335
|
### 🚀 Release Instructions
|
|
293
336
|
|
|
294
337
|
See [CONTRIBUTING.md][🤝contributing].
|
|
295
338
|
|
|
296
339
|
### Code Coverage
|
|
297
340
|
|
|
298
|
-
|
|
341
|
+
<details markdown="1">
|
|
342
|
+
<summary>Coverage service badges</summary>
|
|
343
|
+
|
|
344
|
+
[![Coverage Graph][🏀codecov-g]][🏀codecov]
|
|
299
345
|
|
|
300
|
-
[![Coveralls Test Coverage][
|
|
346
|
+
[![Coveralls Test Coverage][🏀coveralls-img]][🏀coveralls]
|
|
301
347
|
|
|
302
|
-
[![QLTY Test Coverage][
|
|
348
|
+
[![QLTY Test Coverage][🏀qlty-covi]][🏀qlty-cov]
|
|
349
|
+
|
|
350
|
+
</details>
|
|
303
351
|
|
|
304
352
|
### 🪇 Code of Conduct
|
|
305
353
|
|
|
306
354
|
Everyone interacting with this project's codebases, issue trackers,
|
|
307
|
-
chat rooms and mailing lists agrees to follow the [![Contributor Covenant
|
|
355
|
+
chat rooms and mailing lists agrees to follow the [![Contributor Covenant 3.0][🪇conduct-img]][🪇conduct].
|
|
308
356
|
|
|
309
357
|
## 🌈 Contributors
|
|
310
358
|
|
|
@@ -314,34 +362,10 @@ Made with [contributors-img][🖐contrib-rocks].
|
|
|
314
362
|
|
|
315
363
|
Also see GitLab Contributors: [https://gitlab.com/galtzo-floss/timecop-rspec/-/graphs/main][🚎contributors-gl]
|
|
316
364
|
|
|
317
|
-
<details>
|
|
318
|
-
<summary>⭐️ Star History</summary>
|
|
319
|
-
|
|
320
|
-
<a href="https://star-history.com/#galtzo-floss/timecop-rspec&Date">
|
|
321
|
-
<picture>
|
|
322
|
-
<source media="(prefers-color-scheme: dark)" srcset="https://api.star-history.com/svg?repos=galtzo-floss/timecop-rspec&type=Date&theme=dark" />
|
|
323
|
-
<source media="(prefers-color-scheme: light)" srcset="https://api.star-history.com/svg?repos=galtzo-floss/timecop-rspec&type=Date" />
|
|
324
|
-
<img alt="Star History Chart" src="https://api.star-history.com/svg?repos=galtzo-floss/timecop-rspec&type=Date" />
|
|
325
|
-
</picture>
|
|
326
|
-
</a>
|
|
327
|
-
|
|
328
|
-
</details>
|
|
329
|
-
|
|
330
365
|
## 📌 Versioning
|
|
331
366
|
|
|
332
|
-
This
|
|
333
|
-
|
|
334
|
-
Specifically, if a minor or patch version is released that breaks backward compatibility,
|
|
335
|
-
a new version should be immediately released that restores compatibility.
|
|
336
|
-
Breaking changes to the public API will only be introduced with new major versions.
|
|
337
|
-
|
|
338
|
-
> dropping support for a platform is both obviously and objectively a breaking change <br/>
|
|
339
|
-
>—Jordan Harband ([@ljharb](https://github.com/ljharb), maintainer of SemVer) [in SemVer issue 716][📌semver-breaking]
|
|
340
|
-
|
|
341
|
-
I understand that policy doesn't work universally ("exceptions to every rule!"),
|
|
342
|
-
but it is the policy here.
|
|
343
|
-
As such, in many cases it is good to specify a dependency on this library using
|
|
344
|
-
the [Pessimistic Version Constraint][📌pvc] with two digits of precision.
|
|
367
|
+
This library follows [![Semantic Versioning 2.0.0][📌semver-img]][📌semver] for its public API where practical.
|
|
368
|
+
For most applications, prefer the [Pessimistic Version Constraint][📌pvc] with two digits of precision.
|
|
345
369
|
|
|
346
370
|
For example:
|
|
347
371
|
|
|
@@ -349,12 +373,11 @@ For example:
|
|
|
349
373
|
spec.add_dependency("timecop-rspec", "~> 1.0")
|
|
350
374
|
```
|
|
351
375
|
|
|
352
|
-
<details>
|
|
376
|
+
<details markdown="1">
|
|
353
377
|
<summary>📌 Is "Platform Support" part of the public API? More details inside.</summary>
|
|
354
378
|
|
|
355
|
-
|
|
356
|
-
|
|
357
|
-
It is obvious to many, but not all, and since the spec is silent, the bike shedding is endless.
|
|
379
|
+
Dropping support for a platform can be a breaking change for affected users.
|
|
380
|
+
If a release changes supported platforms, it should be called out clearly in the changelog and versioned with that impact in mind.
|
|
358
381
|
|
|
359
382
|
To get a better understanding of how SemVer is intended to work over a project's lifetime,
|
|
360
383
|
read this article from the creator of SemVer:
|
|
@@ -368,52 +391,55 @@ See [CHANGELOG.md][📌changelog] for a list of releases.
|
|
|
368
391
|
## 📄 License
|
|
369
392
|
|
|
370
393
|
The gem is available as open source under the terms of
|
|
371
|
-
the [MIT
|
|
372
|
-
See [LICENSE.txt][📄license] for the official [Copyright Notice][📄copyright-notice-explainer].
|
|
394
|
+
the [MIT](https://github.com/galtzo-floss/timecop-rspec/blob/main/MIT.md) [![License: MIT][📄license-img]][📄license-ref].
|
|
373
395
|
|
|
374
396
|
### © Copyright
|
|
375
397
|
|
|
376
|
-
|
|
377
|
-
|
|
378
|
-
|
|
379
|
-
|
|
380
|
-
|
|
381
|
-
|
|
382
|
-
|
|
383
|
-
</picture>
|
|
384
|
-
</a>, and timecop-rspec contributors.
|
|
385
|
-
</li>
|
|
386
|
-
<li>Copyright (c) 2014-2017 Zach Taylor & Avant</li>
|
|
387
|
-
</ul>
|
|
398
|
+
See [LICENSE.md][📄license] for the official copyright notice.
|
|
399
|
+
|
|
400
|
+
<details markdown="1">
|
|
401
|
+
<summary>Copyright holders</summary>
|
|
402
|
+
|
|
403
|
+
- Copyright (c) 2017 Zach Taylor
|
|
404
|
+
- Copyright (c) 2025-2026 Peter H. Boling
|
|
388
405
|
|
|
389
|
-
|
|
406
|
+
</details>
|
|
407
|
+
|
|
408
|
+
### Please give the project a star ⭐ ♥.
|
|
409
|
+
|
|
410
|
+
Many parts of this project are actively managed by a [kettle-jem](https://github.com/structuredmerge/structuredmerge-ruby/tree/main/gems/kettle-jem) smart template utilizing [StructuredMerge.org](https://structuredmerge.org) merge contracts.
|
|
390
411
|
|
|
391
|
-
|
|
412
|
+
If this project helps you, please consider supporting the maintainer. This is not gated on the project's license; it appears in every README:
|
|
392
413
|
|
|
393
|
-
|
|
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.
|
|
414
|
+
[![Sponsor galtzo-floss/timecop-rspec on Open Source Collective][🖇osc-all-bottom-img]][🖇osc] 💌 [![Sponsor me on GitHub Sponsors][🖇sponsor-bottom-img]][🖇sponsor] 💌 [![Sponsor me on Liberapay][⛳liberapay-bottom-img]][⛳liberapay] 💌 [![Donate on PayPal][🖇paypal-bottom-img]][🖇paypal] 💌 [![Buy me a coffee][🖇buyme-small-img]][🖇buyme] 💌 [![Donate at ko-fi.com][🖇kofi-img]][🖇kofi]
|
|
399
415
|
|
|
400
|
-
|
|
416
|
+
I use [Cloudroom][🖇cloudroom], an agentic AI coding environment, every day. It's the first AI product that made me say "shut up and take my money."
|
|
417
|
+
If you sign up with [my referral link][🖇cloudroom], I receive a share of your subscription for as long as you stay subscribed, at no extra cost to you.
|
|
401
418
|
|
|
402
|
-
|
|
419
|
+
[🖇cloudroom]: https://go.cloudroom.dev/u9f53f181a
|
|
403
420
|
|
|
404
|
-
|
|
421
|
+
Thanks for RTFM. ☺️
|
|
422
|
+
|
|
423
|
+
[⛳liberapay-img]: https://img.shields.io/liberapay/goal/pboling.svg?logo=liberapay&color=a51611&style=flat
|
|
405
424
|
[⛳liberapay-bottom-img]: https://img.shields.io/liberapay/goal/pboling.svg?style=for-the-badge&logo=liberapay&color=a51611
|
|
406
425
|
[⛳liberapay]: https://liberapay.com/pboling/donate
|
|
426
|
+
[🖇osc-all-img]: https://img.shields.io/opencollective/all/galtzo-floss
|
|
427
|
+
[🖇osc-sponsors-img]: https://img.shields.io/opencollective/sponsors/galtzo-floss
|
|
428
|
+
[🖇osc-backers-img]: https://img.shields.io/opencollective/backers/galtzo-floss
|
|
429
|
+
[🖇osc-backers]: https://opencollective.com/galtzo-floss#backer
|
|
430
|
+
[🖇osc-backers-i]: https://opencollective.com/galtzo-floss/backers/badge.svg?style=flat
|
|
431
|
+
[🖇osc-sponsors]: https://opencollective.com/galtzo-floss#sponsor
|
|
432
|
+
[🖇osc-sponsors-i]: https://opencollective.com/galtzo-floss/sponsors/badge.svg?style=flat
|
|
433
|
+
[🖇osc-all-bottom-img]: https://img.shields.io/opencollective/all/galtzo-floss?style=for-the-badge
|
|
434
|
+
[🖇osc-sponsors-bottom-img]: https://img.shields.io/opencollective/sponsors/galtzo-floss?style=for-the-badge
|
|
435
|
+
[🖇osc-backers-bottom-img]: https://img.shields.io/opencollective/backers/galtzo-floss?style=for-the-badge
|
|
436
|
+
[🖇osc]: https://opencollective.com/galtzo-floss
|
|
407
437
|
[🖇sponsor-img]: https://img.shields.io/badge/Sponsor_Me!-pboling.svg?style=social&logo=github
|
|
408
438
|
[🖇sponsor-bottom-img]: https://img.shields.io/badge/Sponsor_Me!-pboling-blue?style=for-the-badge&logo=github
|
|
409
439
|
[🖇sponsor]: https://github.com/sponsors/pboling
|
|
410
|
-
[🖇
|
|
411
|
-
[🖇
|
|
412
|
-
[🖇
|
|
413
|
-
[🖇kofi]: https://ko-fi.com/O5O86SNP4
|
|
414
|
-
[🖇patreon-img]: https://img.shields.io/badge/patreon-donate-a51611.svg
|
|
415
|
-
[🖇patreon]: https://patreon.com/galtzo
|
|
416
|
-
[🖇buyme-small-img]: https://img.shields.io/badge/buy_me_a_coffee-✓-a51611.svg?style=flat
|
|
440
|
+
[🖇kofi-img]: https://img.shields.io/badge/ko--fi-%E2%9C%93-a51611.svg?style=flat
|
|
441
|
+
[🖇kofi]: https://ko-fi.com/pboling
|
|
442
|
+
[🖇buyme-small-img]: https://img.shields.io/badge/buy_me_a_coffee-%E2%9C%93-a51611.svg?style=flat
|
|
417
443
|
[🖇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
|
|
418
444
|
[🖇buyme]: https://www.buymeacoffee.com/pboling
|
|
419
445
|
[🖇paypal-img]: https://img.shields.io/badge/donate-paypal-a51611.svg?style=flat&logo=paypal
|
|
@@ -422,25 +448,32 @@ Thank you ☺️
|
|
|
422
448
|
[🖇floss-funding.dev]: https://floss-funding.dev
|
|
423
449
|
[🖇floss-funding-gem]: https://github.com/galtzo-floss/floss_funding
|
|
424
450
|
[✉️discord-invite]: https://discord.gg/3qme4XHNKN
|
|
425
|
-
[✉️discord-invite-img]: https://img.shields.io/discord/1373797679469170758?style=for-the-badge
|
|
451
|
+
[✉️discord-invite-img-ftb]: https://img.shields.io/discord/1373797679469170758?style=for-the-badge&logo=discord
|
|
452
|
+
[✉️ruby-friends-img]: https://img.shields.io/badge/daily.dev-%F0%9F%92%8E_Ruby_Friends-0A0A0A?style=for-the-badge&logo=dailydotdev&logoColor=white
|
|
453
|
+
[✉️ruby-friends]: https://app.daily.dev/squads/rubyfriends
|
|
454
|
+
[✉️ruby-forum-top-img]: https://img.shields.io/discourse/topics?server=https%3A%2F%2Fwww.rubyforum.org&style=flat&logo=discourse&label=Ruby%20Users%20Forum
|
|
455
|
+
[✉️ruby-forum-img]: https://img.shields.io/discourse/topics?server=https%3A%2F%2Fwww.rubyforum.org&style=for-the-badge&logo=discourse&label=Ruby%20Users%20Forum
|
|
456
|
+
[✉️ruby-forum]: https://www.rubyforum.org/tag/galtzo-floss
|
|
426
457
|
|
|
427
458
|
[✇bundle-group-pattern]: https://gist.github.com/pboling/4564780
|
|
428
459
|
[⛳️gem-namespace]: https://github.com/galtzo-floss/timecop-rspec
|
|
429
|
-
[⛳️namespace-img]: https://img.shields.io/badge/namespace-Timecop
|
|
430
|
-
[⛳️gem-name]: https://
|
|
460
|
+
[⛳️namespace-img]: https://img.shields.io/badge/namespace-Timecop::Rspec-3C2D2D.svg?style=square&logo=ruby&logoColor=white
|
|
461
|
+
[⛳️gem-name]: https://clickgems.clickhouse.com/dashboard/timecop-rspec
|
|
431
462
|
[⛳️name-img]: https://img.shields.io/badge/name-timecop--rspec-3C2D2D.svg?style=square&logo=rubygems&logoColor=red
|
|
463
|
+
[⛳️tag-img]: https://img.shields.io/github/tag/galtzo-floss/timecop-rspec.svg
|
|
464
|
+
[⛳️tag]: https://github.com/galtzo-floss/timecop-rspec/releases
|
|
432
465
|
[🚂maint-blog]: http://www.railsbling.com/tags/timecop-rspec
|
|
433
466
|
[🚂maint-blog-img]: https://img.shields.io/badge/blog-railsbling-0093D0.svg?style=for-the-badge&logo=rubyonrails&logoColor=orange
|
|
434
467
|
[🚂maint-contact]: http://www.railsbling.com/contact
|
|
435
468
|
[🚂maint-contact-img]: https://img.shields.io/badge/Contact-Maintainer-0093D0.svg?style=flat&logo=rubyonrails&logoColor=red
|
|
436
469
|
[💖🖇linkedin]: http://www.linkedin.com/in/peterboling
|
|
437
|
-
[💖🖇linkedin-img]: https://img.shields.io/badge/
|
|
438
|
-
[💖✌️wellfound]: https://wellfound.com/u/peter-boling
|
|
470
|
+
[💖🖇linkedin-img]: https://img.shields.io/badge/LinkedIn-Profile-0B66C2?style=flat&logo=newjapanprowrestling
|
|
471
|
+
[💖✌️wellfound]: https://wellfound.com/u/peter-boling
|
|
439
472
|
[💖✌️wellfound-img]: https://img.shields.io/badge/peter--boling-orange?style=flat&logo=wellfound
|
|
440
473
|
[💖💲crunchbase]: https://www.crunchbase.com/person/peter-boling
|
|
441
474
|
[💖💲crunchbase-img]: https://img.shields.io/badge/peter--boling-purple?style=flat&logo=crunchbase
|
|
442
475
|
[💖🐘ruby-mast]: https://ruby.social/@galtzo
|
|
443
|
-
[💖🐘ruby-mast-img]: https://img.shields.io/mastodon/follow/109447111526622197?domain=https
|
|
476
|
+
[💖🐘ruby-mast-img]: https://img.shields.io/mastodon/follow/109447111526622197?domain=https://ruby.social&style=flat&logo=mastodon&label=Ruby%20@galtzo
|
|
444
477
|
[💖🦋bluesky]: https://bsky.app/profile/galtzo.com
|
|
445
478
|
[💖🦋bluesky-img]: https://img.shields.io/badge/@galtzo.com-0285FF?style=flat&logo=bluesky&logoColor=white
|
|
446
479
|
[💖🌳linktree]: https://linktr.ee/galtzo
|
|
@@ -457,68 +490,68 @@ Thank you ☺️
|
|
|
457
490
|
[👨🏼🏫expsup-upwork-img]: https://img.shields.io/badge/UpWork-13544E?style=for-the-badge&logo=Upwork&logoColor=white
|
|
458
491
|
[👨🏼🏫expsup-codementor]: https://www.codementor.io/peterboling?utm_source=github&utm_medium=button&utm_term=peterboling&utm_campaign=github
|
|
459
492
|
[👨🏼🏫expsup-codementor-img]: https://img.shields.io/badge/CodeMentor-Get_Help-1abc9c?style=for-the-badge&logo=CodeMentor&logoColor=white
|
|
460
|
-
[🏙️entsup-tidelift]: https://tidelift.com/subscription
|
|
461
|
-
[🏙️entsup-tidelift-img]: https://img.shields.io/badge/Tidelift_and_Sonar-Enterprise_Support-FD3456?style=for-the-badge&logo=sonar&logoColor=white
|
|
462
|
-
[🏙️entsup-tidelift-sonar]: https://blog.tidelift.com/tidelift-joins-sonar
|
|
463
493
|
[💁🏼♂️peterboling]: http://www.peterboling.com
|
|
464
494
|
[🚂railsbling]: http://www.railsbling.com
|
|
465
495
|
[📜src-gl-img]: https://img.shields.io/badge/GitLab-FBA326?style=for-the-badge&logo=Gitlab&logoColor=orange
|
|
466
|
-
[📜src-gl]: https://gitlab.com/galtzo-floss/timecop-rspec
|
|
496
|
+
[📜src-gl]: https://gitlab.com/galtzo-floss/timecop-rspec
|
|
467
497
|
[📜src-cb-img]: https://img.shields.io/badge/CodeBerg-4893CC?style=for-the-badge&logo=CodeBerg&logoColor=blue
|
|
468
498
|
[📜src-cb]: https://codeberg.org/galtzo-floss/timecop-rspec
|
|
469
|
-
[📜src-gh-img]: https://img.shields.io/badge/GitHub-238636?style=for-the-badge&logo=
|
|
499
|
+
[📜src-gh-img]: https://img.shields.io/badge/GitHub-238636?style=for-the-badge&logo=GitHub&logoColor=green
|
|
470
500
|
[📜src-gh]: https://github.com/galtzo-floss/timecop-rspec
|
|
471
501
|
[📜docs-cr-rd-img]: https://img.shields.io/badge/RubyDoc-Current_Release-943CD2?style=for-the-badge&logo=readthedocs&logoColor=white
|
|
472
502
|
[📜docs-head-rd-img]: https://img.shields.io/badge/YARD_on_Galtzo.com-HEAD-943CD2?style=for-the-badge&logo=readthedocs&logoColor=white
|
|
473
|
-
[📜wiki]: https://gitlab.com/galtzo-floss/timecop-rspec/-/wikis/home
|
|
474
|
-
[📜wiki
|
|
475
|
-
[
|
|
476
|
-
[
|
|
477
|
-
[👽
|
|
478
|
-
[👽
|
|
479
|
-
[👽version]: https://
|
|
503
|
+
[📜gl-wiki]: https://gitlab.com/galtzo-floss/timecop-rspec/-/wikis/home
|
|
504
|
+
[📜gh-wiki]: https://github.com/galtzo-floss/timecop-rspec/wiki
|
|
505
|
+
[📜gl-wiki-img]: https://img.shields.io/badge/wiki-gitlab-943CD2.svg?style=for-the-badge&logo=gitlab&logoColor=white
|
|
506
|
+
[📜gh-wiki-img]: https://img.shields.io/badge/wiki-github-943CD2.svg?style=for-the-badge&logo=github&logoColor=white
|
|
507
|
+
[👽dl-rank]: https://clickgems.clickhouse.com/dashboard/timecop-rspec
|
|
508
|
+
[👽dl-ranki]: https://img.shields.io/gem/dt/timecop-rspec.svg
|
|
509
|
+
[👽version]: https://clickgems.clickhouse.com/dashboard/timecop-rspec
|
|
480
510
|
[👽versioni]: https://img.shields.io/gem/v/timecop-rspec.svg
|
|
481
|
-
[
|
|
482
|
-
[
|
|
483
|
-
[
|
|
484
|
-
[
|
|
485
|
-
[
|
|
486
|
-
[
|
|
487
|
-
[
|
|
488
|
-
[
|
|
489
|
-
[
|
|
490
|
-
[
|
|
491
|
-
[🚎
|
|
492
|
-
[🚎
|
|
511
|
+
[🏀qlty-mnt]: https://qlty.sh/gh/galtzo-floss/projects/timecop-rspec
|
|
512
|
+
[🏀qlty-mnti]: https://qlty.sh/gh/galtzo-floss/projects/timecop-rspec/maintainability.svg
|
|
513
|
+
[🏀qlty-cov]: https://qlty.sh/gh/galtzo-floss/projects/timecop-rspec/metrics/code?sort=coverageRating
|
|
514
|
+
[🏀qlty-covi]: https://qlty.sh/gh/galtzo-floss/projects/timecop-rspec/coverage.svg
|
|
515
|
+
[🏀codecov]: https://codecov.io/gh/galtzo-floss/timecop-rspec
|
|
516
|
+
[🏀codecovi]: https://codecov.io/gh/galtzo-floss/timecop-rspec/graph/badge.svg
|
|
517
|
+
[🏀coveralls]: https://coveralls.io/github/galtzo-floss/timecop-rspec?branch=main
|
|
518
|
+
[🏀coveralls-img]: https://coveralls.io/repos/github/galtzo-floss/timecop-rspec/badge.svg?branch=main
|
|
519
|
+
[🚎ruby-2.4-wf]: https://github.com/galtzo-floss/timecop-rspec/actions/workflows/ruby-2.4.yml
|
|
520
|
+
[🚎ruby-2.5-wf]: https://github.com/galtzo-floss/timecop-rspec/actions/workflows/ruby-2.5.yml
|
|
521
|
+
[🚎ruby-2.6-wf]: https://github.com/galtzo-floss/timecop-rspec/actions/workflows/ruby-2.6.yml
|
|
522
|
+
[🚎ruby-2.7-wf]: https://github.com/galtzo-floss/timecop-rspec/actions/workflows/ruby-2.7.yml
|
|
523
|
+
[🚎ruby-3.0-wf]: https://github.com/galtzo-floss/timecop-rspec/actions/workflows/ruby-3.0.yml
|
|
524
|
+
[🚎ruby-3.1-wf]: https://github.com/galtzo-floss/timecop-rspec/actions/workflows/ruby-3.1.yml
|
|
525
|
+
[🚎ruby-3.2-wf]: https://github.com/galtzo-floss/timecop-rspec/actions/workflows/ruby-3.2.yml
|
|
526
|
+
[🚎ruby-3.3-wf]: https://github.com/galtzo-floss/timecop-rspec/actions/workflows/ruby-3.3.yml
|
|
527
|
+
[🚎ruby-3.4-wf]: https://github.com/galtzo-floss/timecop-rspec/actions/workflows/ruby-3.4.yml
|
|
528
|
+
[🚎jruby-10.0-wf]: https://github.com/galtzo-floss/timecop-rspec/actions/workflows/jruby-10.0.yml
|
|
529
|
+
[🚎truby-33.0-wf]: https://github.com/galtzo-floss/timecop-rspec/actions/workflows/truffleruby-33.0.yml
|
|
493
530
|
[🚎2-cov-wf]: https://github.com/galtzo-floss/timecop-rspec/actions/workflows/coverage.yml
|
|
494
531
|
[🚎2-cov-wfi]: https://github.com/galtzo-floss/timecop-rspec/actions/workflows/coverage.yml/badge.svg
|
|
495
532
|
[🚎3-hd-wf]: https://github.com/galtzo-floss/timecop-rspec/actions/workflows/heads.yml
|
|
496
533
|
[🚎3-hd-wfi]: https://github.com/galtzo-floss/timecop-rspec/actions/workflows/heads.yml/badge.svg
|
|
497
|
-
[🚎4-lg-wf]: https://github.com/galtzo-floss/timecop-rspec/actions/workflows/legacy.yml
|
|
498
|
-
[🚎4-lg-wfi]: https://github.com/galtzo-floss/timecop-rspec/actions/workflows/legacy.yml/badge.svg
|
|
499
534
|
[🚎5-st-wf]: https://github.com/galtzo-floss/timecop-rspec/actions/workflows/style.yml
|
|
500
535
|
[🚎5-st-wfi]: https://github.com/galtzo-floss/timecop-rspec/actions/workflows/style.yml/badge.svg
|
|
501
|
-
[🚎6-s-wf]: https://github.com/galtzo-floss/timecop-rspec/actions/workflows/supported.yml
|
|
502
|
-
[🚎6-s-wfi]: https://github.com/galtzo-floss/timecop-rspec/actions/workflows/supported.yml/badge.svg
|
|
503
|
-
[🚎7-us-wf]: https://github.com/galtzo-floss/timecop-rspec/actions/workflows/unsupported.yml
|
|
504
|
-
[🚎7-us-wfi]: https://github.com/galtzo-floss/timecop-rspec/actions/workflows/unsupported.yml/badge.svg
|
|
505
|
-
[🚎8-ho-wf]: https://github.com/galtzo-floss/timecop-rspec/actions/workflows/hoary.yml
|
|
506
|
-
[🚎8-ho-wfi]: https://github.com/galtzo-floss/timecop-rspec/actions/workflows/hoary.yml/badge.svg
|
|
507
536
|
[🚎9-t-wf]: https://github.com/galtzo-floss/timecop-rspec/actions/workflows/truffle.yml
|
|
508
537
|
[🚎9-t-wfi]: https://github.com/galtzo-floss/timecop-rspec/actions/workflows/truffle.yml/badge.svg
|
|
509
538
|
[🚎10-j-wf]: https://github.com/galtzo-floss/timecop-rspec/actions/workflows/jruby.yml
|
|
510
539
|
[🚎10-j-wfi]: https://github.com/galtzo-floss/timecop-rspec/actions/workflows/jruby.yml/badge.svg
|
|
511
540
|
[🚎11-c-wf]: https://github.com/galtzo-floss/timecop-rspec/actions/workflows/current.yml
|
|
512
541
|
[🚎11-c-wfi]: https://github.com/galtzo-floss/timecop-rspec/actions/workflows/current.yml/badge.svg
|
|
513
|
-
[🚎
|
|
514
|
-
[🚎
|
|
515
|
-
[🚎
|
|
516
|
-
[🚎
|
|
542
|
+
[🚎12-crh-wf]: https://github.com/galtzo-floss/timecop-rspec/actions/workflows/dep-heads.yml
|
|
543
|
+
[🚎12-crh-wfi]: https://github.com/galtzo-floss/timecop-rspec/actions/workflows/dep-heads.yml/badge.svg
|
|
544
|
+
[🚎13-🔒️-wf]: https://github.com/galtzo-floss/timecop-rspec/actions/workflows/locked_deps.yml
|
|
545
|
+
[🚎13-🔒️-wfi]: https://github.com/galtzo-floss/timecop-rspec/actions/workflows/locked_deps.yml/badge.svg
|
|
546
|
+
[🚎14-🔓️-wf]: https://github.com/galtzo-floss/timecop-rspec/actions/workflows/unlocked_deps.yml
|
|
547
|
+
[🚎14-🔓️-wfi]: https://github.com/galtzo-floss/timecop-rspec/actions/workflows/unlocked_deps.yml/badge.svg
|
|
548
|
+
[🚎15-🪪-wf]: https://github.com/galtzo-floss/timecop-rspec/actions/workflows/license-eye.yml
|
|
549
|
+
[🚎15-🪪-wfi]: https://github.com/galtzo-floss/timecop-rspec/actions/workflows/license-eye.yml/badge.svg
|
|
517
550
|
[💎ruby-1.9i]: https://img.shields.io/badge/Ruby-1.9_(%F0%9F%9A%ABCI)-AABBCC?style=for-the-badge&logo=ruby&logoColor=white
|
|
518
551
|
[💎ruby-2.0i]: https://img.shields.io/badge/Ruby-2.0_(%F0%9F%9A%ABCI)-AABBCC?style=for-the-badge&logo=ruby&logoColor=white
|
|
519
552
|
[💎ruby-2.1i]: https://img.shields.io/badge/Ruby-2.1_(%F0%9F%9A%ABCI)-AABBCC?style=for-the-badge&logo=ruby&logoColor=white
|
|
520
553
|
[💎ruby-2.2i]: https://img.shields.io/badge/Ruby-2.2_(%F0%9F%9A%ABCI)-AABBCC?style=for-the-badge&logo=ruby&logoColor=white
|
|
521
|
-
[💎ruby-2.3i]: https://img.shields.io/badge/Ruby-2.
|
|
554
|
+
[💎ruby-2.3i]: https://img.shields.io/badge/Ruby-2.3_(%F0%9F%9A%ABCI)-AABBCC?style=for-the-badge&logo=ruby&logoColor=white
|
|
522
555
|
[💎ruby-2.4i]: https://img.shields.io/badge/Ruby-2.4-DF00CA?style=for-the-badge&logo=ruby&logoColor=white
|
|
523
556
|
[💎ruby-2.5i]: https://img.shields.io/badge/Ruby-2.5-DF00CA?style=for-the-badge&logo=ruby&logoColor=white
|
|
524
557
|
[💎ruby-2.6i]: https://img.shields.io/badge/Ruby-2.6-DF00CA?style=for-the-badge&logo=ruby&logoColor=white
|
|
@@ -527,17 +560,12 @@ Thank you ☺️
|
|
|
527
560
|
[💎ruby-3.1i]: https://img.shields.io/badge/Ruby-3.1-CC342D?style=for-the-badge&logo=ruby&logoColor=white
|
|
528
561
|
[💎ruby-3.2i]: https://img.shields.io/badge/Ruby-3.2-CC342D?style=for-the-badge&logo=ruby&logoColor=white
|
|
529
562
|
[💎ruby-3.3i]: https://img.shields.io/badge/Ruby-3.3-CC342D?style=for-the-badge&logo=ruby&logoColor=white
|
|
563
|
+
[💎ruby-3.4i]: https://img.shields.io/badge/Ruby-3.4-CC342D?style=for-the-badge&logo=ruby&logoColor=white
|
|
530
564
|
[💎ruby-c-i]: https://img.shields.io/badge/Ruby-current-CC342D?style=for-the-badge&logo=ruby&logoColor=green
|
|
531
565
|
[💎ruby-headi]: https://img.shields.io/badge/Ruby-HEAD-CC342D?style=for-the-badge&logo=ruby&logoColor=blue
|
|
532
|
-
[💎truby-
|
|
533
|
-
[💎truby-23.0i]: https://img.shields.io/badge/Truffle_Ruby-23.0-34BCB1?style=for-the-badge&logo=ruby&logoColor=pink
|
|
534
|
-
[💎truby-23.1i]: https://img.shields.io/badge/Truffle_Ruby-23.1-34BCB1?style=for-the-badge&logo=ruby&logoColor=pink
|
|
566
|
+
[💎truby-33.0i]: https://img.shields.io/badge/Truffle_Ruby-33.0-34BCB1?style=for-the-badge&logo=ruby&logoColor=pink
|
|
535
567
|
[💎truby-c-i]: https://img.shields.io/badge/Truffle_Ruby-current-34BCB1?style=for-the-badge&logo=ruby&logoColor=green
|
|
536
|
-
[💎
|
|
537
|
-
[💎jruby-9.1i]: https://img.shields.io/badge/JRuby-9.1_(%F0%9F%9A%ABCI)-AABBCC?style=for-the-badge&logo=ruby&logoColor=red
|
|
538
|
-
[💎jruby-9.2i]: https://img.shields.io/badge/JRuby-9.2_(%F0%9F%9A%ABCI)-AABBCC?style=for-the-badge&logo=ruby&logoColor=red
|
|
539
|
-
[💎jruby-9.3i]: https://img.shields.io/badge/JRuby-9.3-FBE742?style=for-the-badge&logo=ruby&logoColor=red
|
|
540
|
-
[💎jruby-9.4i]: https://img.shields.io/badge/JRuby-9.4-FBE742?style=for-the-badge&logo=ruby&logoColor=red
|
|
568
|
+
[💎jruby-10.0i]: https://img.shields.io/badge/JRuby-10.0-FBE742?style=for-the-badge&logo=ruby&logoColor=red
|
|
541
569
|
[💎jruby-c-i]: https://img.shields.io/badge/JRuby-current-FBE742?style=for-the-badge&logo=ruby&logoColor=green
|
|
542
570
|
[💎jruby-headi]: https://img.shields.io/badge/JRuby-HEAD-FBE742?style=for-the-badge&logo=ruby&logoColor=blue
|
|
543
571
|
[🤝gh-issues]: https://github.com/galtzo-floss/timecop-rspec/issues
|
|
@@ -547,40 +575,54 @@ Thank you ☺️
|
|
|
547
575
|
[🤝cb-issues]: https://codeberg.org/galtzo-floss/timecop-rspec/issues
|
|
548
576
|
[🤝cb-pulls]: https://codeberg.org/galtzo-floss/timecop-rspec/pulls
|
|
549
577
|
[🤝cb-donate]: https://donate.codeberg.org/
|
|
550
|
-
[🤝contributing]: CONTRIBUTING.md
|
|
551
|
-
[
|
|
578
|
+
[🤝contributing]: https://github.com/galtzo-floss/timecop-rspec/blob/main/CONTRIBUTING.md
|
|
579
|
+
[🏀codecov-g]: https://codecov.io/gh/galtzo-floss/timecop-rspec/graph/badge.svg
|
|
552
580
|
[🖐contrib-rocks]: https://contrib.rocks
|
|
553
581
|
[🖐contributors]: https://github.com/galtzo-floss/timecop-rspec/graphs/contributors
|
|
554
582
|
[🖐contributors-img]: https://contrib.rocks/image?repo=galtzo-floss/timecop-rspec
|
|
555
583
|
[🚎contributors-gl]: https://gitlab.com/galtzo-floss/timecop-rspec/-/graphs/main
|
|
556
|
-
[🪇conduct]: CODE_OF_CONDUCT.md
|
|
557
|
-
[🪇conduct-img]: https://img.shields.io/badge/Contributor_Covenant-
|
|
584
|
+
[🪇conduct]: https://github.com/galtzo-floss/timecop-rspec/blob/main/CODE_OF_CONDUCT.md
|
|
585
|
+
[🪇conduct-img]: https://img.shields.io/badge/Contributor_Covenant-3.0-259D6C.svg
|
|
558
586
|
[📌pvc]: http://guides.rubygems.org/patterns/#pessimistic-version-constraint
|
|
559
587
|
[📌semver]: https://semver.org/spec/v2.0.0.html
|
|
560
588
|
[📌semver-img]: https://img.shields.io/badge/semver-2.0.0-259D6C.svg?style=flat
|
|
561
589
|
[📌semver-breaking]: https://github.com/semver/semver/issues/716#issuecomment-869336139
|
|
562
590
|
[📌major-versions-not-sacred]: https://tom.preston-werner.com/2022/05/23/major-version-numbers-are-not-sacred.html
|
|
563
|
-
[📌changelog]: CHANGELOG.md
|
|
591
|
+
[📌changelog]: https://github.com/galtzo-floss/timecop-rspec/blob/main/CHANGELOG.md
|
|
564
592
|
[📗keep-changelog]: https://keepachangelog.com/en/1.0.0/
|
|
565
593
|
[📗keep-changelog-img]: https://img.shields.io/badge/keep--a--changelog-1.0.0-34495e.svg?style=flat
|
|
566
|
-
[📌gitmoji]:https://gitmoji.dev
|
|
567
|
-
[📌gitmoji-img]:https://img.shields.io/badge/gitmoji_commits-%20
|
|
594
|
+
[📌gitmoji]: https://gitmoji.dev
|
|
595
|
+
[📌gitmoji-img]: https://img.shields.io/badge/gitmoji_commits-%20%F0%9F%98%9C%20%F0%9F%98%8D-34495e.svg?style=flat-square
|
|
568
596
|
[🧮kloc]: https://www.youtube.com/watch?v=dQw4w9WgXcQ
|
|
569
|
-
[🧮kloc-img]: https://img.shields.io/badge/KLOC-0.
|
|
570
|
-
[🔐security]: SECURITY.md
|
|
597
|
+
[🧮kloc-img]: https://img.shields.io/badge/KLOC-0.132-FFDD67.svg?style=for-the-badge&logo=YouTube&logoColor=blue
|
|
598
|
+
[🔐security]: https://github.com/galtzo-floss/timecop-rspec/blob/main/SECURITY.md
|
|
571
599
|
[🔐security-img]: https://img.shields.io/badge/security-policy-259D6C.svg?style=flat
|
|
572
600
|
[📄copyright-notice-explainer]: https://opensource.stackexchange.com/questions/5778/why-do-licenses-such-as-the-mit-license-specify-a-single-year
|
|
573
|
-
[📄license]: LICENSE.
|
|
574
|
-
[📄license-ref]: https://
|
|
601
|
+
[📄license]: LICENSE.md
|
|
602
|
+
[📄license-ref]: https://github.com/galtzo-floss/timecop-rspec/blob/main/MIT.md
|
|
575
603
|
[📄license-img]: https://img.shields.io/badge/License-MIT-259D6C.svg
|
|
604
|
+
[📄license-compat]: https://www.apache.org/legal/resolved.html#category-a
|
|
605
|
+
[📄license-compat-img]: https://img.shields.io/badge/Apache_Compatible:_Category_A-%E2%9C%93-259D6C.svg?style=flat&logo=Apache
|
|
606
|
+
|
|
576
607
|
[📄ilo-declaration]: https://www.ilo.org/declaration/lang--en/index.htm
|
|
577
608
|
[📄ilo-declaration-img]: https://img.shields.io/badge/ILO_Fundamental_Principles-✓-259D6C.svg?style=flat
|
|
578
609
|
[🚎yard-current]: http://rubydoc.info/gems/timecop-rspec
|
|
579
|
-
[🚎yard-head]: https://rspec
|
|
610
|
+
[🚎yard-head]: https://timecop-rspec.galtzo.com
|
|
580
611
|
[💎stone_checksums]: https://github.com/galtzo-floss/stone_checksums
|
|
581
612
|
[💎SHA_checksums]: https://gitlab.com/galtzo-floss/timecop-rspec/-/tree/main/checksums
|
|
582
613
|
[💎rlts]: https://github.com/rubocop-lts/rubocop-lts
|
|
583
|
-
[💎rlts-img]: https://img.shields.io/badge/code_style_
|
|
614
|
+
[💎rlts-img]: https://img.shields.io/badge/code_style_&_linting-rubocop--lts-34495e.svg?plastic&logo=ruby&logoColor=white
|
|
584
615
|
[💎appraisal2]: https://github.com/appraisal-rb/appraisal2
|
|
585
616
|
[💎appraisal2-img]: https://img.shields.io/badge/appraised_by-appraisal2-34495e.svg?plastic&logo=ruby&logoColor=white
|
|
586
617
|
[💎d-in-dvcs]: https://railsbling.com/posts/dvcs/put_the_d_in_dvcs/
|
|
618
|
+
|
|
619
|
+
<!-- kettle-jem:metadata:start -->
|
|
620
|
+
| Field | Value |
|
|
621
|
+
|---|---|
|
|
622
|
+
| Package | timecop-rspec |
|
|
623
|
+
| Description | ⌚️ Timecop::Rspec provides Timecop time-machines for RSpec that allow youto time-travel test examples, context/describes, and/or your entire test suite. Find out how your code will behave... in the future! Fund overlooked open source projects - bottom of stack, dev/test dependencies: floss-funding.dev |
|
|
624
|
+
| Homepage | https://github.com/galtzo-floss/timecop-rspec |
|
|
625
|
+
| Source | https://github.com/galtzo-floss/timecop-rspec |
|
|
626
|
+
| License | `MIT` |
|
|
627
|
+
| Funding | https://github.com/sponsors/pboling, https://ko-fi.com/pboling, https://liberapay.com/pboling/donate, https://opencollective.com/galtzo-floss, https://thanks.dev/u/gh/pboling, https://www.buymeacoffee.com/pboling |
|
|
628
|
+
<!-- kettle-jem:metadata:end -->
|