timecop-rspec 1.0.0 → 1.0.1

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 (46) hide show
  1. checksums.yaml +4 -4
  2. checksums.yaml.gz.sig +0 -0
  3. data/.idea/timecop-rspec.iml +11 -9
  4. data/.rubocop_gradual.lock +57 -57
  5. data/CHANGELOG.md +12 -4
  6. data/Gemfile.lock +3 -25
  7. data/README.md +10 -4
  8. data/bin/console +0 -26
  9. data/bin/setup +0 -26
  10. data/checksums/timecop-rspec-1.0.1.gem.sha256 +1 -0
  11. data/checksums/timecop-rspec-1.0.1.gem.sha512 +1 -0
  12. data/docs/Timecop/Rspec/ExampleDecorator.html +26 -26
  13. data/docs/Timecop/Rspec/SequentialTimeMachine.html +11 -11
  14. data/docs/Timecop/Rspec/TimeMachine.html +18 -18
  15. data/docs/Timecop/Rspec/TravelLog.html +18 -18
  16. data/docs/Timecop/Rspec/Traveler.html +25 -25
  17. data/docs/Timecop/Rspec/Version.html +2 -2
  18. data/docs/Timecop/Rspec.html +20 -18
  19. data/docs/Timecop.html +2 -8
  20. data/docs/_index.html +7 -1
  21. data/docs/file.CHANGELOG.html +16 -5
  22. data/docs/file.CITATION.html +1 -1
  23. data/docs/file.CODE_OF_CONDUCT.html +1 -1
  24. data/docs/file.CONTRIBUTING.html +1 -1
  25. data/docs/file.LICENSE.html +1 -1
  26. data/docs/file.README.html +12 -4
  27. data/docs/file.REEK.html +1 -1
  28. data/docs/file.RUBOCOP.html +1 -1
  29. data/docs/file.SECURITY.html +1 -1
  30. data/docs/file.rspec.html +1 -1
  31. data/docs/file.timecop-rspec-1.0.0.gem.html +71 -0
  32. data/docs/file.timecop.html +1 -1
  33. data/docs/file_list.html +10 -0
  34. data/docs/index.html +12 -4
  35. data/docs/top-level-namespace.html +1 -1
  36. data/lib/timecop/rspec/example_decorator.rb +3 -24
  37. data/lib/timecop/rspec/sequential_time_machine.rb +0 -24
  38. data/lib/timecop/rspec/time_machine.rb +0 -24
  39. data/lib/timecop/rspec/travel_log.rb +6 -28
  40. data/lib/timecop/rspec/traveler.rb +0 -24
  41. data/lib/timecop/rspec/version.rb +1 -25
  42. data/lib/timecop/rspec.rb +2 -26
  43. data/timecop-rspec.gemspec +1 -1
  44. data.tar.gz.sig +1 -2
  45. metadata +14 -9
  46. metadata.gz.sig +0 -0
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: b0b99b69676557af87435fb8012c3feb93de4352513ff78599b70827258d2578
4
- data.tar.gz: 5bd14a0372b799d03e5abb3036bb8e640b8c7fde4b18799916eea7c448ef940c
3
+ metadata.gz: 6943c0bdcf2249361f50c1ba5b3bd7141d9db35353e88dd86d550aeb54d59cb0
4
+ data.tar.gz: 4dfd60830e3cde82e11f14595c155d4c4a8c0d84fa824263dde62aa2ca255ddc
5
5
  SHA512:
6
- metadata.gz: fcfd7f24ad4936b9fa66c7d872a3a9aab716047f7b6b645a9459ee1c29ea2078173bfb6569e77107f084a76441765bb2b2c881c0edbe45fb0002c715373015a5
7
- data.tar.gz: 7c7cb35639fb218509c069eadcf073fc3730295d6009f996b0808a3afaea905957f356150655288cd753af46c87cee4513529ff735939d99a36138f22df8c8cd
6
+ metadata.gz: 0553db4c4b5d3e5a6b94f9c99215a536273f38a0c7b57fbf241ffe9f7567713a7ad24170c56d4a17bce4075766e2cdc41f5d2fbc0394f4ad2d13fe28b5b18eae
7
+ data.tar.gz: 499a0aa26e357ffb43d55c430d8174c2e28e22ebeaeae1f0cd831d7b01c8e10b0ff54c84c188e3baae9174fd732e0025ecf43eba28b7d62076fbded1644c4a94
checksums.yaml.gz.sig CHANGED
Binary file
@@ -8,28 +8,35 @@
8
8
  <sourceFolder url="file://$MODULE_DIR$/features" isTestSource="true" />
9
9
  <sourceFolder url="file://$MODULE_DIR$/spec" isTestSource="true" />
10
10
  <sourceFolder url="file://$MODULE_DIR$/test" isTestSource="true" />
11
+ <excludeFolder url="file://$MODULE_DIR$/.qlty" />
12
+ <excludeFolder url="file://$MODULE_DIR$/.yardoc" />
13
+ <excludeFolder url="file://$MODULE_DIR$/bin" />
14
+ <excludeFolder url="file://$MODULE_DIR$/certs" />
15
+ <excludeFolder url="file://$MODULE_DIR$/checksums" />
16
+ <excludeFolder url="file://$MODULE_DIR$/coverage" />
17
+ <excludeFolder url="file://$MODULE_DIR$/docs" />
18
+ <excludeFolder url="file://$MODULE_DIR$/gemfiles" />
19
+ <excludeFolder url="file://$MODULE_DIR$/pkg" />
20
+ <excludeFolder url="file://$MODULE_DIR$/results" />
11
21
  </content>
12
22
  <orderEntry type="jdk" jdkName="mise: 3.4.5" jdkType="RUBY_SDK" />
13
23
  <orderEntry type="sourceFolder" forTests="false" />
14
- <orderEntry type="library" scope="PROVIDED" name="activesupport (v8.0.2.1, mise: 3.4.5) [gem]" level="application" />
15
24
  <orderEntry type="library" scope="PROVIDED" name="ansi (v1.5.0, mise: 3.4.5) [gem]" level="application" />
16
25
  <orderEntry type="library" scope="PROVIDED" name="appraisal2 (v3.0.0, mise: 3.4.5) [gem]" level="application" />
17
26
  <orderEntry type="library" scope="PROVIDED" name="ast (v2.4.3, mise: 3.4.5) [gem]" level="application" />
18
27
  <orderEntry type="library" scope="PROVIDED" name="backports (v3.25.1, mise: 3.4.5) [gem]" level="application" />
19
- <orderEntry type="library" scope="PROVIDED" name="base64 (v0.3.0, mise: 3.4.5) [gem]" level="application" />
20
28
  <orderEntry type="library" scope="PROVIDED" name="benchmark (v0.4.1, mise: 3.4.5) [gem]" level="application" />
21
29
  <orderEntry type="library" scope="PROVIDED" name="bigdecimal (v3.2.2, mise: 3.4.5) [gem]" level="application" />
22
30
  <orderEntry type="library" scope="PROVIDED" name="bundler (v2.7.1, mise: 3.4.5) [gem]" level="application" />
23
31
  <orderEntry type="library" scope="PROVIDED" name="bundler-audit (v0.9.2, mise: 3.4.5) [gem]" level="application" />
24
32
  <orderEntry type="library" scope="PROVIDED" name="coderay (v1.1.3, mise: 3.4.5) [gem]" level="application" />
25
33
  <orderEntry type="library" scope="PROVIDED" name="concurrent-ruby (v1.3.5, mise: 3.4.5) [gem]" level="application" />
26
- <orderEntry type="library" scope="PROVIDED" name="connection_pool (v2.5.3, mise: 3.4.5) [gem]" level="application" />
27
34
  <orderEntry type="library" scope="PROVIDED" name="date (v3.4.1, mise: 3.4.5) [gem]" level="application" />
28
35
  <orderEntry type="library" scope="PROVIDED" name="debug (v1.11.0, mise: 3.4.5) [gem]" level="application" />
36
+ <orderEntry type="library" scope="PROVIDED" name="delegate (v0.4.0, mise: 3.4.5) [gem]" level="application" />
29
37
  <orderEntry type="library" scope="PROVIDED" name="diff-lcs (v1.6.2, mise: 3.4.5) [gem]" level="application" />
30
38
  <orderEntry type="library" scope="PROVIDED" name="diffy (v3.4.4, mise: 3.4.5) [gem]" level="application" />
31
39
  <orderEntry type="library" scope="PROVIDED" name="docile (v1.4.1, mise: 3.4.5) [gem]" level="application" />
32
- <orderEntry type="library" scope="PROVIDED" name="drb (v2.2.3, mise: 3.4.5) [gem]" level="application" />
33
40
  <orderEntry type="library" scope="PROVIDED" name="dry-configurable (v1.3.0, mise: 3.4.5) [gem]" level="application" />
34
41
  <orderEntry type="library" scope="PROVIDED" name="dry-core (v1.1.0, mise: 3.4.5) [gem]" level="application" />
35
42
  <orderEntry type="library" scope="PROVIDED" name="dry-inflector (v1.2.0, mise: 3.4.5) [gem]" level="application" />
@@ -39,7 +46,6 @@
39
46
  <orderEntry type="library" scope="PROVIDED" name="dry-types (v1.8.3, mise: 3.4.5) [gem]" level="application" />
40
47
  <orderEntry type="library" scope="PROVIDED" name="erb (v5.0.2, mise: 3.4.5) [gem]" level="application" />
41
48
  <orderEntry type="library" scope="PROVIDED" name="gem_bench (v2.0.5, mise: 3.4.5) [gem]" level="application" />
42
- <orderEntry type="library" scope="PROVIDED" name="i18n (v1.14.7, mise: 3.4.5) [gem]" level="application" />
43
49
  <orderEntry type="library" scope="PROVIDED" name="io-console (v0.8.1, mise: 3.4.5) [gem]" level="application" />
44
50
  <orderEntry type="library" scope="PROVIDED" name="irb (v1.15.2, mise: 3.4.5) [gem]" level="application" />
45
51
  <orderEntry type="library" scope="PROVIDED" name="json (v2.13.2, mise: 3.4.5) [gem]" level="application" />
@@ -50,7 +56,6 @@
50
56
  <orderEntry type="library" scope="PROVIDED" name="lint_roller (v1.1.0, mise: 3.4.5) [gem]" level="application" />
51
57
  <orderEntry type="library" scope="PROVIDED" name="logger (v1.7.0, mise: 3.4.5) [gem]" level="application" />
52
58
  <orderEntry type="library" scope="PROVIDED" name="method_source (v1.1.0, mise: 3.4.5) [gem]" level="application" />
53
- <orderEntry type="library" scope="PROVIDED" name="minitest (v5.25.5, mise: 3.4.5) [gem]" level="application" />
54
59
  <orderEntry type="library" scope="PROVIDED" name="nokogiri (v1.18.9, mise: 3.4.5) [gem]" level="application" />
55
60
  <orderEntry type="library" scope="PROVIDED" name="ostruct (v0.6.3, mise: 3.4.5) [gem]" level="application" />
56
61
  <orderEntry type="library" scope="PROVIDED" name="parallel (v1.27.0, mise: 3.4.5) [gem]" level="application" />
@@ -89,7 +94,6 @@
89
94
  <orderEntry type="library" scope="PROVIDED" name="rubocop-shopify (v2.17.1, mise: 3.4.5) [gem]" level="application" />
90
95
  <orderEntry type="library" scope="PROVIDED" name="rubocop-thread_safety (v0.7.3, mise: 3.4.5) [gem]" level="application" />
91
96
  <orderEntry type="library" scope="PROVIDED" name="ruby-progressbar (v1.13.0, mise: 3.4.5) [gem]" level="application" />
92
- <orderEntry type="library" scope="PROVIDED" name="securerandom (v0.4.1, mise: 3.4.5) [gem]" level="application" />
93
97
  <orderEntry type="library" scope="PROVIDED" name="silent_stream (v1.0.11, mise: 3.4.5) [gem]" level="application" />
94
98
  <orderEntry type="library" scope="PROVIDED" name="simplecov (v0.22.0, mise: 3.4.5) [gem]" level="application" />
95
99
  <orderEntry type="library" scope="PROVIDED" name="simplecov-cobertura (v3.0.0, mise: 3.4.5) [gem]" level="application" />
@@ -107,10 +111,8 @@
107
111
  <orderEntry type="library" scope="PROVIDED" name="terminal-table (v4.0.0, mise: 3.4.5) [gem]" level="application" />
108
112
  <orderEntry type="library" scope="PROVIDED" name="thor (v1.4.0, mise: 3.4.5) [gem]" level="application" />
109
113
  <orderEntry type="library" scope="PROVIDED" name="timecop (v0.9.10, mise: 3.4.5) [gem]" level="application" />
110
- <orderEntry type="library" scope="PROVIDED" name="tzinfo (v2.0.6, mise: 3.4.5) [gem]" level="application" />
111
114
  <orderEntry type="library" scope="PROVIDED" name="unicode-display_width (v3.1.5, mise: 3.4.5) [gem]" level="application" />
112
115
  <orderEntry type="library" scope="PROVIDED" name="unicode-emoji (v4.0.4, mise: 3.4.5) [gem]" level="application" />
113
- <orderEntry type="library" scope="PROVIDED" name="uri (v1.0.3, mise: 3.4.5) [gem]" level="application" />
114
116
  <orderEntry type="library" scope="PROVIDED" name="version_gem (v1.1.8, mise: 3.4.5) [gem]" level="application" />
115
117
  <orderEntry type="library" scope="PROVIDED" name="yard (v0.9.37, mise: 3.4.5) [gem]" level="application" />
116
118
  <orderEntry type="library" scope="PROVIDED" name="yard-junk (v0.0.10@54cceb, mise: 3.4.5) [gem]" level="application" />
@@ -2,71 +2,71 @@
2
2
  "Rakefile:1123364514": [
3
3
  [67, 5, 15, "Rake/Desc: Describe the task with `desc` method.", 842824456]
4
4
  ],
5
- "lib/timecop/rspec.rb:919485649": [
6
- [66, 9, 12, "ThreadSafety/ClassInstanceVariable: Avoid class instance variables.", 990613604]
5
+ "lib/timecop/rspec.rb:1066485176": [
6
+ [42, 9, 12, "ThreadSafety/ClassInstanceVariable: Avoid class instance variables.", 990613604]
7
7
  ],
8
- "lib/timecop/rspec/sequential_time_machine.rb:757109961": [
9
- [39, 7, 53, "Style/ClassMethodsDefinitions: Use `class << self` to define a class method.", 496991953],
10
- [40, 9, 9, "ThreadSafety/ClassInstanceVariable: Avoid class instance variables.", 356709996]
8
+ "lib/timecop/rspec/sequential_time_machine.rb:3576394007": [
9
+ [15, 7, 53, "Style/ClassMethodsDefinitions: Use `class << self` to define a class method.", 496991953],
10
+ [16, 9, 9, "ThreadSafety/ClassInstanceVariable: Avoid class instance variables.", 356709996]
11
11
  ],
12
- "lib/timecop/rspec/time_machine.rb:2818630369": [
13
- [35, 7, 53, "Style/ClassMethodsDefinitions: Use `class << self` to define a class method.", 496991953],
14
- [36, 9, 9, "ThreadSafety/ClassInstanceVariable: Avoid class instance variables.", 356709996]
12
+ "lib/timecop/rspec/time_machine.rb:1233248191": [
13
+ [11, 7, 53, "Style/ClassMethodsDefinitions: Use `class << self` to define a class method.", 496991953],
14
+ [12, 9, 9, "ThreadSafety/ClassInstanceVariable: Avoid class instance variables.", 356709996]
15
15
  ],
16
- "spec/timecop/rspec/a_time_machine.rb:1115759165": [
17
- [47, 13, 29, "RSpec/ContextWording: Context description should match /^when\\b/, /^with\\b/, or /^without\\b/.", 2090924979],
18
- [50, 7, 64, "RSpec/MultipleExpectations: Example has too many expectations [2/1].", 1461883873],
16
+ "spec/timecop/rspec/a_time_machine.rb:3434657420": [
17
+ [25, 13, 29, "RSpec/ContextWording: Context description should match /^when\\b/, /^with\\b/, or /^without\\b/.", 2090924979],
18
+ [28, 7, 64, "RSpec/MultipleExpectations: Example has too many expectations [2/1].", 1461883873],
19
+ [31, 35, 7, "RSpec/MessageSpies: Prefer `have_received` for setting message expectations. Setup `example_procsy` as a spy using `allow` or `instance_spy`.", 1384559950],
20
+ [38, 7, 56, "RSpec/MultipleExpectations: Example has too many expectations [2/1].", 643029529],
21
+ [42, 35, 7, "RSpec/MessageSpies: Prefer `have_received` for setting message expectations. Setup `example_procsy` as a spy using `allow` or `instance_spy`.", 1384559950],
22
+ [49, 7, 53, "RSpec/MultipleExpectations: Example has too many expectations [2/1].", 3086872678],
19
23
  [53, 35, 7, "RSpec/MessageSpies: Prefer `have_received` for setting message expectations. Setup `example_procsy` as a spy using `allow` or `instance_spy`.", 1384559950],
20
- [60, 7, 56, "RSpec/MultipleExpectations: Example has too many expectations [2/1].", 643029529],
24
+ [60, 7, 124, "RSpec/MultipleExpectations: Example has too many expectations [6/1].", 676965629],
21
25
  [64, 35, 7, "RSpec/MessageSpies: Prefer `have_received` for setting message expectations. Setup `example_procsy` as a spy using `allow` or `instance_spy`.", 1384559950],
22
- [71, 7, 53, "RSpec/MultipleExpectations: Example has too many expectations [2/1].", 3086872678],
23
- [75, 35, 7, "RSpec/MessageSpies: Prefer `have_received` for setting message expectations. Setup `example_procsy` as a spy using `allow` or `instance_spy`.", 1384559950],
24
- [82, 7, 124, "RSpec/MultipleExpectations: Example has too many expectations [6/1].", 676965629],
25
- [87, 35, 7, "RSpec/MessageSpies: Prefer `have_received` for setting message expectations. Setup `example_procsy` as a spy using `allow` or `instance_spy`.", 1384559950],
26
- [93, 35, 7, "RSpec/MessageSpies: Prefer `have_received` for setting message expectations. Setup `example_procsy` as a spy using `allow` or `instance_spy`.", 1384559950],
27
- [99, 35, 7, "RSpec/MessageSpies: Prefer `have_received` for setting message expectations. Setup `example_procsy` as a spy using `allow` or `instance_spy`.", 1384559950],
28
- [105, 7, 36, "RSpec/MultipleExpectations: Example has too many expectations [2/1].", 1669892008],
29
- [109, 35, 7, "RSpec/MessageSpies: Prefer `have_received` for setting message expectations. Setup `example_procsy` as a spy using `allow` or `instance_spy`.", 1384559950],
30
- [115, 7, 42, "RSpec/MultipleExpectations: Example has too many expectations [2/1].", 2672670916],
31
- [116, 23, 33, "Style/DateTime: Prefer `Time` over `DateTime`.", 2306291980],
32
- [119, 35, 7, "RSpec/MessageSpies: Prefer `have_received` for setting message expectations. Setup `example_procsy` as a spy using `allow` or `instance_spy`.", 1384559950],
33
- [128, 7, 62, "RSpec/MultipleExpectations: Example has too many expectations [5/1].", 1809499334],
34
- [129, 23, 25, "Style/DateTime: Prefer `Time` over `DateTime`.", 2011980225],
35
- [136, 35, 7, "RSpec/MessageSpies: Prefer `have_received` for setting message expectations. Setup `example_procsy` as a spy using `allow` or `instance_spy`.", 1384559950],
36
- [145, 35, 7, "RSpec/MessageSpies: Prefer `have_received` for setting message expectations. Setup `example_procsy` as a spy using `allow` or `instance_spy`.", 1384559950],
37
- [151, 7, 131, "RSpec/MultipleExpectations: Example has too many expectations [6/1].", 2099780707],
38
- [155, 35, 7, "RSpec/MessageSpies: Prefer `have_received` for setting message expectations. Setup `example_procsy` as a spy using `allow` or `instance_spy`.", 1384559950],
39
- [160, 35, 7, "RSpec/MessageSpies: Prefer `have_received` for setting message expectations. Setup `example_procsy` as a spy using `allow` or `instance_spy`.", 1384559950],
40
- [165, 35, 7, "RSpec/MessageSpies: Prefer `have_received` for setting message expectations. Setup `example_procsy` as a spy using `allow` or `instance_spy`.", 1384559950],
41
- [171, 15, 35, "RSpec/ContextWording: Context description should match /^when\\b/, /^with\\b/, or /^without\\b/.", 710711823],
42
- [172, 9, 81, "RSpec/MultipleExpectations: Example has too many expectations [2/1].", 262796784],
43
- [174, 30, 8, "RSpec/InstanceVariable: Avoid instance variables - use let, a method call, or a local variable (if possible).", 2321415930],
44
- [177, 37, 7, "RSpec/MessageSpies: Prefer `have_received` for setting message expectations. Setup `example_procsy` as a spy using `allow` or `instance_spy`.", 1384559950],
45
- [184, 9, 78, "RSpec/MultipleExpectations: Example has too many expectations [2/1].", 2987422127],
46
- [186, 30, 8, "RSpec/InstanceVariable: Avoid instance variables - use let, a method call, or a local variable (if possible).", 2321981723],
47
- [189, 37, 7, "RSpec/MessageSpies: Prefer `have_received` for setting message expectations. Setup `example_procsy` as a spy using `allow` or `instance_spy`.", 1384559950],
48
- [198, 13, 28, "RSpec/ContextWording: Context description should match /^when\\b/, /^with\\b/, or /^without\\b/.", 830037094],
49
- [201, 7, 48, "RSpec/MultipleExpectations: Example has too many expectations [2/1].", 1915717479],
26
+ [69, 35, 7, "RSpec/MessageSpies: Prefer `have_received` for setting message expectations. Setup `example_procsy` as a spy using `allow` or `instance_spy`.", 1384559950],
27
+ [74, 35, 7, "RSpec/MessageSpies: Prefer `have_received` for setting message expectations. Setup `example_procsy` as a spy using `allow` or `instance_spy`.", 1384559950],
28
+ [80, 7, 36, "RSpec/MultipleExpectations: Example has too many expectations [2/1].", 1669892008],
29
+ [84, 35, 7, "RSpec/MessageSpies: Prefer `have_received` for setting message expectations. Setup `example_procsy` as a spy using `allow` or `instance_spy`.", 1384559950],
30
+ [90, 7, 42, "RSpec/MultipleExpectations: Example has too many expectations [2/1].", 2672670916],
31
+ [91, 23, 33, "Style/DateTime: Prefer `Time` over `DateTime`.", 2306291980],
32
+ [94, 35, 7, "RSpec/MessageSpies: Prefer `have_received` for setting message expectations. Setup `example_procsy` as a spy using `allow` or `instance_spy`.", 1384559950],
33
+ [103, 7, 62, "RSpec/MultipleExpectations: Example has too many expectations [5/1].", 1809499334],
34
+ [104, 23, 25, "Style/DateTime: Prefer `Time` over `DateTime`.", 2011980225],
35
+ [111, 35, 7, "RSpec/MessageSpies: Prefer `have_received` for setting message expectations. Setup `example_procsy` as a spy using `allow` or `instance_spy`.", 1384559950],
36
+ [120, 35, 7, "RSpec/MessageSpies: Prefer `have_received` for setting message expectations. Setup `example_procsy` as a spy using `allow` or `instance_spy`.", 1384559950],
37
+ [126, 7, 131, "RSpec/MultipleExpectations: Example has too many expectations [6/1].", 2099780707],
38
+ [130, 35, 7, "RSpec/MessageSpies: Prefer `have_received` for setting message expectations. Setup `example_procsy` as a spy using `allow` or `instance_spy`.", 1384559950],
39
+ [135, 35, 7, "RSpec/MessageSpies: Prefer `have_received` for setting message expectations. Setup `example_procsy` as a spy using `allow` or `instance_spy`.", 1384559950],
40
+ [140, 35, 7, "RSpec/MessageSpies: Prefer `have_received` for setting message expectations. Setup `example_procsy` as a spy using `allow` or `instance_spy`.", 1384559950],
41
+ [146, 15, 35, "RSpec/ContextWording: Context description should match /^when\\b/, /^with\\b/, or /^without\\b/.", 710711823],
42
+ [147, 9, 81, "RSpec/MultipleExpectations: Example has too many expectations [2/1].", 262796784],
43
+ [149, 30, 8, "RSpec/InstanceVariable: Avoid instance variables - use let, a method call, or a local variable (if possible).", 2321415930],
44
+ [152, 37, 7, "RSpec/MessageSpies: Prefer `have_received` for setting message expectations. Setup `example_procsy` as a spy using `allow` or `instance_spy`.", 1384559950],
45
+ [159, 9, 78, "RSpec/MultipleExpectations: Example has too many expectations [2/1].", 2987422127],
46
+ [161, 30, 8, "RSpec/InstanceVariable: Avoid instance variables - use let, a method call, or a local variable (if possible).", 2321981723],
47
+ [164, 37, 7, "RSpec/MessageSpies: Prefer `have_received` for setting message expectations. Setup `example_procsy` as a spy using `allow` or `instance_spy`.", 1384559950],
48
+ [173, 13, 28, "RSpec/ContextWording: Context description should match /^when\\b/, /^with\\b/, or /^without\\b/.", 830037094],
49
+ [176, 7, 48, "RSpec/MultipleExpectations: Example has too many expectations [2/1].", 1915717479],
50
+ [177, 35, 7, "RSpec/MessageSpies: Prefer `have_received` for setting message expectations. Setup `example_procsy` as a spy using `allow` or `instance_spy`.", 1384559950],
51
+ [187, 7, 70, "RSpec/MultipleExpectations: Example has too many expectations [2/1].", 3183424212],
52
+ [191, 35, 7, "RSpec/MessageSpies: Prefer `have_received` for setting message expectations. Setup `example_procsy` as a spy using `allow` or `instance_spy`.", 1384559950],
53
+ [198, 7, 70, "RSpec/MultipleExpectations: Example has too many expectations [2/1].", 1685240264],
50
54
  [202, 35, 7, "RSpec/MessageSpies: Prefer `have_received` for setting message expectations. Setup `example_procsy` as a spy using `allow` or `instance_spy`.", 1384559950],
51
- [213, 7, 70, "RSpec/MultipleExpectations: Example has too many expectations [2/1].", 3183424212],
52
- [217, 35, 7, "RSpec/MessageSpies: Prefer `have_received` for setting message expectations. Setup `example_procsy` as a spy using `allow` or `instance_spy`.", 1384559950],
53
- [224, 7, 70, "RSpec/MultipleExpectations: Example has too many expectations [2/1].", 1685240264],
54
- [228, 35, 7, "RSpec/MessageSpies: Prefer `have_received` for setting message expectations. Setup `example_procsy` as a spy using `allow` or `instance_spy`.", 1384559950],
55
- [235, 7, 67, "RSpec/MultipleExpectations: Example has too many expectations [2/1].", 4130782052],
56
- [239, 35, 7, "RSpec/MessageSpies: Prefer `have_received` for setting message expectations. Setup `example_procsy` as a spy using `allow` or `instance_spy`.", 1384559950]
55
+ [209, 7, 67, "RSpec/MultipleExpectations: Example has too many expectations [2/1].", 4130782052],
56
+ [213, 35, 7, "RSpec/MessageSpies: Prefer `have_received` for setting message expectations. Setup `example_procsy` as a spy using `allow` or `instance_spy`.", 1384559950]
57
57
  ],
58
- "spec/timecop/rspec/sequential_time_machine_spec.rb:1307381905": [
59
- [42, 3, 124, "RSpec/MultipleExpectations: Example has too many expectations [6/1].", 676965629],
60
- [47, 31, 7, "RSpec/MessageSpies: Prefer `have_received` for setting message expectations. Setup `example_procsy` as a spy using `allow` or `instance_spy`.", 1384559950],
61
- [52, 31, 7, "RSpec/MessageSpies: Prefer `have_received` for setting message expectations. Setup `example_procsy` as a spy using `allow` or `instance_spy`.", 1384559950],
62
- [57, 31, 7, "RSpec/MessageSpies: Prefer `have_received` for setting message expectations. Setup `example_procsy` as a spy using `allow` or `instance_spy`.", 1384559950],
63
- [67, 11, 28, "RSpec/ContextWording: Context description should match /^when\\b/, /^with\\b/, or /^without\\b/.", 830037094],
64
- [75, 5, 72, "RSpec/MultipleExpectations: Example has too many expectations [6/1].", 2221852238],
65
- [77, 33, 7, "RSpec/MessageSpies: Prefer `have_received` for setting message expectations. Setup `example_procsy` as a spy using `allow` or `instance_spy`.", 1384559950],
66
- [82, 33, 7, "RSpec/MessageSpies: Prefer `have_received` for setting message expectations. Setup `example_procsy` as a spy using `allow` or `instance_spy`.", 1384559950],
67
- [87, 33, 7, "RSpec/MessageSpies: Prefer `have_received` for setting message expectations. Setup `example_procsy` as a spy using `allow` or `instance_spy`.", 1384559950]
58
+ "spec/timecop/rspec/sequential_time_machine_spec.rb:2709164453": [
59
+ [19, 3, 124, "RSpec/MultipleExpectations: Example has too many expectations [6/1].", 676965629],
60
+ [24, 31, 7, "RSpec/MessageSpies: Prefer `have_received` for setting message expectations. Setup `example_procsy` as a spy using `allow` or `instance_spy`.", 1384559950],
61
+ [29, 31, 7, "RSpec/MessageSpies: Prefer `have_received` for setting message expectations. Setup `example_procsy` as a spy using `allow` or `instance_spy`.", 1384559950],
62
+ [34, 31, 7, "RSpec/MessageSpies: Prefer `have_received` for setting message expectations. Setup `example_procsy` as a spy using `allow` or `instance_spy`.", 1384559950],
63
+ [44, 11, 28, "RSpec/ContextWording: Context description should match /^when\\b/, /^with\\b/, or /^without\\b/.", 830037094],
64
+ [52, 5, 72, "RSpec/MultipleExpectations: Example has too many expectations [6/1].", 2221852238],
65
+ [54, 33, 7, "RSpec/MessageSpies: Prefer `have_received` for setting message expectations. Setup `example_procsy` as a spy using `allow` or `instance_spy`.", 1384559950],
66
+ [59, 33, 7, "RSpec/MessageSpies: Prefer `have_received` for setting message expectations. Setup `example_procsy` as a spy using `allow` or `instance_spy`.", 1384559950],
67
+ [64, 33, 7, "RSpec/MessageSpies: Prefer `have_received` for setting message expectations. Setup `example_procsy` as a spy using `allow` or `instance_spy`.", 1384559950]
68
68
  ],
69
- "timecop-rspec.gemspec:4269185173": [
69
+ "timecop-rspec.gemspec:2553891750": [
70
70
  [108, 3, 3, "Gemspec/DuplicatedAssignment: `files=` method calls already given on line 62 of the gemspec.", 193433027],
71
71
  [108, 16, 19, "Packaging/GemspecGit: Avoid using git to produce lists of files. Downstreams often need to build your package in an environment that does not have git (on purpose). Use some pure Ruby alternative, like `Dir` or `Dir.glob`.", 3879951891],
72
72
  [111, 3, 19, "Gemspec/DuplicatedAssignment: `bindir=` method calls already given on line 104 of the gemspec.", 554494033],
data/CHANGELOG.md CHANGED
@@ -12,6 +12,14 @@ and this project adheres to [Semantic Versioning v2](https://semver.org/spec/v2.
12
12
  ### Fixed
13
13
  ### Security
14
14
 
15
+ ## [1.0.1] - 2025-08-17
16
+ - TAG: [v1.0.1][1.0.1t]
17
+ - COVERAGE: 100.00% -- 132/132 lines in 7 files
18
+ - BRANCH COVERAGE: 92.31% -- 24/26 branches in 7 files
19
+ - 100% documented
20
+ ### Changed
21
+ - refactored to remove dependency on activesupport
22
+
15
23
  ## [1.0.0] - 2025-08-17
16
24
  - TAG: [v1.0.0][1.0.0t]
17
25
  - COVERAGE: 100.00% -- 131/131 lines in 7 files
@@ -20,8 +28,8 @@ and this project adheres to [Semantic Versioning v2](https://semver.org/spec/v2.
20
28
  ### Added
21
29
  - Initial release to rubygems (8 years late!)
22
30
 
23
- ###
24
-
25
- [Unreleased]: https://gitlab.com/galtzo-floss/timecop-rspec/-/compare/v1.0.0...main
26
- [1.0.0]: https://gitlab.com/galtzo-floss/timecop-rspec/-/compare/389ece6fb9bd04013d11edca6fb6830139a84f4c...v1.0.0
31
+ [Unreleased]: https://gitlab.com/galtzo-floss/timecop-rspec/-/compare/v1.0.1...main
32
+ [1.0.1]: https://gitlab.com/galtzo-floss/timecop-rspec/-/compare/v1.0.0...v1.0.1
33
+ [1.0.1t]: https://gitlab.com/galtzo-floss/timecop-rspec/-/tags/v1.0.1
34
+ [1.0.0]: https://gitlab.com/galtzo-floss/timecop-rspec/-/compare/13c672f32c466824277d04c932e3244deb6451ea...v1.0.0
27
35
  [1.0.0t]: https://gitlab.com/galtzo-floss/timecop-rspec/-/tags/v1.0.0
data/Gemfile.lock CHANGED
@@ -13,27 +13,14 @@ GIT
13
13
  PATH
14
14
  remote: .
15
15
  specs:
16
- timecop-rspec (1.0.0)
17
- activesupport (>= 4.0)
16
+ timecop-rspec (1.0.1)
17
+ delegate (~> 0.1)
18
18
  rspec (~> 3.0)
19
19
  timecop (>= 0.7, < 1)
20
20
 
21
21
  GEM
22
22
  remote: https://rubygems.org/
23
23
  specs:
24
- activesupport (8.0.2.1)
25
- base64
26
- benchmark (>= 0.3)
27
- bigdecimal
28
- concurrent-ruby (~> 1.0, >= 1.3.1)
29
- connection_pool (>= 2.2.5)
30
- drb
31
- i18n (>= 1.6, < 2)
32
- logger (>= 1.4.2)
33
- minitest (>= 5.1)
34
- securerandom (>= 0.3)
35
- tzinfo (~> 2.0, >= 2.0.5)
36
- uri (>= 0.13.1)
37
24
  ansi (1.5.0)
38
25
  appraisal2 (3.0.0)
39
26
  bundler (>= 1.17.3)
@@ -41,7 +28,6 @@ GEM
41
28
  thor (>= 0.14)
42
29
  ast (2.4.3)
43
30
  backports (3.25.1)
44
- base64 (0.3.0)
45
31
  benchmark (0.4.1)
46
32
  bigdecimal (3.2.2)
47
33
  bundler-audit (0.9.2)
@@ -49,15 +35,14 @@ GEM
49
35
  thor (~> 1.0)
50
36
  coderay (1.1.3)
51
37
  concurrent-ruby (1.3.5)
52
- connection_pool (2.5.3)
53
38
  date (3.4.1)
54
39
  debug (1.11.0)
55
40
  irb (~> 1.10)
56
41
  reline (>= 0.3.8)
42
+ delegate (0.4.0)
57
43
  diff-lcs (1.6.2)
58
44
  diffy (3.4.4)
59
45
  docile (1.4.1)
60
- drb (2.2.3)
61
46
  dry-configurable (1.3.0)
62
47
  dry-core (~> 1.1)
63
48
  zeitwerk (~> 2.6)
@@ -91,8 +76,6 @@ GEM
91
76
  gem_bench (2.0.5)
92
77
  bundler (>= 1.14)
93
78
  version_gem (~> 1.1, >= 1.1.4)
94
- i18n (1.14.7)
95
- concurrent-ruby (~> 1.0)
96
79
  io-console (0.8.1)
97
80
  irb (1.15.2)
98
81
  pp (>= 0.6.0)
@@ -116,7 +99,6 @@ GEM
116
99
  lint_roller (1.1.0)
117
100
  logger (1.7.0)
118
101
  method_source (1.1.0)
119
- minitest (5.25.5)
120
102
  nokogiri (1.18.9-x86_64-linux-gnu)
121
103
  racc (~> 1.4)
122
104
  ostruct (0.6.3)
@@ -221,7 +203,6 @@ GEM
221
203
  rubocop (~> 1.72, >= 1.72.1)
222
204
  rubocop-ast (>= 1.44.0, < 2.0)
223
205
  ruby-progressbar (1.13.0)
224
- securerandom (0.4.1)
225
206
  silent_stream (1.0.11)
226
207
  logger (~> 1.2)
227
208
  version_gem (>= 1.1.8, < 3)
@@ -266,12 +247,9 @@ GEM
266
247
  unicode-display_width (>= 1.1.1, < 4)
267
248
  thor (1.4.0)
268
249
  timecop (0.9.10)
269
- tzinfo (2.0.6)
270
- concurrent-ruby (~> 1.0)
271
250
  unicode-display_width (3.1.5)
272
251
  unicode-emoji (~> 4.0, >= 4.0.4)
273
252
  unicode-emoji (4.0.4)
274
- uri (1.0.3)
275
253
  version_gem (1.1.8)
276
254
  yard (0.9.37)
277
255
  yard-relative_markdown_links (0.5.0)
data/README.md CHANGED
@@ -26,6 +26,12 @@ It has a great API, and I was about to build this exact thing myself, so I am gl
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.
28
28
 
29
+ Improvements over original:
30
+ - The original only supported Ruby 2.2+, but I've backfilled support to 1.9.2 (to align with the max-min version between RSpec & Timecop).
31
+ - Added tests for 100% line coverage.
32
+ - Added documentation for all public methods.
33
+ - removed runtime (and dev) dependency on `activesupport`.
34
+
29
35
  I expect the current release of this gem to be compatible with Ruby 1.9.2+,
30
36
  but it is only tested on CI against Ruby 2.3+,
31
37
  due to the inherent limitations of GitHub Actions.
@@ -403,9 +409,9 @@ P.S. If you need help️ or want to say thanks, 👇 Join the Discord.
403
409
 
404
410
  [✇bundle-group-pattern]: https://gist.github.com/pboling/4564780
405
411
  [⛳️gem-namespace]: https://github.com/galtzo-floss/timecop-rspec
406
- [⛳️namespace-img]: https://img.shields.io/badge/namespace-FlossFunding-brightgreen.svg?style=flat&logo=ruby&logoColor=white
412
+ [⛳️namespace-img]: https://img.shields.io/badge/namespace-Timecop%3A%3ARspec-3C2D2D.svg?style=square&logo=ruby&logoColor=white
407
413
  [⛳️gem-name]: https://rubygems.org/gems/timecop-rspec
408
- [⛳️name-img]: https://img.shields.io/badge/name-floss__funding-brightgreen.svg?style=flat&logo=rubygems&logoColor=red
414
+ [⛳️name-img]: https://img.shields.io/badge/name-timecop--rspec-3C2D2D.svg?style=square&logo=rubygems&logoColor=red
409
415
  [🚂maint-blog]: http://www.railsbling.com/tags/timecop-rspec
410
416
  [🚂maint-blog-img]: https://img.shields.io/badge/blog-railsbling-0093D0.svg?style=for-the-badge&logo=rubyonrails&logoColor=orange
411
417
  [🚂maint-contact]: http://www.railsbling.com/contact
@@ -460,7 +466,7 @@ P.S. If you need help️ or want to say thanks, 👇 Join the Discord.
460
466
  [🔑qlty-cov]: https://qlty.sh/gh/galtzo-floss/projects/timecop-rspec/metrics/code?sort=coverageRating
461
467
  [🔑qlty-covi]: https://qlty.sh/gh/galtzo-floss/projects/timecop-rspec/coverage.svg
462
468
  [🔑codecov]: https://codecov.io/gh/galtzo-floss/timecop-rspec
463
- [🔑codecovi♻️]: https://codecov.io/gh/galtzo-floss/timecop-rspec/graph/badge.svg?token=hRnUCPqxMu
469
+ [🔑codecovi♻️]: https://codecov.io/gh/galtzo-floss/timecop-rspec/graph/badge.svg?token=6XnuK8rocd
464
470
  [🔑coveralls]: https://coveralls.io/github/galtzo-floss/timecop-rspec?branch=main
465
471
  [🔑coveralls-img]: https://coveralls.io/repos/github/galtzo-floss/timecop-rspec/badge.svg?branch=main
466
472
  [🖐codeQL]: https://github.com/galtzo-floss/timecop-rspec/security/code-scanning
@@ -525,7 +531,7 @@ P.S. If you need help️ or want to say thanks, 👇 Join the Discord.
525
531
  [🤝cb-pulls]: https://codeberg.org/galtzo-floss/timecop-rspec/pulls
526
532
  [🤝cb-donate]: https://donate.codeberg.org/
527
533
  [🤝contributing]: CONTRIBUTING.md
528
- [🔑codecov-g♻️]: https://codecov.io/gh/galtzo-floss/timecop-rspec/graphs/tree.svg?token=hRnUCPqxMu
534
+ [🔑codecov-g♻️]: https://codecov.io/gh/galtzo-floss/timecop-rspec/graphs/tree.svg?token=6XnuK8rocd
529
535
  [🖐contrib-rocks]: https://contrib.rocks
530
536
  [🖐contributors]: https://github.com/galtzo-floss/timecop-rspec/graphs/contributors
531
537
  [🖐contributors-img]: https://contrib.rocks/image?repo=galtzo-floss/timecop-rspec
data/bin/console CHANGED
@@ -1,29 +1,3 @@
1
- #!/usr/bin/env ruby
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
1
  require "bundler/setup"
28
2
  require "timecop/rspec"
29
3
 
data/bin/setup CHANGED
@@ -1,29 +1,3 @@
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
1
  set -euo pipefail
28
2
  IFS=$'\n\t'
29
3
  set -vx
@@ -0,0 +1 @@
1
+ bce676c41071b3da3c08e1a4844670059f61c8d3cb62c23c640132f5426afeaa
@@ -0,0 +1 @@
1
+ b73676700bb59bedde9c12bf93a2ccf8a86f55836d8f6e8426fc581290fc4058b34eef50a1929e06c7e7c112b9a9587fb917c2e5170c28af6d71b61925bd330a
@@ -319,12 +319,12 @@
319
319
  <pre class="lines">
320
320
 
321
321
 
322
- 59
323
- 60
324
- 61</pre>
322
+ 38
323
+ 39
324
+ 40</pre>
325
325
  </td>
326
326
  <td>
327
- <pre class="code"><span class="info file"># File 'lib/timecop/rspec/example_decorator.rb', line 59</span>
327
+ <pre class="code"><span class="info file"># File 'lib/timecop/rspec/example_decorator.rb', line 38</span>
328
328
 
329
329
  <span class='kw'>def</span> <span class='id identifier rubyid_global_timecop?'>global_timecop?</span>
330
330
  <span class='const'><span class='object_link'><a href="../Rspec.html" title="Timecop::Rspec (module)">Rspec</a></span></span><span class='period'>.</span><span class='id identifier rubyid_global_time_configured?'><span class='object_link'><a href="../Rspec.html#global_time_configured%3F-class_method" title="Timecop::Rspec.global_time_configured? (method)">global_time_configured?</a></span></span> <span class='op'>&amp;&amp;</span> <span class='op'>!</span><span class='id identifier rubyid_skip_global_timecop?'>skip_global_timecop?</span>
@@ -372,15 +372,15 @@
372
372
  <pre class="lines">
373
373
 
374
374
 
375
- 53
376
- 54
377
- 55</pre>
375
+ 32
376
+ 33
377
+ 34</pre>
378
378
  </td>
379
379
  <td>
380
- <pre class="code"><span class="info file"># File 'lib/timecop/rspec/example_decorator.rb', line 53</span>
380
+ <pre class="code"><span class="info file"># File 'lib/timecop/rspec/example_decorator.rb', line 32</span>
381
381
 
382
382
  <span class='kw'>def</span> <span class='id identifier rubyid_local_timecop?'>local_timecop?</span>
383
- <span class='id identifier rubyid_local_timecop_method'>local_timecop_method</span><span class='period'>.</span><span class='id identifier rubyid_present?'>present?</span>
383
+ <span class='op'>!</span><span class='id identifier rubyid_local_timecop_method'>local_timecop_method</span><span class='period'>.</span><span class='id identifier rubyid_nil?'>nil?</span>
384
384
  <span class='kw'>end</span></pre>
385
385
  </td>
386
386
  </tr>
@@ -425,12 +425,12 @@
425
425
  <pre class="lines">
426
426
 
427
427
 
428
- 65
429
- 66
430
- 67</pre>
428
+ 44
429
+ 45
430
+ 46</pre>
431
431
  </td>
432
432
  <td>
433
- <pre class="code"><span class="info file"># File 'lib/timecop/rspec/example_decorator.rb', line 65</span>
433
+ <pre class="code"><span class="info file"># File 'lib/timecop/rspec/example_decorator.rb', line 44</span>
434
434
 
435
435
  <span class='kw'>def</span> <span class='id identifier rubyid_skip_global_timecop?'>skip_global_timecop?</span>
436
436
  <span class='id identifier rubyid_metadata'>metadata</span><span class='period'>.</span><span class='id identifier rubyid_key?'>key?</span><span class='lparen'>(</span><span class='symbol'>:skip_global_timecop</span><span class='rparen'>)</span>
@@ -482,12 +482,12 @@
482
482
  <pre class="lines">
483
483
 
484
484
 
485
- 35
486
- 36
487
- 37</pre>
485
+ 14
486
+ 15
487
+ 16</pre>
488
488
  </td>
489
489
  <td>
490
- <pre class="code"><span class="info file"># File 'lib/timecop/rspec/example_decorator.rb', line 35</span>
490
+ <pre class="code"><span class="info file"># File 'lib/timecop/rspec/example_decorator.rb', line 14</span>
491
491
 
492
492
  <span class='kw'>def</span> <span class='id identifier rubyid_timecop?'>timecop?</span>
493
493
  <span class='id identifier rubyid_local_timecop?'>local_timecop?</span> <span class='op'>||</span> <span class='id identifier rubyid_global_timecop?'>global_timecop?</span>
@@ -539,12 +539,12 @@
539
539
  <pre class="lines">
540
540
 
541
541
 
542
- 41
543
- 42
544
- 43</pre>
542
+ 20
543
+ 21
544
+ 22</pre>
545
545
  </td>
546
546
  <td>
547
- <pre class="code"><span class="info file"># File 'lib/timecop/rspec/example_decorator.rb', line 41</span>
547
+ <pre class="code"><span class="info file"># File 'lib/timecop/rspec/example_decorator.rb', line 20</span>
548
548
 
549
549
  <span class='kw'>def</span> <span class='id identifier rubyid_timecop_method'>timecop_method</span>
550
550
  <span class='id identifier rubyid_local_timecop_method'>local_timecop_method</span> <span class='op'>||</span> <span class='id identifier rubyid_global_timecop_method'>global_timecop_method</span>
@@ -596,12 +596,12 @@
596
596
  <pre class="lines">
597
597
 
598
598
 
599
- 47
600
- 48
601
- 49</pre>
599
+ 26
600
+ 27
601
+ 28</pre>
602
602
  </td>
603
603
  <td>
604
- <pre class="code"><span class="info file"># File 'lib/timecop/rspec/example_decorator.rb', line 47</span>
604
+ <pre class="code"><span class="info file"># File 'lib/timecop/rspec/example_decorator.rb', line 26</span>
605
605
 
606
606
  <span class='kw'>def</span> <span class='id identifier rubyid_timecop_time'>timecop_time</span>
607
607
  <span class='id identifier rubyid_local_timecop_time'>local_timecop_time</span> <span class='op'>||</span> <span class='id identifier rubyid_global_timecop_time'>global_timecop_time</span>
@@ -616,7 +616,7 @@
616
616
  </div>
617
617
 
618
618
  <div id="footer">
619
- Generated on Sun Aug 17 14:43:14 2025 by
619
+ Generated on Sun Aug 17 17:04:07 2025 by
620
620
  <a href="https://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
621
621
  0.9.37 (ruby-3.4.5).
622
622
  </div>