timecop-rspec 1.0.1 → 1.0.3

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (144) hide show
  1. checksums.yaml +4 -4
  2. checksums.yaml.gz.sig +0 -0
  3. data/CHANGELOG.md +36 -2
  4. data/CONTRIBUTING.md +1 -3
  5. data/README.md +39 -13
  6. data/checksums/timecop-rspec-1.0.2.gem.sha256 +1 -0
  7. data/checksums/timecop-rspec-1.0.2.gem.sha512 +1 -0
  8. data/checksums/timecop-rspec-1.0.3.gem.sha256 +1 -0
  9. data/checksums/timecop-rspec-1.0.3.gem.sha512 +1 -0
  10. data/lib/timecop/rspec/version.rb +1 -1
  11. data.tar.gz.sig +2 -1
  12. metadata +53 -140
  13. metadata.gz.sig +0 -0
  14. data/.devcontainer/devcontainer.json +0 -26
  15. data/.env.local.example +0 -3
  16. data/.envrc +0 -41
  17. data/.github/FUNDING.yml +0 -13
  18. data/.github/dependabot.yml +0 -12
  19. data/.github/workflows/ancient.yml +0 -77
  20. data/.github/workflows/auto-assign.yml +0 -21
  21. data/.github/workflows/codeql-analysis.yml +0 -70
  22. data/.github/workflows/coverage.yml +0 -126
  23. data/.github/workflows/current.yml +0 -85
  24. data/.github/workflows/dependency-review.yml +0 -20
  25. data/.github/workflows/deps_locked.yml +0 -75
  26. data/.github/workflows/deps_unlocked.yml +0 -84
  27. data/.github/workflows/discord-notifier.yml +0 -38
  28. data/.github/workflows/heads.yml +0 -84
  29. data/.github/workflows/jruby.yml +0 -75
  30. data/.github/workflows/legacy.yml +0 -67
  31. data/.github/workflows/style.yml +0 -64
  32. data/.github/workflows/supported.yml +0 -82
  33. data/.github/workflows/truffle.yml +0 -75
  34. data/.github/workflows/unsupported.yml +0 -75
  35. data/.gitignore +0 -45
  36. data/.gitlab-ci.yml +0 -44
  37. data/.idea/.gitignore +0 -8
  38. data/.idea/GitLink.xml +0 -6
  39. data/.idea/misc.xml +0 -4
  40. data/.idea/modules.xml +0 -8
  41. data/.idea/timecop-rspec.iml +0 -122
  42. data/.idea/vcs.xml +0 -6
  43. data/.junie/TASK_NOTE.md +0 -1
  44. data/.junie/guidelines.md +0 -139
  45. data/.qlty/qlty.toml +0 -79
  46. data/.rspec +0 -8
  47. data/.rubocop.yml +0 -15
  48. data/.rubocop_gradual.lock +0 -76
  49. data/.simplecov +0 -11
  50. data/.tool-versions +0 -1
  51. data/.yard_gfm_support.rb +0 -22
  52. data/.yardopts +0 -11
  53. data/Appraisal.root.gemfile +0 -12
  54. data/Appraisals +0 -104
  55. data/CNAME +0 -1
  56. data/Gemfile +0 -38
  57. data/Gemfile.lock +0 -293
  58. data/Rakefile +0 -287
  59. data/bin/appraisal +0 -16
  60. data/bin/bundle-audit +0 -16
  61. data/bin/bundler-audit +0 -16
  62. data/bin/code_climate_reek +0 -16
  63. data/bin/coderay +0 -16
  64. data/bin/console +0 -12
  65. data/bin/erb +0 -16
  66. data/bin/gem_checksums +0 -16
  67. data/bin/htmldiff +0 -16
  68. data/bin/irb +0 -16
  69. data/bin/kramdown +0 -16
  70. data/bin/ldiff +0 -16
  71. data/bin/nokogiri +0 -16
  72. data/bin/pry +0 -16
  73. data/bin/racc +0 -16
  74. data/bin/rake +0 -16
  75. data/bin/rdbg +0 -16
  76. data/bin/rdoc +0 -16
  77. data/bin/reek +0 -16
  78. data/bin/ri +0 -16
  79. data/bin/rspec +0 -16
  80. data/bin/rubocop +0 -16
  81. data/bin/rubocop-gradual +0 -16
  82. data/bin/ruby-parse +0 -16
  83. data/bin/ruby-rewrite +0 -16
  84. data/bin/setup +0 -7
  85. data/bin/standardrb +0 -16
  86. data/bin/thor +0 -16
  87. data/bin/yard +0 -16
  88. data/bin/yard-junk +0 -16
  89. data/bin/yardoc +0 -16
  90. data/bin/yri +0 -16
  91. data/certs/pboling.pem +0 -27
  92. data/docs/Timecop/Rspec/ExampleDecorator.html +0 -626
  93. data/docs/Timecop/Rspec/SequentialTimeMachine.html +0 -338
  94. data/docs/Timecop/Rspec/TimeMachine.html +0 -357
  95. data/docs/Timecop/Rspec/TravelLog.html +0 -440
  96. data/docs/Timecop/Rspec/Traveler.html +0 -353
  97. data/docs/Timecop/Rspec/Version.html +0 -154
  98. data/docs/Timecop/Rspec.html +0 -476
  99. data/docs/Timecop.html +0 -143
  100. data/docs/_index.html +0 -224
  101. data/docs/class_list.html +0 -54
  102. data/docs/css/common.css +0 -1
  103. data/docs/css/full_list.css +0 -58
  104. data/docs/css/style.css +0 -503
  105. data/docs/file.CHANGELOG.html +0 -110
  106. data/docs/file.CITATION.html +0 -92
  107. data/docs/file.CODE_OF_CONDUCT.html +0 -201
  108. data/docs/file.CONTRIBUTING.html +0 -220
  109. data/docs/file.LICENSE.html +0 -70
  110. data/docs/file.README.html +0 -531
  111. data/docs/file.REEK.html +0 -71
  112. data/docs/file.RUBOCOP.html +0 -171
  113. data/docs/file.SECURITY.html +0 -101
  114. data/docs/file.rspec.html +0 -109
  115. data/docs/file.timecop-rspec-1.0.0.gem.html +0 -71
  116. data/docs/file.timecop.html +0 -72
  117. data/docs/file_list.html +0 -119
  118. data/docs/frames.html +0 -22
  119. data/docs/index.html +0 -531
  120. data/docs/js/app.js +0 -344
  121. data/docs/js/full_list.js +0 -242
  122. data/docs/js/jquery.js +0 -4
  123. data/docs/method_list.html +0 -198
  124. data/docs/top-level-namespace.html +0 -110
  125. data/gemfiles/audit.gemfile +0 -10
  126. data/gemfiles/coverage.gemfile +0 -10
  127. data/gemfiles/current.gemfile +0 -8
  128. data/gemfiles/deps_unlocked.gemfile +0 -13
  129. data/gemfiles/head.gemfile +0 -9
  130. data/gemfiles/modular/audit.gemfile +0 -5
  131. data/gemfiles/modular/coverage.gemfile +0 -6
  132. data/gemfiles/modular/documentation.gemfile +0 -11
  133. data/gemfiles/modular/style.gemfile +0 -14
  134. data/gemfiles/ruby_2_3.gemfile +0 -5
  135. data/gemfiles/ruby_2_4.gemfile +0 -5
  136. data/gemfiles/ruby_2_5.gemfile +0 -5
  137. data/gemfiles/ruby_2_6.gemfile +0 -8
  138. data/gemfiles/ruby_2_7.gemfile +0 -8
  139. data/gemfiles/ruby_3_0.gemfile +0 -8
  140. data/gemfiles/ruby_3_1.gemfile +0 -8
  141. data/gemfiles/ruby_3_2.gemfile +0 -8
  142. data/gemfiles/ruby_3_3.gemfile +0 -8
  143. data/gemfiles/style.gemfile +0 -10
  144. data/timecop-rspec.gemspec +0 -146
@@ -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,146 +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 = "Help overlooked open source projects - the ones at the bottom of the stack, and the dev dependencies - by funding them."
28
- spec.homepage = "https://github.com/galtzo-floss/timecop-rspec"
29
- spec.license = "MIT"
30
- spec.required_ruby_version = ">= 1.9.2"
31
-
32
- # Linux distros often package gems and securely certify them independent
33
- # of the official RubyGem certification process. Allowed via ENV["SKIP_GEM_SIGNING"]
34
- # Ref: https://gitlab.com/oauth-xx/version_gem/-/issues/3
35
- # Hence, only enable signing if `SKIP_GEM_SIGNING` is not set in ENV.
36
- # See CONTRIBUTING.md
37
- unless ENV.include?("SKIP_GEM_SIGNING")
38
- user_cert = "certs/#{ENV.fetch("GEM_CERT_USER", ENV["USER"])}.pem"
39
- cert_file_path = File.join(__dir__, user_cert)
40
- cert_chain = cert_file_path.split(",")
41
- cert_chain.select! { |fp| File.exist?(fp) }
42
- if cert_file_path && cert_chain.any?
43
- spec.cert_chain = cert_chain
44
- if $PROGRAM_NAME.end_with?("gem") && ARGV[0] == "build"
45
- spec.signing_key = File.join(Gem.user_home, ".ssh", "gem-private_key.pem")
46
- end
47
- end
48
- end
49
-
50
- spec.metadata["homepage_uri"] = "https://#{spec.name.tr("_", "-")}.galtzo.com/"
51
- spec.metadata["source_code_uri"] = "#{spec.homepage}/tree/v#{spec.version}"
52
- spec.metadata["changelog_uri"] = "#{spec.homepage}/blob/v#{spec.version}/CHANGELOG.md"
53
- spec.metadata["bug_tracker_uri"] = "#{spec.homepage}/issues"
54
- spec.metadata["documentation_uri"] = "https://www.rubydoc.info/gems/#{spec.name}/#{spec.version}"
55
- spec.metadata["funding_uri"] = "https://github.com/sponsors/pboling"
56
- spec.metadata["wiki_uri"] = "#{spec.homepage}/wiki"
57
- spec.metadata["news_uri"] = "https://www.railsbling.com/tags/#{spec.name}"
58
- spec.metadata["discord_uri"] = "https://discord.gg/3qme4XHNKN"
59
- spec.metadata["rubygems_mfa_required"] = "true"
60
-
61
- # Specify which files are part of the released package.
62
- spec.files = Dir[
63
- # Splats (alphabetical)
64
- "lib/**/*.rb",
65
- ]
66
- # Automatically included with gem package, no need to list again in files.
67
- spec.extra_rdoc_files = Dir[
68
- # Splats (alphabetical)
69
- "checksums/**/*.sha256",
70
- "checksums/**/*.sha512",
71
- "sig/**/*.rbs",
72
- # Files (alphabetical)
73
- "CHANGELOG.md",
74
- "CITATION.cff",
75
- "CODE_OF_CONDUCT.md",
76
- "CONTRIBUTING.md",
77
- "LICENSE.txt",
78
- "README.md",
79
- "REEK",
80
- "RUBOCOP.md",
81
- "SECURITY.md",
82
- ]
83
- spec.rdoc_options += [
84
- "--title",
85
- "#{spec.name} - #{spec.summary}",
86
- "--main",
87
- "checksums/**/*.sha256",
88
- "checksums/**/*.sha512",
89
- "sig/**/*.rbs",
90
- "CHANGELOG.md",
91
- "CITATION.cff",
92
- "CODE_OF_CONDUCT.md",
93
- "CONTRIBUTING.md",
94
- "LICENSE.txt",
95
- "README.md",
96
- "REEK",
97
- "RUBOCOP.md",
98
- "SECURITY.md",
99
- "--line-numbers",
100
- "--inline-source",
101
- "--quiet",
102
- ]
103
- spec.require_paths = ["lib"]
104
- spec.bindir = "exe"
105
- # files listed are relative paths from bindir above.
106
- spec.executables = []
107
-
108
- spec.files = %x(git ls-files -z).split("\x0").reject do |f|
109
- f.match(%r{^(test|spec|features)/})
110
- end
111
- spec.bindir = "exe"
112
- spec.executables = spec.files.grep(%r{^exe/}) { |f| File.basename(f) }
113
- spec.require_paths = ["lib"]
114
-
115
- spec.add_dependency("delegate", "~> 0.1") # ruby > 0, for SimpleDelegator, newer versions drop support for older rubies
116
- spec.add_dependency("rspec", "~> 3.0") # ruby > 0
117
- spec.add_dependency("timecop", ">= 0.7", "< 1") # ruby >= 1.9.2, for time-based testing
118
-
119
- # NOTE: It is preferable to list development dependencies in the gemspec due to increased
120
- # visibility and discoverability on RubyGems.org.
121
- # However, development dependencies in gemspec will install on
122
- # all versions of Ruby that will run in CI.
123
- # This gem, and its runtime dependencies, will install on Ruby down to 1.9.2.
124
- # This gem, and its development dependencies, will install on Ruby down to 2.3.x.
125
- # This is because in CI easy installation of Ruby, via setup-ruby, is for >= 2.3.
126
- # Thus, dev dependencies in gemspec must have
127
- #
128
- # required_ruby_version ">= 2.3" (or lower)
129
- #
130
- # Development dependencies that require strictly newer Ruby versions should be in a "gemfile",
131
- # and preferably a modular one (see gemfiles/modular/*.gemfile).
132
-
133
- # Release Tasks
134
- spec.add_development_dependency("stone_checksums", "~> 1.0") # ruby >= 2.2.0
135
-
136
- ### Testing
137
- spec.add_development_dependency("appraisal2", "~> 3.0") # ruby >= 1.8.7, for testing against multiple versions of dependencies
138
- spec.add_development_dependency("rspec-block_is_expected", "~> 1.0") # ruby >= 1.8.7, for block_is_expected.to syntax
139
- spec.add_development_dependency("rspec_junit_formatter", "~> 0.6") # ruby >= 2.3.0, for GitLab Test Result Parsing
140
- spec.add_development_dependency("rspec-stubbed_env", "~> 1.0") # ruby >= 2.3.0, helper for stubbing ENV in specs
141
- spec.add_development_dependency("silent_stream", "~> 1.0", ">= 1.0.11") # ruby >= 2.3.0, for output capture
142
- spec.add_development_dependency("timecop", "~> 0.9", ">= 0.9.10") # ruby >= 1.9.2, for time-based testing
143
-
144
- # Development tasks
145
- spec.add_development_dependency("rake", "~> 13.0") # ruby >= 2.2
146
- end