active_domain 0.4.2 → 0.4.3
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +14 -6
- data/lib/active_domain/command_routes.rb +4 -0
- data/lib/active_domain/server.rb +5 -1
- data/lib/active_domain/version.rb +1 -1
- metadata +20 -19
checksums.yaml
CHANGED
@@ -1,7 +1,15 @@
|
|
1
1
|
---
|
2
|
-
|
3
|
-
metadata.gz:
|
4
|
-
|
5
|
-
|
6
|
-
|
7
|
-
|
2
|
+
!binary "U0hBMQ==":
|
3
|
+
metadata.gz: !binary |-
|
4
|
+
YzBlYjgxMTg0ZjIyMjI2ZmQ1MmM5MjZlNmM4ODg0NTc5ZWUwN2YxZA==
|
5
|
+
data.tar.gz: !binary |-
|
6
|
+
YTk0Nzk1ZjNmZmYwYjRhODUyY2NmYTY0MDE2MWU4ZDA3OTZmYTkzZA==
|
7
|
+
!binary "U0hBNTEy":
|
8
|
+
metadata.gz: !binary |-
|
9
|
+
MDk3NWIxMzI0Zjc5MTViODU3MGIxMDI3YzI1NWUxN2FhZTdkZTYzNTdkNjUw
|
10
|
+
MzgwMGM0MjVkZjc3YjU5OWI0ODlhMzdlZGM5M2I3ODAxYjgyMGI4MDhlZWNi
|
11
|
+
ODFlM2YxYWM5OTY4MDM1ODQ4YTBhYjE5OGE2MWFkOGRhODA2OTY=
|
12
|
+
data.tar.gz: !binary |-
|
13
|
+
OGE1MWI0YzA2NmRkNTc3MTg5ZDU1ZDU5MjQ4YWRmMmEyNmQyMWU2YThjY2Yz
|
14
|
+
ZGU0MDQ0YjY5NTM2ZjYzOWI5NjE3Nzg3NjU0ODYxOTQ1NDRjM2I0ZWM5Mzll
|
15
|
+
ZTM1NjE3OTk0OTY2YzYxMTViZDczNTA0YzEwODUzYjVkOTcwNTk=
|
@@ -12,6 +12,10 @@ module ActiveDomain
|
|
12
12
|
RELOADER.execute_if_updated
|
13
13
|
processor, method = @@routes[command.class]
|
14
14
|
processor_instance(processor).method(method).call(command)
|
15
|
+
rescue Exception => e
|
16
|
+
LOGGER.error e.message
|
17
|
+
LOGGER.error e.backtrace.join("\n")
|
18
|
+
raise e
|
15
19
|
end
|
16
20
|
|
17
21
|
def self.route(type, processor, method)
|
data/lib/active_domain/server.rb
CHANGED
@@ -19,7 +19,11 @@ module ActiveDomain
|
|
19
19
|
DRb.start_service(drb_uri, domain, options.fetch(:drb_config, {}))
|
20
20
|
DRb.thread.join
|
21
21
|
rescue Interrupt
|
22
|
-
|
22
|
+
LOGGER.info 'Catching Interrupt'
|
23
|
+
rescue Exception => e
|
24
|
+
LOGGER.error e.message
|
25
|
+
LOGGER.error e.backtrace.join("\n")
|
26
|
+
raise e
|
23
27
|
end
|
24
28
|
|
25
29
|
def env
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: active_domain
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.4.
|
4
|
+
version: 0.4.3
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Andreas Reischuck
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date:
|
11
|
+
date: 2014-01-18 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: active_event
|
@@ -16,19 +16,19 @@ dependencies:
|
|
16
16
|
requirements:
|
17
17
|
- - '='
|
18
18
|
- !ruby/object:Gem::Version
|
19
|
-
version: 0.4.
|
19
|
+
version: 0.4.3
|
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: 0.4.
|
26
|
+
version: 0.4.3
|
27
27
|
- !ruby/object:Gem::Dependency
|
28
28
|
name: activerecord
|
29
29
|
requirement: !ruby/object:Gem::Requirement
|
30
30
|
requirements:
|
31
|
-
- - '>'
|
31
|
+
- - ! '>'
|
32
32
|
- !ruby/object:Gem::Version
|
33
33
|
version: 3.2.0
|
34
34
|
- - <
|
@@ -38,7 +38,7 @@ dependencies:
|
|
38
38
|
prerelease: false
|
39
39
|
version_requirements: !ruby/object:Gem::Requirement
|
40
40
|
requirements:
|
41
|
-
- - '>'
|
41
|
+
- - ! '>'
|
42
42
|
- !ruby/object:Gem::Version
|
43
43
|
version: 3.2.0
|
44
44
|
- - <
|
@@ -48,7 +48,7 @@ dependencies:
|
|
48
48
|
name: activemodel
|
49
49
|
requirement: !ruby/object:Gem::Requirement
|
50
50
|
requirements:
|
51
|
-
- - '>'
|
51
|
+
- - ! '>'
|
52
52
|
- !ruby/object:Gem::Version
|
53
53
|
version: 3.2.0
|
54
54
|
- - <
|
@@ -58,7 +58,7 @@ dependencies:
|
|
58
58
|
prerelease: false
|
59
59
|
version_requirements: !ruby/object:Gem::Requirement
|
60
60
|
requirements:
|
61
|
-
- - '>'
|
61
|
+
- - ! '>'
|
62
62
|
- !ruby/object:Gem::Version
|
63
63
|
version: 3.2.0
|
64
64
|
- - <
|
@@ -68,14 +68,14 @@ dependencies:
|
|
68
68
|
name: bunny
|
69
69
|
requirement: !ruby/object:Gem::Requirement
|
70
70
|
requirements:
|
71
|
-
- - '>='
|
71
|
+
- - ! '>='
|
72
72
|
- !ruby/object:Gem::Version
|
73
73
|
version: '0'
|
74
74
|
type: :runtime
|
75
75
|
prerelease: false
|
76
76
|
version_requirements: !ruby/object:Gem::Requirement
|
77
77
|
requirements:
|
78
|
-
- - '>='
|
78
|
+
- - ! '>='
|
79
79
|
- !ruby/object:Gem::Version
|
80
80
|
version: '0'
|
81
81
|
- !ruby/object:Gem::Dependency
|
@@ -96,42 +96,42 @@ dependencies:
|
|
96
96
|
name: rake
|
97
97
|
requirement: !ruby/object:Gem::Requirement
|
98
98
|
requirements:
|
99
|
-
- - '>='
|
99
|
+
- - ! '>='
|
100
100
|
- !ruby/object:Gem::Version
|
101
101
|
version: '0'
|
102
102
|
type: :development
|
103
103
|
prerelease: false
|
104
104
|
version_requirements: !ruby/object:Gem::Requirement
|
105
105
|
requirements:
|
106
|
-
- - '>='
|
106
|
+
- - ! '>='
|
107
107
|
- !ruby/object:Gem::Version
|
108
108
|
version: '0'
|
109
109
|
- !ruby/object:Gem::Dependency
|
110
110
|
name: rspec
|
111
111
|
requirement: !ruby/object:Gem::Requirement
|
112
112
|
requirements:
|
113
|
-
- - '>='
|
113
|
+
- - ! '>='
|
114
114
|
- !ruby/object:Gem::Version
|
115
115
|
version: '0'
|
116
116
|
type: :development
|
117
117
|
prerelease: false
|
118
118
|
version_requirements: !ruby/object:Gem::Requirement
|
119
119
|
requirements:
|
120
|
-
- - '>='
|
120
|
+
- - ! '>='
|
121
121
|
- !ruby/object:Gem::Version
|
122
122
|
version: '0'
|
123
123
|
- !ruby/object:Gem::Dependency
|
124
124
|
name: coveralls
|
125
125
|
requirement: !ruby/object:Gem::Requirement
|
126
126
|
requirements:
|
127
|
-
- - '>='
|
127
|
+
- - ! '>='
|
128
128
|
- !ruby/object:Gem::Version
|
129
129
|
version: '0'
|
130
130
|
type: :development
|
131
131
|
prerelease: false
|
132
132
|
version_requirements: !ruby/object:Gem::Requirement
|
133
133
|
requirements:
|
134
|
-
- - '>='
|
134
|
+
- - ! '>='
|
135
135
|
- !ruby/object:Gem::Version
|
136
136
|
version: '0'
|
137
137
|
description: Domain server, Command processors and routes for rails-disco
|
@@ -169,17 +169,17 @@ require_paths:
|
|
169
169
|
- lib
|
170
170
|
required_ruby_version: !ruby/object:Gem::Requirement
|
171
171
|
requirements:
|
172
|
-
- - '>='
|
172
|
+
- - ! '>='
|
173
173
|
- !ruby/object:Gem::Version
|
174
174
|
version: '0'
|
175
175
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
176
176
|
requirements:
|
177
|
-
- - '>='
|
177
|
+
- - ! '>='
|
178
178
|
- !ruby/object:Gem::Version
|
179
179
|
version: '0'
|
180
180
|
requirements: []
|
181
181
|
rubyforge_project:
|
182
|
-
rubygems_version: 2.
|
182
|
+
rubygems_version: 2.0.3
|
183
183
|
signing_key:
|
184
184
|
specification_version: 4
|
185
185
|
summary: Domain related stuff (part of rails-disco)
|
@@ -188,3 +188,4 @@ test_files:
|
|
188
188
|
- spec/lib/projection_registry_spec.rb
|
189
189
|
- spec/lib/projection_spec.rb
|
190
190
|
- spec/spec_helper.rb
|
191
|
+
has_rdoc:
|