pakyow-ui 1.0.1 → 1.0.6
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CHANGELOG.md +9 -2
- data/lib/pakyow/application/behavior/ui/rendering.rb +6 -1
- data/lib/pakyow/ui/framework.rb +2 -5
- metadata +18 -18
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 6be39aef2ce0319817d5ff08dbc42a598e6ebc99a70d1895599d81108cf1587d
|
4
|
+
data.tar.gz: 40cc9ed774d5b3669ddf406142f0c8b8c3256ed1a77b236e9483531a22c4e5c8
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 940271fa3840583018bb31b255161ab3d65870321fc4505ff34fcd37bc857d464a1ac8816fba531c3ca258a7aae2be4dd9bbb611ecad8f9f77f8003d0c92441d
|
7
|
+
data.tar.gz: 1aec99c8183877b4f501fe5768235726ff3fd18e48d3e983045c1c67fc21cb9a45a299b0891260607e066b53a5d4bc78e06128f486b316bde6257cb4943c1ffc
|
data/CHANGELOG.md
CHANGED
@@ -1,5 +1,12 @@
|
|
1
|
-
#
|
1
|
+
# v1.0.2
|
2
2
|
|
3
|
-
|
3
|
+
* `fix` **Issue causing data subscriptions to never be expired for a web socket connection.**
|
4
|
+
|
5
|
+
*Related links:*
|
6
|
+
- [Pull Request #295][pr-295]
|
7
|
+
|
8
|
+
[pr-295]: https://github.com/pakyow/pakyow/pull/295
|
9
|
+
|
10
|
+
# v1.0.0
|
4
11
|
|
5
12
|
* Hello, Web
|
@@ -86,7 +86,12 @@ module Pakyow
|
|
86
86
|
|
87
87
|
# Expire subscriptions if the connection is never established.
|
88
88
|
#
|
89
|
-
|
89
|
+
# We only do this at the top level render and not in sub renders (e.g.) components
|
90
|
+
# because the same socket client id applies for every render.
|
91
|
+
#
|
92
|
+
if @composer.class == Pakyow::Presenter::Composers::View
|
93
|
+
context.app.data.expire(context.socket_client_id, context.app.config.realtime.timeouts.initial)
|
94
|
+
end
|
90
95
|
end
|
91
96
|
end
|
92
97
|
end
|
data/lib/pakyow/ui/framework.rb
CHANGED
@@ -1,6 +1,6 @@
|
|
1
1
|
# frozen_string_literal: true
|
2
2
|
|
3
|
-
require "concurrent/executor/
|
3
|
+
require "concurrent/executor/single_thread_executor"
|
4
4
|
|
5
5
|
require "pakyow/framework"
|
6
6
|
|
@@ -76,11 +76,8 @@ module Pakyow
|
|
76
76
|
unfreezable :ui_executor
|
77
77
|
|
78
78
|
after "initialize" do
|
79
|
-
@ui_executor = Concurrent::
|
79
|
+
@ui_executor = Concurrent::SingleThreadExecutor.new(
|
80
80
|
auto_terminate: false,
|
81
|
-
min_threads: 1,
|
82
|
-
max_threads: 10,
|
83
|
-
max_queue: 0
|
84
81
|
)
|
85
82
|
end
|
86
83
|
end
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: pakyow-ui
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.0.
|
4
|
+
version: 1.0.6
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Bryan Powell
|
8
|
-
autorequire:
|
8
|
+
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date:
|
11
|
+
date: 2020-09-03 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: pakyow-core
|
@@ -16,84 +16,84 @@ dependencies:
|
|
16
16
|
requirements:
|
17
17
|
- - '='
|
18
18
|
- !ruby/object:Gem::Version
|
19
|
-
version: 1.0.
|
19
|
+
version: 1.0.6
|
20
20
|
type: :runtime
|
21
21
|
prerelease: false
|
22
22
|
version_requirements: !ruby/object:Gem::Requirement
|
23
23
|
requirements:
|
24
24
|
- - '='
|
25
25
|
- !ruby/object:Gem::Version
|
26
|
-
version: 1.0.
|
26
|
+
version: 1.0.6
|
27
27
|
- !ruby/object:Gem::Dependency
|
28
28
|
name: pakyow-data
|
29
29
|
requirement: !ruby/object:Gem::Requirement
|
30
30
|
requirements:
|
31
31
|
- - '='
|
32
32
|
- !ruby/object:Gem::Version
|
33
|
-
version: 1.0.
|
33
|
+
version: 1.0.6
|
34
34
|
type: :runtime
|
35
35
|
prerelease: false
|
36
36
|
version_requirements: !ruby/object:Gem::Requirement
|
37
37
|
requirements:
|
38
38
|
- - '='
|
39
39
|
- !ruby/object:Gem::Version
|
40
|
-
version: 1.0.
|
40
|
+
version: 1.0.6
|
41
41
|
- !ruby/object:Gem::Dependency
|
42
42
|
name: pakyow-presenter
|
43
43
|
requirement: !ruby/object:Gem::Requirement
|
44
44
|
requirements:
|
45
45
|
- - '='
|
46
46
|
- !ruby/object:Gem::Version
|
47
|
-
version: 1.0.
|
47
|
+
version: 1.0.6
|
48
48
|
type: :runtime
|
49
49
|
prerelease: false
|
50
50
|
version_requirements: !ruby/object:Gem::Requirement
|
51
51
|
requirements:
|
52
52
|
- - '='
|
53
53
|
- !ruby/object:Gem::Version
|
54
|
-
version: 1.0.
|
54
|
+
version: 1.0.6
|
55
55
|
- !ruby/object:Gem::Dependency
|
56
56
|
name: pakyow-realtime
|
57
57
|
requirement: !ruby/object:Gem::Requirement
|
58
58
|
requirements:
|
59
59
|
- - '='
|
60
60
|
- !ruby/object:Gem::Version
|
61
|
-
version: 1.0.
|
61
|
+
version: 1.0.6
|
62
62
|
type: :runtime
|
63
63
|
prerelease: false
|
64
64
|
version_requirements: !ruby/object:Gem::Requirement
|
65
65
|
requirements:
|
66
66
|
- - '='
|
67
67
|
- !ruby/object:Gem::Version
|
68
|
-
version: 1.0.
|
68
|
+
version: 1.0.6
|
69
69
|
- !ruby/object:Gem::Dependency
|
70
70
|
name: pakyow-routing
|
71
71
|
requirement: !ruby/object:Gem::Requirement
|
72
72
|
requirements:
|
73
73
|
- - '='
|
74
74
|
- !ruby/object:Gem::Version
|
75
|
-
version: 1.0.
|
75
|
+
version: 1.0.6
|
76
76
|
type: :runtime
|
77
77
|
prerelease: false
|
78
78
|
version_requirements: !ruby/object:Gem::Requirement
|
79
79
|
requirements:
|
80
80
|
- - '='
|
81
81
|
- !ruby/object:Gem::Version
|
82
|
-
version: 1.0.
|
82
|
+
version: 1.0.6
|
83
83
|
- !ruby/object:Gem::Dependency
|
84
84
|
name: pakyow-support
|
85
85
|
requirement: !ruby/object:Gem::Requirement
|
86
86
|
requirements:
|
87
87
|
- - '='
|
88
88
|
- !ruby/object:Gem::Version
|
89
|
-
version: 1.0.
|
89
|
+
version: 1.0.6
|
90
90
|
type: :runtime
|
91
91
|
prerelease: false
|
92
92
|
version_requirements: !ruby/object:Gem::Requirement
|
93
93
|
requirements:
|
94
94
|
- - '='
|
95
95
|
- !ruby/object:Gem::Version
|
96
|
-
version: 1.0.
|
96
|
+
version: 1.0.6
|
97
97
|
- !ruby/object:Gem::Dependency
|
98
98
|
name: concurrent-ruby
|
99
99
|
requirement: !ruby/object:Gem::Requirement
|
@@ -133,7 +133,7 @@ homepage: https://pakyow.com
|
|
133
133
|
licenses:
|
134
134
|
- LGPL-3.0
|
135
135
|
metadata: {}
|
136
|
-
post_install_message:
|
136
|
+
post_install_message:
|
137
137
|
rdoc_options: []
|
138
138
|
require_paths:
|
139
139
|
- lib
|
@@ -148,8 +148,8 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
148
148
|
- !ruby/object:Gem::Version
|
149
149
|
version: '0'
|
150
150
|
requirements: []
|
151
|
-
rubygems_version: 3.
|
152
|
-
signing_key:
|
151
|
+
rubygems_version: 3.1.2
|
152
|
+
signing_key:
|
153
153
|
specification_version: 4
|
154
154
|
summary: Pakyow UI
|
155
155
|
test_files: []
|