timecop-rspec 1.0.2 → 1.0.3

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (142) hide show
  1. checksums.yaml +4 -4
  2. checksums.yaml.gz.sig +0 -0
  3. data/CHANGELOG.md +21 -2
  4. data/README.md +21 -12
  5. data/checksums/timecop-rspec-1.0.3.gem.sha256 +1 -0
  6. data/checksums/timecop-rspec-1.0.3.gem.sha512 +1 -0
  7. data/lib/timecop/rspec/version.rb +1 -1
  8. data.tar.gz.sig +0 -0
  9. metadata +43 -137
  10. metadata.gz.sig +0 -0
  11. data/.devcontainer/devcontainer.json +0 -26
  12. data/.env.local.example +0 -3
  13. data/.envrc +0 -41
  14. data/.github/FUNDING.yml +0 -13
  15. data/.github/dependabot.yml +0 -12
  16. data/.github/workflows/ancient.yml +0 -77
  17. data/.github/workflows/auto-assign.yml +0 -21
  18. data/.github/workflows/codeql-analysis.yml +0 -70
  19. data/.github/workflows/coverage.yml +0 -126
  20. data/.github/workflows/current.yml +0 -85
  21. data/.github/workflows/dependency-review.yml +0 -20
  22. data/.github/workflows/deps_locked.yml +0 -85
  23. data/.github/workflows/deps_unlocked.yml +0 -84
  24. data/.github/workflows/discord-notifier.yml +0 -38
  25. data/.github/workflows/heads.yml +0 -84
  26. data/.github/workflows/jruby.yml +0 -75
  27. data/.github/workflows/legacy.yml +0 -67
  28. data/.github/workflows/style.yml +0 -64
  29. data/.github/workflows/supported.yml +0 -82
  30. data/.github/workflows/truffle.yml +0 -75
  31. data/.github/workflows/unsupported.yml +0 -75
  32. data/.gitignore +0 -45
  33. data/.gitlab-ci.yml +0 -44
  34. data/.idea/.gitignore +0 -8
  35. data/.idea/GitLink.xml +0 -6
  36. data/.idea/misc.xml +0 -4
  37. data/.idea/modules.xml +0 -8
  38. data/.idea/timecop-rspec.iml +0 -122
  39. data/.idea/vcs.xml +0 -6
  40. data/.junie/TASK_NOTE.md +0 -1
  41. data/.junie/guidelines.md +0 -139
  42. data/.qlty/qlty.toml +0 -79
  43. data/.rspec +0 -8
  44. data/.rubocop.yml +0 -15
  45. data/.rubocop_gradual.lock +0 -76
  46. data/.simplecov +0 -11
  47. data/.tool-versions +0 -1
  48. data/.yard_gfm_support.rb +0 -22
  49. data/.yardopts +0 -11
  50. data/Appraisal.root.gemfile +0 -12
  51. data/Appraisals +0 -104
  52. data/CNAME +0 -1
  53. data/Gemfile +0 -38
  54. data/Gemfile.lock +0 -293
  55. data/Rakefile +0 -324
  56. data/bin/appraisal +0 -16
  57. data/bin/bundle-audit +0 -16
  58. data/bin/bundler-audit +0 -16
  59. data/bin/code_climate_reek +0 -16
  60. data/bin/coderay +0 -16
  61. data/bin/console +0 -11
  62. data/bin/erb +0 -16
  63. data/bin/gem_checksums +0 -16
  64. data/bin/htmldiff +0 -16
  65. data/bin/irb +0 -16
  66. data/bin/kramdown +0 -16
  67. data/bin/ldiff +0 -16
  68. data/bin/nokogiri +0 -16
  69. data/bin/pry +0 -16
  70. data/bin/racc +0 -16
  71. data/bin/rake +0 -16
  72. data/bin/rdbg +0 -16
  73. data/bin/rdoc +0 -16
  74. data/bin/reek +0 -16
  75. data/bin/ri +0 -16
  76. data/bin/rspec +0 -16
  77. data/bin/rubocop +0 -16
  78. data/bin/rubocop-gradual +0 -16
  79. data/bin/ruby-parse +0 -16
  80. data/bin/ruby-rewrite +0 -16
  81. data/bin/setup +0 -7
  82. data/bin/standardrb +0 -16
  83. data/bin/thor +0 -16
  84. data/bin/yard +0 -16
  85. data/bin/yard-junk +0 -16
  86. data/bin/yardoc +0 -16
  87. data/bin/yri +0 -16
  88. data/certs/pboling.pem +0 -27
  89. data/docs/Timecop/Rspec/ExampleDecorator.html +0 -626
  90. data/docs/Timecop/Rspec/SequentialTimeMachine.html +0 -338
  91. data/docs/Timecop/Rspec/TimeMachine.html +0 -357
  92. data/docs/Timecop/Rspec/TravelLog.html +0 -440
  93. data/docs/Timecop/Rspec/Traveler.html +0 -353
  94. data/docs/Timecop/Rspec/Version.html +0 -154
  95. data/docs/Timecop/Rspec.html +0 -476
  96. data/docs/Timecop.html +0 -143
  97. data/docs/_index.html +0 -230
  98. data/docs/class_list.html +0 -54
  99. data/docs/css/common.css +0 -1
  100. data/docs/css/full_list.css +0 -58
  101. data/docs/css/style.css +0 -503
  102. data/docs/file.CHANGELOG.html +0 -130
  103. data/docs/file.CITATION.html +0 -92
  104. data/docs/file.CODE_OF_CONDUCT.html +0 -201
  105. data/docs/file.CONTRIBUTING.html +0 -218
  106. data/docs/file.LICENSE.html +0 -70
  107. data/docs/file.README.html +0 -545
  108. data/docs/file.REEK.html +0 -71
  109. data/docs/file.RUBOCOP.html +0 -171
  110. data/docs/file.SECURITY.html +0 -101
  111. data/docs/file.rspec.html +0 -109
  112. data/docs/file.timecop-rspec-1.0.0.gem.html +0 -71
  113. data/docs/file.timecop-rspec-1.0.1.gem.html +0 -71
  114. data/docs/file.timecop.html +0 -72
  115. data/docs/file_list.html +0 -129
  116. data/docs/frames.html +0 -22
  117. data/docs/index.html +0 -545
  118. data/docs/js/app.js +0 -344
  119. data/docs/js/full_list.js +0 -242
  120. data/docs/js/jquery.js +0 -4
  121. data/docs/method_list.html +0 -198
  122. data/docs/top-level-namespace.html +0 -110
  123. data/gemfiles/audit.gemfile +0 -10
  124. data/gemfiles/coverage.gemfile +0 -10
  125. data/gemfiles/current.gemfile +0 -8
  126. data/gemfiles/deps_unlocked.gemfile +0 -13
  127. data/gemfiles/head.gemfile +0 -9
  128. data/gemfiles/modular/audit.gemfile +0 -5
  129. data/gemfiles/modular/coverage.gemfile +0 -6
  130. data/gemfiles/modular/documentation.gemfile +0 -11
  131. data/gemfiles/modular/style.gemfile +0 -14
  132. data/gemfiles/ruby_2_3.gemfile +0 -5
  133. data/gemfiles/ruby_2_4.gemfile +0 -5
  134. data/gemfiles/ruby_2_5.gemfile +0 -5
  135. data/gemfiles/ruby_2_6.gemfile +0 -8
  136. data/gemfiles/ruby_2_7.gemfile +0 -8
  137. data/gemfiles/ruby_3_0.gemfile +0 -8
  138. data/gemfiles/ruby_3_1.gemfile +0 -8
  139. data/gemfiles/ruby_3_2.gemfile +0 -8
  140. data/gemfiles/ruby_3_3.gemfile +0 -8
  141. data/gemfiles/style.gemfile +0 -10
  142. data/timecop-rspec.gemspec +0 -149
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 23eab2a846a68e7884f2bbe6d48175cb5e38db1224bac078e53420b23505a49e
4
- data.tar.gz: 35c2a43311a08750b2724ab5b849919b5a56626bbd88860cf9c790e09cd010cf
3
+ metadata.gz: b3becc950e5bad124836ae3008f7bf75f40219ac1643cb4ef5477d34d98ca9e3
4
+ data.tar.gz: 0eb17dab3ec0eb8424909537868b451e11e693e406f3e45c0fa5afc01681c296
5
5
  SHA512:
6
- metadata.gz: e5336e6a633c933fcaf7e67bbec119e623d578e5e02b04a02b781f8a32ac717a6d450146c8d18b81cb04283561599eda9a39822565dee92915b8921f287986f8
7
- data.tar.gz: bc536d7a76deef5bf8457689af9fffa126e7041493d05d38839ee86337fab9c5676f78af4cbdf627f08e23e84145155598119e349a1a93ca455965d83d9ee9e4
6
+ metadata.gz: 5389cd5919c26674b3a9f7f8fcf260d4a69f80505e8f4d1a159e32e6bc1d9a232ca57b51dee4d5958ac54cc623c9946c8b396d5abfeca61495c4d6e639e5d1ba
7
+ data.tar.gz: 831a364d0d4fb4d3bb48ed01913ab667d0fa8b4f1245388b1026aa9751a27e6d46fa3d2cfc1f86a40810706205e36c916f33044c7c6e469e8d63b1ba3cf374b5
checksums.yaml.gz.sig CHANGED
Binary file
data/CHANGELOG.md CHANGED
@@ -6,12 +6,29 @@ 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
+
15
32
  ## [1.0.2] - 2025-08-18
16
33
  - TAG: [v1.0.2][1.0.2t]
17
34
  - COVERAGE: 100.00% -- 132/132 lines in 7 files
@@ -41,8 +58,10 @@ and this project adheres to [Semantic Versioning v2](https://semver.org/spec/v2.
41
58
  ### Added
42
59
  - Initial release to rubygems (8 years late!)
43
60
 
44
- [Unreleased]: https://gitlab.com/galtzo-floss/timecop-rspec/-/compare/v1.0.2...main
45
- [1.0.2]: https://gitlab.com/galtzo-floss/timecop-rspec/-/compare/v1.0.2...v1.0.2
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
46
65
  [1.0.2t]: https://gitlab.com/galtzo-floss/timecop-rspec/-/tags/v1.0.2
47
66
  [1.0.1]: https://gitlab.com/galtzo-floss/timecop-rspec/-/compare/v1.0.0...v1.0.1
48
67
  [1.0.1t]: https://gitlab.com/galtzo-floss/timecop-rspec/-/tags/v1.0.1
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) did a great job with it,
24
- and people have been [hoping it would be published](https://github.com/avantoss/timecop-rspec/issues/2).
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.
@@ -386,20 +391,24 @@ See [LICENSE.txt][📄license] for the official [Copyright Notice][📄copyright
386
391
  <li>Copyright (c) 2014-2017 Zach Taylor & Avant</li>
387
392
  </ul>
388
393
 
389
- P.S. If you need help️ or want to say thanks, 👇 Join the Discord.
390
-
391
- [![Live Chat on Discord][✉️discord-invite-img]][✉️discord-invite]
394
+ ## 🤑 A request for help
392
395
 
393
- P.P.S. Maintainers have teeth, and need to pay their dentists.
396
+ Maintainers have teeth, and need to pay their dentists.
394
397
  After getting laid off in an RIF in March, and filled with many dozens of rejections,
395
398
  I'm now spending ~80 hours a week building open source tools.
396
399
  I'm hoping to be able to pay for my kids' health insurance this month,
397
400
  so if you value the work I am doing, please help.
398
- I need your support. Consider sponsoring me.
401
+ I need your support. Please consider sponsoring me.
399
402
 
400
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]
401
404
 
402
- Thank you ☺️
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.
408
+
409
+ [![Live Chat on Discord][✉️discord-invite-img]][✉️discord-invite]
410
+
411
+ Thanks for RTFM. ☺️
403
412
 
404
413
  [⛳liberapay-img]: https://img.shields.io/liberapay/goal/pboling.svg?logo=liberapay&color=a51611
405
414
  [⛳liberapay-bottom-img]: https://img.shields.io/liberapay/goal/pboling.svg?style=for-the-badge&logo=liberapay&color=a51611
@@ -510,10 +519,10 @@ Thank you ☺️
510
519
  [🚎10-j-wfi]: https://github.com/galtzo-floss/timecop-rspec/actions/workflows/jruby.yml/badge.svg
511
520
  [🚎11-c-wf]: https://github.com/galtzo-floss/timecop-rspec/actions/workflows/current.yml
512
521
  [🚎11-c-wfi]: https://github.com/galtzo-floss/timecop-rspec/actions/workflows/current.yml/badge.svg
513
- [🚎13-🔒️-wf]: https://github.com/galtzo-floss/timecop-rspec/actions/workflows/deps_locked.yml
514
- [🚎13-🔒️-wfi]: https://github.com/galtzo-floss/timecop-rspec/actions/workflows/deps_locked.yml/badge.svg
515
- [🚎14-🔓️-wf]: https://github.com/galtzo-floss/timecop-rspec/actions/workflows/deps_unlocked.yml
516
- [🚎14-🔓️-wfi]: https://github.com/galtzo-floss/timecop-rspec/actions/workflows/deps_unlocked.yml/badge.svg
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
517
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
518
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
519
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
+ fa507475ee132ee016e02ae3ed8a2869bfdca380eb387108dc102eac809b7c2f
@@ -0,0 +1 @@
1
+ d73167b913b7729706b30680fdea1f783553592d3c1658b5958531bf7857d1d288ce2d9da249f2be34db7cfe62f24b693037818baf5cca6369479459139f6d7a
@@ -4,7 +4,7 @@ class Timecop
4
4
  module Version
5
5
  # The gem version.
6
6
  # @return [String]
7
- VERSION = "1.0.2"
7
+ VERSION = "1.0.3"
8
8
  end
9
9
  # Convenience constant aliasing Version::VERSION
10
10
  # @return [String]
data.tar.gz.sig CHANGED
Binary file
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: timecop-rspec
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.0.2
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-18 00:00:00.000000000 Z
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
@@ -235,155 +269,28 @@ extra_rdoc_files:
235
269
  - checksums/timecop-rspec-1.0.1.gem.sha512
236
270
  - checksums/timecop-rspec-1.0.2.gem.sha256
237
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
238
274
  - sig/timecop.rbs
239
275
  - sig/timecop/rspec.rbs
240
276
  files:
241
- - ".devcontainer/devcontainer.json"
242
- - ".env.local.example"
243
- - ".envrc"
244
- - ".github/FUNDING.yml"
245
- - ".github/dependabot.yml"
246
- - ".github/workflows/ancient.yml"
247
- - ".github/workflows/auto-assign.yml"
248
- - ".github/workflows/codeql-analysis.yml"
249
- - ".github/workflows/coverage.yml"
250
- - ".github/workflows/current.yml"
251
- - ".github/workflows/dependency-review.yml"
252
- - ".github/workflows/deps_locked.yml"
253
- - ".github/workflows/deps_unlocked.yml"
254
- - ".github/workflows/discord-notifier.yml"
255
- - ".github/workflows/heads.yml"
256
- - ".github/workflows/jruby.yml"
257
- - ".github/workflows/legacy.yml"
258
- - ".github/workflows/style.yml"
259
- - ".github/workflows/supported.yml"
260
- - ".github/workflows/truffle.yml"
261
- - ".github/workflows/unsupported.yml"
262
- - ".gitignore"
263
- - ".gitlab-ci.yml"
264
- - ".idea/.gitignore"
265
- - ".idea/GitLink.xml"
266
- - ".idea/misc.xml"
267
- - ".idea/modules.xml"
268
- - ".idea/timecop-rspec.iml"
269
- - ".idea/vcs.xml"
270
- - ".junie/TASK_NOTE.md"
271
- - ".junie/guidelines.md"
272
- - ".qlty/qlty.toml"
273
- - ".rspec"
274
- - ".rubocop.yml"
275
- - ".rubocop_gradual.lock"
276
- - ".simplecov"
277
- - ".tool-versions"
278
- - ".yard_gfm_support.rb"
279
- - ".yardopts"
280
- - Appraisal.root.gemfile
281
- - Appraisals
282
277
  - CHANGELOG.md
283
278
  - CITATION.cff
284
- - CNAME
285
279
  - CODE_OF_CONDUCT.md
286
280
  - CONTRIBUTING.md
287
- - Gemfile
288
- - Gemfile.lock
289
281
  - LICENSE.txt
290
282
  - README.md
291
283
  - REEK
292
284
  - RUBOCOP.md
293
- - Rakefile
294
285
  - SECURITY.md
295
- - bin/appraisal
296
- - bin/bundle-audit
297
- - bin/bundler-audit
298
- - bin/code_climate_reek
299
- - bin/coderay
300
- - bin/console
301
- - bin/erb
302
- - bin/gem_checksums
303
- - bin/htmldiff
304
- - bin/irb
305
- - bin/kramdown
306
- - bin/ldiff
307
- - bin/nokogiri
308
- - bin/pry
309
- - bin/racc
310
- - bin/rake
311
- - bin/rdbg
312
- - bin/rdoc
313
- - bin/reek
314
- - bin/ri
315
- - bin/rspec
316
- - bin/rubocop
317
- - bin/rubocop-gradual
318
- - bin/ruby-parse
319
- - bin/ruby-rewrite
320
- - bin/setup
321
- - bin/standardrb
322
- - bin/thor
323
- - bin/yard
324
- - bin/yard-junk
325
- - bin/yardoc
326
- - bin/yri
327
- - certs/pboling.pem
328
286
  - checksums/timecop-rspec-1.0.0.gem.sha256
329
287
  - checksums/timecop-rspec-1.0.0.gem.sha512
330
288
  - checksums/timecop-rspec-1.0.1.gem.sha256
331
289
  - checksums/timecop-rspec-1.0.1.gem.sha512
332
290
  - checksums/timecop-rspec-1.0.2.gem.sha256
333
291
  - checksums/timecop-rspec-1.0.2.gem.sha512
334
- - docs/Timecop.html
335
- - docs/Timecop/Rspec.html
336
- - docs/Timecop/Rspec/ExampleDecorator.html
337
- - docs/Timecop/Rspec/SequentialTimeMachine.html
338
- - docs/Timecop/Rspec/TimeMachine.html
339
- - docs/Timecop/Rspec/TravelLog.html
340
- - docs/Timecop/Rspec/Traveler.html
341
- - docs/Timecop/Rspec/Version.html
342
- - docs/_index.html
343
- - docs/class_list.html
344
- - docs/css/common.css
345
- - docs/css/full_list.css
346
- - docs/css/style.css
347
- - docs/file.CHANGELOG.html
348
- - docs/file.CITATION.html
349
- - docs/file.CODE_OF_CONDUCT.html
350
- - docs/file.CONTRIBUTING.html
351
- - docs/file.LICENSE.html
352
- - docs/file.README.html
353
- - docs/file.REEK.html
354
- - docs/file.RUBOCOP.html
355
- - docs/file.SECURITY.html
356
- - docs/file.rspec.html
357
- - docs/file.timecop-rspec-1.0.0.gem.html
358
- - docs/file.timecop-rspec-1.0.1.gem.html
359
- - docs/file.timecop.html
360
- - docs/file_list.html
361
- - docs/frames.html
362
- - docs/index.html
363
- - docs/js/app.js
364
- - docs/js/full_list.js
365
- - docs/js/jquery.js
366
- - docs/method_list.html
367
- - docs/top-level-namespace.html
368
- - gemfiles/audit.gemfile
369
- - gemfiles/coverage.gemfile
370
- - gemfiles/current.gemfile
371
- - gemfiles/deps_unlocked.gemfile
372
- - gemfiles/head.gemfile
373
- - gemfiles/modular/audit.gemfile
374
- - gemfiles/modular/coverage.gemfile
375
- - gemfiles/modular/documentation.gemfile
376
- - gemfiles/modular/style.gemfile
377
- - gemfiles/ruby_2_3.gemfile
378
- - gemfiles/ruby_2_4.gemfile
379
- - gemfiles/ruby_2_5.gemfile
380
- - gemfiles/ruby_2_6.gemfile
381
- - gemfiles/ruby_2_7.gemfile
382
- - gemfiles/ruby_3_0.gemfile
383
- - gemfiles/ruby_3_1.gemfile
384
- - gemfiles/ruby_3_2.gemfile
385
- - gemfiles/ruby_3_3.gemfile
386
- - gemfiles/style.gemfile
292
+ - checksums/timecop-rspec-1.0.3.gem.sha256
293
+ - checksums/timecop-rspec-1.0.3.gem.sha512
387
294
  - lib/timecop/rspec.rb
388
295
  - lib/timecop/rspec/example_decorator.rb
389
296
  - lib/timecop/rspec/sequential_time_machine.rb
@@ -393,16 +300,15 @@ files:
393
300
  - lib/timecop/rspec/version.rb
394
301
  - sig/timecop.rbs
395
302
  - sig/timecop/rspec.rbs
396
- - timecop-rspec.gemspec
397
303
  homepage: https://github.com/galtzo-floss/timecop-rspec
398
304
  licenses:
399
305
  - MIT
400
306
  metadata:
401
307
  homepage_uri: https://timecop-rspec.galtzo.com/
402
- source_code_uri: https://github.com/galtzo-floss/timecop-rspec/tree/v1.0.2
403
- changelog_uri: https://github.com/galtzo-floss/timecop-rspec/blob/v1.0.2/CHANGELOG.md
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
404
310
  bug_tracker_uri: https://github.com/galtzo-floss/timecop-rspec/issues
405
- documentation_uri: https://www.rubydoc.info/gems/timecop-rspec/1.0.2
311
+ documentation_uri: https://www.rubydoc.info/gems/timecop-rspec/1.0.3
406
312
  funding_uri: https://github.com/sponsors/pboling
407
313
  wiki_uri: https://github.com/galtzo-floss/timecop-rspec/wiki
408
314
  news_uri: https://www.railsbling.com/tags/timecop-rspec
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
@@ -1,3 +0,0 @@
1
- export DEBUG=false # do not allow byebug statements (override in .env.local)
2
- export FLOSS_FUNDING_DEBUG=false # extra logging to help diagnose issues (override in .env.local)
3
- export AUTOGEN_FIXTURE_CLEANUP=false # autogenerated gem fixture cleanup after every RSpec run
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
@@ -1,12 +0,0 @@
1
- version: 2
2
- updates:
3
- - package-ecosystem: bundler
4
- directory: "/"
5
- schedule:
6
- interval: daily
7
- time: "04:34"
8
- open-pull-requests-limit: 10
9
- - package-ecosystem: "github-actions"
10
- directory: "/"
11
- schedule:
12
- interval: "daily"
@@ -1,77 +0,0 @@
1
- name: MRI 2.3, 2.4, 2.5 (EOL)
2
-
3
- on:
4
- push:
5
- branches:
6
- - 'main'
7
- tags:
8
- - '!*' # Do not execute on tags
9
- pull_request:
10
- branches:
11
- - '*'
12
- # Allow manually triggering the workflow.
13
- workflow_dispatch:
14
-
15
- # Cancels all previous workflow runs for the same branch that have not yet completed.
16
- concurrency:
17
- # The concurrency group contains the workflow name and the branch name.
18
- group: "${{ github.workflow }}-${{ github.ref }}"
19
- cancel-in-progress: true
20
-
21
- jobs:
22
- test:
23
- name: Specs ${{ matrix.ruby }} ${{ matrix.appraisal }}${{ matrix.name_extra || '' }}
24
- if: "!contains(github.event.commits[0].message, '[ci skip]') && !contains(github.event.commits[0].message, '[skip ci]')"
25
- runs-on: ubuntu-22.04
26
- continue-on-error: ${{ matrix.experimental || endsWith(matrix.ruby, 'head') }}
27
- env: # $BUNDLE_GEMFILE must be set at job level, so it is set for all steps
28
- BUNDLE_GEMFILE: ${{ github.workspace }}/${{ matrix.gemfile }}.gemfile
29
- strategy:
30
- fail-fast: false
31
- matrix:
32
- include:
33
- # Ruby 2.3
34
- - ruby: "ruby-2.3"
35
- appraisal: "ruby-2-3"
36
- exec_cmd: "rake test"
37
- gemfile: "Appraisal.root"
38
- rubygems: "3.3.27"
39
- bundler: "2.3.27"
40
-
41
- # Ruby 2.4
42
- - ruby: "ruby-2.4"
43
- appraisal: "ruby-2-4"
44
- exec_cmd: "rake test"
45
- gemfile: "Appraisal.root"
46
- rubygems: "3.3.27"
47
- bundler: "2.3.27"
48
-
49
- # Ruby 2.5
50
- - ruby: "ruby-2.5"
51
- appraisal: "ruby-2-5"
52
- exec_cmd: "rake test"
53
- gemfile: "Appraisal.root"
54
- rubygems: "3.3.27"
55
- bundler: "2.3.27"
56
-
57
- steps:
58
- - name: Checkout
59
- uses: actions/checkout@v5
60
-
61
- - name: Setup Ruby & RubyGems
62
- uses: ruby/setup-ruby@v1
63
- with:
64
- ruby-version: ${{ matrix.ruby }}
65
- rubygems: ${{ matrix.rubygems }}
66
- bundler: ${{ matrix.bundler }}
67
- bundler-cache: false
68
-
69
- # Raw `bundle` will use the BUNDLE_GEMFILE set to matrix.gemfile (i.e. Appraisal.root)
70
- # We need to do this first to get appraisal installed.
71
- # NOTE: This does not use the main Gemfile at all.
72
- - name: Install Root Appraisal
73
- run: bundle
74
- - name: Appraisal for ${{ matrix.appraisal }}
75
- run: bundle exec appraisal ${{ matrix.appraisal }} bundle
76
- - name: Tests for ${{ matrix.ruby }} via ${{ matrix.exec_cmd }}
77
- run: bundle exec appraisal ${{ matrix.appraisal }} bundle exec ${{ matrix.exec_cmd }}
@@ -1,21 +0,0 @@
1
- name: Auto Assign
2
- on:
3
- issues:
4
- types: [opened]
5
- pull_request:
6
- types: [opened]
7
- jobs:
8
- run:
9
- runs-on: ubuntu-latest
10
- permissions:
11
- issues: write
12
- pull-requests: write
13
- steps:
14
- - name: 'Auto-assign issue'
15
- uses: pozil/auto-assign-issue@v2
16
- with:
17
- repo-token: ${{ secrets.GITHUB_TOKEN }}
18
- assignees: pboling
19
- abortIfPreviousAssignees: true
20
- allowSelfAssign: true
21
- numOfAssignee: 1
@@ -1,70 +0,0 @@
1
- # For most projects, this workflow file will not need changing; you simply need
2
- # to commit it to your repository.
3
- #
4
- # You may wish to alter this file to override the set of languages analyzed,
5
- # or to provide custom queries or build logic.
6
- #
7
- # ******** NOTE ********
8
- # We have attempted to detect the languages in your repository. Please check
9
- # the `language` matrix defined below to confirm you have the correct set of
10
- # supported CodeQL languages.
11
- #
12
- name: "CodeQL"
13
-
14
- on:
15
- push:
16
- branches: [ main, "*-stable" ]
17
- pull_request:
18
- # The branches below must be a subset of the branches above
19
- branches: [ main, "*-stable" ]
20
- schedule:
21
- - cron: '35 1 * * 5'
22
-
23
- jobs:
24
- analyze:
25
- name: Analyze
26
- runs-on: ubuntu-latest
27
- permissions:
28
- actions: read
29
- contents: read
30
- security-events: write
31
-
32
- strategy:
33
- fail-fast: false
34
- matrix:
35
- language: [ 'ruby' ]
36
- # CodeQL supports [ 'cpp', 'csharp', 'go', 'java', 'javascript', 'python', 'ruby' ]
37
- # Learn more about CodeQL language support at https://git.io/codeql-language-support
38
-
39
- steps:
40
- - name: Checkout repository
41
- uses: actions/checkout@v5
42
-
43
- # Initializes the CodeQL tools for scanning.
44
- - name: Initialize CodeQL
45
- uses: github/codeql-action/init@v3
46
- with:
47
- languages: ${{ matrix.language }}
48
- # If you wish to specify custom queries, you can do so here or in a config file.
49
- # By default, queries listed here will override any specified in a config file.
50
- # Prefix the list here with "+" to use these queries and those in the config file.
51
- # queries: ./path/to/local/query, your-org/your-repo/queries@main
52
-
53
- # Autobuild attempts to build any compiled languages (C/C++, C#, or Java).
54
- # If this step fails, then you should remove it and run the build manually (see below)
55
- - name: Autobuild
56
- uses: github/codeql-action/autobuild@v3
57
-
58
- # ℹ️ Command-line programs to run using the OS shell.
59
- # 📚 https://git.io/JvXDl
60
-
61
- # ✏️ If the Autobuild fails above, remove it and uncomment the following three lines
62
- # and modify them (or add more) to build your code if your project
63
- # uses a compiled language
64
-
65
- #- run: |
66
- # make bootstrap
67
- # make release
68
-
69
- - name: Perform CodeQL Analysis
70
- uses: github/codeql-action/analyze@v3