cascading_configuration 1.0.4 → 1.0.5

Sign up to get free protection for your applications and to get access to all the features.
@@ -15,7 +15,7 @@ class ::CascadingConfiguration::Core::InstanceController < ::Module
15
15
  instance_controller = nil
16
16
 
17
17
  unless instance_controller = @instance_controller[ instance ]
18
- instance_controller = new( instance, default_encapsulation_or_name, constant, extending )
18
+ instance_controller = new( instance, default_encapsulation_or_name, extending )
19
19
  end
20
20
 
21
21
  return instance_controller
@@ -118,7 +118,7 @@ class ::CascadingConfiguration::Core::InstanceController < ::Module
118
118
 
119
119
  hex_id_string = '0x%x' % ( @instance.__id__ << 1 )
120
120
  constant = 'ID_' << hex_id_string
121
- self.class.const_set( constant, self )
121
+ self.class.const_set( :Controller, self )
122
122
 
123
123
  return self
124
124
 
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: cascading_configuration
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.0.4
4
+ version: 1.0.5
5
5
  prerelease:
6
6
  platform: ruby
7
7
  authors: