Skip to content

Commit 93068e7

Browse files
committed
1 parent 5d41ca0 commit 93068e7

Some content is hidden

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

45 files changed

+82
-133
lines changed

.idea/omniauth-identity.iml

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

.rubocop_gradual.lock

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,7 @@
4141
[13, 7, 113, "Style/ClassMethodsDefinitions: Use `class << self` to define a class method.", 353293128],
4242
[23, 9, 23, "ThreadSafety/ClassAndModuleAttributes: Avoid mutating class and module attributes.", 1578198260]
4343
],
44-
"omniauth-identity.gemspec:941751779": [
44+
"omniauth-identity.gemspec:4235459274": [
4545
[4, 23, 12, "Gemspec/RubyVersionGlobalsUsage: Do not use `RUBY_VERSION` in gemspec file.", 31296028]
4646
],
4747
"spec/omniauth/identity/model_spec.rb:3920022856": [

Appraisal.root.gemfile

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -8,5 +8,3 @@ source "https://rubygems.org"
88
# We do not load the standard Gemfile, as it is tailored for local development.
99

1010
gemspec
11-
12-
gem "appraisal", github: "pboling/appraisal", branch: "galtzo"

Appraisals

Lines changed: 0 additions & 37 deletions
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,6 @@
1010
appraise "dep-heads" do
1111
eval_gemfile "modular/activerecord/vHEAD.gemfile"
1212
eval_gemfile "modular/runtime_heads.gemfile"
13-
remove_gem "appraisal" # only present because it must be in the gemfile because we target a git branch
1413
end
1514

1615
# Compat: Ruby >= 2.2.2
@@ -20,7 +19,6 @@ appraise "ar-5-2-r2.4" do
2019
eval_gemfile "modular/activerecord/r2.4/v5.2.gemfile"
2120
eval_gemfile "modular/omniauth/r2/v1.0.gemfile"
2221
eval_gemfile "modular/x_std_libs/r2.4/libs.gemfile"
23-
remove_gem "appraisal" # only present because it must be in the gemfile because we target a git branch
2422
end
2523

2624
# Compat: Ruby >= 2.2.2
@@ -32,7 +30,6 @@ appraise "ar-5-2-r2" do
3230
eval_gemfile "modular/activerecord/r2/v5.2.gemfile"
3331
eval_gemfile "modular/omniauth/r2/v1.1.gemfile"
3432
eval_gemfile "modular/x_std_libs/r2/libs.gemfile"
35-
remove_gem "appraisal" # only present because it must be in the gemfile because we target a git branch
3633
end
3734

3835
# Compat: Ruby >= 2.5
@@ -44,7 +41,6 @@ appraise "ar-6-0" do
4441
eval_gemfile "modular/activerecord/r2/v6.0.gemfile"
4542
eval_gemfile "modular/omniauth/r2/v1.2.gemfile"
4643
eval_gemfile "modular/x_std_libs/r2/libs.gemfile"
47-
remove_gem "appraisal" # only present because it must be in the gemfile because we target a git branch
4844
end
4945

5046
# Compat: Ruby >= 2.5
@@ -58,7 +54,6 @@ appraise "ar-6-1-r2" do
5854
eval_gemfile "modular/activerecord/r2/v6.1.gemfile"
5955
eval_gemfile "modular/omniauth/r2/v1.3.gemfile"
6056
eval_gemfile "modular/x_std_libs/r2/libs.gemfile"
61-
remove_gem "appraisal" # only present because it must be in the gemfile because we target a git branch
6257
end
6358

6459
# Compat: Ruby >= 2.5
@@ -68,7 +63,6 @@ appraise "ar-6-1-r3" do
6863
eval_gemfile "modular/activerecord/r3/v6.1.gemfile"
6964
eval_gemfile "modular/omniauth/r3/v2.1.gemfile"
7065
eval_gemfile "modular/x_std_libs/r3/libs.gemfile"
71-
remove_gem "appraisal" # only present because it must be in the gemfile because we target a git branch
7266
end
7367

7468
# Compat: Ruby >= 2.7
@@ -78,7 +72,6 @@ appraise "ar-7-0-r2" do
7872
eval_gemfile "modular/activerecord/r2/v7.0.gemfile"
7973
eval_gemfile "modular/omniauth/r2/v1.4.gemfile"
8074
eval_gemfile "modular/x_std_libs/r2/libs.gemfile"
81-
remove_gem "appraisal" # only present because it must be in the gemfile because we target a git branch
8275
end
8376

8477
# Compat: Ruby >= 2.7
@@ -89,7 +82,6 @@ appraise "ar-7-0-r3" do
8982
eval_gemfile "modular/activerecord/r3/v7.0.gemfile"
9083
eval_gemfile "modular/omniauth/r3/v2.1.gemfile"
9184
eval_gemfile "modular/x_std_libs/r3/libs.gemfile"
92-
remove_gem "appraisal" # only present because it must be in the gemfile because we target a git branch
9385
end
9486

9587
# Compat: Ruby >= 2.7
@@ -99,7 +91,6 @@ appraise "ar-7-1-r2" do
9991
eval_gemfile "modular/activerecord/r2/v7.1.gemfile"
10092
eval_gemfile "modular/omniauth/r2/v1.5.gemfile"
10193
eval_gemfile "modular/x_std_libs/r2/libs.gemfile"
102-
remove_gem "appraisal" # only present because it must be in the gemfile because we target a git branch
10394
end
10495

10596
# Compat: Ruby >= 2.7
@@ -112,7 +103,6 @@ appraise "ar-7-1-r3" do
112103
eval_gemfile "modular/activerecord/r3/v7.1.gemfile"
113104
eval_gemfile "modular/omniauth/r3/v2.1.gemfile"
114105
eval_gemfile "modular/x_std_libs/r3/libs.gemfile"
115-
remove_gem "appraisal" # only present because it must be in the gemfile because we target a git branch
116106
end
117107

118108
# Compat: Ruby >= 3.1
@@ -127,7 +117,6 @@ appraise "ar-7-2" do
127117
eval_gemfile "modular/activerecord/r3/v7.2.gemfile"
128118
eval_gemfile "modular/omniauth/r3/v2.1.gemfile"
129119
eval_gemfile "modular/x_std_libs/r3/libs.gemfile"
130-
remove_gem "appraisal" # only present because it must be in the gemfile because we target a git branch
131120
end
132121

133122
# Compat: Ruby >= 3.2
@@ -141,7 +130,6 @@ appraise "ar-8-0" do
141130
eval_gemfile "modular/activerecord/r3/v8.0.gemfile"
142131
eval_gemfile "modular/omniauth/r3/v2.1.gemfile"
143132
eval_gemfile "modular/x_std_libs/r3/libs.gemfile"
144-
remove_gem "appraisal" # only present because it must be in the gemfile because we target a git branch
145133
end
146134

147135
# Compat: Ruby >= 2.2.2 (due to AR >= 5)
@@ -154,7 +142,6 @@ appraise "couch-1.17-r2.4" do
154142
eval_gemfile "modular/activerecord/r2/v5.2.gemfile"
155143
eval_gemfile "modular/omniauth/r2/v1.6.gemfile"
156144
eval_gemfile "modular/x_std_libs/r2.4/libs.gemfile"
157-
remove_gem "appraisal" # only present because it must be in the gemfile because we target a git branch
158145
end
159146

160147
# Compat: Ruby >= 2.2.2 (due to AR >= 5)
@@ -168,7 +155,6 @@ appraise "couch-1.17-r2.5" do
168155
eval_gemfile "modular/activerecord/r2/v6.0.gemfile"
169156
eval_gemfile "modular/omniauth/r2/v1.7.gemfile"
170157
eval_gemfile "modular/x_std_libs/r2/libs.gemfile"
171-
remove_gem "appraisal" # only present because it must be in the gemfile because we target a git branch
172158
end
173159

174160
# Compat: Ruby >= 2.2.2 (due to AR >= 5)
@@ -184,7 +170,6 @@ appraise "couch-1.17-r2" do
184170
eval_gemfile "modular/activerecord/r2/v6.1.gemfile"
185171
eval_gemfile "modular/omniauth/r2/v1.7.gemfile"
186172
eval_gemfile "modular/x_std_libs/r2/libs.gemfile"
187-
remove_gem "appraisal" # only present because it must be in the gemfile because we target a git branch
188173
end
189174

190175
# Compat: Ruby >= 2.2.2 (due to AR >= 5)
@@ -206,7 +191,6 @@ appraise "couch-1.17-r3" do
206191
eval_gemfile "modular/activerecord/r3/v7.1.gemfile"
207192
eval_gemfile "modular/omniauth/r3/v2.1.gemfile"
208193
eval_gemfile "modular/x_std_libs/r3/libs.gemfile"
209-
remove_gem "appraisal" # only present because it must be in the gemfile because we target a git branch
210194
end
211195

212196
# Compat: Ruby >= 2.3
@@ -220,7 +204,6 @@ appraise "mongoid-7.3-b4.12" do
220204
eval_gemfile "modular/activerecord/r2.4/v5.2.gemfile"
221205
eval_gemfile "modular/omniauth/r2/v1.8.gemfile"
222206
eval_gemfile "modular/x_std_libs/r2.4/libs.gemfile"
223-
remove_gem "appraisal" # only present because it must be in the gemfile because we target a git branch
224207
end
225208

226209
# Compat: Ruby >= 2.3
@@ -235,7 +218,6 @@ appraise "mongoid-7.3-b4.15" do
235218
eval_gemfile "modular/activerecord/r2/v6.1.gemfile"
236219
eval_gemfile "modular/omniauth/r2/v1.9.gemfile"
237220
eval_gemfile "modular/x_std_libs/r2/libs.gemfile"
238-
remove_gem "appraisal" # only present because it must be in the gemfile because we target a git branch
239221
end
240222

241223
# Compat: Ruby >= 2.5
@@ -250,7 +232,6 @@ appraise "mongoid-7.4-b4.15" do
250232
eval_gemfile "modular/activerecord/r2/v6.1.gemfile"
251233
eval_gemfile "modular/omniauth/r2/v2.0.gemfile"
252234
eval_gemfile "modular/x_std_libs/r2/libs.gemfile"
253-
remove_gem "appraisal" # only present because it must be in the gemfile because we target a git branch
254235
end
255236

256237
# Compat: Ruby >= 2.5
@@ -266,7 +247,6 @@ appraise "mongoid-7.4-b5" do
266247
eval_gemfile "modular/activerecord/r2/v6.1.gemfile"
267248
eval_gemfile "modular/omniauth/r2/v2.0.gemfile"
268249
eval_gemfile "modular/x_std_libs/r2/libs.gemfile"
269-
remove_gem "appraisal" # only present because it must be in the gemfile because we target a git branch
270250
end
271251

272252
# Compat: Ruby >= 2.6
@@ -282,7 +262,6 @@ appraise "mongoid-8.1-r2" do
282262
eval_gemfile "modular/activerecord/r2/v6.1.gemfile"
283263
eval_gemfile "modular/omniauth/r2/v2.0.gemfile"
284264
eval_gemfile "modular/x_std_libs/r2/libs.gemfile"
285-
remove_gem "appraisal" # only present because it must be in the gemfile because we target a git branch
286265
end
287266

288267
# Compat: Ruby >= 2.6
@@ -296,7 +275,6 @@ appraise "mongoid-8.1-r3.0" do
296275
eval_gemfile "modular/activerecord/r3/v7.1.gemfile"
297276
eval_gemfile "modular/omniauth/r3/v2.1.gemfile"
298277
eval_gemfile "modular/x_std_libs/r3/libs.gemfile"
299-
remove_gem "appraisal" # only present because it must be in the gemfile because we target a git branch
300278
end
301279

302280
# Compat: Ruby >= 2.6
@@ -314,7 +292,6 @@ appraise "mongoid-8.1-r3" do
314292
eval_gemfile "modular/activerecord/r3/v7.1.gemfile"
315293
eval_gemfile "modular/omniauth/r3/v2.1.gemfile"
316294
eval_gemfile "modular/x_std_libs/r3/libs.gemfile"
317-
remove_gem "appraisal" # only present because it must be in the gemfile because we target a git branch
318295
end
319296

320297
# Compat: Ruby >= 2.7
@@ -329,7 +306,6 @@ appraise "mongoid-9.0-r2-omni1.9" do
329306
eval_gemfile "modular/omniauth/r2/v1.9.gemfile"
330307
eval_gemfile "modular/x_std_libs/r2/libs.gemfile"
331308
gem "ostruct", "~> 0.6", ">= 0.6.1" # Ruby >= 2.5
332-
remove_gem "appraisal" # only present because it must be in the gemfile because we target a git branch
333309
end
334310

335311
# Compat: Ruby >= 2.7
@@ -344,7 +320,6 @@ appraise "mongoid-9.0-r2-omni2.0" do
344320
eval_gemfile "modular/omniauth/r2/v2.0.gemfile"
345321
eval_gemfile "modular/x_std_libs/r2/libs.gemfile"
346322
gem "ostruct", "~> 0.6", ">= 0.6.1" # Ruby >= 2.5
347-
remove_gem "appraisal" # only present because it must be in the gemfile because we target a git branch
348323
end
349324

350325
# Compat: Ruby >= 2.7
@@ -359,7 +334,6 @@ appraise "mongoid-9.0-r2-omni2.1" do
359334
eval_gemfile "modular/omniauth/r2/v2.1.gemfile"
360335
eval_gemfile "modular/x_std_libs/r2/libs.gemfile"
361336
gem "ostruct", "~> 0.6", ">= 0.6.1" # Ruby >= 2.5
362-
remove_gem "appraisal" # only present because it must be in the gemfile because we target a git branch
363337
end
364338

365339
# Compat: Ruby >= 2.7
@@ -374,7 +348,6 @@ appraise "mongoid-9.0-r3.0" do
374348
eval_gemfile "modular/omniauth/r3/v2.1.gemfile"
375349
eval_gemfile "modular/x_std_libs/r3/libs.gemfile"
376350
gem "ostruct", "~> 0.6", ">= 0.6.1" # Ruby >= 2.5
377-
remove_gem "appraisal" # only present because it must be in the gemfile because we target a git branch
378351
end
379352

380353
# Compat: Ruby >= 2.7
@@ -395,7 +368,6 @@ appraise "mongoid-9.0-r3" do
395368
eval_gemfile "modular/omniauth/r3/v2.1.gemfile"
396369
eval_gemfile "modular/x_std_libs/r3/libs.gemfile"
397370
gem "ostruct", "~> 0.6", ">= 0.6.1" # Ruby >= 2.5
398-
remove_gem "appraisal" # only present because it must be in the gemfile because we target a git branch
399371
end
400372

401373
# 1. While the Ruby driver, nobrainer, is maintained,
@@ -434,7 +406,6 @@ appraise "sequel-5.86-r2.4" do
434406
eval_gemfile "modular/activerecord/r2.4/v5.2.gemfile"
435407
eval_gemfile "modular/omniauth/r2/v2.0.gemfile"
436408
eval_gemfile "modular/x_std_libs/r2.4/libs.gemfile"
437-
remove_gem "appraisal" # only present because it must be in the gemfile because we target a git branch
438409
end
439410

440411
# Compat: Ruby >= 1.9.2
@@ -445,7 +416,6 @@ appraise "sequel-5.86-r2.5" do
445416
eval_gemfile "modular/activerecord/r2/v6.0.gemfile"
446417
eval_gemfile "modular/omniauth/r2/v2.1.gemfile"
447418
eval_gemfile "modular/x_std_libs/r2/libs.gemfile"
448-
remove_gem "appraisal" # only present because it must be in the gemfile because we target a git branch
449419
end
450420

451421
# Compat: Ruby >= 1.9.2
@@ -456,7 +426,6 @@ appraise "sequel-5.86-r2.6" do
456426
eval_gemfile "modular/activerecord/r2/v6.1.gemfile"
457427
eval_gemfile "modular/omniauth/r2/v2.1.gemfile"
458428
eval_gemfile "modular/x_std_libs/r2/libs.gemfile"
459-
remove_gem "appraisal" # only present because it must be in the gemfile because we target a git branch
460429
end
461430

462431
# Compat: Ruby >= 1.9.2
@@ -467,7 +436,6 @@ appraise "sequel-5.86-r2.7" do
467436
eval_gemfile "modular/activerecord/r2/v7.1.gemfile"
468437
eval_gemfile "modular/omniauth/r2/v2.1.gemfile"
469438
eval_gemfile "modular/x_std_libs/r2/libs.gemfile"
470-
remove_gem "appraisal" # only present because it must be in the gemfile because we target a git branch
471439
end
472440

473441
# Compat: Ruby >= 1.9.2
@@ -478,7 +446,6 @@ appraise "sequel-5.86-r3.0" do
478446
eval_gemfile "modular/activerecord/r3/v7.1.gemfile"
479447
eval_gemfile "modular/omniauth/r3/v2.1.gemfile"
480448
eval_gemfile "modular/x_std_libs/r3/libs.gemfile"
481-
remove_gem "appraisal" # only present because it must be in the gemfile because we target a git branch
482449
end
483450

484451
# Compat: Ruby >= 1.9.2
@@ -497,15 +464,13 @@ appraise "sequel-5.86-r3" do
497464
eval_gemfile "modular/activerecord/r3/v7.1.gemfile"
498465
eval_gemfile "modular/omniauth/r3/v2.1.gemfile"
499466
eval_gemfile "modular/x_std_libs/r3/libs.gemfile"
500-
remove_gem "appraisal" # only present because it must be in the gemfile because we target a git branch
501467
end
502468

503469
# Only run security audit on the latest version of Ruby
504470
appraise "audit" do
505471
eval_gemfile "modular/omniauth/r3/v2.1.gemfile"
506472
eval_gemfile "modular/audit.gemfile"
507473
eval_gemfile "modular/x_std_libs/r3/libs.gemfile"
508-
remove_gem "appraisal" # only present because it must be in the gemfile because we target a git branch
509474
end
510475

511476
# Only run coverage on the latest version of Ruby
@@ -520,13 +485,11 @@ appraise "coverage" do
520485
eval_gemfile "modular/coverage.gemfile"
521486
gem "ostruct", "~> 0.6", ">= 0.6.1" # Ruby >= 2.5
522487
eval_gemfile "modular/x_std_libs/r3/libs.gemfile"
523-
remove_gem "appraisal" # only present because it must be in the gemfile because we target a git branch
524488
end
525489

526490
# Only run linter on the latest version of Ruby (but, in support of the oldest supported Ruby version)
527491
appraise "style" do
528492
eval_gemfile "modular/style.gemfile"
529493
eval_gemfile "modular/omniauth/r3/v2.1.gemfile"
530494
eval_gemfile "modular/x_std_libs/r3/libs.gemfile"
531-
remove_gem "appraisal" # only present because it must be in the gemfile because we target a git branch
532495
end

CONTRIBUTING.md

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -26,10 +26,6 @@ Follow these instructions:
2626

2727
From time to time the appraisal gemfiles in `gemfiles/` will need to be updated.
2828

29-
NOTE: The `eval_gemfile` feature comes from a [fork][🚎appraisal-fork] of Appraisal.
30-
31-
Please upvote the PR for `eval_gemfile` [support][🚎appraisal-eval-gemfile-pr]
32-
3329
Create or update them with the commands:
3430

3531
```shell
@@ -183,6 +179,4 @@ NOTE: To build without signing the gem set `SKIP_GEM_SIGNING` to any value in th
183179
[💎stone_checksums]: https://github.com/pboling/stone_checksums
184180
[📗keep-changelog]: https://keepachangelog.com/en/1.0.0/
185181
[📗keep-changelog-img]: https://img.shields.io/badge/keep--a--changelog-1.0.0-FFDD67.svg?style=flat
186-
[🚎appraisal-eval-gemfile-pr]: https://github.com/thoughtbot/appraisal/pull/248
187-
[🚎appraisal-fork]: https://github.com/pboling/appraisal/tree/galtzo
188182
[🏃‍♂️runner-tool-cache]: https://github.com/ruby/ruby-builder/releases/tag/toolcache

Gemfile

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,6 @@ gem "rb-fsevent"
4141
eval_gemfile "gemfiles/modular/coverage.gemfile"
4242

4343
### Testing
44-
gem "appraisal", github: "pboling/appraisal", branch: "galtzo"
4544
gem "test-unit", ">= 3.0"
4645

4746
platform :mri do

Gemfile.lock

Lines changed: 5 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -8,16 +8,6 @@ GIT
88
bigdecimal
99
ostruct
1010

11-
GIT
12-
remote: https://github.com/pboling/appraisal
13-
revision: a3a3e4b7db67d9b085f96b2ffddd2b51bd8a1196
14-
branch: galtzo
15-
specs:
16-
appraisal (3.0.0.rc1)
17-
bundler (>= 1.17.3)
18-
rake (>= 10)
19-
thor (>= 0.14)
20-
2111
GIT
2212
remote: https://github.com/pboling/yard-junk
2313
revision: 54ccebabbfa9a9cd44d0b991687ebbfd22c32b55
@@ -65,6 +55,10 @@ GEM
6555
activesupport (>= 5)
6656
version_gem (~> 1.1, >= 1.1.4)
6757
ansi (1.5.0)
58+
appraisal2 (3.0.0)
59+
bundler (>= 1.17.3)
60+
rake (>= 10)
61+
thor (>= 0.14)
6862
ast (2.4.3)
6963
backports (3.25.1)
7064
base64 (0.3.0)
@@ -434,7 +428,7 @@ PLATFORMS
434428
DEPENDENCIES
435429
activerecord (>= 5)
436430
anonymous_active_record (~> 1.0, >= 1.0.9)
437-
appraisal!
431+
appraisal2 (~> 3.0)
438432
benchmark (~> 0.4, >= 0.4.1)
439433
bson!
440434
bundler-audit (~> 0.9.2)

gemfiles/ar_5_2_r2.4.gemfile

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
1-
# This file was generated by Appraisal
1+
# This file was generated by Appraisal2
22

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

5-
gemspec path: "../"
5+
gemspec :path => "../"
66

77
eval_gemfile("modular/activerecord/r2.4/v5.2.gemfile")
88

0 commit comments

Comments
 (0)