emque-consuming 1.4.0 → 1.5.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CHANGELOG.md +1 -0
- data/emque-consuming.gemspec +1 -1
- data/lib/emque/consuming/command_receivers/http_server.rb +10 -14
- data/lib/emque/consuming/version.rb +1 -1
- metadata +4 -4
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 18f37a4c2c4ca2951d9418cc53d3c4cb3b01ffcb
|
4
|
+
data.tar.gz: cb68592cb698f450c0059caec6ec8b9ccd3b8672
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: b98cc1163c2ea82dc1b73b5e9d05e1851e9baeb7c65ea5c9e84a2f01b7199d3bd80893b22760aeb236d71b71e19df88b53df1bb3e7cce7f615815a74c0b2bc05
|
7
|
+
data.tar.gz: a49054f4f05989287538ea0c1ec25df927e7018641665a9c49c16891106f2fe84113d1723cfeb4dc6493c5fbe17a346db1867114f5d921779a7c46b4c0d86c3d
|
data/CHANGELOG.md
CHANGED
@@ -1,5 +1,6 @@
|
|
1
1
|
# Emque Consuming CHANGELOG
|
2
2
|
|
3
|
+
- [Update the puma gem to allow v3](https://github.com/emque/emque-consuming/pull/72) 1.5.0
|
3
4
|
- [Disable pipe-ruby `raise_on_error` option to prevent duplicate erorrs](https://github.com/emque/emque-consuming/pull/74) 1.4.0
|
4
5
|
- [Update minimum Ruby version to 2.3](https://github.com/emque/emque-consuming/pull/68) 1.3.0
|
5
6
|
- [Update the oj gem to 2.18.5](https://github.com/emque/emque-consuming/pull/67) 1.2.4
|
data/emque-consuming.gemspec
CHANGED
@@ -23,7 +23,7 @@ Gem::Specification.new do |spec|
|
|
23
23
|
spec.add_dependency "dante", "~> 0.2.0"
|
24
24
|
spec.add_dependency "oj", "~> 2.18.5"
|
25
25
|
spec.add_dependency "virtus", "~> 1.0"
|
26
|
-
spec.add_dependency "puma", "~>
|
26
|
+
spec.add_dependency "puma", "~> 3.12"
|
27
27
|
spec.add_dependency "pipe-ruby", "~> 0.2.0"
|
28
28
|
spec.add_dependency "inflecto", "~> 0.0.2"
|
29
29
|
|
@@ -13,7 +13,6 @@ module Emque
|
|
13
13
|
end
|
14
14
|
|
15
15
|
def start
|
16
|
-
puma.options[:app] = Handler.new
|
17
16
|
@thread = Thread.new { puma.run }
|
18
17
|
status
|
19
18
|
end
|
@@ -21,23 +20,20 @@ module Emque
|
|
21
20
|
private
|
22
21
|
|
23
22
|
def initialize_puma
|
24
|
-
|
25
|
-
|
26
|
-
|
27
|
-
|
28
|
-
|
29
|
-
|
30
|
-
)
|
31
|
-
)
|
32
|
-
|
33
|
-
puma.options[:binds] = [
|
34
|
-
"tcp://#{config.status_host}"+
|
35
|
-
":#{config.status_port}"
|
36
|
-
]
|
23
|
+
conf = Puma::Configuration.new do |user_config|
|
24
|
+
user_config.bind "tcp://#{config.status_host}:#{config.status_port}"
|
25
|
+
user_config.app Handler.new
|
26
|
+
end
|
27
|
+
|
28
|
+
self.puma = Puma::Launcher.new(conf, :events => Puma::Events.null)
|
37
29
|
|
38
30
|
puma.define_singleton_method :set_process_title do
|
39
31
|
# we don't want puma to take over the process name
|
40
32
|
end
|
33
|
+
|
34
|
+
puma.define_singleton_method :setup_signals do
|
35
|
+
# we don't want puma to handle signals
|
36
|
+
end
|
41
37
|
end
|
42
38
|
|
43
39
|
class Handler
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: emque-consuming
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.
|
4
|
+
version: 1.5.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Ryan Williams
|
@@ -9,7 +9,7 @@ authors:
|
|
9
9
|
autorequire:
|
10
10
|
bindir: bin
|
11
11
|
cert_chain: []
|
12
|
-
date:
|
12
|
+
date: 2019-03-04 00:00:00.000000000 Z
|
13
13
|
dependencies:
|
14
14
|
- !ruby/object:Gem::Dependency
|
15
15
|
name: celluloid
|
@@ -73,14 +73,14 @@ dependencies:
|
|
73
73
|
requirements:
|
74
74
|
- - "~>"
|
75
75
|
- !ruby/object:Gem::Version
|
76
|
-
version:
|
76
|
+
version: '3.12'
|
77
77
|
type: :runtime
|
78
78
|
prerelease: false
|
79
79
|
version_requirements: !ruby/object:Gem::Requirement
|
80
80
|
requirements:
|
81
81
|
- - "~>"
|
82
82
|
- !ruby/object:Gem::Version
|
83
|
-
version:
|
83
|
+
version: '3.12'
|
84
84
|
- !ruby/object:Gem::Dependency
|
85
85
|
name: pipe-ruby
|
86
86
|
requirement: !ruby/object:Gem::Requirement
|