timecop-rspec 1.0.2 → 1.0.4
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 +182 -8
- data/LICENSE.md +11 -0
- data/README.md +283 -241
- data/lib/timecop/rspec/version.rb +7 -7
- data/lib/timecop/rspec.rb +1 -1
- data/sig/timecop/rspec.rbs +2 -0
- data.tar.gz.sig +0 -0
- metadata +472 -423
- 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 -85
- 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/CITATION.cff +0 -20
- data/CNAME +0 -1
- data/CODE_OF_CONDUCT.md +0 -134
- data/CONTRIBUTING.md +0 -143
- data/Gemfile +0 -38
- data/Gemfile.lock +0 -293
- data/LICENSE.txt +0 -22
- data/REEK +0 -0
- data/RUBOCOP.md +0 -71
- data/Rakefile +0 -324
- data/SECURITY.md +0 -21
- 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 -11
- 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/checksums/timecop-rspec-1.0.0.gem.sha256 +0 -1
- data/checksums/timecop-rspec-1.0.0.gem.sha512 +0 -1
- data/checksums/timecop-rspec-1.0.1.gem.sha256 +0 -1
- data/checksums/timecop-rspec-1.0.1.gem.sha512 +0 -1
- data/checksums/timecop-rspec-1.0.2.gem.sha256 +0 -1
- data/checksums/timecop-rspec-1.0.2.gem.sha512 +0 -1
- 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 -230
- 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 -130
- data/docs/file.CITATION.html +0 -92
- data/docs/file.CODE_OF_CONDUCT.html +0 -201
- data/docs/file.CONTRIBUTING.html +0 -218
- data/docs/file.LICENSE.html +0 -70
- data/docs/file.README.html +0 -545
- 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-rspec-1.0.1.gem.html +0 -71
- data/docs/file.timecop.html +0 -72
- data/docs/file_list.html +0 -129
- data/docs/frames.html +0 -22
- data/docs/index.html +0 -545
- 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/sig/timecop.rbs +0 -2
- data/timecop-rspec.gemspec +0 -149
data/Gemfile.lock
DELETED
|
@@ -1,293 +0,0 @@
|
|
|
1
|
-
GIT
|
|
2
|
-
remote: https://github.com/pboling/yard-junk
|
|
3
|
-
revision: 54ccebabbfa9a9cd44d0b991687ebbfd22c32b55
|
|
4
|
-
branch: next
|
|
5
|
-
specs:
|
|
6
|
-
yard-junk (0.0.10)
|
|
7
|
-
backports (>= 3.18)
|
|
8
|
-
benchmark
|
|
9
|
-
ostruct
|
|
10
|
-
rainbow
|
|
11
|
-
yard
|
|
12
|
-
|
|
13
|
-
PATH
|
|
14
|
-
remote: .
|
|
15
|
-
specs:
|
|
16
|
-
timecop-rspec (1.0.2)
|
|
17
|
-
delegate (~> 0.1)
|
|
18
|
-
rspec (~> 3.0)
|
|
19
|
-
timecop (>= 0.7, < 1)
|
|
20
|
-
|
|
21
|
-
GEM
|
|
22
|
-
remote: https://rubygems.org/
|
|
23
|
-
specs:
|
|
24
|
-
ansi (1.5.0)
|
|
25
|
-
appraisal2 (3.0.0)
|
|
26
|
-
bundler (>= 1.17.3)
|
|
27
|
-
rake (>= 10)
|
|
28
|
-
thor (>= 0.14)
|
|
29
|
-
ast (2.4.3)
|
|
30
|
-
backports (3.25.1)
|
|
31
|
-
benchmark (0.4.1)
|
|
32
|
-
bigdecimal (3.2.2)
|
|
33
|
-
bundler-audit (0.9.2)
|
|
34
|
-
bundler (>= 1.2.0, < 3)
|
|
35
|
-
thor (~> 1.0)
|
|
36
|
-
coderay (1.1.3)
|
|
37
|
-
concurrent-ruby (1.3.5)
|
|
38
|
-
date (3.4.1)
|
|
39
|
-
debug (1.11.0)
|
|
40
|
-
irb (~> 1.10)
|
|
41
|
-
reline (>= 0.3.8)
|
|
42
|
-
delegate (0.4.0)
|
|
43
|
-
diff-lcs (1.6.2)
|
|
44
|
-
diffy (3.4.4)
|
|
45
|
-
docile (1.4.1)
|
|
46
|
-
dry-configurable (1.3.0)
|
|
47
|
-
dry-core (~> 1.1)
|
|
48
|
-
zeitwerk (~> 2.6)
|
|
49
|
-
dry-core (1.1.0)
|
|
50
|
-
concurrent-ruby (~> 1.0)
|
|
51
|
-
logger
|
|
52
|
-
zeitwerk (~> 2.6)
|
|
53
|
-
dry-inflector (1.2.0)
|
|
54
|
-
dry-initializer (3.2.0)
|
|
55
|
-
dry-logic (1.6.0)
|
|
56
|
-
bigdecimal
|
|
57
|
-
concurrent-ruby (~> 1.0)
|
|
58
|
-
dry-core (~> 1.1)
|
|
59
|
-
zeitwerk (~> 2.6)
|
|
60
|
-
dry-schema (1.14.1)
|
|
61
|
-
concurrent-ruby (~> 1.0)
|
|
62
|
-
dry-configurable (~> 1.0, >= 1.0.1)
|
|
63
|
-
dry-core (~> 1.1)
|
|
64
|
-
dry-initializer (~> 3.2)
|
|
65
|
-
dry-logic (~> 1.5)
|
|
66
|
-
dry-types (~> 1.8)
|
|
67
|
-
zeitwerk (~> 2.6)
|
|
68
|
-
dry-types (1.8.3)
|
|
69
|
-
bigdecimal (~> 3.0)
|
|
70
|
-
concurrent-ruby (~> 1.0)
|
|
71
|
-
dry-core (~> 1.0)
|
|
72
|
-
dry-inflector (~> 1.0)
|
|
73
|
-
dry-logic (~> 1.4)
|
|
74
|
-
zeitwerk (~> 2.6)
|
|
75
|
-
erb (5.0.2)
|
|
76
|
-
gem_bench (2.0.5)
|
|
77
|
-
bundler (>= 1.14)
|
|
78
|
-
version_gem (~> 1.1, >= 1.1.4)
|
|
79
|
-
io-console (0.8.1)
|
|
80
|
-
irb (1.15.2)
|
|
81
|
-
pp (>= 0.6.0)
|
|
82
|
-
rdoc (>= 4.0.0)
|
|
83
|
-
reline (>= 0.4.2)
|
|
84
|
-
json (2.13.2)
|
|
85
|
-
kettle-soup-cover (1.0.10)
|
|
86
|
-
simplecov (~> 0.22)
|
|
87
|
-
simplecov-cobertura (~> 3.0)
|
|
88
|
-
simplecov-console (~> 0.9, >= 0.9.3)
|
|
89
|
-
simplecov-html (~> 0.13, >= 0.13.1)
|
|
90
|
-
simplecov-lcov (~> 0.8)
|
|
91
|
-
simplecov-rcov (~> 0.3, >= 0.3.7)
|
|
92
|
-
simplecov_json_formatter (~> 0.1, >= 0.1.4)
|
|
93
|
-
version_gem (~> 1.1, >= 1.1.8)
|
|
94
|
-
kramdown (2.5.1)
|
|
95
|
-
rexml (>= 3.3.9)
|
|
96
|
-
kramdown-parser-gfm (1.1.0)
|
|
97
|
-
kramdown (~> 2.0)
|
|
98
|
-
language_server-protocol (3.17.0.5)
|
|
99
|
-
lint_roller (1.1.0)
|
|
100
|
-
logger (1.7.0)
|
|
101
|
-
method_source (1.1.0)
|
|
102
|
-
nokogiri (1.18.9-x86_64-linux-gnu)
|
|
103
|
-
racc (~> 1.4)
|
|
104
|
-
ostruct (0.6.3)
|
|
105
|
-
parallel (1.27.0)
|
|
106
|
-
parser (3.3.9.0)
|
|
107
|
-
ast (~> 2.4.1)
|
|
108
|
-
racc
|
|
109
|
-
pp (0.6.2)
|
|
110
|
-
prettyprint
|
|
111
|
-
prettyprint (0.2.0)
|
|
112
|
-
prism (1.4.0)
|
|
113
|
-
pry (0.15.2)
|
|
114
|
-
coderay (~> 1.1)
|
|
115
|
-
method_source (~> 1.0)
|
|
116
|
-
psych (5.2.6)
|
|
117
|
-
date
|
|
118
|
-
stringio
|
|
119
|
-
racc (1.8.1)
|
|
120
|
-
rainbow (3.1.1)
|
|
121
|
-
rake (13.3.0)
|
|
122
|
-
rdoc (6.14.2)
|
|
123
|
-
erb
|
|
124
|
-
psych (>= 4.0.0)
|
|
125
|
-
reek (6.5.0)
|
|
126
|
-
dry-schema (~> 1.13)
|
|
127
|
-
logger (~> 1.6)
|
|
128
|
-
parser (~> 3.3.0)
|
|
129
|
-
rainbow (>= 2.0, < 4.0)
|
|
130
|
-
rexml (~> 3.1)
|
|
131
|
-
regexp_parser (2.11.2)
|
|
132
|
-
reline (0.6.2)
|
|
133
|
-
io-console (~> 0.5)
|
|
134
|
-
rexml (3.4.1)
|
|
135
|
-
rspec (3.13.1)
|
|
136
|
-
rspec-core (~> 3.13.0)
|
|
137
|
-
rspec-expectations (~> 3.13.0)
|
|
138
|
-
rspec-mocks (~> 3.13.0)
|
|
139
|
-
rspec-block_is_expected (1.0.6)
|
|
140
|
-
rspec-core (3.13.5)
|
|
141
|
-
rspec-support (~> 3.13.0)
|
|
142
|
-
rspec-expectations (3.13.5)
|
|
143
|
-
diff-lcs (>= 1.2.0, < 2.0)
|
|
144
|
-
rspec-support (~> 3.13.0)
|
|
145
|
-
rspec-mocks (3.13.5)
|
|
146
|
-
diff-lcs (>= 1.2.0, < 2.0)
|
|
147
|
-
rspec-support (~> 3.13.0)
|
|
148
|
-
rspec-stubbed_env (1.0.4)
|
|
149
|
-
rspec-support (3.13.4)
|
|
150
|
-
rspec_junit_formatter (0.6.0)
|
|
151
|
-
rspec-core (>= 2, < 4, != 2.12.0)
|
|
152
|
-
rubocop (1.75.8)
|
|
153
|
-
json (~> 2.3)
|
|
154
|
-
language_server-protocol (~> 3.17.0.2)
|
|
155
|
-
lint_roller (~> 1.1.0)
|
|
156
|
-
parallel (~> 1.10)
|
|
157
|
-
parser (>= 3.3.0.2)
|
|
158
|
-
rainbow (>= 2.2.2, < 4.0)
|
|
159
|
-
regexp_parser (>= 2.9.3, < 3.0)
|
|
160
|
-
rubocop-ast (>= 1.44.0, < 2.0)
|
|
161
|
-
ruby-progressbar (~> 1.7)
|
|
162
|
-
unicode-display_width (>= 2.4.0, < 4.0)
|
|
163
|
-
rubocop-ast (1.46.0)
|
|
164
|
-
parser (>= 3.3.7.2)
|
|
165
|
-
prism (~> 1.4)
|
|
166
|
-
rubocop-gradual (0.3.6)
|
|
167
|
-
diff-lcs (>= 1.2.0, < 2.0)
|
|
168
|
-
diffy (~> 3.0)
|
|
169
|
-
parallel (~> 1.10)
|
|
170
|
-
rainbow (>= 2.2.2, < 4.0)
|
|
171
|
-
rubocop (~> 1.0)
|
|
172
|
-
rubocop-lts (0.1.1)
|
|
173
|
-
rubocop-ruby1_8 (>= 1.0.5, < 2)
|
|
174
|
-
standard-rubocop-lts (>= 1.0.3, < 3)
|
|
175
|
-
version_gem (>= 1.1.2, < 3)
|
|
176
|
-
rubocop-md (1.2.4)
|
|
177
|
-
rubocop (>= 1.45)
|
|
178
|
-
rubocop-packaging (0.6.0)
|
|
179
|
-
lint_roller (~> 1.1.0)
|
|
180
|
-
rubocop (>= 1.72.1, < 2.0)
|
|
181
|
-
rubocop-performance (1.25.0)
|
|
182
|
-
lint_roller (~> 1.1)
|
|
183
|
-
rubocop (>= 1.75.0, < 2.0)
|
|
184
|
-
rubocop-ast (>= 1.38.0, < 2.0)
|
|
185
|
-
rubocop-rake (0.7.1)
|
|
186
|
-
lint_roller (~> 1.1)
|
|
187
|
-
rubocop (>= 1.72.1)
|
|
188
|
-
rubocop-rspec (3.6.0)
|
|
189
|
-
lint_roller (~> 1.1)
|
|
190
|
-
rubocop (~> 1.72, >= 1.72.1)
|
|
191
|
-
rubocop-ruby1_8 (1.0.7)
|
|
192
|
-
rubocop-gradual (~> 0.3, >= 0.3.1)
|
|
193
|
-
rubocop-md (~> 1.2)
|
|
194
|
-
rubocop-rake (~> 0.6)
|
|
195
|
-
rubocop-shopify (~> 2.14)
|
|
196
|
-
rubocop-thread_safety (~> 0.5, >= 0.5.1)
|
|
197
|
-
standard-rubocop-lts (~> 1.0, >= 1.0.7)
|
|
198
|
-
version_gem (>= 1.1.3, < 3)
|
|
199
|
-
rubocop-shopify (2.17.1)
|
|
200
|
-
rubocop (~> 1.62)
|
|
201
|
-
rubocop-thread_safety (0.7.3)
|
|
202
|
-
lint_roller (~> 1.1)
|
|
203
|
-
rubocop (~> 1.72, >= 1.72.1)
|
|
204
|
-
rubocop-ast (>= 1.44.0, < 2.0)
|
|
205
|
-
ruby-progressbar (1.13.0)
|
|
206
|
-
silent_stream (1.0.11)
|
|
207
|
-
logger (~> 1.2)
|
|
208
|
-
version_gem (>= 1.1.8, < 3)
|
|
209
|
-
simplecov (0.22.0)
|
|
210
|
-
docile (~> 1.1)
|
|
211
|
-
simplecov-html (~> 0.11)
|
|
212
|
-
simplecov_json_formatter (~> 0.1)
|
|
213
|
-
simplecov-cobertura (3.0.0)
|
|
214
|
-
rexml
|
|
215
|
-
simplecov (~> 0.19)
|
|
216
|
-
simplecov-console (0.9.4)
|
|
217
|
-
ansi
|
|
218
|
-
simplecov
|
|
219
|
-
terminal-table
|
|
220
|
-
simplecov-html (0.13.2)
|
|
221
|
-
simplecov-lcov (0.8.0)
|
|
222
|
-
simplecov-rcov (0.3.7)
|
|
223
|
-
simplecov (>= 0.4.1)
|
|
224
|
-
simplecov_json_formatter (0.1.4)
|
|
225
|
-
standard (1.50.0)
|
|
226
|
-
language_server-protocol (~> 3.17.0.2)
|
|
227
|
-
lint_roller (~> 1.0)
|
|
228
|
-
rubocop (~> 1.75.5)
|
|
229
|
-
standard-custom (~> 1.0.0)
|
|
230
|
-
standard-performance (~> 1.8)
|
|
231
|
-
standard-custom (1.0.2)
|
|
232
|
-
lint_roller (~> 1.0)
|
|
233
|
-
rubocop (~> 1.50)
|
|
234
|
-
standard-performance (1.8.0)
|
|
235
|
-
lint_roller (~> 1.1)
|
|
236
|
-
rubocop-performance (~> 1.25.0)
|
|
237
|
-
standard-rubocop-lts (1.0.10)
|
|
238
|
-
rspec-block_is_expected (~> 1.0, >= 1.0.5)
|
|
239
|
-
standard (>= 1.35.1, < 2)
|
|
240
|
-
standard-custom (>= 1.0.2, < 2)
|
|
241
|
-
standard-performance (>= 1.3.1, < 2)
|
|
242
|
-
version_gem (>= 1.1.4, < 3)
|
|
243
|
-
stone_checksums (1.0.0)
|
|
244
|
-
version_gem (>= 1.1.5, < 3)
|
|
245
|
-
stringio (3.1.7)
|
|
246
|
-
terminal-table (4.0.0)
|
|
247
|
-
unicode-display_width (>= 1.1.1, < 4)
|
|
248
|
-
thor (1.4.0)
|
|
249
|
-
timecop (0.9.10)
|
|
250
|
-
unicode-display_width (3.1.5)
|
|
251
|
-
unicode-emoji (~> 4.0, >= 4.0.4)
|
|
252
|
-
unicode-emoji (4.0.4)
|
|
253
|
-
version_gem (1.1.8)
|
|
254
|
-
yard (0.9.37)
|
|
255
|
-
yard-relative_markdown_links (0.5.0)
|
|
256
|
-
nokogiri (>= 1.14.3, < 2)
|
|
257
|
-
zeitwerk (2.7.3)
|
|
258
|
-
|
|
259
|
-
PLATFORMS
|
|
260
|
-
x86_64-linux
|
|
261
|
-
|
|
262
|
-
DEPENDENCIES
|
|
263
|
-
appraisal2 (~> 3.0)
|
|
264
|
-
benchmark (~> 0.4, >= 0.4.1)
|
|
265
|
-
bundler-audit (~> 0.9.2)
|
|
266
|
-
debug (>= 1.0.0)
|
|
267
|
-
gem_bench (~> 2.0, >= 2.0.5)
|
|
268
|
-
kettle-soup-cover (~> 1.0, >= 1.0.6)
|
|
269
|
-
kramdown (~> 2.5, >= 2.5.1)
|
|
270
|
-
kramdown-parser-gfm (~> 1.1)
|
|
271
|
-
logger
|
|
272
|
-
pry (~> 0.14)
|
|
273
|
-
rake (~> 13.0)
|
|
274
|
-
rdoc (~> 6.11)
|
|
275
|
-
reek (~> 6.4)
|
|
276
|
-
rspec-block_is_expected (~> 1.0)
|
|
277
|
-
rspec-stubbed_env (~> 1.0)
|
|
278
|
-
rspec_junit_formatter (~> 0.6)
|
|
279
|
-
rubocop (~> 1.73, >= 1.73.2)
|
|
280
|
-
rubocop-lts (~> 0.1, >= 0.1.1)
|
|
281
|
-
rubocop-packaging (~> 0.6, >= 0.6.0)
|
|
282
|
-
rubocop-rspec (~> 3.2)
|
|
283
|
-
silent_stream (~> 1.0, >= 1.0.11)
|
|
284
|
-
standard (>= 1.50)
|
|
285
|
-
stone_checksums (~> 1.0)
|
|
286
|
-
timecop (~> 0.9, >= 0.9.10)
|
|
287
|
-
timecop-rspec!
|
|
288
|
-
yard (~> 0.9, >= 0.9.37)
|
|
289
|
-
yard-junk (~> 0.0, >= 0.0.10)!
|
|
290
|
-
yard-relative_markdown_links (~> 0.5.0)
|
|
291
|
-
|
|
292
|
-
BUNDLED WITH
|
|
293
|
-
2.7.1
|
data/LICENSE.txt
DELETED
|
@@ -1,22 +0,0 @@
|
|
|
1
|
-
The MIT License (MIT)
|
|
2
|
-
|
|
3
|
-
Copyright (c) 2025 Peter H. Boling
|
|
4
|
-
Copyright (c) 2014-2017 Zach Taylor & Avant
|
|
5
|
-
|
|
6
|
-
Permission is hereby granted, free of charge, to any person obtaining a copy
|
|
7
|
-
of this software and associated documentation files (the "Software"), to deal
|
|
8
|
-
in the Software without restriction, including without limitation the rights
|
|
9
|
-
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
|
10
|
-
copies of the Software, and to permit persons to whom the Software is
|
|
11
|
-
furnished to do so, subject to the following conditions:
|
|
12
|
-
|
|
13
|
-
The above copyright notice and this permission notice shall be included in
|
|
14
|
-
all copies or substantial portions of the Software.
|
|
15
|
-
|
|
16
|
-
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
|
17
|
-
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
|
18
|
-
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
|
19
|
-
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
|
20
|
-
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
|
21
|
-
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
|
|
22
|
-
THE SOFTWARE.
|
data/REEK
DELETED
|
File without changes
|
data/RUBOCOP.md
DELETED
|
@@ -1,71 +0,0 @@
|
|
|
1
|
-
# RuboCop Usage Guide
|
|
2
|
-
|
|
3
|
-
## Overview
|
|
4
|
-
|
|
5
|
-
A tale of two RuboCop plugin gems.
|
|
6
|
-
|
|
7
|
-
### RuboCop Gradual
|
|
8
|
-
|
|
9
|
-
This project uses `rubocop_gradual` instead of vanilla RuboCop for code style checking. The `rubocop_gradual` tool allows for gradual adoption of RuboCop rules by tracking violations in a lock file.
|
|
10
|
-
|
|
11
|
-
### RuboCop LTS
|
|
12
|
-
|
|
13
|
-
This project uses `rubocop-lts` to ensure, on a best-effort basis, compatibility with Ruby >= 1.9.2.
|
|
14
|
-
RuboCop rules are meticulously configured by the `rubocop-lts` family of gems to ensure that a project is compatible with a specific version of Ruby. See: https://rubocop-lts.gitlab.io for more.
|
|
15
|
-
|
|
16
|
-
## Checking RuboCop Violations
|
|
17
|
-
|
|
18
|
-
To check for RuboCop violations in this project, always use:
|
|
19
|
-
|
|
20
|
-
```bash
|
|
21
|
-
bundle exec rake rubocop_gradual:check
|
|
22
|
-
```
|
|
23
|
-
|
|
24
|
-
**Do not use** the standard RuboCop commands like:
|
|
25
|
-
- `bundle exec rubocop`
|
|
26
|
-
- `rubocop`
|
|
27
|
-
|
|
28
|
-
## Understanding the Lock File
|
|
29
|
-
|
|
30
|
-
The `.rubocop_gradual.lock` file tracks all current RuboCop violations in the project. This allows the team to:
|
|
31
|
-
|
|
32
|
-
1. Prevent new violations while gradually fixing existing ones
|
|
33
|
-
2. Track progress on code style improvements
|
|
34
|
-
3. Ensure CI builds don't fail due to pre-existing violations
|
|
35
|
-
|
|
36
|
-
## Common Commands
|
|
37
|
-
|
|
38
|
-
- **Check violations**
|
|
39
|
-
- `bundle exec rake rubocop_gradual`
|
|
40
|
-
- `bundle exec rake rubocop_gradual:check`
|
|
41
|
-
- **(Safe) Autocorrect violations, and update lockfile if no new violations**
|
|
42
|
-
- `bundle exec rake rubocop_gradual:autocorrect`
|
|
43
|
-
- **Force update the lock file (w/o autocorrect) to match violations present in code**
|
|
44
|
-
- `bundle exec rake rubocop_gradual:force_update`
|
|
45
|
-
|
|
46
|
-
## Workflow
|
|
47
|
-
|
|
48
|
-
1. Before submitting a PR, run `bundle exec rake rubocop_gradual:autocorrect`
|
|
49
|
-
a. or just the default `bundle exec rake`, as autocorrection is a pre-requisite of the default task.
|
|
50
|
-
2. If there are new violations, either:
|
|
51
|
-
- Fix them in your code
|
|
52
|
-
- Run `bundle exec rake rubocop_gradual:force_update` to update the lock file (only for violations you can't fix immediately)
|
|
53
|
-
3. Commit the updated `.rubocop_gradual.lock` file along with your changes
|
|
54
|
-
|
|
55
|
-
## Never add inline RuboCop disables
|
|
56
|
-
|
|
57
|
-
Do not add inline `rubocop:disable` / `rubocop:enable` comments anywhere in the codebase (including specs, except when following the few existing `rubocop:disable` patterns for a rule already being disabled elsewhere in the code). We handle exceptions in two supported ways:
|
|
58
|
-
|
|
59
|
-
- Permanent/structural exceptions: prefer adjusting the RuboCop configuration (e.g., in `.rubocop.yml`) to exclude a rule for a path or file pattern when it makes sense project-wide.
|
|
60
|
-
- Temporary exceptions while improving code: record the current violations in `.rubocop_gradual.lock` via the gradual workflow:
|
|
61
|
-
- `bundle exec rake rubocop_gradual:autocorrect` (preferred; will autocorrect what it can and update the lock only if no new violations were introduced)
|
|
62
|
-
- If needed, `bundle exec rake rubocop_gradual:force_update` (as a last resort when you cannot fix the newly reported violations immediately)
|
|
63
|
-
|
|
64
|
-
In general, treat the rules as guidance to follow; fix violations rather than ignore them. For example, RSpec conventions in this project expect `described_class` to be used in specs that target a specific class under test.
|
|
65
|
-
|
|
66
|
-
## Benefits of rubocop_gradual
|
|
67
|
-
|
|
68
|
-
- Allows incremental adoption of code style rules
|
|
69
|
-
- Prevents CI failures due to pre-existing violations
|
|
70
|
-
- Provides a clear record of code style debt
|
|
71
|
-
- Enables focused efforts on improving code quality over time
|