pakyow-realtime 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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: b30e69b49c6697edfb995e3aa53a96cd6f46faf7ced5ed43e0b86fbbd3ca4358
4
- data.tar.gz: 0b5acf1662117f241d8074b36f868a0d7869599000eb2e2288faac721b7260b5
3
+ metadata.gz: edf983c029b6adae219716925c6724ccede33d3b3427006fc718decf81758aa3
4
+ data.tar.gz: e16e36dfc2dbbc6f8e927d35991919dc3be09cdb9b85f3c85fb0085b873e90ee
5
5
  SHA512:
6
- metadata.gz: 601f48e3c469d93fe7e4d8779fb61f9cf78079c55eb19cfc86457460a03780cfbcc73af4cf062b444a191f44b09da9dfaa65e6bc18ea956c2991db25c9fcdd4c
7
- data.tar.gz: afcb8fd0cf1d05cf0fccede5bfaf95af405cc6062cea85be93b7b3c49c052b37c4e6472f17e2f99b432fa525f86b13e274d8534684b569e094a653d1be3b7955
6
+ metadata.gz: 40517fbbcf71241586a42814e8901672758c14b265478ac614d26828035f87be638f43394fb4a63034e82eed37b4be20f13ae8d1b3853edca24fc37f6277a52b
7
+ data.tar.gz: b040c63b17da4f2f33e148bd2aae6fdb6af4ce5d3821ca6ed69823a4d4d87a2ab0783329468bea23a2a5bfa6555c1b841b2e2d7a2b740fcd7eee8cf238a76cd6
@@ -1,5 +1,12 @@
1
- # UNRELEASED
1
+ # v1.0.2
2
2
 
3
- # 1.0
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
@@ -2,7 +2,7 @@
2
2
 
3
3
  require "concurrent/array"
4
4
  require "concurrent/timer_task"
5
- require "concurrent/executor/thread_pool_executor"
5
+ require "concurrent/executor/single_thread_executor"
6
6
 
7
7
  require "pakyow/support/message_verifier"
8
8
 
@@ -20,11 +20,8 @@ module Pakyow
20
20
  @adapter = Adapters.const_get(adapter.to_s.capitalize).new(self, adapter_config)
21
21
  @sockets = Concurrent::Array.new
22
22
  @timeout_config = timeout_config
23
- @executor = Concurrent::ThreadPoolExecutor.new(
24
- auto_terminate: false,
25
- min_threads: 1,
26
- max_threads: 10,
27
- max_queue: 0
23
+ @executor = Concurrent::SingleThreadExecutor.new(
24
+ auto_terminate: false
28
25
  )
29
26
 
30
27
  connect
@@ -116,12 +116,12 @@ module Pakyow
116
116
  end
117
117
 
118
118
  def transmit_system_info
119
- transmit(
119
+ transmit({
120
120
  channel: "system",
121
121
  message: {
122
122
  version: @connection.app.config.version
123
123
  }
124
- )
124
+ })
125
125
  end
126
126
  end
127
127
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: pakyow-realtime
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.0.1
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: 2019-07-16 00:00:00.000000000 Z
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,70 +16,70 @@ dependencies:
16
16
  requirements:
17
17
  - - '='
18
18
  - !ruby/object:Gem::Version
19
- version: 1.0.1
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.1
26
+ version: 1.0.6
27
27
  - !ruby/object:Gem::Dependency
28
28
  name: pakyow-presenter
29
29
  requirement: !ruby/object:Gem::Requirement
30
30
  requirements:
31
31
  - - '='
32
32
  - !ruby/object:Gem::Version
33
- version: 1.0.1
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.1
40
+ version: 1.0.6
41
41
  - !ruby/object:Gem::Dependency
42
42
  name: pakyow-routing
43
43
  requirement: !ruby/object:Gem::Requirement
44
44
  requirements:
45
45
  - - '='
46
46
  - !ruby/object:Gem::Version
47
- version: 1.0.1
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.1
54
+ version: 1.0.6
55
55
  - !ruby/object:Gem::Dependency
56
56
  name: pakyow-support
57
57
  requirement: !ruby/object:Gem::Requirement
58
58
  requirements:
59
59
  - - '='
60
60
  - !ruby/object:Gem::Version
61
- version: 1.0.1
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.1
68
+ version: 1.0.6
69
69
  - !ruby/object:Gem::Dependency
70
70
  name: async-websocket
71
71
  requirement: !ruby/object:Gem::Requirement
72
72
  requirements:
73
73
  - - "~>"
74
74
  - !ruby/object:Gem::Version
75
- version: '0.13'
75
+ version: 0.13.1
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: '0.13'
82
+ version: 0.13.1
83
83
  - !ruby/object:Gem::Dependency
84
84
  name: concurrent-ruby
85
85
  requirement: !ruby/object:Gem::Requirement
@@ -138,7 +138,7 @@ homepage: https://pakyow.com
138
138
  licenses:
139
139
  - LGPL-3.0
140
140
  metadata: {}
141
- post_install_message:
141
+ post_install_message:
142
142
  rdoc_options: []
143
143
  require_paths:
144
144
  - lib
@@ -153,8 +153,8 @@ required_rubygems_version: !ruby/object:Gem::Requirement
153
153
  - !ruby/object:Gem::Version
154
154
  version: '0'
155
155
  requirements: []
156
- rubygems_version: 3.0.3
157
- signing_key:
156
+ rubygems_version: 3.1.2
157
+ signing_key:
158
158
  specification_version: 4
159
159
  summary: Pakyow Realtime
160
160
  test_files: []