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
@@ -1,11 +0,0 @@
1
- # frozen_string_literal: true
2
-
3
- # Documentation
4
- gem "kramdown", "~> 2.5", ">= 2.5.1" # Ruby >= 2.5
5
- gem "kramdown-parser-gfm", "~> 1.1" # Ruby >= 2.3
6
- gem "yard", "~> 0.9", ">= 0.9.37", :require => false
7
- gem "yard-junk", "~> 0.0", ">= 0.0.10", :github => "pboling/yard-junk", :branch => "next", :require => false
8
- gem "yard-relative_markdown_links", "~> 0.5.0"
9
-
10
- # Std Lib extractions
11
- gem "rdoc", "~> 6.11"
@@ -1,14 +0,0 @@
1
- # frozen_string_literal: true
2
-
3
- # We run rubocop on the latest version of Ruby,
4
- # but in support of the oldest supported version of Ruby
5
-
6
- gem "reek", "~> 6.4"
7
- gem "rubocop", "~> 1.73", ">= 1.73.2"
8
- gem "rubocop-lts", "~> 0.1", ">= 0.1.1" # Linting for Ruby >= 1.8
9
- gem "rubocop-packaging", "~> 0.6", ">= 0.6.0"
10
- gem "rubocop-rspec", "~> 3.2"
11
- gem "standard", ">= 1.50"
12
-
13
- # Std Lib extractions
14
- gem "benchmark", "~> 0.4", ">= 0.4.1" # Removed from Std Lib in Ruby 3.5
@@ -1,5 +0,0 @@
1
- # This file was generated by Appraisal2
2
-
3
- source "https://rubygems.org"
4
-
5
- gemspec :path => "../"
@@ -1,5 +0,0 @@
1
- # This file was generated by Appraisal2
2
-
3
- source "https://rubygems.org"
4
-
5
- gemspec :path => "../"
@@ -1,5 +0,0 @@
1
- # This file was generated by Appraisal2
2
-
3
- source "https://rubygems.org"
4
-
5
- gemspec :path => "../"
@@ -1,8 +0,0 @@
1
- # This file was generated by Appraisal2
2
-
3
- source "https://rubygems.org"
4
-
5
- gem "mutex_m", "~> 0.2"
6
- gem "stringio", "~> 3.0"
7
-
8
- gemspec :path => "../"
@@ -1,8 +0,0 @@
1
- # This file was generated by Appraisal2
2
-
3
- source "https://rubygems.org"
4
-
5
- gem "mutex_m", "~> 0.2"
6
- gem "stringio", "~> 3.0"
7
-
8
- gemspec :path => "../"
@@ -1,8 +0,0 @@
1
- # This file was generated by Appraisal2
2
-
3
- source "https://rubygems.org"
4
-
5
- gem "mutex_m", "~> 0.2"
6
- gem "stringio", "~> 3.0"
7
-
8
- gemspec :path => "../"
@@ -1,8 +0,0 @@
1
- # This file was generated by Appraisal2
2
-
3
- source "https://rubygems.org"
4
-
5
- gem "mutex_m", "~> 0.2"
6
- gem "stringio", "~> 3.0"
7
-
8
- gemspec :path => "../"
@@ -1,8 +0,0 @@
1
- # This file was generated by Appraisal2
2
-
3
- source "https://rubygems.org"
4
-
5
- gem "mutex_m", "~> 0.2"
6
- gem "stringio", "~> 3.0"
7
-
8
- gemspec :path => "../"
@@ -1,8 +0,0 @@
1
- # This file was generated by Appraisal2
2
-
3
- source "https://rubygems.org"
4
-
5
- gem "mutex_m", "~> 0.2"
6
- gem "stringio", "~> 3.0"
7
-
8
- gemspec :path => "../"
@@ -1,10 +0,0 @@
1
- # This file was generated by Appraisal2
2
-
3
- source "https://rubygems.org"
4
-
5
- gem "mutex_m", "~> 0.2"
6
- gem "stringio", "~> 3.0"
7
-
8
- gemspec :path => "../"
9
-
10
- eval_gemfile("modular/style.gemfile")
@@ -1,149 +0,0 @@
1
- # coding: utf-8
2
- # frozen_string_literal: true
3
-
4
- gem_version =
5
- if RUBY_VERSION >= "3.1" # rubocop:disable Gemspec/RubyVersionGlobalsUsage
6
- # Loading Version into an anonymous module allows version.rb to get code coverage from SimpleCov!
7
- # See: https://github.com/simplecov-ruby/simplecov/issues/557#issuecomment-2630782358
8
- # See: https://github.com/panorama-ed/memo_wise/pull/397
9
- Module.new.tap { |mod| Kernel.load("#{__dir__}/lib/timecop/rspec/version.rb", mod) }::Timecop::Rspec::Version::VERSION
10
- else
11
- # NOTE: Use __FILE__ or __dir__ until removal of Ruby 1.x support
12
- # __dir__ introduced in Ruby 1.9.1
13
- # lib = File.expand_path("../lib", __FILE__)
14
- lib = File.expand_path("lib", __dir__)
15
- $LOAD_PATH.unshift(lib) unless $LOAD_PATH.include?(lib)
16
- require "timecop/rspec/version"
17
- Timecop::Rspec::Version::VERSION
18
- end
19
-
20
- Gem::Specification.new do |spec|
21
- spec.name = "timecop-rspec"
22
- spec.version = gem_version
23
- spec.authors = ["Peter H. Boling", "Zach Taylor", "Tim Mertens"]
24
- spec.email = ["floss@galtzo.com"]
25
-
26
- spec.summary = "⌚️ Timecop time-machines for RSpec"
27
- spec.description = "⌚️ Timecop::Rspec provides Timecop time-machines for RSpec that allow you" \
28
- "to time-travel test examples, context/describes, and/or your entire test suite. " \
29
- "Find out how your code will behave... in the future! " \
30
- "Fund overlooked open source projects - bottom of stack, dev/test dependencies: floss-funding.dev"
31
- spec.homepage = "https://github.com/galtzo-floss/timecop-rspec"
32
- spec.license = "MIT"
33
- spec.required_ruby_version = ">= 1.9.2"
34
-
35
- # Linux distros often package gems and securely certify them independent
36
- # of the official RubyGem certification process. Allowed via ENV["SKIP_GEM_SIGNING"]
37
- # Ref: https://gitlab.com/oauth-xx/version_gem/-/issues/3
38
- # Hence, only enable signing if `SKIP_GEM_SIGNING` is not set in ENV.
39
- # See CONTRIBUTING.md
40
- unless ENV.include?("SKIP_GEM_SIGNING")
41
- user_cert = "certs/#{ENV.fetch("GEM_CERT_USER", ENV["USER"])}.pem"
42
- cert_file_path = File.join(__dir__, user_cert)
43
- cert_chain = cert_file_path.split(",")
44
- cert_chain.select! { |fp| File.exist?(fp) }
45
- if cert_file_path && cert_chain.any?
46
- spec.cert_chain = cert_chain
47
- if $PROGRAM_NAME.end_with?("gem") && ARGV[0] == "build"
48
- spec.signing_key = File.join(Gem.user_home, ".ssh", "gem-private_key.pem")
49
- end
50
- end
51
- end
52
-
53
- spec.metadata["homepage_uri"] = "https://#{spec.name.tr("_", "-")}.galtzo.com/"
54
- spec.metadata["source_code_uri"] = "#{spec.homepage}/tree/v#{spec.version}"
55
- spec.metadata["changelog_uri"] = "#{spec.homepage}/blob/v#{spec.version}/CHANGELOG.md"
56
- spec.metadata["bug_tracker_uri"] = "#{spec.homepage}/issues"
57
- spec.metadata["documentation_uri"] = "https://www.rubydoc.info/gems/#{spec.name}/#{spec.version}"
58
- spec.metadata["funding_uri"] = "https://github.com/sponsors/pboling"
59
- spec.metadata["wiki_uri"] = "#{spec.homepage}/wiki"
60
- spec.metadata["news_uri"] = "https://www.railsbling.com/tags/#{spec.name}"
61
- spec.metadata["discord_uri"] = "https://discord.gg/3qme4XHNKN"
62
- spec.metadata["rubygems_mfa_required"] = "true"
63
-
64
- # Specify which files are part of the released package.
65
- spec.files = Dir[
66
- # Splats (alphabetical)
67
- "lib/**/*.rb",
68
- ]
69
- # Automatically included with gem package, no need to list again in files.
70
- spec.extra_rdoc_files = Dir[
71
- # Splats (alphabetical)
72
- "checksums/**/*.sha256",
73
- "checksums/**/*.sha512",
74
- "sig/**/*.rbs",
75
- # Files (alphabetical)
76
- "CHANGELOG.md",
77
- "CITATION.cff",
78
- "CODE_OF_CONDUCT.md",
79
- "CONTRIBUTING.md",
80
- "LICENSE.txt",
81
- "README.md",
82
- "REEK",
83
- "RUBOCOP.md",
84
- "SECURITY.md",
85
- ]
86
- spec.rdoc_options += [
87
- "--title",
88
- "#{spec.name} - #{spec.summary}",
89
- "--main",
90
- "checksums/**/*.sha256",
91
- "checksums/**/*.sha512",
92
- "sig/**/*.rbs",
93
- "CHANGELOG.md",
94
- "CITATION.cff",
95
- "CODE_OF_CONDUCT.md",
96
- "CONTRIBUTING.md",
97
- "LICENSE.txt",
98
- "README.md",
99
- "REEK",
100
- "RUBOCOP.md",
101
- "SECURITY.md",
102
- "--line-numbers",
103
- "--inline-source",
104
- "--quiet",
105
- ]
106
- spec.require_paths = ["lib"]
107
- spec.bindir = "exe"
108
- # files listed are relative paths from bindir above.
109
- spec.executables = []
110
-
111
- spec.files = %x(git ls-files -z).split("\x0").reject do |f|
112
- f.match(%r{^(test|spec|features)/})
113
- end
114
- spec.bindir = "exe"
115
- spec.executables = spec.files.grep(%r{^exe/}) { |f| File.basename(f) }
116
- spec.require_paths = ["lib"]
117
-
118
- spec.add_dependency("delegate", "~> 0.1") # ruby > 0, for SimpleDelegator, newer versions drop support for older rubies
119
- spec.add_dependency("rspec", "~> 3.0") # ruby > 0
120
- spec.add_dependency("timecop", ">= 0.7", "< 1") # ruby >= 1.9.2, for time-based testing
121
-
122
- # NOTE: It is preferable to list development dependencies in the gemspec due to increased
123
- # visibility and discoverability on RubyGems.org.
124
- # However, development dependencies in gemspec will install on
125
- # all versions of Ruby that will run in CI.
126
- # This gem, and its runtime dependencies, will install on Ruby down to 1.9.2.
127
- # This gem, and its development dependencies, will install on Ruby down to 2.3.x.
128
- # This is because in CI easy installation of Ruby, via setup-ruby, is for >= 2.3.
129
- # Thus, dev dependencies in gemspec must have
130
- #
131
- # required_ruby_version ">= 2.3" (or lower)
132
- #
133
- # Development dependencies that require strictly newer Ruby versions should be in a "gemfile",
134
- # and preferably a modular one (see gemfiles/modular/*.gemfile).
135
-
136
- # Release Tasks
137
- spec.add_development_dependency("stone_checksums", "~> 1.0") # ruby >= 2.2.0
138
-
139
- ### Testing
140
- spec.add_development_dependency("appraisal2", "~> 3.0") # ruby >= 1.8.7, for testing against multiple versions of dependencies
141
- spec.add_development_dependency("rspec-block_is_expected", "~> 1.0") # ruby >= 1.8.7, for block_is_expected.to syntax
142
- spec.add_development_dependency("rspec_junit_formatter", "~> 0.6") # ruby >= 2.3.0, for GitLab Test Result Parsing
143
- spec.add_development_dependency("rspec-stubbed_env", "~> 1.0") # ruby >= 2.3.0, helper for stubbing ENV in specs
144
- spec.add_development_dependency("silent_stream", "~> 1.0", ">= 1.0.11") # ruby >= 2.3.0, for output capture
145
- spec.add_development_dependency("timecop", "~> 0.9", ">= 0.9.10") # ruby >= 1.9.2, for time-based testing
146
-
147
- # Development tasks
148
- spec.add_development_dependency("rake", "~> 13.0") # ruby >= 2.2
149
- end