view_component_reducible 0.1.0

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 ADDED
@@ -0,0 +1,7 @@
1
+ ---
2
+ SHA256:
3
+ metadata.gz: b307a9c57921ef4216255c39918da4792c2f173c8485f6033554f23829f8f55b
4
+ data.tar.gz: f179351bb370f6d5591f6cf3e85a653d798b4b8f9f824f8315eddc0f258af7ea
5
+ SHA512:
6
+ metadata.gz: b4d2804331f0ea6a8fdfe498c2126ef7d995d44cf46d7434ce0a16d015f53f29f580c264dce6c796424f85537e2b70a549967f6428c442e6bd7c78f4c85fdc7e
7
+ data.tar.gz: f46c695e6871637a11c124c41df49b738737a929b399b11f988764e9b6b37e6b8a1fc06c6fa36728d7f80bedf04e61e15b841a744f0d692dca05b8c5a0f92eab
data/LICENSE.txt ADDED
@@ -0,0 +1,21 @@
1
+ The MIT License (MIT)
2
+
3
+ Copyright (c) 2026 manabeai
4
+
5
+ Permission is hereby granted, free of charge, to any person obtaining a copy
6
+ of this software and associated documentation files (the "Software"), to deal
7
+ in the Software without restriction, including without limitation the rights
8
+ to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
9
+ copies of the Software, and to permit persons to whom the Software is
10
+ furnished to do so, subject to the following conditions:
11
+
12
+ The above copyright notice and this permission notice shall be included in
13
+ all copies or substantial portions of the Software.
14
+
15
+ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
16
+ IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
17
+ FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
18
+ AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
19
+ LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
20
+ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
21
+ THE SOFTWARE.
data/README.md ADDED
@@ -0,0 +1,6 @@
1
+ # view_component_reducible
2
+
3
+ view_component_reducible brings reducer-based state transitions
4
+ to Rails ViewComponent, inspired by TEA (The Elm Architecture).
5
+
6
+ This is a server-driven, HTTP-based approach — no WebSocket required.
@@ -0,0 +1,5 @@
1
+ # frozen_string_literal: true
2
+
3
+ module ViewComponentReducible
4
+ VERSION = "0.1.0"
5
+ end
@@ -0,0 +1,8 @@
1
+ # frozen_string_literal: true
2
+
3
+ require_relative "view_component_reducible/version"
4
+
5
+ module ViewComponentReducible
6
+ class Error < StandardError; end
7
+ # Your code goes here...
8
+ end
metadata ADDED
@@ -0,0 +1,49 @@
1
+ --- !ruby/object:Gem::Specification
2
+ name: view_component_reducible
3
+ version: !ruby/object:Gem::Version
4
+ version: 0.1.0
5
+ platform: ruby
6
+ authors:
7
+ - manabeai
8
+ bindir: exe
9
+ cert_chain: []
10
+ date: 1980-01-02 00:00:00.000000000 Z
11
+ dependencies: []
12
+ description: |
13
+ view_component_reducible brings reducer-style (TEA-inspired) state transitions
14
+ to Rails ViewComponent. Server-driven, HTTP-based, no WebSocket required.
15
+ email:
16
+ - matsu.devtool@gmail.com
17
+ executables: []
18
+ extensions: []
19
+ extra_rdoc_files: []
20
+ files:
21
+ - LICENSE.txt
22
+ - README.md
23
+ - lib/view_component_reducible.rb
24
+ - lib/view_component_reducible/version.rb
25
+ homepage: https://github.com/manabeai/view_component_reducible
26
+ licenses:
27
+ - MIT
28
+ metadata:
29
+ homepage_uri: https://github.com/manabeai/view_component_reducible
30
+ source_code_uri: https://github.com/manabeai/view_component_reducible
31
+ changelog_uri: https://github.com/manabeai/view_component_reducible/blob/main/CHANGELOG.md
32
+ rdoc_options: []
33
+ require_paths:
34
+ - lib
35
+ required_ruby_version: !ruby/object:Gem::Requirement
36
+ requirements:
37
+ - - ">="
38
+ - !ruby/object:Gem::Version
39
+ version: 3.1.0
40
+ required_rubygems_version: !ruby/object:Gem::Requirement
41
+ requirements:
42
+ - - ">="
43
+ - !ruby/object:Gem::Version
44
+ version: '0'
45
+ requirements: []
46
+ rubygems_version: 3.6.9
47
+ specification_version: 4
48
+ summary: Reducer-based state transitions for Rails ViewComponent
49
+ test_files: []