Skip to content

Commit c43e05b

Browse files
committed
👷 Appraisals
1 parent d1dd636 commit c43e05b

21 files changed

+46
-64
lines changed

Appraisals

Lines changed: 1 addition & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -1,28 +1,18 @@
11
# frozen_string_literal: true
22

33
appraise "ruby-2-2" do
4-
gem "mutex_m", "~> 0.1.2"
5-
gem "stringio", "~> 0.0.2"
6-
# For Ruby 2.2 we have to use appraisal v2.2 as it is the last to support Ruby v2.2
7-
# but it doesn't have the remove_gem feature yet.
8-
# remove_gem "appraisal" # only present because it must be in the gemfile because we target a git branch
4+
remove_gem "appraisal" # only present because it must be in the gemfile because we target a git branch
95
end
106

117
appraise "ruby-2-3" do
12-
gem "mutex_m", "~> 0.1.2"
13-
gem "stringio", "~> 0.0.2"
148
remove_gem "appraisal" # only present because it must be in the gemfile because we target a git branch
159
end
1610

1711
appraise "ruby-2-4" do
18-
gem "mutex_m", "~> 0.1.2"
19-
gem "stringio", "~> 0.0.2"
2012
remove_gem "appraisal" # only present because it must be in the gemfile because we target a git branch
2113
end
2214

2315
appraise "ruby-2-5" do
24-
gem "mutex_m", "~> 0.2"
25-
gem "stringio", "~> 3.0"
2616
remove_gem "appraisal" # only present because it must be in the gemfile because we target a git branch
2717
end
2818

CONTRIBUTING.md

Lines changed: 4 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -27,18 +27,13 @@ Simply follow these instructions:
2727
From time to time the appraisal gemfiles in `gemfiles/` will need to be updated.
2828
They are created and updated with the commands:
2929

30-
```shell
31-
# Switch to a Ruby v2.x installation with your ruby version manager, e.g.:
32-
asdf local ruby 2.7.8
33-
BUNDLE_GEMFILE=Appraisal.root.gemfile bundle install
34-
BUNDLE_GEMFILE=Appraisal.root.gemfile bundle exec appraisal update
35-
```
30+
NOTE: We run on a fork of Appraisal.
3631

37-
NOTE: Once `eval_gemfile` support is [merged into appraisal][🚎appraisal-eval-gemfile-pr]
38-
the above commands will be simplified to:
32+
Please upvote the PR for `eval_gemfile` [support][🚎appraisal-eval-gemfile-pr]
3933

4034
```shell
41-
BUNDLE_GEMFILE=Appraisal.root.gemfile appraisal update
35+
BUNDLE_GEMFILE=Appraisal.root.gemfile bundle
36+
BUNDLE_GEMFILE=Appraisal.root.gemfile bundle exec appraisal update
4237
```
4338

4439
### SemVer Failure

Gemfile.lock

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,11 @@
11
GIT
22
remote: https://github.com/pboling/appraisal
3-
revision: 05d6d9c490c81b2989051bd95f39b40a0baf76d8
4-
branch: eval_gemfile
3+
revision: f5b830cb783ecb83e271c18c29c827af4986578d
4+
branch: galtzo
55
specs:
66
appraisal (3.0.0.rc1)
7-
bundler
8-
rake
7+
bundler (>= 1.17.3)
8+
rake (>= 10)
99
thor (>= 0.14.0)
1010

1111
PATH
@@ -156,7 +156,7 @@ GEM
156156
standard-custom (>= 1.0.2, < 2)
157157
standard-performance (>= 1.3.1, < 2)
158158
version_gem (>= 1.1.4, < 3)
159-
stringio (3.1.3)
159+
stringio (3.1.5)
160160
terminal-table (4.0.0)
161161
unicode-display_width (>= 1.1.1, < 4)
162162
thor (1.3.2)

README.md

Lines changed: 15 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -62,14 +62,15 @@ This library was extracted from the gem _[oauth2](https://gitlab.com/oauth-xx/oa
6262

6363
This gem has no runtime dependencies.
6464

65-
| Tokens to Remember | [![Gem name][⛳️name-img]][⛳️gem-name] [![Gem namespace][⛳️namespace-img]][⛳️gem-namespace] |
66-
|--------------------|------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|
67-
| compatibility | [![Ruby 2.2 Compat][💎ruby-2.2i]][🚎8-ho-wf] [![Ruby 2.3 Compat][💎ruby-2.3i]][🚎1-an-wf] [![Ruby 2.4 Compat][💎ruby-2.4i]][🚎1-an-wf] [![Ruby 2.5 Compat][💎ruby-2.5i]][🚎1-an-wf] [![Ruby 2.6 Compat][💎ruby-2.6i]][🚎7-us-wf] [![Ruby 2.7 Compat][💎ruby-2.7i]][🚎7-us-wf] [![Ruby 3.0 Compat][💎ruby-3.0i]][🚎4-lg-wf] [![Ruby 3.1 Compat][💎ruby-3.1i]][🚎6-s-wf] [![Ruby 3.2 Compat][💎ruby-3.2i]][🚎6-s-wf] [![Ruby 3.3 Compat][💎ruby-3.3i]][🚎6-s-wf] [![Ruby 3.4 Compat][💎ruby-3.4i]][🚎6-s-wf] |
68-
| documentation | [![Documentation on Github.com][📜docs-gh-img]][homepage] `or` [![Current release on RubyDoc.info][📜docs-cr-rd-img]][🚎yard-current] `or` [![HEAD on RubyDoc.info][📜docs-head-rd-img]][🚎yard-head] `or` [![Wiki][📜wiki-img]][📜wiki] [![The best SHA: dQw4w9WgXcQ!][🧮kloc-img]][🧮kloc] |
69-
| compliance | [![License: MIT][📄license-img]][📄license-ref] [![📄ilo-declaration-img]][📄ilo-declaration] [![Security Policy][🔐security-img]][🔐security] [![CodeQL][🖐codeQL-img]][🖐codeQL] [![SemVer 2.0.0][📌semver-img]][📌semver] [![Keep-A-Changelog 1.0.0][📗keep-changelog-img]][📗keep-changelog] |
70-
| expert 1:1 support | [![Get help from me on Upwork][👨🏼‍🏫expsup-upwork-img]][👨🏼‍🏫expsup-upwork] `or` [![Get help from me on Codementor][👨🏼‍🏫expsup-codementor-img]][👨🏼‍🏫expsup-codementor] |
71-
| enterprise support | [![Get help from me on Tidelift][🏙️entsup-tidelift-img]][🏙️entsup-tidelift] (for _this and all your other_ FLOSS dependencies; btw, TideLift is now part of [Sonar](https://blog.tidelift.com/tidelift-joins-sonar)!) |
72-
| `...` 💖 | [![Follow Me on LinkedIn][💖🖇linkedin-img]][💖🖇linkedin] [![Find Me on WellFound:][💖✌️wellfound-img]][💖✌️wellfound] [![Find Me on CrunchBase][💖💲crunchbase-img]][💖💲crunchbase] [![My LinkTree][💖🌳linktree-img]][💖🌳linktree] [![Follow Me on Ruby.Social][💖🐘ruby-mast-img]][💖🐘ruby-mast] [![My technical writing][💖💁🏼‍♂️devto-img]][💖💁🏼‍♂️devto] [🌏][💖💁🏼‍♂️aboutme] |
65+
| Tokens to Remember | [![Gem name][⛳️name-img]][⛳️gem-name] [![Gem namespace][⛳️namespace-img]][⛳️gem-namespace] |
66+
|--------------------|----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|
67+
| ruby 3 compat | [![Ruby 3.0 Compat][💎ruby-3.0i]][🚎4-lg-wf] [![Ruby 3.1 Compat][💎ruby-3.1i]][🚎6-s-wf] [![Ruby 3.2 Compat][💎ruby-3.2i]][🚎6-s-wf] [![Ruby 3.3 Compat][💎ruby-3.3i]][🚎6-s-wf] [![Ruby 3.4 Compat][💎ruby-3.4i]][🚎6-s-wf] |
68+
| ruby 2 compat | [![Ruby 2.2 Compat][💎ruby-2.2i]][🚎8-ho-wf] [![Ruby 2.3 Compat][💎ruby-2.3i]][🚎1-an-wf] [![Ruby 2.4 Compat][💎ruby-2.4i]][🚎1-an-wf] [![Ruby 2.5 Compat][💎ruby-2.5i]][🚎1-an-wf] [![Ruby 2.6 Compat][💎ruby-2.6i]][🚎7-us-wf] [![Ruby 2.7 Compat][💎ruby-2.7i]][🚎7-us-wf] |
69+
| documentation | [![Documentation on Github.com][📜docs-gh-img]][homepage] `or` [![Current release on RubyDoc.info][📜docs-cr-rd-img]][🚎yard-current] `or` [![HEAD on RubyDoc.info][📜docs-head-rd-img]][🚎yard-head] `or` [![Wiki][📜wiki-img]][📜wiki] [![The best SHA: dQw4w9WgXcQ!][🧮kloc-img]][🧮kloc] |
70+
| compliance | [![License: MIT][📄license-img]][📄license-ref] [![📄ilo-declaration-img]][📄ilo-declaration] [![Security Policy][🔐security-img]][🔐security] [![CodeQL][🖐codeQL-img]][🖐codeQL] [![SemVer 2.0.0][📌semver-img]][📌semver] [![Keep-A-Changelog 1.0.0][📗keep-changelog-img]][📗keep-changelog] |
71+
| expert 1:1 support | [![Get help from me on Upwork][👨🏼‍🏫expsup-upwork-img]][👨🏼‍🏫expsup-upwork] `or` [![Get help from me on Codementor][👨🏼‍🏫expsup-codementor-img]][👨🏼‍🏫expsup-codementor] |
72+
| enterprise support | [![Get help from me on Tidelift][🏙️entsup-tidelift-img]][🏙️entsup-tidelift] (for _this and all your other_ FLOSS dependencies; btw, TideLift is now part of [Sonar](https://blog.tidelift.com/tidelift-joins-sonar)!) |
73+
| `...` 💖 | [![Follow Me on LinkedIn][💖🖇linkedin-img]][💖🖇linkedin] [![Find Me on WellFound:][💖✌️wellfound-img]][💖✌️wellfound] [![Find Me on CrunchBase][💖💲crunchbase-img]][💖💲crunchbase] [![My LinkTree][💖🌳linktree-img]][💖🌳linktree] [![Follow Me on Ruby.Social][💖🐘ruby-mast-img]][💖🐘ruby-mast] [![My technical writing][💖💁🏼‍♂️devto-img]][💖💁🏼‍♂️devto] [🌏][💖💁🏼‍♂️aboutme] |
7374

7475
## Installation
7576

@@ -433,12 +434,12 @@ or one of the others at the head of this README.
433434
[🖇kofi]: https://ko-fi.com/O5O86SNP4
434435
[🖇patreon-img]: https://img.shields.io/badge/patreon-donate-yellow.svg
435436
[🖇patreon]: https://patreon.com/galtzo
436-
[💎ruby-2.2i]: https://img.shields.io/badge/Ruby-2.2-CC342D?style=for-the-badge&logo=ruby&logoColor=white
437-
[💎ruby-2.3i]: https://img.shields.io/badge/Ruby-2.3-CC342D?style=for-the-badge&logo=ruby&logoColor=white
438-
[💎ruby-2.4i]: https://img.shields.io/badge/Ruby-2.4-CC342D?style=for-the-badge&logo=ruby&logoColor=white
439-
[💎ruby-2.5i]: https://img.shields.io/badge/Ruby-2.5-CC342D?style=for-the-badge&logo=ruby&logoColor=white
440-
[💎ruby-2.6i]: https://img.shields.io/badge/Ruby-2.6-CC342D?style=for-the-badge&logo=ruby&logoColor=white
441-
[💎ruby-2.7i]: https://img.shields.io/badge/Ruby-2.7-CC342D?style=for-the-badge&logo=ruby&logoColor=white
437+
[💎ruby-2.2i]: https://img.shields.io/badge/Ruby-2.2-DF00CA?style=for-the-badge&logo=ruby&logoColor=white
438+
[💎ruby-2.3i]: https://img.shields.io/badge/Ruby-2.3-DF00CA?style=for-the-badge&logo=ruby&logoColor=white
439+
[💎ruby-2.4i]: https://img.shields.io/badge/Ruby-2.4-DF00CA?style=for-the-badge&logo=ruby&logoColor=white
440+
[💎ruby-2.5i]: https://img.shields.io/badge/Ruby-2.5-DF00CA?style=for-the-badge&logo=ruby&logoColor=white
441+
[💎ruby-2.6i]: https://img.shields.io/badge/Ruby-2.6-DF00CA?style=for-the-badge&logo=ruby&logoColor=white
442+
[💎ruby-2.7i]: https://img.shields.io/badge/Ruby-2.7-DF00CA?style=for-the-badge&logo=ruby&logoColor=white
442443
[💎ruby-3.0i]: https://img.shields.io/badge/Ruby-3.0-CC342D?style=for-the-badge&logo=ruby&logoColor=white
443444
[💎ruby-3.1i]: https://img.shields.io/badge/Ruby-3.1-CC342D?style=for-the-badge&logo=ruby&logoColor=white
444445
[💎ruby-3.2i]: https://img.shields.io/badge/Ruby-3.2-CC342D?style=for-the-badge&logo=ruby&logoColor=white

gemfiles/audit.gemfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,6 @@ source "https://rubygems.org"
55
gem "mutex_m", "~> 0.2"
66
gem "stringio", "~> 3.0"
77

8-
gemspec path: "../"
8+
gemspec :path => "../"
99

1010
eval_gemfile("modular/audit.gemfile")

gemfiles/coverage.gemfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,6 @@ source "https://rubygems.org"
55
gem "mutex_m", "~> 0.2"
66
gem "stringio", "~> 3.0"
77

8-
gemspec path: "../"
8+
gemspec :path => "../"
99

1010
eval_gemfile("modular/coverage.gemfile")

gemfiles/jruby_head.gemfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,4 +5,4 @@ source "https://rubygems.org"
55
gem "mutex_m", ">= 0.2"
66
gem "stringio", ">= 3.0"
77

8-
gemspec path: "../"
8+
gemspec :path => "../"

gemfiles/ruby_2_2.gemfile

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
# This file was generated by Appraisal
2+
3+
source "https://rubygems.org"
4+
5+
gemspec :path => "../"

gemfiles/ruby_2_3.gemfile

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,4 @@
22

33
source "https://rubygems.org"
44

5-
gem "mutex_m", "~> 0.1.2"
6-
gem "stringio", "~> 0.0.2"
7-
8-
gemspec path: "../"
5+
gemspec :path => "../"

gemfiles/ruby_2_4.gemfile

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,4 @@
22

33
source "https://rubygems.org"
44

5-
gem "mutex_m", "~> 0.1.2"
6-
gem "stringio", "~> 0.0.2"
7-
8-
gemspec path: "../"
5+
gemspec :path => "../"

0 commit comments

Comments
 (0)