timecop-rspec 1.0.1 → 1.0.3
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- checksums.yaml.gz.sig +0 -0
- data/CHANGELOG.md +36 -2
- data/CONTRIBUTING.md +1 -3
- data/README.md +39 -13
- data/checksums/timecop-rspec-1.0.2.gem.sha256 +1 -0
- data/checksums/timecop-rspec-1.0.2.gem.sha512 +1 -0
- data/checksums/timecop-rspec-1.0.3.gem.sha256 +1 -0
- data/checksums/timecop-rspec-1.0.3.gem.sha512 +1 -0
- data/lib/timecop/rspec/version.rb +1 -1
- data.tar.gz.sig +2 -1
- metadata +53 -140
- metadata.gz.sig +0 -0
- data/.devcontainer/devcontainer.json +0 -26
- data/.env.local.example +0 -3
- data/.envrc +0 -41
- data/.github/FUNDING.yml +0 -13
- data/.github/dependabot.yml +0 -12
- data/.github/workflows/ancient.yml +0 -77
- data/.github/workflows/auto-assign.yml +0 -21
- data/.github/workflows/codeql-analysis.yml +0 -70
- data/.github/workflows/coverage.yml +0 -126
- data/.github/workflows/current.yml +0 -85
- data/.github/workflows/dependency-review.yml +0 -20
- data/.github/workflows/deps_locked.yml +0 -75
- data/.github/workflows/deps_unlocked.yml +0 -84
- data/.github/workflows/discord-notifier.yml +0 -38
- data/.github/workflows/heads.yml +0 -84
- data/.github/workflows/jruby.yml +0 -75
- data/.github/workflows/legacy.yml +0 -67
- data/.github/workflows/style.yml +0 -64
- data/.github/workflows/supported.yml +0 -82
- data/.github/workflows/truffle.yml +0 -75
- data/.github/workflows/unsupported.yml +0 -75
- data/.gitignore +0 -45
- data/.gitlab-ci.yml +0 -44
- data/.idea/.gitignore +0 -8
- data/.idea/GitLink.xml +0 -6
- data/.idea/misc.xml +0 -4
- data/.idea/modules.xml +0 -8
- data/.idea/timecop-rspec.iml +0 -122
- data/.idea/vcs.xml +0 -6
- data/.junie/TASK_NOTE.md +0 -1
- data/.junie/guidelines.md +0 -139
- data/.qlty/qlty.toml +0 -79
- data/.rspec +0 -8
- data/.rubocop.yml +0 -15
- data/.rubocop_gradual.lock +0 -76
- data/.simplecov +0 -11
- data/.tool-versions +0 -1
- data/.yard_gfm_support.rb +0 -22
- data/.yardopts +0 -11
- data/Appraisal.root.gemfile +0 -12
- data/Appraisals +0 -104
- data/CNAME +0 -1
- data/Gemfile +0 -38
- data/Gemfile.lock +0 -293
- data/Rakefile +0 -287
- data/bin/appraisal +0 -16
- data/bin/bundle-audit +0 -16
- data/bin/bundler-audit +0 -16
- data/bin/code_climate_reek +0 -16
- data/bin/coderay +0 -16
- data/bin/console +0 -12
- data/bin/erb +0 -16
- data/bin/gem_checksums +0 -16
- data/bin/htmldiff +0 -16
- data/bin/irb +0 -16
- data/bin/kramdown +0 -16
- data/bin/ldiff +0 -16
- data/bin/nokogiri +0 -16
- data/bin/pry +0 -16
- data/bin/racc +0 -16
- data/bin/rake +0 -16
- data/bin/rdbg +0 -16
- data/bin/rdoc +0 -16
- data/bin/reek +0 -16
- data/bin/ri +0 -16
- data/bin/rspec +0 -16
- data/bin/rubocop +0 -16
- data/bin/rubocop-gradual +0 -16
- data/bin/ruby-parse +0 -16
- data/bin/ruby-rewrite +0 -16
- data/bin/setup +0 -7
- data/bin/standardrb +0 -16
- data/bin/thor +0 -16
- data/bin/yard +0 -16
- data/bin/yard-junk +0 -16
- data/bin/yardoc +0 -16
- data/bin/yri +0 -16
- data/certs/pboling.pem +0 -27
- data/docs/Timecop/Rspec/ExampleDecorator.html +0 -626
- data/docs/Timecop/Rspec/SequentialTimeMachine.html +0 -338
- data/docs/Timecop/Rspec/TimeMachine.html +0 -357
- data/docs/Timecop/Rspec/TravelLog.html +0 -440
- data/docs/Timecop/Rspec/Traveler.html +0 -353
- data/docs/Timecop/Rspec/Version.html +0 -154
- data/docs/Timecop/Rspec.html +0 -476
- data/docs/Timecop.html +0 -143
- data/docs/_index.html +0 -224
- data/docs/class_list.html +0 -54
- data/docs/css/common.css +0 -1
- data/docs/css/full_list.css +0 -58
- data/docs/css/style.css +0 -503
- data/docs/file.CHANGELOG.html +0 -110
- data/docs/file.CITATION.html +0 -92
- data/docs/file.CODE_OF_CONDUCT.html +0 -201
- data/docs/file.CONTRIBUTING.html +0 -220
- data/docs/file.LICENSE.html +0 -70
- data/docs/file.README.html +0 -531
- data/docs/file.REEK.html +0 -71
- data/docs/file.RUBOCOP.html +0 -171
- data/docs/file.SECURITY.html +0 -101
- data/docs/file.rspec.html +0 -109
- data/docs/file.timecop-rspec-1.0.0.gem.html +0 -71
- data/docs/file.timecop.html +0 -72
- data/docs/file_list.html +0 -119
- data/docs/frames.html +0 -22
- data/docs/index.html +0 -531
- data/docs/js/app.js +0 -344
- data/docs/js/full_list.js +0 -242
- data/docs/js/jquery.js +0 -4
- data/docs/method_list.html +0 -198
- data/docs/top-level-namespace.html +0 -110
- data/gemfiles/audit.gemfile +0 -10
- data/gemfiles/coverage.gemfile +0 -10
- data/gemfiles/current.gemfile +0 -8
- data/gemfiles/deps_unlocked.gemfile +0 -13
- data/gemfiles/head.gemfile +0 -9
- data/gemfiles/modular/audit.gemfile +0 -5
- data/gemfiles/modular/coverage.gemfile +0 -6
- data/gemfiles/modular/documentation.gemfile +0 -11
- data/gemfiles/modular/style.gemfile +0 -14
- data/gemfiles/ruby_2_3.gemfile +0 -5
- data/gemfiles/ruby_2_4.gemfile +0 -5
- data/gemfiles/ruby_2_5.gemfile +0 -5
- data/gemfiles/ruby_2_6.gemfile +0 -8
- data/gemfiles/ruby_2_7.gemfile +0 -8
- data/gemfiles/ruby_3_0.gemfile +0 -8
- data/gemfiles/ruby_3_1.gemfile +0 -8
- data/gemfiles/ruby_3_2.gemfile +0 -8
- data/gemfiles/ruby_3_3.gemfile +0 -8
- data/gemfiles/style.gemfile +0 -10
- data/timecop-rspec.gemspec +0 -146
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: b3becc950e5bad124836ae3008f7bf75f40219ac1643cb4ef5477d34d98ca9e3
|
4
|
+
data.tar.gz: 0eb17dab3ec0eb8424909537868b451e11e693e406f3e45c0fa5afc01681c296
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 5389cd5919c26674b3a9f7f8fcf260d4a69f80505e8f4d1a159e32e6bc1d9a232ca57b51dee4d5958ac54cc623c9946c8b396d5abfeca61495c4d6e639e5d1ba
|
7
|
+
data.tar.gz: 831a364d0d4fb4d3bb48ed01913ab667d0fa8b4f1245388b1026aa9751a27e6d46fa3d2cfc1f86a40810706205e36c916f33044c7c6e469e8d63b1ba3cf374b5
|
checksums.yaml.gz.sig
CHANGED
Binary file
|
data/CHANGELOG.md
CHANGED
@@ -6,18 +6,48 @@ and this project adheres to [Semantic Versioning v2](https://semver.org/spec/v2.
|
|
6
6
|
|
7
7
|
## [Unreleased]
|
8
8
|
### Added
|
9
|
+
- Tests: cover both branches of ExampleDecorator's global_timecop_method and global_timecop_time to ensure behavior when global time is configured vs. disabled, and when skipped via metadata.
|
9
10
|
### Changed
|
10
11
|
### Deprecated
|
11
12
|
### Removed
|
12
13
|
### Fixed
|
13
14
|
### Security
|
14
15
|
|
16
|
+
## [1.0.3] - 2025-08-20
|
17
|
+
- TAG: [v1.0.3][1.0.3t]
|
18
|
+
- COVERAGE: 100.00% -- 132/132 lines in 7 files
|
19
|
+
- BRANCH COVERAGE: 100.00% -- 26/26 branches in 7 files
|
20
|
+
- 100% documented
|
21
|
+
### Added
|
22
|
+
- more documentation on how to support the project
|
23
|
+
- (dev) enforce gitmoji commit messages (first char is Gitmoji)
|
24
|
+
- (dev) support for appending a custom footer to commits via
|
25
|
+
- .git-hooks/prepare-commit-msg
|
26
|
+
- bin/prepare-commit-msg
|
27
|
+
### Changed
|
28
|
+
- (dev) Upgraded to Galtzo FLOSS Rakefile v1.0.11
|
29
|
+
### Fixed
|
30
|
+
- gemspec attributes (remove duplicates)
|
31
|
+
|
32
|
+
## [1.0.2] - 2025-08-18
|
33
|
+
- TAG: [v1.0.2][1.0.2t]
|
34
|
+
- COVERAGE: 100.00% -- 132/132 lines in 7 files
|
35
|
+
- BRANCH COVERAGE: 92.31% -- 24/26 branches in 7 files
|
36
|
+
- 100% documented
|
37
|
+
### Added
|
38
|
+
- improved CI
|
39
|
+
### Changed
|
40
|
+
- upgraded to Galtzo FLOSS Rakefile v1.0.9
|
41
|
+
### Fixed
|
42
|
+
- documentation, changelog
|
43
|
+
- fix ancient bin/console script
|
44
|
+
|
15
45
|
## [1.0.1] - 2025-08-17
|
16
46
|
- TAG: [v1.0.1][1.0.1t]
|
17
47
|
- COVERAGE: 100.00% -- 132/132 lines in 7 files
|
18
48
|
- BRANCH COVERAGE: 92.31% -- 24/26 branches in 7 files
|
19
49
|
- 100% documented
|
20
|
-
###
|
50
|
+
### Removed
|
21
51
|
- refactored to remove dependency on activesupport
|
22
52
|
|
23
53
|
## [1.0.0] - 2025-08-17
|
@@ -28,7 +58,11 @@ and this project adheres to [Semantic Versioning v2](https://semver.org/spec/v2.
|
|
28
58
|
### Added
|
29
59
|
- Initial release to rubygems (8 years late!)
|
30
60
|
|
31
|
-
[Unreleased]: https://gitlab.com/galtzo-floss/timecop-rspec/-/compare/v1.0.
|
61
|
+
[Unreleased]: https://gitlab.com/galtzo-floss/timecop-rspec/-/compare/v1.0.3...main
|
62
|
+
[1.0.3]: https://gitlab.com/galtzo-floss/timecop-rspec/-/compare/v1.0.2...v1.0.3
|
63
|
+
[1.0.3t]: https://gitlab.com/galtzo-floss/timecop-rspec/-/tags/v1.0.3
|
64
|
+
[1.0.2]: https://gitlab.com/galtzo-floss/timecop-rspec/-/compare/v1.0.1...v1.0.2
|
65
|
+
[1.0.2t]: https://gitlab.com/galtzo-floss/timecop-rspec/-/tags/v1.0.2
|
32
66
|
[1.0.1]: https://gitlab.com/galtzo-floss/timecop-rspec/-/compare/v1.0.0...v1.0.1
|
33
67
|
[1.0.1t]: https://gitlab.com/galtzo-floss/timecop-rspec/-/tags/v1.0.1
|
34
68
|
[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/README.md
CHANGED
@@ -11,8 +11,12 @@
|
|
11
11
|
|
12
12
|
[![Version][👽versioni]][👽version] [![License: MIT][📄license-img]][📄license-ref] [![Downloads Rank][👽dl-ranki]][👽dl-rank] [![Open Source Helpers][👽oss-helpi]][👽oss-help] [![Coveralls Test Coverage][🔑coveralls-img]][🔑coveralls] [![CodeCov Test Coverage][🔑codecovi♻️]][🔑codecov] [![QLTY Test Coverage][🔑qlty-covi]][🔑qlty-cov] [![QLTY Maintainability][🔑qlty-mnti]][🔑qlty-mnt] [![CI Heads][🚎3-hd-wfi]][🚎3-hd-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 Supported][🚎6-s-wfi]][🚎6-s-wf] [![CI Legacy][🚎4-lg-wfi]][🚎4-lg-wf] [![CI Unsupported][🚎7-us-wfi]][🚎7-us-wf] [![CI Ancient][🚎1-an-wfi]][🚎1-an-wf] [![CI Test Coverage][🚎2-cov-wfi]][🚎2-cov-wf] [![CI Style][🚎5-st-wfi]][🚎5-st-wf]
|
13
13
|
|
14
|
+
If ☝️ `ci_badges.map(&:color).detect { it != "green"}` [let me know][🖼️galtzo-discord], as I may have missed the [discord notification][🖼️galtzo-discord].
|
15
|
+
|
14
16
|
---
|
15
17
|
|
18
|
+
OTOH, if `ci_badges.map(&:color).all? { it == "green"}` 👇️ send money so I can do more of this. FLOSS is now my full-time job.
|
19
|
+
|
16
20
|
[![Liberapay Goal Progress][⛳liberapay-img]][⛳liberapay] [![Sponsor Me on Github][🖇sponsor-img]][🖇sponsor] [![Buy me a coffee][🖇buyme-small-img]][🖇buyme] [![Donate on Polar][🖇polar-img]][🖇polar] [![Donate to my FLOSS or refugee efforts at ko-fi.com][🖇kofi-img]][🖇kofi] [![Donate to my FLOSS or refugee efforts using Patreon][🖇patreon-img]][🖇patreon]
|
17
21
|
|
18
22
|
## 🌻 Synopsis
|
@@ -20,8 +24,9 @@
|
|
20
24
|
[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
25
|
|
22
26
|
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
|
-
|
27
|
+
[Zach Taylor](https://github.com/taylorzr) and
|
28
|
+
[Tim Mertens](https://github.com/tmertens)
|
29
|
+
did a great job with it, and people have been [hoping it would be published](https://github.com/avantoss/timecop-rspec/issues/2).
|
25
30
|
It has a great API, and I was about to build this exact thing myself, so I am glad I found this.
|
26
31
|
I've modernized everything, added more tests and documentation, and released it.
|
27
32
|
Thanks to the long-term stability of both RSpec and Timecop, the original code still works perfectly.
|
@@ -148,7 +153,7 @@ NOTE: Be prepared to track down certs for signed gems and add them the same way
|
|
148
153
|
|
149
154
|
## ⚙️ Configuration
|
150
155
|
|
151
|
-
|
156
|
+
### Regular Time Machine
|
152
157
|
|
153
158
|
```ruby
|
154
159
|
# spec_helper.rb or some configuration file loaded by spec_helper.rb
|
@@ -165,7 +170,7 @@ end
|
|
165
170
|
The regular time machine will run each example at the time specified by the
|
166
171
|
RSpec metadata, or the global travel time.
|
167
172
|
|
168
|
-
|
173
|
+
### Sequential Time Machine
|
169
174
|
|
170
175
|
```ruby
|
171
176
|
# spec_helper.rb or some configuration file loaded by spec_helper.rb
|
@@ -219,7 +224,7 @@ end
|
|
219
224
|
|
220
225
|
## 🔧 Basic Usage
|
221
226
|
|
222
|
-
|
227
|
+
### Local Time Travel
|
223
228
|
|
224
229
|
Timecop.travel/freeze any RSpec (describe|context|example) with
|
225
230
|
`:travel` or `:freeze` metadata.
|
@@ -240,7 +245,7 @@ it "some description", :freeze => Time.new(2014, 11, 15) do
|
|
240
245
|
end
|
241
246
|
```
|
242
247
|
|
243
|
-
|
248
|
+
### Global Time Travel
|
244
249
|
|
245
250
|
Using global time travel will Timecop.travel any example that isn't
|
246
251
|
already time traveling. I.e. example level timecop metadata will take
|
@@ -314,7 +319,8 @@ Made with [contributors-img][🖐contrib-rocks].
|
|
314
319
|
|
315
320
|
Also see GitLab Contributors: [https://gitlab.com/galtzo-floss/timecop-rspec/-/graphs/main][🚎contributors-gl]
|
316
321
|
|
317
|
-
|
322
|
+
<details>
|
323
|
+
<summary>⭐️ Star History</summary>
|
318
324
|
|
319
325
|
<a href="https://star-history.com/#galtzo-floss/timecop-rspec&Date">
|
320
326
|
<picture>
|
@@ -324,6 +330,8 @@ Also see GitLab Contributors: [https://gitlab.com/galtzo-floss/timecop-rspec/-/g
|
|
324
330
|
</picture>
|
325
331
|
</a>
|
326
332
|
|
333
|
+
</details>
|
334
|
+
|
327
335
|
## 📌 Versioning
|
328
336
|
|
329
337
|
This Library adheres to [![Semantic Versioning 2.0.0][📌semver-img]][📌semver].
|
@@ -383,13 +391,30 @@ See [LICENSE.txt][📄license] for the official [Copyright Notice][📄copyright
|
|
383
391
|
<li>Copyright (c) 2014-2017 Zach Taylor & Avant</li>
|
384
392
|
</ul>
|
385
393
|
|
386
|
-
|
394
|
+
## 🤑 A request for help
|
395
|
+
|
396
|
+
Maintainers have teeth, and need to pay their dentists.
|
397
|
+
After getting laid off in an RIF in March, and filled with many dozens of rejections,
|
398
|
+
I'm now spending ~80 hours a week building open source tools.
|
399
|
+
I'm hoping to be able to pay for my kids' health insurance this month,
|
400
|
+
so if you value the work I am doing, please help.
|
401
|
+
I need your support. Please consider sponsoring me.
|
402
|
+
|
403
|
+
[![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]
|
404
|
+
|
405
|
+
To say "thanks for maintaining such a great tool" 👇️ Join the Discord or ☝️ send money.
|
406
|
+
|
407
|
+
To join the community or get help 👇️ Join the Discord.
|
387
408
|
|
388
409
|
[![Live Chat on Discord][✉️discord-invite-img]][✉️discord-invite]
|
389
410
|
|
411
|
+
Thanks for RTFM. ☺️
|
412
|
+
|
390
413
|
[⛳liberapay-img]: https://img.shields.io/liberapay/goal/pboling.svg?logo=liberapay&color=a51611
|
414
|
+
[⛳liberapay-bottom-img]: https://img.shields.io/liberapay/goal/pboling.svg?style=for-the-badge&logo=liberapay&color=a51611
|
391
415
|
[⛳liberapay]: https://liberapay.com/pboling/donate
|
392
416
|
[🖇sponsor-img]: https://img.shields.io/badge/Sponsor_Me!-pboling.svg?style=social&logo=github
|
417
|
+
[🖇sponsor-bottom-img]: https://img.shields.io/badge/Sponsor_Me!-pboling-blue?style=for-the-badge&logo=github
|
393
418
|
[🖇sponsor]: https://github.com/sponsors/pboling
|
394
419
|
[🖇polar-img]: https://img.shields.io/badge/polar-donate-a51611.svg
|
395
420
|
[🖇polar]: https://polar.sh/pboling
|
@@ -401,9 +426,10 @@ P.S. If you need help️ or want to say thanks, 👇 Join the Discord.
|
|
401
426
|
[🖇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
427
|
[🖇buyme]: https://www.buymeacoffee.com/pboling
|
403
428
|
[🖇paypal-img]: https://img.shields.io/badge/donate-paypal-a51611.svg?style=flat&logo=paypal
|
429
|
+
[🖇paypal-bottom-img]: https://img.shields.io/badge/donate-paypal-a51611.svg?style=for-the-badge&logo=paypal&color=0A0A0A
|
404
430
|
[🖇paypal]: https://www.paypal.com/paypalme/peterboling
|
405
431
|
[🖇floss-funding.dev]: https://floss-funding.dev
|
406
|
-
[🖇floss-funding-gem]: https://github.com/galtzo-floss/
|
432
|
+
[🖇floss-funding-gem]: https://github.com/galtzo-floss/floss_funding
|
407
433
|
[✉️discord-invite]: https://discord.gg/3qme4XHNKN
|
408
434
|
[✉️discord-invite-img]: https://img.shields.io/discord/1373797679469170758?style=for-the-badge
|
409
435
|
|
@@ -493,10 +519,10 @@ P.S. If you need help️ or want to say thanks, 👇 Join the Discord.
|
|
493
519
|
[🚎10-j-wfi]: https://github.com/galtzo-floss/timecop-rspec/actions/workflows/jruby.yml/badge.svg
|
494
520
|
[🚎11-c-wf]: https://github.com/galtzo-floss/timecop-rspec/actions/workflows/current.yml
|
495
521
|
[🚎11-c-wfi]: https://github.com/galtzo-floss/timecop-rspec/actions/workflows/current.yml/badge.svg
|
496
|
-
[🚎13-🔒️-wf]: https://github.com/galtzo-floss/timecop-rspec/actions/workflows/
|
497
|
-
[🚎13-🔒️-wfi]: https://github.com/galtzo-floss/timecop-rspec/actions/workflows/
|
498
|
-
[🚎14-🔓️-wf]: https://github.com/galtzo-floss/timecop-rspec/actions/workflows/
|
499
|
-
[🚎14-🔓️-wfi]: https://github.com/galtzo-floss/timecop-rspec/actions/workflows/
|
522
|
+
[🚎13-🔒️-wf]: https://github.com/galtzo-floss/timecop-rspec/actions/workflows/locked_deps.yml
|
523
|
+
[🚎13-🔒️-wfi]: https://github.com/galtzo-floss/timecop-rspec/actions/workflows/locked_deps.yml/badge.svg
|
524
|
+
[🚎14-🔓️-wf]: https://github.com/galtzo-floss/timecop-rspec/actions/workflows/unlocked_deps.yml
|
525
|
+
[🚎14-🔓️-wfi]: https://github.com/galtzo-floss/timecop-rspec/actions/workflows/unlocked_deps.yml/badge.svg
|
500
526
|
[💎ruby-1.9i]: https://img.shields.io/badge/Ruby-1.9_(%F0%9F%9A%ABCI)-AABBCC?style=for-the-badge&logo=ruby&logoColor=white
|
501
527
|
[💎ruby-2.0i]: https://img.shields.io/badge/Ruby-2.0_(%F0%9F%9A%ABCI)-AABBCC?style=for-the-badge&logo=ruby&logoColor=white
|
502
528
|
[💎ruby-2.1i]: https://img.shields.io/badge/Ruby-2.1_(%F0%9F%9A%ABCI)-AABBCC?style=for-the-badge&logo=ruby&logoColor=white
|
@@ -0,0 +1 @@
|
|
1
|
+
aceff50f1ddb2be956ca10fbfb712bb509bf807c224dc1762d75d98a8fb04bd1
|
@@ -0,0 +1 @@
|
|
1
|
+
694e198c04ed9ddfc5afb9cf317068a9a2afcbf9dacf6fe85e848566f48647a15257a214fa37293d9acb027f86c9cea5e613fb727b74af47a93ebed4373867a4
|
@@ -0,0 +1 @@
|
|
1
|
+
fa507475ee132ee016e02ae3ed8a2869bfdca380eb387108dc102eac809b7c2f
|
@@ -0,0 +1 @@
|
|
1
|
+
d73167b913b7729706b30680fdea1f783553592d3c1658b5958531bf7857d1d288ce2d9da249f2be34db7cfe62f24b693037818baf5cca6369479459139f6d7a
|
data.tar.gz.sig
CHANGED
@@ -1 +1,2 @@
|
|
1
|
-
|
1
|
+
z,X����h E�a�4�!�m�V��k��O|$�|Dܱ̏��ix�k��+!إ/��b�*���֛4R#���?���Ze�))��TM�
|
2
|
+
���YJ��,
|
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.3
|
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-20 00:00:00.000000000 Z
|
41
41
|
dependencies:
|
42
42
|
- !ruby/object:Gem::Dependency
|
43
43
|
name: delegate
|
@@ -197,6 +197,40 @@ dependencies:
|
|
197
197
|
- - ">="
|
198
198
|
- !ruby/object:Gem::Version
|
199
199
|
version: 0.9.10
|
200
|
+
- !ruby/object:Gem::Dependency
|
201
|
+
name: erb
|
202
|
+
requirement: !ruby/object:Gem::Requirement
|
203
|
+
requirements:
|
204
|
+
- - ">="
|
205
|
+
- !ruby/object:Gem::Version
|
206
|
+
version: '2.2'
|
207
|
+
type: :development
|
208
|
+
prerelease: false
|
209
|
+
version_requirements: !ruby/object:Gem::Requirement
|
210
|
+
requirements:
|
211
|
+
- - ">="
|
212
|
+
- !ruby/object:Gem::Version
|
213
|
+
version: '2.2'
|
214
|
+
- !ruby/object:Gem::Dependency
|
215
|
+
name: gitmoji-regex
|
216
|
+
requirement: !ruby/object:Gem::Requirement
|
217
|
+
requirements:
|
218
|
+
- - "~>"
|
219
|
+
- !ruby/object:Gem::Version
|
220
|
+
version: '1.0'
|
221
|
+
- - ">="
|
222
|
+
- !ruby/object:Gem::Version
|
223
|
+
version: 1.0.3
|
224
|
+
type: :development
|
225
|
+
prerelease: false
|
226
|
+
version_requirements: !ruby/object:Gem::Requirement
|
227
|
+
requirements:
|
228
|
+
- - "~>"
|
229
|
+
- !ruby/object:Gem::Version
|
230
|
+
version: '1.0'
|
231
|
+
- - ">="
|
232
|
+
- !ruby/object:Gem::Version
|
233
|
+
version: 1.0.3
|
200
234
|
- !ruby/object:Gem::Dependency
|
201
235
|
name: rake
|
202
236
|
requirement: !ruby/object:Gem::Requirement
|
@@ -211,8 +245,10 @@ dependencies:
|
|
211
245
|
- - "~>"
|
212
246
|
- !ruby/object:Gem::Version
|
213
247
|
version: '13.0'
|
214
|
-
description:
|
215
|
-
|
248
|
+
description: "⌚️ Timecop::Rspec provides Timecop time-machines for RSpec that allow
|
249
|
+
youto time-travel test examples, context/describes, and/or your entire test suite.
|
250
|
+
Find out how your code will behave... in the future! Fund overlooked open source
|
251
|
+
projects - bottom of stack, dev/test dependencies: floss-funding.dev"
|
216
252
|
email:
|
217
253
|
- floss@galtzo.com
|
218
254
|
executables: []
|
@@ -231,152 +267,30 @@ extra_rdoc_files:
|
|
231
267
|
- checksums/timecop-rspec-1.0.0.gem.sha512
|
232
268
|
- checksums/timecop-rspec-1.0.1.gem.sha256
|
233
269
|
- checksums/timecop-rspec-1.0.1.gem.sha512
|
270
|
+
- checksums/timecop-rspec-1.0.2.gem.sha256
|
271
|
+
- checksums/timecop-rspec-1.0.2.gem.sha512
|
272
|
+
- checksums/timecop-rspec-1.0.3.gem.sha256
|
273
|
+
- checksums/timecop-rspec-1.0.3.gem.sha512
|
234
274
|
- sig/timecop.rbs
|
235
275
|
- sig/timecop/rspec.rbs
|
236
276
|
files:
|
237
|
-
- ".devcontainer/devcontainer.json"
|
238
|
-
- ".env.local.example"
|
239
|
-
- ".envrc"
|
240
|
-
- ".github/FUNDING.yml"
|
241
|
-
- ".github/dependabot.yml"
|
242
|
-
- ".github/workflows/ancient.yml"
|
243
|
-
- ".github/workflows/auto-assign.yml"
|
244
|
-
- ".github/workflows/codeql-analysis.yml"
|
245
|
-
- ".github/workflows/coverage.yml"
|
246
|
-
- ".github/workflows/current.yml"
|
247
|
-
- ".github/workflows/dependency-review.yml"
|
248
|
-
- ".github/workflows/deps_locked.yml"
|
249
|
-
- ".github/workflows/deps_unlocked.yml"
|
250
|
-
- ".github/workflows/discord-notifier.yml"
|
251
|
-
- ".github/workflows/heads.yml"
|
252
|
-
- ".github/workflows/jruby.yml"
|
253
|
-
- ".github/workflows/legacy.yml"
|
254
|
-
- ".github/workflows/style.yml"
|
255
|
-
- ".github/workflows/supported.yml"
|
256
|
-
- ".github/workflows/truffle.yml"
|
257
|
-
- ".github/workflows/unsupported.yml"
|
258
|
-
- ".gitignore"
|
259
|
-
- ".gitlab-ci.yml"
|
260
|
-
- ".idea/.gitignore"
|
261
|
-
- ".idea/GitLink.xml"
|
262
|
-
- ".idea/misc.xml"
|
263
|
-
- ".idea/modules.xml"
|
264
|
-
- ".idea/timecop-rspec.iml"
|
265
|
-
- ".idea/vcs.xml"
|
266
|
-
- ".junie/TASK_NOTE.md"
|
267
|
-
- ".junie/guidelines.md"
|
268
|
-
- ".qlty/qlty.toml"
|
269
|
-
- ".rspec"
|
270
|
-
- ".rubocop.yml"
|
271
|
-
- ".rubocop_gradual.lock"
|
272
|
-
- ".simplecov"
|
273
|
-
- ".tool-versions"
|
274
|
-
- ".yard_gfm_support.rb"
|
275
|
-
- ".yardopts"
|
276
|
-
- Appraisal.root.gemfile
|
277
|
-
- Appraisals
|
278
277
|
- CHANGELOG.md
|
279
278
|
- CITATION.cff
|
280
|
-
- CNAME
|
281
279
|
- CODE_OF_CONDUCT.md
|
282
280
|
- CONTRIBUTING.md
|
283
|
-
- Gemfile
|
284
|
-
- Gemfile.lock
|
285
281
|
- LICENSE.txt
|
286
282
|
- README.md
|
287
283
|
- REEK
|
288
284
|
- RUBOCOP.md
|
289
|
-
- Rakefile
|
290
285
|
- SECURITY.md
|
291
|
-
- bin/appraisal
|
292
|
-
- bin/bundle-audit
|
293
|
-
- bin/bundler-audit
|
294
|
-
- bin/code_climate_reek
|
295
|
-
- bin/coderay
|
296
|
-
- bin/console
|
297
|
-
- bin/erb
|
298
|
-
- bin/gem_checksums
|
299
|
-
- bin/htmldiff
|
300
|
-
- bin/irb
|
301
|
-
- bin/kramdown
|
302
|
-
- bin/ldiff
|
303
|
-
- bin/nokogiri
|
304
|
-
- bin/pry
|
305
|
-
- bin/racc
|
306
|
-
- bin/rake
|
307
|
-
- bin/rdbg
|
308
|
-
- bin/rdoc
|
309
|
-
- bin/reek
|
310
|
-
- bin/ri
|
311
|
-
- bin/rspec
|
312
|
-
- bin/rubocop
|
313
|
-
- bin/rubocop-gradual
|
314
|
-
- bin/ruby-parse
|
315
|
-
- bin/ruby-rewrite
|
316
|
-
- bin/setup
|
317
|
-
- bin/standardrb
|
318
|
-
- bin/thor
|
319
|
-
- bin/yard
|
320
|
-
- bin/yard-junk
|
321
|
-
- bin/yardoc
|
322
|
-
- bin/yri
|
323
|
-
- certs/pboling.pem
|
324
286
|
- checksums/timecop-rspec-1.0.0.gem.sha256
|
325
287
|
- checksums/timecop-rspec-1.0.0.gem.sha512
|
326
288
|
- checksums/timecop-rspec-1.0.1.gem.sha256
|
327
289
|
- checksums/timecop-rspec-1.0.1.gem.sha512
|
328
|
-
-
|
329
|
-
-
|
330
|
-
-
|
331
|
-
-
|
332
|
-
- docs/Timecop/Rspec/TimeMachine.html
|
333
|
-
- docs/Timecop/Rspec/TravelLog.html
|
334
|
-
- docs/Timecop/Rspec/Traveler.html
|
335
|
-
- docs/Timecop/Rspec/Version.html
|
336
|
-
- docs/_index.html
|
337
|
-
- docs/class_list.html
|
338
|
-
- docs/css/common.css
|
339
|
-
- docs/css/full_list.css
|
340
|
-
- docs/css/style.css
|
341
|
-
- docs/file.CHANGELOG.html
|
342
|
-
- docs/file.CITATION.html
|
343
|
-
- docs/file.CODE_OF_CONDUCT.html
|
344
|
-
- docs/file.CONTRIBUTING.html
|
345
|
-
- docs/file.LICENSE.html
|
346
|
-
- docs/file.README.html
|
347
|
-
- docs/file.REEK.html
|
348
|
-
- docs/file.RUBOCOP.html
|
349
|
-
- docs/file.SECURITY.html
|
350
|
-
- docs/file.rspec.html
|
351
|
-
- docs/file.timecop-rspec-1.0.0.gem.html
|
352
|
-
- docs/file.timecop.html
|
353
|
-
- docs/file_list.html
|
354
|
-
- docs/frames.html
|
355
|
-
- docs/index.html
|
356
|
-
- docs/js/app.js
|
357
|
-
- docs/js/full_list.js
|
358
|
-
- docs/js/jquery.js
|
359
|
-
- docs/method_list.html
|
360
|
-
- docs/top-level-namespace.html
|
361
|
-
- gemfiles/audit.gemfile
|
362
|
-
- gemfiles/coverage.gemfile
|
363
|
-
- gemfiles/current.gemfile
|
364
|
-
- gemfiles/deps_unlocked.gemfile
|
365
|
-
- gemfiles/head.gemfile
|
366
|
-
- gemfiles/modular/audit.gemfile
|
367
|
-
- gemfiles/modular/coverage.gemfile
|
368
|
-
- gemfiles/modular/documentation.gemfile
|
369
|
-
- gemfiles/modular/style.gemfile
|
370
|
-
- gemfiles/ruby_2_3.gemfile
|
371
|
-
- gemfiles/ruby_2_4.gemfile
|
372
|
-
- gemfiles/ruby_2_5.gemfile
|
373
|
-
- gemfiles/ruby_2_6.gemfile
|
374
|
-
- gemfiles/ruby_2_7.gemfile
|
375
|
-
- gemfiles/ruby_3_0.gemfile
|
376
|
-
- gemfiles/ruby_3_1.gemfile
|
377
|
-
- gemfiles/ruby_3_2.gemfile
|
378
|
-
- gemfiles/ruby_3_3.gemfile
|
379
|
-
- gemfiles/style.gemfile
|
290
|
+
- checksums/timecop-rspec-1.0.2.gem.sha256
|
291
|
+
- checksums/timecop-rspec-1.0.2.gem.sha512
|
292
|
+
- checksums/timecop-rspec-1.0.3.gem.sha256
|
293
|
+
- checksums/timecop-rspec-1.0.3.gem.sha512
|
380
294
|
- lib/timecop/rspec.rb
|
381
295
|
- lib/timecop/rspec/example_decorator.rb
|
382
296
|
- lib/timecop/rspec/sequential_time_machine.rb
|
@@ -386,16 +300,15 @@ files:
|
|
386
300
|
- lib/timecop/rspec/version.rb
|
387
301
|
- sig/timecop.rbs
|
388
302
|
- sig/timecop/rspec.rbs
|
389
|
-
- timecop-rspec.gemspec
|
390
303
|
homepage: https://github.com/galtzo-floss/timecop-rspec
|
391
304
|
licenses:
|
392
305
|
- MIT
|
393
306
|
metadata:
|
394
307
|
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.
|
308
|
+
source_code_uri: https://github.com/galtzo-floss/timecop-rspec/tree/v1.0.3
|
309
|
+
changelog_uri: https://github.com/galtzo-floss/timecop-rspec/blob/v1.0.3/CHANGELOG.md
|
397
310
|
bug_tracker_uri: https://github.com/galtzo-floss/timecop-rspec/issues
|
398
|
-
documentation_uri: https://www.rubydoc.info/gems/timecop-rspec/1.0.
|
311
|
+
documentation_uri: https://www.rubydoc.info/gems/timecop-rspec/1.0.3
|
399
312
|
funding_uri: https://github.com/sponsors/pboling
|
400
313
|
wiki_uri: https://github.com/galtzo-floss/timecop-rspec/wiki
|
401
314
|
news_uri: https://www.railsbling.com/tags/timecop-rspec
|
@@ -403,7 +316,7 @@ metadata:
|
|
403
316
|
rubygems_mfa_required: 'true'
|
404
317
|
rdoc_options:
|
405
318
|
- "--title"
|
406
|
-
- timecop-rspec - Timecop time-machines for RSpec
|
319
|
+
- timecop-rspec - ⌚️ Timecop time-machines for RSpec
|
407
320
|
- "--main"
|
408
321
|
- checksums/**/*.sha256
|
409
322
|
- checksums/**/*.sha512
|
@@ -435,5 +348,5 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
435
348
|
requirements: []
|
436
349
|
rubygems_version: 3.7.1
|
437
350
|
specification_version: 4
|
438
|
-
summary: Timecop time-machines for RSpec
|
351
|
+
summary: "⌚️ Timecop time-machines for RSpec"
|
439
352
|
test_files: []
|
metadata.gz.sig
CHANGED
Binary file
|
@@ -1,26 +0,0 @@
|
|
1
|
-
// For format details, see https://aka.ms/devcontainer.json. For config options, see the
|
2
|
-
// README at: https://github.com/devcontainers/templates/tree/main/src/ruby
|
3
|
-
{
|
4
|
-
"name": "Ruby",
|
5
|
-
// Or use a Dockerfile or Docker Compose file. More info: https://containers.dev/guide/dockerfile
|
6
|
-
"image": "mcr.microsoft.com/devcontainers/ruby:1-3-bookworm",
|
7
|
-
|
8
|
-
// Features to add to the dev container. More info: https://containers.dev/features.
|
9
|
-
// "features": {},
|
10
|
-
|
11
|
-
// Use 'forwardPorts' to make a list of ports inside the container available locally.
|
12
|
-
// "forwardPorts": [],
|
13
|
-
|
14
|
-
// Use 'postCreateCommand' to run commands after the container is created.
|
15
|
-
// "postCreateCommand": "ruby --version",
|
16
|
-
|
17
|
-
// Configure tool-specific properties.
|
18
|
-
"customizations" : {
|
19
|
-
"jetbrains" : {
|
20
|
-
"backend" : "RubyMine"
|
21
|
-
}
|
22
|
-
},
|
23
|
-
|
24
|
-
// Uncomment to connect as root instead. More info: https://aka.ms/dev-containers-non-root.
|
25
|
-
// "remoteUser": "root"
|
26
|
-
}
|
data/.env.local.example
DELETED
data/.envrc
DELETED
@@ -1,41 +0,0 @@
|
|
1
|
-
# Run any command in this library's bin/ without the bin/ prefix!
|
2
|
-
PATH_add bin
|
3
|
-
|
4
|
-
# Only add things to this file that should be shared with the team.
|
5
|
-
|
6
|
-
# **dotenv** (See end of file for .env.local integration)
|
7
|
-
# .env would override anything in this file, if enabled.
|
8
|
-
# .env is a DOCKER standard, and if we use it, it would be in deployed, or DOCKER, environments.
|
9
|
-
# Override and customize anything below in your own .env.local
|
10
|
-
# If you are using dotenv and not direnv,
|
11
|
-
# copy the following `export` statements to your own .env file.
|
12
|
-
|
13
|
-
### General Ruby ###
|
14
|
-
# Turn off Ruby Warnings about deprecated code
|
15
|
-
# export RUBYOPT="-W0"
|
16
|
-
|
17
|
-
### External Testing Controls
|
18
|
-
export K_SOUP_COV_DO=true # Means you want code coverage
|
19
|
-
# Available formats are html, xml, rcov, lcov, json, tty
|
20
|
-
export K_SOUP_COV_COMMAND_NAME="Test Coverage"
|
21
|
-
export K_SOUP_COV_FORMATTERS="html,xml,rcov,lcov,json,tty"
|
22
|
-
export K_SOUP_COV_MIN_BRANCH=92 # Means you want to enforce X% branch coverage
|
23
|
-
export K_SOUP_COV_MIN_LINE=100 # Means you want to enforce X% line coverage
|
24
|
-
export K_SOUP_COV_MIN_HARD=true # Means you want the build to fail if the coverage thresholds are not met
|
25
|
-
export K_SOUP_COV_MULTI_FORMATTERS=true
|
26
|
-
export K_SOUP_COV_OPEN_BIN= # Means don't try to open coverage results in browser
|
27
|
-
export MAX_ROWS=1 # Setting for simplecov-console gem for tty output, limits to the worst N rows of bad coverage
|
28
|
-
|
29
|
-
# Internal Debugging Controls
|
30
|
-
export DEBUG=false # do not allow byebug statements (override in .env.local)
|
31
|
-
export FLOSS_FUNDING_DEBUG=false # extra logging to help diagnose issues (override in .env.local)
|
32
|
-
export AUTOGEN_FIXTURE_CLEANUP=false # autogenerated gem fixture cleanup after every RSpec run
|
33
|
-
export FLOSS_CFG_FUNDING_LOGFILE=tmp/log/debug.log
|
34
|
-
|
35
|
-
# .env would override anything in this file, if `dotenv` is uncommented below.
|
36
|
-
# .env is a DOCKER standard, and if we use it, it would be in deployed, or DOCKER, environments,
|
37
|
-
# and that is why we generally want to leave it commented out.
|
38
|
-
# dotenv
|
39
|
-
|
40
|
-
# .env.local will override anything in this file.
|
41
|
-
dotenv_if_exists .env.local
|
data/.github/FUNDING.yml
DELETED
@@ -1,13 +0,0 @@
|
|
1
|
-
# These are supported funding model platforms
|
2
|
-
|
3
|
-
buy_me_a_coffee: pboling
|
4
|
-
community_bridge: # Replace with a single Community Bridge project-name e.g., cloud-foundry
|
5
|
-
github: [pboling] # Replace with up to 4 GitHub Sponsors-enabled usernames e.g., [user1, user2]
|
6
|
-
issuehunt: pboling # Replace with a single IssueHunt username
|
7
|
-
ko_fi: pboling # Replace with a single Ko-fi username
|
8
|
-
liberapay: pboling # Replace with a single Liberapay username
|
9
|
-
open_collective: # Replace with a single Open Collective username
|
10
|
-
patreon: galtzo # Replace with a single Patreon username
|
11
|
-
polar: pboling
|
12
|
-
thanks_dev: u/gh/pboling
|
13
|
-
tidelift: rubygems/timecop-rspec # Replace with a single Tidelift platform-name/package-name e.g., npm/babel
|
data/.github/dependabot.yml
DELETED