Skip to content

Commit d1936e2

Browse files
committed
👷 Update default rake task
1 parent cea571c commit d1936e2

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

51 files changed

+63
-58
lines changed

README.md

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -76,6 +76,7 @@ covering the latest patch for each of the following minor versions:
7676
|------------------------------------------------|--------------------------------------------------------------------------------------|
7777
| 👟 Check it out! |[github.com/appraisal-rb/appraisal2](https://github.com/appraisal-rb/appraisal2)|
7878

79+
* Operating Systems: Linux, MacOS, Windows
7980
* MRI Ruby @ v2.3, v2.4, v2.5, v2.6, v2.7, v3.0, v3.1, v3.2, v3.3, v3.4, HEAD
8081
* NOTE: This gem will still install on ruby v2.2, but vanilla GitHub Actions no longer supports testing against it, so YMMV.
8182
* JRuby @ v9.2, v9.3, v9.4, v10.0, HEAD
@@ -851,7 +852,7 @@ or one of the smaller ones, depending on button size preference.
851852

852853
[![Liberapay Goal Progress][⛳liberapay-img]][⛳liberapay] [![Sponsor Me on Github][🖇sponsor-img]][🖇sponsor] [![Donate on Polar][🖇polar-img]][🖇polar] [![Donate to my FLOSS or refugee efforts at ko-fi.com][🖇kofi-img]][🖇kofi] [![Donate to my FLOSS or refugee efforts using Patreon][🖇patreon-img]][🖇patreon]
853854

854-
P.S. If you need help️, or want to say thanks, 👇 Join the Discord.
855+
P.S. If you need help️ or want to say thanks, 👇 Join the Discord.
855856

856857
[![Live Chat on Discord][✉️discord-invite-img]][✉️discord-invite]
857858

Rakefile

Lines changed: 6 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,10 @@
1+
# frozen_string_literal: true
2+
13
require "bundler/gem_tasks"
24

35
defaults = []
46

5-
# See: https://docs.gitlab.com/ci/variables/predefined_variables/
6-
is_gitlab = ENV.fetch("GITLAB_CI", "false").casecmp("true") == 0
7+
is_ci = ENV.fetch("CI", "false").casecmp("true") == 0
78

89
### DEVELOPMENT TASKS
910
# Setup Kettle Soup Cover
@@ -42,7 +43,8 @@ begin
4243
require "rspec/core/rake_task"
4344

4445
RSpec::Core::RakeTask.new(:spec)
45-
defaults << "spec"
46+
# This takes the place of `coverage` task when running as CI=true
47+
defaults << "spec" if !defined?(Kettle::Soup::Cover) || Kettle::Soup::Cover::IS_CI
4648
rescue LoadError
4749
desc("spec task stub")
4850
task(:spec) do
@@ -99,7 +101,7 @@ begin
99101
t.verbose = false
100102
t.source_files = "{lib,spec}/**/*.rb"
101103
end
102-
defaults << "reek" unless is_gitlab
104+
defaults << "reek" unless is_ci
103105
rescue LoadError
104106
desc("(stub) reek is unavailable")
105107
task(:reek) do

docs/OAuth2.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -326,7 +326,7 @@ <h3 class="signature first" id="configure-class_method">
326326
</div>
327327

328328
<div id="footer">
329-
Generated on Wed Aug 6 20:51:41 2025 by
329+
Generated on Wed Aug 6 21:41:02 2025 by
330330
<a href="https://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
331331
0.9.37 (ruby-3.4.5).
332332
</div>

docs/OAuth2/AccessToken.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3069,7 +3069,7 @@ <h3 class="signature " id="to_hash-instance_method">
30693069
</div>
30703070

30713071
<div id="footer">
3072-
Generated on Wed Aug 6 20:51:41 2025 by
3072+
Generated on Wed Aug 6 21:41:03 2025 by
30733073
<a href="https://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
30743074
0.9.37 (ruby-3.4.5).
30753075
</div>

docs/OAuth2/Authenticator.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -631,7 +631,7 @@ <h3 class="signature first" id="apply-instance_method">
631631
</div>
632632

633633
<div id="footer">
634-
Generated on Wed Aug 6 20:51:41 2025 by
634+
Generated on Wed Aug 6 21:41:03 2025 by
635635
<a href="https://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
636636
0.9.37 (ruby-3.4.5).
637637
</div>

docs/OAuth2/Client.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2651,7 +2651,7 @@ <h3 class="signature " id="token_url-instance_method">
26512651
</div>
26522652

26532653
<div id="footer">
2654-
Generated on Wed Aug 6 20:51:41 2025 by
2654+
Generated on Wed Aug 6 21:41:03 2025 by
26552655
<a href="https://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
26562656
0.9.37 (ruby-3.4.5).
26572657
</div>

docs/OAuth2/Error.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -518,7 +518,7 @@ <h3 class="signature " id="response-instance_method">
518518
</div>
519519

520520
<div id="footer">
521-
Generated on Wed Aug 6 20:51:41 2025 by
521+
Generated on Wed Aug 6 21:41:02 2025 by
522522
<a href="https://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
523523
0.9.37 (ruby-3.4.5).
524524
</div>

docs/OAuth2/FilteredAttributes.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -268,7 +268,7 @@ <h3 class="signature first" id="inspect-instance_method">
268268
</div>
269269

270270
<div id="footer">
271-
Generated on Wed Aug 6 20:51:41 2025 by
271+
Generated on Wed Aug 6 21:41:02 2025 by
272272
<a href="https://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
273273
0.9.37 (ruby-3.4.5).
274274
</div>

docs/OAuth2/FilteredAttributes/ClassMethods.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -218,7 +218,7 @@ <h3 class="signature " id="filtered_attributes-instance_method">
218218
</div>
219219

220220
<div id="footer">
221-
Generated on Wed Aug 6 20:51:41 2025 by
221+
Generated on Wed Aug 6 21:41:02 2025 by
222222
<a href="https://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
223223
0.9.37 (ruby-3.4.5).
224224
</div>

docs/OAuth2/Response.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1619,7 +1619,7 @@ <h3 class="signature " id="status-instance_method">
16191619
</div>
16201620

16211621
<div id="footer">
1622-
Generated on Wed Aug 6 20:51:41 2025 by
1622+
Generated on Wed Aug 6 21:41:03 2025 by
16231623
<a href="https://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
16241624
0.9.37 (ruby-3.4.5).
16251625
</div>

0 commit comments

Comments
 (0)