rservicebus2 0.2.24 → 0.2.25
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/rservicebus2/helper_functions.rb +2 -1
- metadata +1 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: ae906c0d751849d9f4843a7b8ca164398597fd9f7fd88a6673b7d4851e2f1672
|
4
|
+
data.tar.gz: e0b563cf71559ff0565af68132bb31035e292098cf9f2716b086b6293daa8481
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 69c1d0ff2b0c93f087dd5a9daf57040f132e0d3e513ef591b608c35f7ef350daa7ac0e5640d72e254f5358e12cb09d23c517cc8c61018d53eb2b9beee5c82f45
|
7
|
+
data.tar.gz: e26625aa44347b9f604fa6f64f9344cca6509fe952240439092c96252c458d910ac620331554aa93914aaf51d3feb895912e53eb1c3ad2014dc3e7eca8bab33e
|
@@ -39,7 +39,8 @@ module RServiceBus2
|
|
39
39
|
end
|
40
40
|
|
41
41
|
def self.create_anonymous_class(name_for_class)
|
42
|
-
|
42
|
+
Module.const_get(name_for_class)
|
43
|
+
rescue NameError
|
43
44
|
new_anonymous_class = Class.new(Object)
|
44
45
|
Object.const_set(name_for_class, new_anonymous_class)
|
45
46
|
Object.const_get(name_for_class).new
|