timecop-rspec 1.0.0

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 (155) hide show
  1. checksums.yaml +7 -0
  2. checksums.yaml.gz.sig +0 -0
  3. data/.devcontainer/devcontainer.json +26 -0
  4. data/.env.local.example +3 -0
  5. data/.envrc +41 -0
  6. data/.github/FUNDING.yml +13 -0
  7. data/.github/dependabot.yml +12 -0
  8. data/.github/workflows/ancient.yml +77 -0
  9. data/.github/workflows/auto-assign.yml +21 -0
  10. data/.github/workflows/codeql-analysis.yml +70 -0
  11. data/.github/workflows/coverage.yml +126 -0
  12. data/.github/workflows/current.yml +85 -0
  13. data/.github/workflows/dependency-review.yml +20 -0
  14. data/.github/workflows/deps_locked.yml +75 -0
  15. data/.github/workflows/deps_unlocked.yml +84 -0
  16. data/.github/workflows/discord-notifier.yml +38 -0
  17. data/.github/workflows/heads.yml +84 -0
  18. data/.github/workflows/jruby.yml +75 -0
  19. data/.github/workflows/legacy.yml +67 -0
  20. data/.github/workflows/style.yml +64 -0
  21. data/.github/workflows/supported.yml +82 -0
  22. data/.github/workflows/truffle.yml +75 -0
  23. data/.github/workflows/unsupported.yml +75 -0
  24. data/.gitignore +45 -0
  25. data/.gitlab-ci.yml +44 -0
  26. data/.idea/.gitignore +8 -0
  27. data/.idea/GitLink.xml +6 -0
  28. data/.idea/misc.xml +4 -0
  29. data/.idea/modules.xml +8 -0
  30. data/.idea/timecop-rspec.iml +120 -0
  31. data/.idea/vcs.xml +6 -0
  32. data/.junie/TASK_NOTE.md +1 -0
  33. data/.junie/guidelines.md +139 -0
  34. data/.qlty/qlty.toml +79 -0
  35. data/.rspec +8 -0
  36. data/.rubocop.yml +15 -0
  37. data/.rubocop_gradual.lock +76 -0
  38. data/.simplecov +11 -0
  39. data/.tool-versions +1 -0
  40. data/.yard_gfm_support.rb +22 -0
  41. data/.yardopts +11 -0
  42. data/Appraisal.root.gemfile +12 -0
  43. data/Appraisals +104 -0
  44. data/CHANGELOG.md +27 -0
  45. data/CITATION.cff +20 -0
  46. data/CNAME +1 -0
  47. data/CODE_OF_CONDUCT.md +134 -0
  48. data/CONTRIBUTING.md +145 -0
  49. data/Gemfile +38 -0
  50. data/Gemfile.lock +315 -0
  51. data/LICENSE.txt +22 -0
  52. data/README.md +563 -0
  53. data/REEK +0 -0
  54. data/RUBOCOP.md +71 -0
  55. data/Rakefile +287 -0
  56. data/SECURITY.md +21 -0
  57. data/bin/appraisal +16 -0
  58. data/bin/bundle-audit +16 -0
  59. data/bin/bundler-audit +16 -0
  60. data/bin/code_climate_reek +16 -0
  61. data/bin/coderay +16 -0
  62. data/bin/console +38 -0
  63. data/bin/erb +16 -0
  64. data/bin/gem_checksums +16 -0
  65. data/bin/htmldiff +16 -0
  66. data/bin/irb +16 -0
  67. data/bin/kramdown +16 -0
  68. data/bin/ldiff +16 -0
  69. data/bin/nokogiri +16 -0
  70. data/bin/pry +16 -0
  71. data/bin/racc +16 -0
  72. data/bin/rake +16 -0
  73. data/bin/rdbg +16 -0
  74. data/bin/rdoc +16 -0
  75. data/bin/reek +16 -0
  76. data/bin/ri +16 -0
  77. data/bin/rspec +16 -0
  78. data/bin/rubocop +16 -0
  79. data/bin/rubocop-gradual +16 -0
  80. data/bin/ruby-parse +16 -0
  81. data/bin/ruby-rewrite +16 -0
  82. data/bin/setup +33 -0
  83. data/bin/standardrb +16 -0
  84. data/bin/thor +16 -0
  85. data/bin/yard +16 -0
  86. data/bin/yard-junk +16 -0
  87. data/bin/yardoc +16 -0
  88. data/bin/yri +16 -0
  89. data/certs/pboling.pem +27 -0
  90. data/checksums/timecop-rspec-1.0.0.gem.sha256 +1 -0
  91. data/checksums/timecop-rspec-1.0.0.gem.sha512 +1 -0
  92. data/docs/Timecop/Rspec/ExampleDecorator.html +626 -0
  93. data/docs/Timecop/Rspec/SequentialTimeMachine.html +338 -0
  94. data/docs/Timecop/Rspec/TimeMachine.html +357 -0
  95. data/docs/Timecop/Rspec/TravelLog.html +440 -0
  96. data/docs/Timecop/Rspec/Traveler.html +353 -0
  97. data/docs/Timecop/Rspec/Version.html +154 -0
  98. data/docs/Timecop/Rspec.html +474 -0
  99. data/docs/Timecop.html +149 -0
  100. data/docs/_index.html +218 -0
  101. data/docs/class_list.html +54 -0
  102. data/docs/css/common.css +1 -0
  103. data/docs/css/full_list.css +58 -0
  104. data/docs/css/style.css +503 -0
  105. data/docs/file.CHANGELOG.html +99 -0
  106. data/docs/file.CITATION.html +92 -0
  107. data/docs/file.CODE_OF_CONDUCT.html +201 -0
  108. data/docs/file.CONTRIBUTING.html +220 -0
  109. data/docs/file.LICENSE.html +70 -0
  110. data/docs/file.README.html +523 -0
  111. data/docs/file.REEK.html +71 -0
  112. data/docs/file.RUBOCOP.html +171 -0
  113. data/docs/file.SECURITY.html +101 -0
  114. data/docs/file.rspec.html +109 -0
  115. data/docs/file.timecop.html +72 -0
  116. data/docs/file_list.html +109 -0
  117. data/docs/frames.html +22 -0
  118. data/docs/index.html +523 -0
  119. data/docs/js/app.js +344 -0
  120. data/docs/js/full_list.js +242 -0
  121. data/docs/js/jquery.js +4 -0
  122. data/docs/method_list.html +198 -0
  123. data/docs/top-level-namespace.html +110 -0
  124. data/gemfiles/audit.gemfile +10 -0
  125. data/gemfiles/coverage.gemfile +10 -0
  126. data/gemfiles/current.gemfile +8 -0
  127. data/gemfiles/deps_unlocked.gemfile +13 -0
  128. data/gemfiles/head.gemfile +9 -0
  129. data/gemfiles/modular/audit.gemfile +5 -0
  130. data/gemfiles/modular/coverage.gemfile +6 -0
  131. data/gemfiles/modular/documentation.gemfile +11 -0
  132. data/gemfiles/modular/style.gemfile +14 -0
  133. data/gemfiles/ruby_2_3.gemfile +5 -0
  134. data/gemfiles/ruby_2_4.gemfile +5 -0
  135. data/gemfiles/ruby_2_5.gemfile +5 -0
  136. data/gemfiles/ruby_2_6.gemfile +8 -0
  137. data/gemfiles/ruby_2_7.gemfile +8 -0
  138. data/gemfiles/ruby_3_0.gemfile +8 -0
  139. data/gemfiles/ruby_3_1.gemfile +8 -0
  140. data/gemfiles/ruby_3_2.gemfile +8 -0
  141. data/gemfiles/ruby_3_3.gemfile +8 -0
  142. data/gemfiles/style.gemfile +10 -0
  143. data/lib/timecop/rspec/example_decorator.rb +100 -0
  144. data/lib/timecop/rspec/sequential_time_machine.rb +80 -0
  145. data/lib/timecop/rspec/time_machine.rb +58 -0
  146. data/lib/timecop/rspec/travel_log.rb +103 -0
  147. data/lib/timecop/rspec/traveler.rb +68 -0
  148. data/lib/timecop/rspec/version.rb +37 -0
  149. data/lib/timecop/rspec.rb +78 -0
  150. data/sig/timecop/rspec.rbs +40 -0
  151. data/sig/timecop.rbs +2 -0
  152. data/timecop-rspec.gemspec +146 -0
  153. data.tar.gz.sig +2 -0
  154. metadata +434 -0
  155. metadata.gz.sig +0 -0
data/bin/rspec ADDED
@@ -0,0 +1,16 @@
1
+ #!/usr/bin/env ruby
2
+ # frozen_string_literal: true
3
+
4
+ #
5
+ # This file was generated by Bundler.
6
+ #
7
+ # The application 'rspec' is installed as part of a gem, and
8
+ # this file is here to facilitate running it.
9
+ #
10
+
11
+ ENV["BUNDLE_GEMFILE"] ||= File.expand_path("../Gemfile", __dir__)
12
+
13
+ require "rubygems"
14
+ require "bundler/setup"
15
+
16
+ load Gem.bin_path("rspec-core", "rspec")
data/bin/rubocop ADDED
@@ -0,0 +1,16 @@
1
+ #!/usr/bin/env ruby
2
+ # frozen_string_literal: true
3
+
4
+ #
5
+ # This file was generated by Bundler.
6
+ #
7
+ # The application 'rubocop' is installed as part of a gem, and
8
+ # this file is here to facilitate running it.
9
+ #
10
+
11
+ ENV["BUNDLE_GEMFILE"] ||= File.expand_path("../Gemfile", __dir__)
12
+
13
+ require "rubygems"
14
+ require "bundler/setup"
15
+
16
+ load Gem.bin_path("rubocop", "rubocop")
@@ -0,0 +1,16 @@
1
+ #!/usr/bin/env ruby
2
+ # frozen_string_literal: true
3
+
4
+ #
5
+ # This file was generated by Bundler.
6
+ #
7
+ # The application 'rubocop-gradual' is installed as part of a gem, and
8
+ # this file is here to facilitate running it.
9
+ #
10
+
11
+ ENV["BUNDLE_GEMFILE"] ||= File.expand_path("../Gemfile", __dir__)
12
+
13
+ require "rubygems"
14
+ require "bundler/setup"
15
+
16
+ load Gem.bin_path("rubocop-gradual", "rubocop-gradual")
data/bin/ruby-parse ADDED
@@ -0,0 +1,16 @@
1
+ #!/usr/bin/env ruby
2
+ # frozen_string_literal: true
3
+
4
+ #
5
+ # This file was generated by Bundler.
6
+ #
7
+ # The application 'ruby-parse' is installed as part of a gem, and
8
+ # this file is here to facilitate running it.
9
+ #
10
+
11
+ ENV["BUNDLE_GEMFILE"] ||= File.expand_path("../Gemfile", __dir__)
12
+
13
+ require "rubygems"
14
+ require "bundler/setup"
15
+
16
+ load Gem.bin_path("parser", "ruby-parse")
data/bin/ruby-rewrite ADDED
@@ -0,0 +1,16 @@
1
+ #!/usr/bin/env ruby
2
+ # frozen_string_literal: true
3
+
4
+ #
5
+ # This file was generated by Bundler.
6
+ #
7
+ # The application 'ruby-rewrite' is installed as part of a gem, and
8
+ # this file is here to facilitate running it.
9
+ #
10
+
11
+ ENV["BUNDLE_GEMFILE"] ||= File.expand_path("../Gemfile", __dir__)
12
+
13
+ require "rubygems"
14
+ require "bundler/setup"
15
+
16
+ load Gem.bin_path("parser", "ruby-rewrite")
data/bin/setup ADDED
@@ -0,0 +1,33 @@
1
+ #!/usr/bin/env bash
2
+
3
+ # The MIT License (MIT)
4
+
5
+ # Copyright (c) 2014-2017 Avant
6
+
7
+ # Author Zach Taylor
8
+
9
+ # Permission is hereby granted, free of charge, to any person obtaining a copy
10
+ # of this software and associated documentation files (the "Software"), to deal
11
+ # in the Software without restriction, including without limitation the rights
12
+ # to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
13
+ # copies of the Software, and to permit persons to whom the Software is
14
+ # furnished to do so, subject to the following conditions:
15
+
16
+ # The above copyright notice and this permission notice shall be included in
17
+ # all copies or substantial portions of the Software.
18
+
19
+ # THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
20
+ # IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
21
+ # FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
22
+ # AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
23
+ # LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
24
+ # OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
25
+ # THE SOFTWARE.
26
+
27
+ set -euo pipefail
28
+ IFS=$'\n\t'
29
+ set -vx
30
+
31
+ bundle install
32
+
33
+ # Do any other automated setup that you need to do here
data/bin/standardrb ADDED
@@ -0,0 +1,16 @@
1
+ #!/usr/bin/env ruby
2
+ # frozen_string_literal: true
3
+
4
+ #
5
+ # This file was generated by Bundler.
6
+ #
7
+ # The application 'standardrb' is installed as part of a gem, and
8
+ # this file is here to facilitate running it.
9
+ #
10
+
11
+ ENV["BUNDLE_GEMFILE"] ||= File.expand_path("../Gemfile", __dir__)
12
+
13
+ require "rubygems"
14
+ require "bundler/setup"
15
+
16
+ load Gem.bin_path("standard", "standardrb")
data/bin/thor ADDED
@@ -0,0 +1,16 @@
1
+ #!/usr/bin/env ruby
2
+ # frozen_string_literal: true
3
+
4
+ #
5
+ # This file was generated by Bundler.
6
+ #
7
+ # The application 'thor' is installed as part of a gem, and
8
+ # this file is here to facilitate running it.
9
+ #
10
+
11
+ ENV["BUNDLE_GEMFILE"] ||= File.expand_path("../Gemfile", __dir__)
12
+
13
+ require "rubygems"
14
+ require "bundler/setup"
15
+
16
+ load Gem.bin_path("thor", "thor")
data/bin/yard ADDED
@@ -0,0 +1,16 @@
1
+ #!/usr/bin/env ruby
2
+ # frozen_string_literal: true
3
+
4
+ #
5
+ # This file was generated by Bundler.
6
+ #
7
+ # The application 'yard' is installed as part of a gem, and
8
+ # this file is here to facilitate running it.
9
+ #
10
+
11
+ ENV["BUNDLE_GEMFILE"] ||= File.expand_path("../Gemfile", __dir__)
12
+
13
+ require "rubygems"
14
+ require "bundler/setup"
15
+
16
+ load Gem.bin_path("yard", "yard")
data/bin/yard-junk ADDED
@@ -0,0 +1,16 @@
1
+ #!/usr/bin/env ruby
2
+ # frozen_string_literal: true
3
+
4
+ #
5
+ # This file was generated by Bundler.
6
+ #
7
+ # The application 'yard-junk' is installed as part of a gem, and
8
+ # this file is here to facilitate running it.
9
+ #
10
+
11
+ ENV["BUNDLE_GEMFILE"] ||= File.expand_path("../Gemfile", __dir__)
12
+
13
+ require "rubygems"
14
+ require "bundler/setup"
15
+
16
+ load Gem.bin_path("yard-junk", "yard-junk")
data/bin/yardoc ADDED
@@ -0,0 +1,16 @@
1
+ #!/usr/bin/env ruby
2
+ # frozen_string_literal: true
3
+
4
+ #
5
+ # This file was generated by Bundler.
6
+ #
7
+ # The application 'yardoc' is installed as part of a gem, and
8
+ # this file is here to facilitate running it.
9
+ #
10
+
11
+ ENV["BUNDLE_GEMFILE"] ||= File.expand_path("../Gemfile", __dir__)
12
+
13
+ require "rubygems"
14
+ require "bundler/setup"
15
+
16
+ load Gem.bin_path("yard", "yardoc")
data/bin/yri ADDED
@@ -0,0 +1,16 @@
1
+ #!/usr/bin/env ruby
2
+ # frozen_string_literal: true
3
+
4
+ #
5
+ # This file was generated by Bundler.
6
+ #
7
+ # The application 'yri' is installed as part of a gem, and
8
+ # this file is here to facilitate running it.
9
+ #
10
+
11
+ ENV["BUNDLE_GEMFILE"] ||= File.expand_path("../Gemfile", __dir__)
12
+
13
+ require "rubygems"
14
+ require "bundler/setup"
15
+
16
+ load Gem.bin_path("yard", "yri")
data/certs/pboling.pem ADDED
@@ -0,0 +1,27 @@
1
+ -----BEGIN CERTIFICATE-----
2
+ MIIEgDCCAuigAwIBAgIBATANBgkq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hvcNAQELBQAD
18
+ ggGBAJbnUwfJQFPkBgH9cL7hoBfRtmWiCvdqdjeTmi04u8zVNCUox0A4gT982DE9
19
+ wmuN12LpdajxZONqbXuzZvc+nb0StFwmFYZG6iDwaf4BPywm2e/Vmq0YG45vZXGR
20
+ L8yMDSK1cQXjmA+ZBKOHKWavxP6Vp7lWvjAhz8RFwqF9GuNIdhv9NpnCAWcMZtpm
21
+ GUPyIWw/Cw/2wZp74QzZj6Npx+LdXoLTF1HMSJXZ7/pkxLCsB8m4EFVdb/IrW/0k
22
+ kNSfjtAfBHO8nLGuqQZVH9IBD1i9K6aSs7pT6TW8itXUIlkIUI2tg5YzW6OFfPzq
23
+ QekSkX3lZfY+HTSp/o+YvKkqWLUV7PQ7xh1ZYDtocpaHwgxe/j3bBqHE+CUPH2vA
24
+ 0V/FwdTRWcwsjVoOJTrYcff8pBZ8r2MvtAc54xfnnhGFzeRHfcltobgFxkAXdE6p
25
+ DVjBtqT23eugOqQ73umLcYDZkc36vnqGxUBSsXrzY9pzV5gGr2I8YUxMqf6ATrZt
26
+ L9nRqA==
27
+ -----END CERTIFICATE-----
@@ -0,0 +1 @@
1
+ e0f4468bf181d7a17c03851788bc70622532a8213e995648f644e5ba45770ab7
@@ -0,0 +1 @@
1
+ 33eb0a04d6ea0cffb26108d404e70e04ee2e53d7f5e62b9c5b0c83c75f91ff06fc507e2e086bd190d8e978e61a95034aa014fa7c03c9d60019d885226a6a0372