deprec-core 3.1.2 → 3.1.3
Sign up to get free protection for your applications and to get access to all the features.
- data/CHANGELOG +1 -1
- data/lib/deprec-core/deprec.rb +0 -2
- data/lib/deprec-core/version.rb +1 -1
- metadata +1 -1
data/CHANGELOG
CHANGED
data/lib/deprec-core/deprec.rb
CHANGED
@@ -102,11 +102,9 @@ Capistrano::Configuration.instance(:must_exist).load do
|
|
102
102
|
:db => :db_server_type,
|
103
103
|
:ruby => :ruby_vm_type
|
104
104
|
}
|
105
|
-
metaclass = class << self; self; end # XXX unnecessary?
|
106
105
|
namespaces_to_connect.each do |server, choice|
|
107
106
|
server_type = send(choice).to_sym
|
108
107
|
if server_type != :none
|
109
|
-
metaclass.send(:define_method, server) { namespaces[server] } # XXX unnecessary?
|
110
108
|
namespaces[server] = deprec.send(server_type)
|
111
109
|
end
|
112
110
|
end
|
data/lib/deprec-core/version.rb
CHANGED