app_bridge 0.7.2-x86_64-linux → 0.8.0-x86_64-linux
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 +4 -4
- data/README.md +4 -2
- data/lib/app_bridge/3.1/app_bridge.so +0 -0
- data/lib/app_bridge/3.2/app_bridge.so +0 -0
- data/lib/app_bridge/3.4/app_bridge.so +0 -0
- data/lib/app_bridge/version.rb +1 -1
- data/sig/app_bridge.rbs +41 -1
- metadata +3 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 2267f08219c9ea4256983bdb223df85517773ab29d1a260b3a7ebe31b477203b
|
4
|
+
data.tar.gz: 36d3dd61772b932637b5d4e6f1b3bb2fadf17ff297ce90761d91a65da2dcaa4a
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 0aae7880f99d00fe3563d3fd021c0106dc90fee0ffcfe3719b601724489f039a6b8de3994f378de61073750d947d301f30b526050838e9e2015e5090a019762d
|
7
|
+
data.tar.gz: 4a9df13d1426fc06f24ce9dfda18cc754102055073aa3fe41205fe42901f1bfcb1a13f0f6f97ff5e40780ac9b1860ad0e4bdda19b8b26c5d22f82fcd73de9731
|
data/README.md
CHANGED
@@ -7,7 +7,7 @@
|
|
7
7
|
Add the following line to your `Gemfile`:
|
8
8
|
|
9
9
|
```ruby
|
10
|
-
gem 'app_bridge'
|
10
|
+
gem 'app_bridge'
|
11
11
|
```
|
12
12
|
|
13
13
|
Then, install the gem by running:
|
@@ -70,4 +70,6 @@ bundle exec rake install
|
|
70
70
|
|
71
71
|
## Release & Distribution
|
72
72
|
|
73
|
-
|
73
|
+
To release a new version of the gem, update the version number in `lib/app_bridge/version.rb` and in `ext/app_bridge/Cargo.toml`. They should be the same.
|
74
|
+
|
75
|
+
Then push the changes to the repository and create a new release on GitHub. The gem will be automatically built and published to RubyGems.
|
Binary file
|
Binary file
|
Binary file
|
data/lib/app_bridge/version.rb
CHANGED
data/sig/app_bridge.rbs
CHANGED
@@ -5,6 +5,46 @@ module AppBridge
|
|
5
5
|
class App
|
6
6
|
def initialize: (String) -> void
|
7
7
|
|
8
|
-
def triggers
|
8
|
+
def triggers: () -> Array[String]
|
9
|
+
|
10
|
+
def fetch_events: (TriggerContext) -> TriggerResponse
|
11
|
+
end
|
12
|
+
|
13
|
+
class Account
|
14
|
+
def self.new: (String, String, String) -> Account
|
15
|
+
|
16
|
+
def id: () -> String
|
17
|
+
|
18
|
+
def name: () -> String
|
19
|
+
|
20
|
+
def serialized_data: () -> String
|
21
|
+
end
|
22
|
+
|
23
|
+
class TriggerEvent
|
24
|
+
def self.new: (String, Integer, String) -> TriggerEvent
|
25
|
+
|
26
|
+
def id: () -> String
|
27
|
+
|
28
|
+
def timestamp: () -> Integer
|
29
|
+
|
30
|
+
def serialized_data: () -> String
|
31
|
+
end
|
32
|
+
|
33
|
+
class TriggerResponse
|
34
|
+
def self.new: (String, Array[TriggerEvent]) -> TriggerResponse
|
35
|
+
|
36
|
+
def store: () -> String
|
37
|
+
|
38
|
+
def events: () -> Array[TriggerEvent]
|
39
|
+
end
|
40
|
+
|
41
|
+
class TriggerContext
|
42
|
+
def self.new: (String, Account, String) -> TriggerContext
|
43
|
+
|
44
|
+
def trigger_id: () -> String
|
45
|
+
|
46
|
+
def account: () -> Account
|
47
|
+
|
48
|
+
def store: () -> String
|
9
49
|
end
|
10
50
|
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: 0.
|
4
|
+
version: 0.8.0
|
5
5
|
platform: x86_64-linux
|
6
6
|
authors:
|
7
7
|
- Alexander Ross
|
8
8
|
autorequire:
|
9
9
|
bindir: exe
|
10
10
|
cert_chain: []
|
11
|
-
date: 2025-02-
|
11
|
+
date: 2025-02-27 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
|
@@ -44,6 +44,7 @@ post_install_message:
|
|
44
44
|
rdoc_options: []
|
45
45
|
require_paths:
|
46
46
|
- lib
|
47
|
+
- sig
|
47
48
|
required_ruby_version: !ruby/object:Gem::Requirement
|
48
49
|
requirements:
|
49
50
|
- - ">="
|