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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: bda60d28cc7f2488863f583c78cd7d93f5f10e9b1108e555ace21bc4c9a1e5c0
4
- data.tar.gz: 0a6909f90328adb8dd96f3dc7f2aee10ba7e930d7a55a9de7db3dc9c7a3d8bd8
3
+ metadata.gz: ae906c0d751849d9f4843a7b8ca164398597fd9f7fd88a6673b7d4851e2f1672
4
+ data.tar.gz: e0b563cf71559ff0565af68132bb31035e292098cf9f2716b086b6293daa8481
5
5
  SHA512:
6
- metadata.gz: d52251deafca3c285f9f263f2ef94b38c702855f12dcd5d1425dd1c118d92774db86cecbe0a6ba87ee1e5e5e9fd9c6971a9f75a057c389618c0e6f38c0590d98
7
- data.tar.gz: 1959b69ce7b511dd8f09b4a19dbbda9967671f369ff714aeb129c88054fafe1542cf220ba5757cfdf6030800327ec1e6ee07739ac4b4d0d56f9d42d4cf9c5e59
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
- # TODO do some reflection thing to create a class
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
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: rservicebus2
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.2.24
4
+ version: 0.2.25
5
5
  platform: ruby
6
6
  authors:
7
7
  - Guy Irvine