webkit-web-process-extension 1.0.0 → 1.0.1

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: ae3849d0eb29770fe05d788a3be26be523514b2d5577c7cabfcf48a108d5fb74
4
- data.tar.gz: 48e436ee63b13d35aeb283ca453901ac9741f13efa50fcfb866fef7b5824bdef
3
+ metadata.gz: dfb737202f10ac9559aab52365f94539fdce53ae909732c8528978f21b288d23
4
+ data.tar.gz: b61b355c822e45a9078d926ef7859e05c83232792a33f440dfeee877b8b1ef9c
5
5
  SHA512:
6
- metadata.gz: 508f1fb5f3e6c2ff0d4b7851d4a0f1ada9aa45769a81663232f7e4238be50f4bcd894e148690a136402ac923ed8fb65886410fd28dda73f203ac5c03cc750515
7
- data.tar.gz: 45e0809ac87fdc1cdffb51a48629176829ea129b36bd9a7d93326da097da57e31ada97968131f2247dbf007a2e8f6a34198642f14f452a9a7d4467fa3c5ab2a0
6
+ metadata.gz: 601e7b6c582781e914b065d95bf28931cbe24c188263552917f2e51e73e23e0506182982211290861d47a5e269e18e020da938c66a04f7e44adbda24c837e675
7
+ data.tar.gz: a51943c02f0805ef07980ace56f6eef224eca075e90799792580a06bf4ae26e904ecb166db110c17c9bb7d9f0e4e640efcc091987eadb56be041fc3f6f13408d
data/CHANGELOG.md CHANGED
@@ -7,26 +7,23 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
7
7
 
8
8
  ## [Unreleased]
9
9
 
10
+ ## [1.0.1] - 2026-11-03
11
+
12
+ ### Fixed
13
+
14
+ - `require "webkit-web-process-extension"` now works. The gem name contains a dash and the library
15
+ does not, so the entry point was only reachable as `require "webkit_web_process_extension"` and the
16
+ gem's own name failed with `cannot load such file -- webkit-web-process-extension`. Found the way it
17
+ should be: a port added this gem as a dependency and could not load it. Both
18
+ the gem name and the nested path RubyGems infers from a dash now resolve.
19
+
10
20
  ## [1.0.0] - 2026-11-03
11
21
 
12
- ### Added
13
-
14
- - `WebKitWebProcessExtension`, defined from the `WebKitWebProcessExtension-6.0.typelib` GObject Introspection typelib at require
15
- time, giving the WebKit 6.0 web process extension API. `WebKitWebProcessExtension::Loader` is a `GObjectIntrospection::Loader`
16
- subclass, so the binding is the whole namespace rather than a hand-written
17
- subset, and it does not drift as the library gains API. The typelib version
18
- is `6.0`, read off the package rather than inferred -- these are not
19
- guessable, and guessing is how a loader silently fails.
20
- - A dev shell (`flake.nix`) pinning the library and everything its typelib
21
- declares from one nixpkgs, and CI that runs the suite inside it. The
22
- environment is the hard part of an introspection binding: a typelib built
23
- against a different glib than the `gobject-introspection` gem registers GIO
24
- twice in the process and fails with
25
- `cannot register existing type 'GTlsCertificate'`.
26
- - A README naming the distribution package that carries the typelib, and a
27
- worked `flake.nix` listing every nix dependency. That list is the gem's own
28
- search path, so it cannot drift from what the dev shell uses.
29
- - Pure Ruby: no extension, no Cargo workspace, no per-platform gem. Installing
30
- does still compile C, because `glib2` and `gobject-introspection` are native
31
- extensions built against glib, but this gem adds no build step of its own and
32
- those two are what every ruby-gnome application already has via `gtk4`.
22
+ ### Fixed
23
+
24
+ - `require "webkit-web-process-extension"` now works. The gem name contains a dash and the library
25
+ does not, so the entry point was only reachable under its underscored name
26
+ and `require "webkit-web-process-extension"` failed with `cannot load such file -- webkit-web-process-extension`. Found by
27
+ a port that depended on this gem and could not load it. Both the gem's own
28
+ name and the nested path RubyGems infers from a dash now resolve.
29
+
@@ -0,0 +1,9 @@
1
+ # frozen_string_literal: true
2
+
3
+ # Released under the Apache License, Version 2.0.
4
+ # Copyright, 2026, by General Intelligence Systems.
5
+
6
+ # RubyGems treats a dash in a gem name as a directory separator, so the
7
+ # conventional entry point for `webkit-web-process-extension` is `webkit/web/process/extension`. gem_kit
8
+ # infers that and requires it to find this gem's deprecations.
9
+ require_relative "../../../webkit_web_process_extension"
@@ -0,0 +1,18 @@
1
+ # frozen_string_literal: true
2
+
3
+ # Released under the Apache License, Version 2.0.
4
+ # Copyright, 2026, by General Intelligence Systems.
5
+
6
+ # `require "webkit-web-process-extension"` — the gem's own name.
7
+ #
8
+ # This file exists because the gem name contains a dash and the library does
9
+ # not: the code lives in lib/webkit_web_process_extension.rb, named for the WebKitWebProcessExtension namespace it
10
+ # defines. Without this, `require "webkit-web-process-extension"` fails with
11
+ # `cannot load such file -- webkit-web-process-extension`, which is how a port consuming this gem
12
+ # first discovered the problem.
13
+ #
14
+ # RubyGems also treats a dash as a directory separator, so gem_kit infers a
15
+ # require path of "webkit/web/process/extension" from the gem name and warns
16
+ # "deprecations will not be detected" when nothing answers it. This file
17
+ # settles both.
18
+ require_relative "webkit_web_process_extension"
@@ -4,5 +4,5 @@
4
4
  # Copyright, 2026, by General Intelligence Systems.
5
5
 
6
6
  module WebkitWebProcessExtension
7
- VERSION = "1.0.0"
7
+ VERSION = "1.0.1"
8
8
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: webkit-web-process-extension
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.0.0
4
+ version: 1.0.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Nathan Kidd
@@ -64,6 +64,8 @@ files:
64
64
  - LICENSE
65
65
  - NOTICE
66
66
  - README.md
67
+ - lib/webkit-web-process-extension.rb
68
+ - lib/webkit/web/process/extension.rb
67
69
  - lib/webkit_web_process_extension.rb
68
70
  - lib/webkit_web_process_extension/loader.rb
69
71
  - lib/webkit_web_process_extension/version.rb