opovid-core 0.1.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 +7 -0
- data/README.md +54 -0
- metadata +44 -0
checksums.yaml
ADDED
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
---
|
|
2
|
+
SHA256:
|
|
3
|
+
metadata.gz: 81af6c9bfb55dffa0036c0c174469d09a2da80b3296b19a288c454f8cba04682
|
|
4
|
+
data.tar.gz: 5036460bd6d9669c43abef2abc6a776ebdec519e29bcf0fcf8d2bc0c3c71d86b
|
|
5
|
+
SHA512:
|
|
6
|
+
metadata.gz: 2998f6aa4fb114a800602ff4748d8127887393f06b7d25ba23becb48de8ea55f50b834f7b10b2dd20fd65089a53b53f97abefa0a2e8cb3d234f3233746575923
|
|
7
|
+
data.tar.gz: 0a35af1b98bbc3a8dcd910713a56c39447c55c9570e5c75b02bea26f6639f5f9fe47013dc5d6ee7cb9a5aee89072d4a0b94355507fb64652ffb192c9da168801
|
data/README.md
ADDED
|
@@ -0,0 +1,54 @@
|
|
|
1
|
+
# Opovid Ruby
|
|
2
|
+
|
|
3
|
+
This directory contains the Ruby runtime for Opovid.
|
|
4
|
+
|
|
5
|
+
The Ruby gems require Ruby 4.0 or newer.
|
|
6
|
+
|
|
7
|
+
Current gems:
|
|
8
|
+
|
|
9
|
+
- `opovid-core`: user-first, actor-backed task, question, check, and execution-report primitives
|
|
10
|
+
- `opovid-memory`: reusable actor-local state ability
|
|
11
|
+
- `opovid-spec`: use-case authoring and compilation support
|
|
12
|
+
|
|
13
|
+
Examples:
|
|
14
|
+
|
|
15
|
+
- `examples/plain-ruby-memory-basic`: plain Ruby user-first flow with typed user-owned state
|
|
16
|
+
- `examples/rails-service-basic`: Rails-style service-flow shape using a typed scenario context
|
|
17
|
+
- `examples/rails-request-basic`: Rails-style request-flow shape using a thin request ability
|
|
18
|
+
|
|
19
|
+
Browser flows are intentionally handled in the TypeScript runtime with Playwright rather than in the Ruby runtime.
|
|
20
|
+
|
|
21
|
+
`Opovid::User` is the preferred top-level facade. `Opovid::Actor` remains the lower-level compatibility API. `RememberTheState` is still available for small migration-friendly state bags.
|
|
22
|
+
|
|
23
|
+
## Run
|
|
24
|
+
|
|
25
|
+
```bash
|
|
26
|
+
bundle exec rake
|
|
27
|
+
```
|
|
28
|
+
|
|
29
|
+
## Use Locally
|
|
30
|
+
|
|
31
|
+
From this directory:
|
|
32
|
+
|
|
33
|
+
```bash
|
|
34
|
+
bundle install
|
|
35
|
+
bundle exec rake
|
|
36
|
+
```
|
|
37
|
+
|
|
38
|
+
Then depend on:
|
|
39
|
+
|
|
40
|
+
```ruby
|
|
41
|
+
gem "opovid-core"
|
|
42
|
+
gem "opovid-memory"
|
|
43
|
+
gem "opovid-spec"
|
|
44
|
+
```
|
|
45
|
+
|
|
46
|
+
Keep the Ruby gems on the same version, the same way the TypeScript and Java runtimes stay aligned.
|
|
47
|
+
|
|
48
|
+
## Public Release
|
|
49
|
+
|
|
50
|
+
Tagged releases are published through the manual GitLab release pipeline in [`.gitlab/ci/release.yml`](../../.gitlab/ci/release.yml).
|
|
51
|
+
|
|
52
|
+
Expected credential:
|
|
53
|
+
|
|
54
|
+
- `RUBYGEM_TOKEN`: RubyGems API key with permission to push `opovid-core`, `opovid-memory`, and `opovid-spec`
|
metadata
ADDED
|
@@ -0,0 +1,44 @@
|
|
|
1
|
+
--- !ruby/object:Gem::Specification
|
|
2
|
+
name: opovid-core
|
|
3
|
+
version: !ruby/object:Gem::Version
|
|
4
|
+
version: 0.1.3
|
|
5
|
+
platform: ruby
|
|
6
|
+
authors:
|
|
7
|
+
- Opovid contributors
|
|
8
|
+
bindir: bin
|
|
9
|
+
cert_chain: []
|
|
10
|
+
date: 1980-01-02 00:00:00.000000000 Z
|
|
11
|
+
dependencies: []
|
|
12
|
+
description: Minimal actor, task, question, and execution-report primitives for Opovid.
|
|
13
|
+
email:
|
|
14
|
+
- opensource@sunrise.water
|
|
15
|
+
executables: []
|
|
16
|
+
extensions: []
|
|
17
|
+
extra_rdoc_files: []
|
|
18
|
+
files:
|
|
19
|
+
- README.md
|
|
20
|
+
homepage: https://gitlab.com/sunrise.water/opovid
|
|
21
|
+
licenses:
|
|
22
|
+
- Apache-2.0
|
|
23
|
+
metadata:
|
|
24
|
+
homepage_uri: https://gitlab.com/sunrise.water/opovid
|
|
25
|
+
source_code_uri: https://gitlab.com/sunrise.water/opovid
|
|
26
|
+
rubygems_mfa_required: 'true'
|
|
27
|
+
rdoc_options: []
|
|
28
|
+
require_paths:
|
|
29
|
+
- lib
|
|
30
|
+
required_ruby_version: !ruby/object:Gem::Requirement
|
|
31
|
+
requirements:
|
|
32
|
+
- - ">="
|
|
33
|
+
- !ruby/object:Gem::Version
|
|
34
|
+
version: '4.0'
|
|
35
|
+
required_rubygems_version: !ruby/object:Gem::Requirement
|
|
36
|
+
requirements:
|
|
37
|
+
- - ">="
|
|
38
|
+
- !ruby/object:Gem::Version
|
|
39
|
+
version: '0'
|
|
40
|
+
requirements: []
|
|
41
|
+
rubygems_version: 4.0.6
|
|
42
|
+
specification_version: 4
|
|
43
|
+
summary: Minimal actor, task, question, and execution-report primitives for Opovid.
|
|
44
|
+
test_files: []
|