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 CHANGED
@@ -1,7 +1,15 @@
1
1
  ---
2
- SHA1:
3
- metadata.gz: 7c0333d4a9d50e0dfc25e30aa64954e11f0c389c
4
- data.tar.gz: 1b49324fb5c9885f19a6662fd94d2bba1f9abeaf
5
- SHA512:
6
- metadata.gz: d264b929802c99292ab35de447c9b77ed2085edfff5ea81cfb2714989bb7fbebf485c09e00ccc0d8bfbfe69e73a7ffd9ad469ede9d593a19bc1203cfa3043c8d
7
- data.tar.gz: 621ccacf6f72321e7050a0c10cc210208320fe8f66cb76bd56046ea474a1f48200d4f55c88f8243a11289a233926284ee5a89518b130056f023e31b5af15b409
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)
@@ -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
- puts 'Catching Interrupt'
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
@@ -1,7 +1,7 @@
1
1
  module ActiveDomain
2
2
  # Returns the version of the currently loaded ActiveDomain as a Gem::Version
3
3
  def self.version
4
- Gem::Version.new '0.4.2'
4
+ Gem::Version.new '0.4.3'
5
5
  end
6
6
 
7
7
  module VERSION #:nodoc:
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.2
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: 2013-12-18 00:00:00.000000000 Z
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.2
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.2
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.1.11
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: