command_processor 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 +4 -4
- data/lib/command_processor/processor.rb +0 -2
- data/lib/command_processor/version.rb +1 -1
- data/lib/command_processor.rb +1 -2
- 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: acc752e7a2996b668ce295c18b126135204b14f3
|
4
|
+
data.tar.gz: 4cfaab1c0e10ab11dabb02405635641e868b799a
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: f3078ed63aaa1355db3213aaa8b8b295b39abf38a6b17a9c9908473386d705319d9edf6cfa378dca9f5e65c25de2aaa926f902c7e8b3ff04031d048e08210ef6
|
7
|
+
data.tar.gz: 9eb3dc398fc0d537bf9f929faff5ff49c44ad708bbad279d1a8c61acb4dfef1128fcbb4c8abec1a275e9fe3e1af0c4903dfeb1f535508bcd5018eb27461c97a7
|
@@ -15,8 +15,6 @@ module CommandProcessor
|
|
15
15
|
handler_class = Object.const_get("#{command.class.name}Handler")
|
16
16
|
handler = @container.resolve_by_type(handler_class)
|
17
17
|
handler.execute(command)
|
18
|
-
rescue ::IOC::UnknownServiceError
|
19
|
-
raise(HandlerNotRegisteredError, "Expected handler of type '#{command.class.name}Handler' to be registered")
|
20
18
|
end
|
21
19
|
end
|
22
20
|
end
|
data/lib/command_processor.rb
CHANGED
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: command_processor
|
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
|
- Erik Lott
|
8
8
|
autorequire:
|
9
9
|
bindir: exe
|
10
10
|
cert_chain: []
|
11
|
-
date: 2015-07-
|
11
|
+
date: 2015-07-31 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: ioc
|