stealth 0.9.7 → 0.9.8
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/VERSION +1 -1
- data/lib/stealth/controller.rb +2 -2
- data/lib/stealth/dispatcher.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: f8e354e371b86c32fbd88873d2c99fd81b1b2e7c
|
4
|
+
data.tar.gz: d68dfa6ed766e034d43cf3c1ebbd1f8e237f633c
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: af5f5ceb58561a7697ba353eeca4c3bf7e5393016fc7e3edaa4178d89dc437c8f2d937208f46488ee67db110ba456f38e8e25a33fea95ed093a1bcd8c7ec46e3
|
7
|
+
data.tar.gz: d3c6d97b1ec63eeca65ae9be3867e6d3a422bcf99c0110afca0ee5ede9caa55143b7e6c08d801a2fcf363797e90fecfc7ea838f7c22840755944ad3fb0e84289
|
data/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
0.9.
|
1
|
+
0.9.8
|
data/lib/stealth/controller.rb
CHANGED
@@ -126,7 +126,7 @@ module Stealth
|
|
126
126
|
|
127
127
|
def reply_handler
|
128
128
|
begin
|
129
|
-
Kernel.const_get("Stealth::Services::#{current_service.
|
129
|
+
Kernel.const_get("Stealth::Services::#{current_service.classify}::ReplyHandler")
|
130
130
|
rescue NameError
|
131
131
|
raise(Stealth::Errors::ServiceNotRecognized, "The service '#{current_service}' was not recognized")
|
132
132
|
end
|
@@ -134,7 +134,7 @@ module Stealth
|
|
134
134
|
|
135
135
|
def service_client
|
136
136
|
begin
|
137
|
-
Kernel.const_get("Stealth::Services::#{current_service.
|
137
|
+
Kernel.const_get("Stealth::Services::#{current_service.classify}::Client")
|
138
138
|
rescue NameError
|
139
139
|
raise(Stealth::Errors::ServiceNotRecognized, "The service '#{current_service}' was not recognized")
|
140
140
|
end
|
data/lib/stealth/dispatcher.rb
CHANGED
@@ -38,7 +38,7 @@ module Stealth
|
|
38
38
|
|
39
39
|
def message_handler_klass
|
40
40
|
begin
|
41
|
-
Kernel.const_get("Stealth::Services::#{service.
|
41
|
+
Kernel.const_get("Stealth::Services::#{service.classify}::MessageHandler")
|
42
42
|
rescue NameError
|
43
43
|
raise(Stealth::Errors::ServiceNotRecognized, "The service '#{service}' was not recognized")
|
44
44
|
end
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: stealth
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.9.
|
4
|
+
version: 0.9.8
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Mauricio Gomes
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2017-
|
11
|
+
date: 2017-12-07 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: sinatra
|