opovid-memory 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.
Files changed (3) hide show
  1. checksums.yaml +7 -0
  2. data/README.md +54 -0
  3. metadata +58 -0
checksums.yaml ADDED
@@ -0,0 +1,7 @@
1
+ ---
2
+ SHA256:
3
+ metadata.gz: ee12ff9c12a82f7589f68bd020118e747965d8ba5e5b0773d535f8964b7d91b1
4
+ data.tar.gz: 5036460bd6d9669c43abef2abc6a776ebdec519e29bcf0fcf8d2bc0c3c71d86b
5
+ SHA512:
6
+ metadata.gz: 79bb50c81de3f379fcf225e66af6df3309f6290db6ccc530327a566da16fdbd472ca0911004f81e81cf5de7daa0f8fb95f75fe800d7456ba1b0cb6d481e9a027
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,58 @@
1
+ --- !ruby/object:Gem::Specification
2
+ name: opovid-memory
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
+ - !ruby/object:Gem::Dependency
13
+ name: opovid-core
14
+ requirement: !ruby/object:Gem::Requirement
15
+ requirements:
16
+ - - '='
17
+ - !ruby/object:Gem::Version
18
+ version: 0.1.3
19
+ type: :runtime
20
+ prerelease: false
21
+ version_requirements: !ruby/object:Gem::Requirement
22
+ requirements:
23
+ - - '='
24
+ - !ruby/object:Gem::Version
25
+ version: 0.1.3
26
+ description: In-memory state bag for Opovid actors.
27
+ email:
28
+ - opensource@sunrise.water
29
+ executables: []
30
+ extensions: []
31
+ extra_rdoc_files: []
32
+ files:
33
+ - README.md
34
+ homepage: https://gitlab.com/sunrise.water/opovid
35
+ licenses:
36
+ - Apache-2.0
37
+ metadata:
38
+ homepage_uri: https://gitlab.com/sunrise.water/opovid
39
+ source_code_uri: https://gitlab.com/sunrise.water/opovid
40
+ rubygems_mfa_required: 'true'
41
+ rdoc_options: []
42
+ require_paths:
43
+ - lib
44
+ required_ruby_version: !ruby/object:Gem::Requirement
45
+ requirements:
46
+ - - ">="
47
+ - !ruby/object:Gem::Version
48
+ version: '4.0'
49
+ required_rubygems_version: !ruby/object:Gem::Requirement
50
+ requirements:
51
+ - - ">="
52
+ - !ruby/object:Gem::Version
53
+ version: '0'
54
+ requirements: []
55
+ rubygems_version: 4.0.6
56
+ specification_version: 4
57
+ summary: In-memory state bag for Opovid actors.
58
+ test_files: []