onload 1.0.2 → 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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 13f19bdf6088329ac7349d6655fa119c3f3b963187e1b83ff764eb7711483e36
4
- data.tar.gz: 68262832b33e15d78b292a20d09769c951625bf35aad3f6a7b863c10f401788a
3
+ metadata.gz: 3c041fc54820d21453d5f755e87e35c91881e976d0b51b16d757ecfa20b55f4c
4
+ data.tar.gz: 8d8520e2f427c22df3562c5aa6b0c5ae0b890333a3149a21a1f181a9ec365b0e
5
5
  SHA512:
6
- metadata.gz: 69c34a1b432cff54b0f4d8179587500b6733c5e9b1cd4832dcb5b924a803c5290ce681dc9a383a75565d79bea6007fd52d3bc2567500947be19eb983c9afff18
7
- data.tar.gz: c120d68e75c811b0757f3c3c393202a6eb706fb75c6dde44b01165baa378b0b96e391a41b25f9e6b79f3436cc3dd0ee715eb2dbf4316d98dc97a840f99540d00
6
+ metadata.gz: fc15ad2aa9f2c17e84b2fdd1110d1ba930bb179dc13a1df827a4ca29ca7a19d4a2b4158fe66ee285ce92b2af8522f787c6f3526e9d068fb62dd4439137bcc0c7
7
+ data.tar.gz: 6475cd2fae9260661881cf3eb42769c8a25dd3a776a651293ba38094affa21a9520033efc8488f08b6706ef8ab7c92fcf6d0d1641769d695697869009ab70a0f
data/CHANGELOG.md CHANGED
@@ -1,3 +1,7 @@
1
+ ## 1.0.3
2
+ * Fix Bootsnap issue causing `NoMethodError`.
3
+ - Onload started out using `alias_method` to override certain Zeitwerk and Bootsnap methods. When it was extracted into a gem, I chose to use `Module#prepend` instead. I forgot to convert one of the method calls to `super`, hence the error.
4
+
1
5
  ## 1.0.2
2
6
  * Add support for Rails 7.1.
3
7
  * Add support for Zeitwerk 2.6.12.
@@ -15,7 +15,7 @@ module Onload
15
15
  cached_path = Bootsnap::LoadPathCache.load_path_cache.find(path)
16
16
 
17
17
  if (unprocessed_path = Onload.unprocessed_file_for(cached_path))
18
- return autoload_without_bootsnap(const, unprocessed_path)
18
+ return super(const, unprocessed_path)
19
19
  end
20
20
 
21
21
  super
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module Onload
4
- VERSION = "1.0.2"
4
+ VERSION = "1.0.3"
5
5
  end
@@ -68355,3 +68355,216 @@ Processing by HomeController#index as HTML
68355
68355
  Rendered home/index.html.erb within layouts/application (Duration: 1.3ms | Allocations: 180)
68356
68356
  Rendered layout layouts/application.html.erb (Duration: 1.6ms | Allocations: 328)
68357
68357
  Completed 200 OK in 3ms (Views: 2.6ms | Allocations: 1067)
68358
+ Started GET "/" for 127.0.0.1 at 2023-11-10 15:31:48 -0800
68359
+ Processing by HomeController#index as HTML
68360
+ Rendering home/index.html.erb within layouts/application
68361
+ Rendered home/index.html.erb within layouts/application (2.8ms)
68362
+ Completed 200 OK in 10ms (Views: 9.2ms)
68363
+ Started GET "/" for 127.0.0.1 at 2023-11-10 15:31:48 -0800
68364
+ Processing by HomeController#index as HTML
68365
+ Rendering home/index.html.erb within layouts/application
68366
+ Rendered home/index.html.erb within layouts/application (0.2ms)
68367
+ Completed 200 OK in 2ms (Views: 1.8ms)
68368
+ Started GET "/" for 127.0.0.1 at 2023-11-10 15:31:48 -0800
68369
+ Processing by HomeController#index as HTML
68370
+ Rendering home/index.html.erb within layouts/application
68371
+ Rendered home/index.html.erb within layouts/application (1.1ms)
68372
+ Completed 200 OK in 3ms (Views: 2.9ms)
68373
+ Started GET "/" for 127.0.0.1 at 2023-11-10 15:31:52 -0800
68374
+ Processing by HomeController#index as HTML
68375
+ Rendering home/index.html.erb within layouts/application
68376
+ Rendered home/index.html.erb within layouts/application (Duration: 2.6ms | Allocations: 1543)
68377
+ Completed 200 OK in 20ms (Views: 8.9ms | Allocations: 9247)
68378
+ Started GET "/" for 127.0.0.1 at 2023-11-10 15:31:52 -0800
68379
+ Processing by HomeController#index as HTML
68380
+ Rendering home/index.html.erb within layouts/application
68381
+ Rendered home/index.html.erb within layouts/application (Duration: 0.0ms | Allocations: 8)
68382
+ Completed 200 OK in 0ms (Views: 0.3ms | Allocations: 237)
68383
+ Started GET "/" for 127.0.0.1 at 2023-11-10 15:31:52 -0800
68384
+ Processing by HomeController#index as HTML
68385
+ Rendering home/index.html.erb within layouts/application
68386
+ Rendered home/index.html.erb within layouts/application (Duration: 0.6ms | Allocations: 82)
68387
+ Completed 200 OK in 1ms (Views: 1.2ms | Allocations: 463)
68388
+ Started GET "/" for 127.0.0.1 at 2023-11-10 15:31:56 -0800
68389
+ Processing by HomeController#index as HTML
68390
+ Rendering layout layouts/application.html.erb
68391
+ Rendering home/index.html.erb within layouts/application
68392
+ Rendered home/index.html.erb within layouts/application (Duration: 2.9ms | Allocations: 1525)
68393
+ Rendered layout layouts/application.html.erb (Duration: 3.3ms | Allocations: 1652)
68394
+ Completed 200 OK in 21ms (Views: 9.8ms | Allocations: 8643)
68395
+ Started GET "/" for 127.0.0.1 at 2023-11-10 15:31:56 -0800
68396
+ Processing by HomeController#index as HTML
68397
+ Rendering layout layouts/application.html.erb
68398
+ Rendering home/index.html.erb within layouts/application
68399
+ Rendered home/index.html.erb within layouts/application (Duration: 0.0ms | Allocations: 8)
68400
+ Rendered layout layouts/application.html.erb (Duration: 0.1ms | Allocations: 48)
68401
+ Completed 200 OK in 1ms (Views: 0.4ms | Allocations: 249)
68402
+ Started GET "/" for 127.0.0.1 at 2023-11-10 15:31:56 -0800
68403
+ Processing by HomeController#index as HTML
68404
+ Rendering layout layouts/application.html.erb
68405
+ Rendering home/index.html.erb within layouts/application
68406
+ Rendered home/index.html.erb within layouts/application (Duration: 0.6ms | Allocations: 82)
68407
+ Rendered layout layouts/application.html.erb (Duration: 0.7ms | Allocations: 122)
68408
+ Completed 200 OK in 1ms (Views: 1.2ms | Allocations: 435)
68409
+ Started GET "/" for 127.0.0.1 at 2023-11-10 15:32:00 -0800
68410
+ Processing by HomeController#index as HTML
68411
+ Rendering layout layouts/application.html.erb
68412
+ Rendering home/index.html.erb within layouts/application
68413
+ Rendered home/index.html.erb within layouts/application (Duration: 2.4ms | Allocations: 1501)
68414
+ Rendered layout layouts/application.html.erb (Duration: 2.7ms | Allocations: 1631)
68415
+ Completed 200 OK in 21ms (Views: 8.1ms | Allocations: 10592)
68416
+ Started GET "/" for 127.0.0.1 at 2023-11-10 15:32:00 -0800
68417
+ Processing by HomeController#index as HTML
68418
+ Rendering layout layouts/application.html.erb
68419
+ Rendering home/index.html.erb within layouts/application
68420
+ Rendered home/index.html.erb within layouts/application (Duration: 0.0ms | Allocations: 8)
68421
+ Rendered layout layouts/application.html.erb (Duration: 0.1ms | Allocations: 48)
68422
+ Completed 200 OK in 0ms (Views: 0.4ms | Allocations: 225)
68423
+ Started GET "/" for 127.0.0.1 at 2023-11-10 15:32:00 -0800
68424
+ Processing by HomeController#index as HTML
68425
+ Rendering layout layouts/application.html.erb
68426
+ Rendering home/index.html.erb within layouts/application
68427
+ Rendered home/index.html.erb within layouts/application (Duration: 0.6ms | Allocations: 82)
68428
+ Rendered layout layouts/application.html.erb (Duration: 0.8ms | Allocations: 122)
68429
+ Completed 200 OK in 1ms (Views: 1.3ms | Allocations: 411)
68430
+ Started GET "/" for 127.0.0.1 at 2023-11-10 15:32:06 -0800
68431
+ Processing by HomeController#index as HTML
68432
+ Rendering home/index.html.erb within layouts/application
68433
+ Rendered home/index.html.erb within layouts/application (Duration: 2.5ms | Allocations: 1686)
68434
+ Completed 200 OK in 20ms (Views: 9.9ms | Allocations: 10048)
68435
+ Started GET "/" for 127.0.0.1 at 2023-11-10 15:32:06 -0800
68436
+ Processing by HomeController#index as HTML
68437
+ Rendering home/index.html.erb within layouts/application
68438
+ Rendered home/index.html.erb within layouts/application (Duration: 0.0ms | Allocations: 12)
68439
+ Completed 200 OK in 0ms (Views: 0.3ms | Allocations: 289)
68440
+ Started GET "/" for 127.0.0.1 at 2023-11-10 15:32:06 -0800
68441
+ Processing by HomeController#index as HTML
68442
+ Rendering home/index.html.erb within layouts/application
68443
+ Rendered home/index.html.erb within layouts/application (Duration: 0.6ms | Allocations: 119)
68444
+ Completed 200 OK in 1ms (Views: 1.2ms | Allocations: 774)
68445
+ Started GET "/" for 127.0.0.1 at 2023-11-10 15:32:10 -0800
68446
+ Processing by HomeController#index as HTML
68447
+ Rendering layout layouts/application.html.erb
68448
+ Rendering home/index.html.erb within layouts/application
68449
+ Rendered home/index.html.erb within layouts/application (Duration: 3.1ms | Allocations: 1669)
68450
+ Rendered layout layouts/application.html.erb (Duration: 3.5ms | Allocations: 1861)
68451
+ Completed 200 OK in 19ms (Views: 9.4ms | Allocations: 9394)
68452
+ Started GET "/" for 127.0.0.1 at 2023-11-10 15:32:10 -0800
68453
+ Processing by HomeController#index as HTML
68454
+ Rendering layout layouts/application.html.erb
68455
+ Rendering home/index.html.erb within layouts/application
68456
+ Rendered home/index.html.erb within layouts/application (Duration: 0.0ms | Allocations: 12)
68457
+ Rendered layout layouts/application.html.erb (Duration: 0.1ms | Allocations: 59)
68458
+ Completed 200 OK in 0ms (Views: 0.4ms | Allocations: 306)
68459
+ Started GET "/" for 127.0.0.1 at 2023-11-10 15:32:10 -0800
68460
+ Processing by HomeController#index as HTML
68461
+ Rendering layout layouts/application.html.erb
68462
+ Rendering home/index.html.erb within layouts/application
68463
+ Rendered home/index.html.erb within layouts/application (Duration: 0.7ms | Allocations: 119)
68464
+ Rendered layout layouts/application.html.erb (Duration: 0.8ms | Allocations: 183)
68465
+ Completed 200 OK in 2ms (Views: 1.4ms | Allocations: 693)
68466
+ Started GET "/" for 127.0.0.1 at 2023-11-10 15:32:13 -0800
68467
+ Processing by HomeController#index as HTML
68468
+ Rendering layout layouts/application.html.erb
68469
+ Rendering home/index.html.erb within layouts/application
68470
+ Rendered home/index.html.erb within layouts/application (Duration: 2.2ms | Allocations: 1646)
68471
+ Rendered layout layouts/application.html.erb (Duration: 2.5ms | Allocations: 1840)
68472
+ Completed 200 OK in 17ms (Views: 6.8ms | Allocations: 11319)
68473
+ Started GET "/" for 127.0.0.1 at 2023-11-10 15:32:13 -0800
68474
+ Processing by HomeController#index as HTML
68475
+ Rendering layout layouts/application.html.erb
68476
+ Rendering home/index.html.erb within layouts/application
68477
+ Rendered home/index.html.erb within layouts/application (Duration: 0.0ms | Allocations: 12)
68478
+ Rendered layout layouts/application.html.erb (Duration: 0.1ms | Allocations: 59)
68479
+ Completed 200 OK in 0ms (Views: 0.3ms | Allocations: 286)
68480
+ Started GET "/" for 127.0.0.1 at 2023-11-10 15:32:13 -0800
68481
+ Processing by HomeController#index as HTML
68482
+ Rendering layout layouts/application.html.erb
68483
+ Rendering home/index.html.erb within layouts/application
68484
+ Rendered home/index.html.erb within layouts/application (Duration: 0.5ms | Allocations: 118)
68485
+ Rendered layout layouts/application.html.erb (Duration: 0.6ms | Allocations: 182)
68486
+ Completed 200 OK in 1ms (Views: 1.1ms | Allocations: 674)
68487
+ Started GET "/" for 127.0.0.1 at 2023-11-10 15:33:07 -0800
68488
+ Processing by HomeController#index as HTML
68489
+ Rendering layout layouts/application.html.erb
68490
+ Rendering home/index.html.erb within layouts/application
68491
+ Rendered home/index.html.erb within layouts/application (Duration: 2.6ms | Allocations: 1666)
68492
+ Rendered layout layouts/application.html.erb (Duration: 3.0ms | Allocations: 1862)
68493
+ Completed 200 OK in 19ms (Views: 8.6ms | Allocations: 9189)
68494
+ Started GET "/" for 127.0.0.1 at 2023-11-10 15:33:07 -0800
68495
+ Processing by HomeController#index as HTML
68496
+ Rendering layout layouts/application.html.erb
68497
+ Rendering home/index.html.erb within layouts/application
68498
+ Rendered home/index.html.erb within layouts/application (Duration: 0.0ms | Allocations: 12)
68499
+ Rendered layout layouts/application.html.erb (Duration: 0.1ms | Allocations: 61)
68500
+ Completed 200 OK in 0ms (Views: 0.4ms | Allocations: 310)
68501
+ Started GET "/" for 127.0.0.1 at 2023-11-10 15:33:07 -0800
68502
+ Processing by HomeController#index as HTML
68503
+ Rendering layout layouts/application.html.erb
68504
+ Rendering home/index.html.erb within layouts/application
68505
+ Rendered home/index.html.erb within layouts/application (Duration: 1.1ms | Allocations: 117)
68506
+ Rendered layout layouts/application.html.erb (Duration: 1.3ms | Allocations: 183)
68507
+ Completed 200 OK in 2ms (Views: 1.8ms | Allocations: 688)
68508
+ Started GET "/" for 127.0.0.1 at 2023-11-10 15:33:50 -0800
68509
+ Processing by HomeController#index as HTML
68510
+ Rendering layout layouts/application.html.erb
68511
+ Rendering home/index.html.erb within layouts/application
68512
+ Rendered home/index.html.erb within layouts/application (Duration: 2.6ms | Allocations: 1642)
68513
+ Rendered layout layouts/application.html.erb (Duration: 2.9ms | Allocations: 1839)
68514
+ Completed 200 OK in 22ms (Views: 8.7ms | Allocations: 11130)
68515
+ Started GET "/" for 127.0.0.1 at 2023-11-10 15:33:50 -0800
68516
+ Processing by HomeController#index as HTML
68517
+ Rendering layout layouts/application.html.erb
68518
+ Rendering home/index.html.erb within layouts/application
68519
+ Rendered home/index.html.erb within layouts/application (Duration: 0.0ms | Allocations: 12)
68520
+ Rendered layout layouts/application.html.erb (Duration: 0.2ms | Allocations: 61)
68521
+ Completed 200 OK in 1ms (Views: 0.5ms | Allocations: 290)
68522
+ Started GET "/" for 127.0.0.1 at 2023-11-10 15:33:50 -0800
68523
+ Processing by HomeController#index as HTML
68524
+ Rendering layout layouts/application.html.erb
68525
+ Rendering home/index.html.erb within layouts/application
68526
+ Rendered home/index.html.erb within layouts/application (Duration: 1.1ms | Allocations: 116)
68527
+ Rendered layout layouts/application.html.erb (Duration: 1.3ms | Allocations: 182)
68528
+ Completed 200 OK in 2ms (Views: 1.9ms | Allocations: 669)
68529
+ Started GET "/" for 127.0.0.1 at 2023-11-10 15:33:55 -0800
68530
+ Processing by HomeController#index as HTML
68531
+ Rendering layout layouts/application.html.erb
68532
+ Rendering home/index.html.erb within layouts/application
68533
+ Rendered home/index.html.erb within layouts/application (Duration: 2.5ms | Allocations: 1867)
68534
+ Rendered layout layouts/application.html.erb (Duration: 2.9ms | Allocations: 2036)
68535
+ Completed 200 OK in 19ms (Views: 8.6ms | Allocations: 10183)
68536
+ Started GET "/" for 127.0.0.1 at 2023-11-10 15:33:56 -0800
68537
+ Processing by HomeController#index as HTML
68538
+ Rendering layout layouts/application.html.erb
68539
+ Rendering home/index.html.erb within layouts/application
68540
+ Rendered home/index.html.erb within layouts/application (Duration: 0.0ms | Allocations: 8)
68541
+ Rendered layout layouts/application.html.erb (Duration: 0.1ms | Allocations: 57)
68542
+ Completed 200 OK in 0ms (Views: 0.4ms | Allocations: 261)
68543
+ Started GET "/" for 127.0.0.1 at 2023-11-10 15:33:56 -0800
68544
+ Processing by HomeController#index as HTML
68545
+ Rendering layout layouts/application.html.erb
68546
+ Rendering home/index.html.erb within layouts/application
68547
+ Rendered home/index.html.erb within layouts/application (Duration: 1.1ms | Allocations: 94)
68548
+ Rendered layout layouts/application.html.erb (Duration: 1.4ms | Allocations: 147)
68549
+ Completed 200 OK in 2ms (Views: 2.0ms | Allocations: 575)
68550
+ Started GET "/" for 127.0.0.1 at 2023-11-10 15:33:59 -0800
68551
+ Processing by HomeController#index as HTML
68552
+ Rendering layout layouts/application.html.erb
68553
+ Rendering home/index.html.erb within layouts/application
68554
+ Rendered home/index.html.erb within layouts/application (Duration: 2.8ms | Allocations: 1840)
68555
+ Rendered layout layouts/application.html.erb (Duration: 3.2ms | Allocations: 2011)
68556
+ Completed 200 OK in 22ms (Views: 8.6ms | Allocations: 12275)
68557
+ Started GET "/" for 127.0.0.1 at 2023-11-10 15:34:00 -0800
68558
+ Processing by HomeController#index as HTML
68559
+ Rendering layout layouts/application.html.erb
68560
+ Rendering home/index.html.erb within layouts/application
68561
+ Rendered home/index.html.erb within layouts/application (Duration: 0.0ms | Allocations: 8)
68562
+ Rendered layout layouts/application.html.erb (Duration: 0.2ms | Allocations: 58)
68563
+ Completed 200 OK in 1ms (Views: 0.4ms | Allocations: 241)
68564
+ Started GET "/" for 127.0.0.1 at 2023-11-10 15:34:00 -0800
68565
+ Processing by HomeController#index as HTML
68566
+ Rendering layout layouts/application.html.erb
68567
+ Rendering home/index.html.erb within layouts/application
68568
+ Rendered home/index.html.erb within layouts/application (Duration: 1.1ms | Allocations: 94)
68569
+ Rendered layout layouts/application.html.erb (Duration: 1.2ms | Allocations: 149)
68570
+ Completed 200 OK in 2ms (Views: 1.7ms | Allocations: 555)
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: onload
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.0.2
4
+ version: 1.0.3
5
5
  platform: ruby
6
6
  authors:
7
7
  - Cameron Dutro