motion 0.1.1
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/lib/generators/motion/install_generator.rb +27 -0
- data/lib/generators/motion/templates/motion.rb +22 -0
- data/lib/generators/motion/templates/motion_controller.js +28 -0
- data/lib/motion/action_cable_extentions/declarative_streams.rb +104 -0
- data/lib/motion/action_cable_extentions/log_suppression.rb +33 -0
- data/lib/motion/action_cable_extentions.rb +13 -0
- data/lib/motion/channel.rb +88 -0
- data/lib/motion/component/broadcasts.rb +88 -0
- data/lib/motion/component/lifecycle.rb +31 -0
- data/lib/motion/component/motions.rb +60 -0
- data/lib/motion/component/rendering.rb +66 -0
- data/lib/motion/component.rb +21 -0
- data/lib/motion/component_connection.rb +98 -0
- data/lib/motion/configuration.rb +106 -0
- data/lib/motion/element.rb +70 -0
- data/lib/motion/errors.rb +148 -0
- data/lib/motion/event.rb +41 -0
- data/lib/motion/log_helper.rb +74 -0
- data/lib/motion/markup_transformer.rb +65 -0
- data/lib/motion/railtie.rb +11 -0
- data/lib/motion/serializer.rb +100 -0
- data/lib/motion/test_helpers.rb +29 -0
- data/lib/motion/version.rb +5 -0
- data/lib/motion.rb +54 -0
- metadata +103 -0
metadata
ADDED
@@ -0,0 +1,103 @@
|
|
1
|
+
--- !ruby/object:Gem::Specification
|
2
|
+
name: motion
|
3
|
+
version: !ruby/object:Gem::Version
|
4
|
+
version: 0.1.1
|
5
|
+
platform: ruby
|
6
|
+
authors:
|
7
|
+
- Alec Larsen
|
8
|
+
- Drew Ulmer
|
9
|
+
autorequire:
|
10
|
+
bindir: bin
|
11
|
+
cert_chain: []
|
12
|
+
date: 2020-06-25 00:00:00.000000000 Z
|
13
|
+
dependencies:
|
14
|
+
- !ruby/object:Gem::Dependency
|
15
|
+
name: nokogiri
|
16
|
+
requirement: !ruby/object:Gem::Requirement
|
17
|
+
requirements:
|
18
|
+
- - ">="
|
19
|
+
- !ruby/object:Gem::Version
|
20
|
+
version: '0'
|
21
|
+
type: :runtime
|
22
|
+
prerelease: false
|
23
|
+
version_requirements: !ruby/object:Gem::Requirement
|
24
|
+
requirements:
|
25
|
+
- - ">="
|
26
|
+
- !ruby/object:Gem::Version
|
27
|
+
version: '0'
|
28
|
+
- !ruby/object:Gem::Dependency
|
29
|
+
name: rails
|
30
|
+
requirement: !ruby/object:Gem::Requirement
|
31
|
+
requirements:
|
32
|
+
- - ">="
|
33
|
+
- !ruby/object:Gem::Version
|
34
|
+
version: '5.2'
|
35
|
+
type: :runtime
|
36
|
+
prerelease: false
|
37
|
+
version_requirements: !ruby/object:Gem::Requirement
|
38
|
+
requirements:
|
39
|
+
- - ">="
|
40
|
+
- !ruby/object:Gem::Version
|
41
|
+
version: '5.2'
|
42
|
+
description: |
|
43
|
+
Motion extends Github's `view_component` gem with reactivity to interactions
|
44
|
+
from the user and broadcasts on the server.
|
45
|
+
email:
|
46
|
+
- alec@unabridgedsoftware.com
|
47
|
+
- drew@unabridgedsoftware.com
|
48
|
+
executables: []
|
49
|
+
extensions: []
|
50
|
+
extra_rdoc_files: []
|
51
|
+
files:
|
52
|
+
- lib/generators/motion/install_generator.rb
|
53
|
+
- lib/generators/motion/templates/motion.rb
|
54
|
+
- lib/generators/motion/templates/motion_controller.js
|
55
|
+
- lib/motion.rb
|
56
|
+
- lib/motion/action_cable_extentions.rb
|
57
|
+
- lib/motion/action_cable_extentions/declarative_streams.rb
|
58
|
+
- lib/motion/action_cable_extentions/log_suppression.rb
|
59
|
+
- lib/motion/channel.rb
|
60
|
+
- lib/motion/component.rb
|
61
|
+
- lib/motion/component/broadcasts.rb
|
62
|
+
- lib/motion/component/lifecycle.rb
|
63
|
+
- lib/motion/component/motions.rb
|
64
|
+
- lib/motion/component/rendering.rb
|
65
|
+
- lib/motion/component_connection.rb
|
66
|
+
- lib/motion/configuration.rb
|
67
|
+
- lib/motion/element.rb
|
68
|
+
- lib/motion/errors.rb
|
69
|
+
- lib/motion/event.rb
|
70
|
+
- lib/motion/log_helper.rb
|
71
|
+
- lib/motion/markup_transformer.rb
|
72
|
+
- lib/motion/railtie.rb
|
73
|
+
- lib/motion/serializer.rb
|
74
|
+
- lib/motion/test_helpers.rb
|
75
|
+
- lib/motion/version.rb
|
76
|
+
homepage: https://github.com/unabridged/motion
|
77
|
+
licenses:
|
78
|
+
- MIT
|
79
|
+
metadata:
|
80
|
+
bug_tracker_uri: https://github.com/unabridged/motion
|
81
|
+
source_code_uri: https://github.com/unabridged/motion
|
82
|
+
post_install_message: |
|
83
|
+
Friendly reminder: When updating the motion gem, don't forget to update the
|
84
|
+
NPM package as well (`bin/yarn add '@unabridged/motion@0.1.1'`).
|
85
|
+
rdoc_options: []
|
86
|
+
require_paths:
|
87
|
+
- lib
|
88
|
+
required_ruby_version: !ruby/object:Gem::Requirement
|
89
|
+
requirements:
|
90
|
+
- - ">="
|
91
|
+
- !ruby/object:Gem::Version
|
92
|
+
version: 2.3.0
|
93
|
+
required_rubygems_version: !ruby/object:Gem::Requirement
|
94
|
+
requirements:
|
95
|
+
- - ">="
|
96
|
+
- !ruby/object:Gem::Version
|
97
|
+
version: '0'
|
98
|
+
requirements: []
|
99
|
+
rubygems_version: 3.0.3
|
100
|
+
signing_key:
|
101
|
+
specification_version: 4
|
102
|
+
summary: Reactive view components written in Ruby for Rails
|
103
|
+
test_files: []
|