app_bridge 2.1.0-arm64-darwin → 2.1.2-arm64-darwin

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: a2fa179da0250f0374ba1df65e8ca9e506735cfbe0b69be63307e39d074bad81
4
- data.tar.gz: 8222bc4660bec26daf9064c1f42fc393b9cd7cf6119dd4f134e9e5f99b5c3f85
3
+ metadata.gz: d82944a9658e0f94dd9c86e08ee0ca69ed7a42128be8db622d37a5f2f0ba4aea
4
+ data.tar.gz: b8c0d3b15d36bd9139e0fecdbf51b4b1672391cbbb72247568c8e2ca7b3cb179
5
5
  SHA512:
6
- metadata.gz: 56f0e5f406f609c8511e0643a13bf63ac4a994c3baa31c9b3d4188a88cbc73c0904b7cdc26b6998d533a1837b4caf883ba5492ad47ae10e13ba761b398efc179
7
- data.tar.gz: d5263d693c9fb903e59357acf85b2031a66ddf3e11b90038fe6bfcc542c89454b325f5b06ca84d10d2055e9753320e51cb1e8f8b3564accd62ab7db945d519f0
6
+ metadata.gz: 489cd15a9a204bd33174bd81e47bf4c0e58cf80853bbcec96961dde30c3cdac062584fb19c6afebea4ecf90aec8436751f36475bd01ebd6d1d1c2de50c2156bf
7
+ data.tar.gz: b6f29fdc21671bfb09b0cd3e03ed38c5c8643f257ee4e011ce2d3f9a8ca806ea7a2ddde2812a2fd0f0af7717e3f708e6d415dd78594dac4288de5000b64cad7c
@@ -1,4 +1,4 @@
1
- package standout:app@2.1.0;
1
+ package standout:app@2.1.2;
2
2
 
3
3
  interface types {
4
4
  // The trigger-store is a string that is used to store data between trigger
Binary file
Binary file
@@ -4,5 +4,5 @@
4
4
  # ext/app_bridge/Cargo.toml file to keep them in sync.
5
5
 
6
6
  module AppBridge
7
- VERSION = "2.1.0"
7
+ VERSION = "2.1.2"
8
8
  end
data/lib/app_bridge.rb CHANGED
@@ -19,5 +19,9 @@ module AppBridge
19
19
  end
20
20
  end
21
21
 
22
- # Load the extension after the module is defined
23
- require_relative "app_bridge/app_bridge"
22
+ # Load using the Ruby version as the directory name
23
+ begin
24
+ require "app_bridge/#{RUBY_VERSION.split(".").first(2).join(".")}/app_bridge"
25
+ rescue LoadError
26
+ require "app_bridge/app_bridge"
27
+ end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: app_bridge
3
3
  version: !ruby/object:Gem::Version
4
- version: 2.1.0
4
+ version: 2.1.2
5
5
  platform: arm64-darwin
6
6
  authors:
7
7
  - Alexander Ross
8
8
  autorequire:
9
9
  bindir: exe
10
10
  cert_chain: []
11
- date: 2025-10-02 00:00:00.000000000 Z
11
+ date: 2025-10-03 00:00:00.000000000 Z
12
12
  dependencies: []
13
13
  description: The app_bridge gem is designed to enable seamless interaction with WebAssembly
14
14
  components that adhere to the WIT specification `standout:app`. It is developed