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.
- checksums.yaml +4 -4
- checksums.yaml.gz.sig +0 -0
- data/CHANGELOG.md +36 -2
- data/CONTRIBUTING.md +1 -3
- data/README.md +39 -13
- data/checksums/timecop-rspec-1.0.2.gem.sha256 +1 -0
- data/checksums/timecop-rspec-1.0.2.gem.sha512 +1 -0
- data/checksums/timecop-rspec-1.0.3.gem.sha256 +1 -0
- data/checksums/timecop-rspec-1.0.3.gem.sha512 +1 -0
- data/lib/timecop/rspec/version.rb +1 -1
- data.tar.gz.sig +2 -1
- metadata +53 -140
- metadata.gz.sig +0 -0
- data/.devcontainer/devcontainer.json +0 -26
- data/.env.local.example +0 -3
- data/.envrc +0 -41
- data/.github/FUNDING.yml +0 -13
- data/.github/dependabot.yml +0 -12
- data/.github/workflows/ancient.yml +0 -77
- data/.github/workflows/auto-assign.yml +0 -21
- data/.github/workflows/codeql-analysis.yml +0 -70
- data/.github/workflows/coverage.yml +0 -126
- data/.github/workflows/current.yml +0 -85
- data/.github/workflows/dependency-review.yml +0 -20
- data/.github/workflows/deps_locked.yml +0 -75
- data/.github/workflows/deps_unlocked.yml +0 -84
- data/.github/workflows/discord-notifier.yml +0 -38
- data/.github/workflows/heads.yml +0 -84
- data/.github/workflows/jruby.yml +0 -75
- data/.github/workflows/legacy.yml +0 -67
- data/.github/workflows/style.yml +0 -64
- data/.github/workflows/supported.yml +0 -82
- data/.github/workflows/truffle.yml +0 -75
- data/.github/workflows/unsupported.yml +0 -75
- data/.gitignore +0 -45
- data/.gitlab-ci.yml +0 -44
- data/.idea/.gitignore +0 -8
- data/.idea/GitLink.xml +0 -6
- data/.idea/misc.xml +0 -4
- data/.idea/modules.xml +0 -8
- data/.idea/timecop-rspec.iml +0 -122
- data/.idea/vcs.xml +0 -6
- data/.junie/TASK_NOTE.md +0 -1
- data/.junie/guidelines.md +0 -139
- data/.qlty/qlty.toml +0 -79
- data/.rspec +0 -8
- data/.rubocop.yml +0 -15
- data/.rubocop_gradual.lock +0 -76
- data/.simplecov +0 -11
- data/.tool-versions +0 -1
- data/.yard_gfm_support.rb +0 -22
- data/.yardopts +0 -11
- data/Appraisal.root.gemfile +0 -12
- data/Appraisals +0 -104
- data/CNAME +0 -1
- data/Gemfile +0 -38
- data/Gemfile.lock +0 -293
- data/Rakefile +0 -287
- data/bin/appraisal +0 -16
- data/bin/bundle-audit +0 -16
- data/bin/bundler-audit +0 -16
- data/bin/code_climate_reek +0 -16
- data/bin/coderay +0 -16
- data/bin/console +0 -12
- data/bin/erb +0 -16
- data/bin/gem_checksums +0 -16
- data/bin/htmldiff +0 -16
- data/bin/irb +0 -16
- data/bin/kramdown +0 -16
- data/bin/ldiff +0 -16
- data/bin/nokogiri +0 -16
- data/bin/pry +0 -16
- data/bin/racc +0 -16
- data/bin/rake +0 -16
- data/bin/rdbg +0 -16
- data/bin/rdoc +0 -16
- data/bin/reek +0 -16
- data/bin/ri +0 -16
- data/bin/rspec +0 -16
- data/bin/rubocop +0 -16
- data/bin/rubocop-gradual +0 -16
- data/bin/ruby-parse +0 -16
- data/bin/ruby-rewrite +0 -16
- data/bin/setup +0 -7
- data/bin/standardrb +0 -16
- data/bin/thor +0 -16
- data/bin/yard +0 -16
- data/bin/yard-junk +0 -16
- data/bin/yardoc +0 -16
- data/bin/yri +0 -16
- data/certs/pboling.pem +0 -27
- data/docs/Timecop/Rspec/ExampleDecorator.html +0 -626
- data/docs/Timecop/Rspec/SequentialTimeMachine.html +0 -338
- data/docs/Timecop/Rspec/TimeMachine.html +0 -357
- data/docs/Timecop/Rspec/TravelLog.html +0 -440
- data/docs/Timecop/Rspec/Traveler.html +0 -353
- data/docs/Timecop/Rspec/Version.html +0 -154
- data/docs/Timecop/Rspec.html +0 -476
- data/docs/Timecop.html +0 -143
- data/docs/_index.html +0 -224
- data/docs/class_list.html +0 -54
- data/docs/css/common.css +0 -1
- data/docs/css/full_list.css +0 -58
- data/docs/css/style.css +0 -503
- data/docs/file.CHANGELOG.html +0 -110
- data/docs/file.CITATION.html +0 -92
- data/docs/file.CODE_OF_CONDUCT.html +0 -201
- data/docs/file.CONTRIBUTING.html +0 -220
- data/docs/file.LICENSE.html +0 -70
- data/docs/file.README.html +0 -531
- data/docs/file.REEK.html +0 -71
- data/docs/file.RUBOCOP.html +0 -171
- data/docs/file.SECURITY.html +0 -101
- data/docs/file.rspec.html +0 -109
- data/docs/file.timecop-rspec-1.0.0.gem.html +0 -71
- data/docs/file.timecop.html +0 -72
- data/docs/file_list.html +0 -119
- data/docs/frames.html +0 -22
- data/docs/index.html +0 -531
- data/docs/js/app.js +0 -344
- data/docs/js/full_list.js +0 -242
- data/docs/js/jquery.js +0 -4
- data/docs/method_list.html +0 -198
- data/docs/top-level-namespace.html +0 -110
- data/gemfiles/audit.gemfile +0 -10
- data/gemfiles/coverage.gemfile +0 -10
- data/gemfiles/current.gemfile +0 -8
- data/gemfiles/deps_unlocked.gemfile +0 -13
- data/gemfiles/head.gemfile +0 -9
- data/gemfiles/modular/audit.gemfile +0 -5
- data/gemfiles/modular/coverage.gemfile +0 -6
- data/gemfiles/modular/documentation.gemfile +0 -11
- data/gemfiles/modular/style.gemfile +0 -14
- data/gemfiles/ruby_2_3.gemfile +0 -5
- data/gemfiles/ruby_2_4.gemfile +0 -5
- data/gemfiles/ruby_2_5.gemfile +0 -5
- data/gemfiles/ruby_2_6.gemfile +0 -8
- data/gemfiles/ruby_2_7.gemfile +0 -8
- data/gemfiles/ruby_3_0.gemfile +0 -8
- data/gemfiles/ruby_3_1.gemfile +0 -8
- data/gemfiles/ruby_3_2.gemfile +0 -8
- data/gemfiles/ruby_3_3.gemfile +0 -8
- data/gemfiles/style.gemfile +0 -10
- 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
|
data/gemfiles/ruby_2_3.gemfile
DELETED
data/gemfiles/ruby_2_4.gemfile
DELETED
data/gemfiles/ruby_2_5.gemfile
DELETED
data/gemfiles/ruby_2_6.gemfile
DELETED
data/gemfiles/ruby_2_7.gemfile
DELETED
data/gemfiles/ruby_3_0.gemfile
DELETED
data/gemfiles/ruby_3_1.gemfile
DELETED
data/gemfiles/ruby_3_2.gemfile
DELETED
data/gemfiles/ruby_3_3.gemfile
DELETED
data/gemfiles/style.gemfile
DELETED
data/timecop-rspec.gemspec
DELETED
@@ -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
|