motion 0.1.1 → 0.1.2
Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: f50ecf7f319478fcd72dca2dd6e55c36a67d803e6235d24c39ac36537528bb88
|
4
|
+
data.tar.gz: 10c88dabd3104c7351a5d2eeb6623564214171c1b26fdf9b25aca3d8297c2a46
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 31a107b75a0e553febfec1f0b93cc878c4c727f5f61ba1d0e39b89c9c7c1a7b45d5ecf188a49b9e1293c2f4056974afb755c1cb2cd4594895e95c3166e38563f
|
7
|
+
data.tar.gz: 7ad03d82e4a4ca05338368db8cda1b12813662f3f3fe2937f576baeb47b8b7c99b41b5bfc4ec9b11eb42facbce155990b7f278c6171603b0bf972b9adb641c52
|
@@ -70,8 +70,9 @@ module Motion
|
|
70
70
|
def _ensure_declarative_stream_proxy(broadcast)
|
71
71
|
return unless @_declarative_stream_proxies.add?(broadcast)
|
72
72
|
|
73
|
-
# TODO:
|
74
|
-
|
73
|
+
# TODO: I feel like the fact that we have to specify the coder here is
|
74
|
+
# a bug in ActionCable. It should be the default for this karg.
|
75
|
+
stream_from(broadcast, coder: ActiveSupport::JSON) do |message|
|
75
76
|
_handle_incoming_broadcast_to_declarative_stream(broadcast, message)
|
76
77
|
rescue Exception => exception # rubocop:disable Lint/RescueException
|
77
78
|
# It is very, very important that we do not allow an exception to
|
data/lib/motion/version.rb
CHANGED
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: motion
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.1.
|
4
|
+
version: 0.1.2
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Alec Larsen
|
@@ -9,7 +9,7 @@ authors:
|
|
9
9
|
autorequire:
|
10
10
|
bindir: bin
|
11
11
|
cert_chain: []
|
12
|
-
date: 2020-06-
|
12
|
+
date: 2020-06-26 00:00:00.000000000 Z
|
13
13
|
dependencies:
|
14
14
|
- !ruby/object:Gem::Dependency
|
15
15
|
name: nokogiri
|
@@ -40,8 +40,8 @@ dependencies:
|
|
40
40
|
- !ruby/object:Gem::Version
|
41
41
|
version: '5.2'
|
42
42
|
description: |
|
43
|
-
Motion extends Github's `view_component`
|
44
|
-
|
43
|
+
Motion extends Github's `view_component` to allow you to build reactive,
|
44
|
+
real-time frontend UI components in your Rails application using pure Ruby.
|
45
45
|
email:
|
46
46
|
- alec@unabridgedsoftware.com
|
47
47
|
- drew@unabridgedsoftware.com
|
@@ -81,7 +81,7 @@ metadata:
|
|
81
81
|
source_code_uri: https://github.com/unabridged/motion
|
82
82
|
post_install_message: |
|
83
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.
|
84
|
+
NPM package as well (`bin/yarn add '@unabridged/motion@0.1.2'`).
|
85
85
|
rdoc_options: []
|
86
86
|
require_paths:
|
87
87
|
- lib
|
@@ -99,5 +99,5 @@ requirements: []
|
|
99
99
|
rubygems_version: 3.0.3
|
100
100
|
signing_key:
|
101
101
|
specification_version: 4
|
102
|
-
summary: Reactive
|
102
|
+
summary: Reactive frontend UI components for Rails in pure Ruby.
|
103
103
|
test_files: []
|