lib/hanami.rb in hanami-1.0.0.rc1 vs lib/hanami.rb in hanami-1.0.0

- old
+ new

@@ -82,15 +82,18 @@ # NOTE: In case this is invoked many times, it guarantees that the boot # process happens only once. # # NOTE: This MUST NOT be wrapped by a Mutex, because it would cause a deadlock. # + # @return [NilClass] + # # @since 0.9.0 def self.boot Components.release if code_reloading? Components.resolve('all') Hanami::Model.disconnect if defined?(Hanami::Model) + nil end # Main application that mounts many Rack and/or Hanami applications. # # This is used as integration point for: @@ -195,11 +198,11 @@ # Check if code reloading is enabled. # # @return [TrueClass,FalseClass] the result of the check # - # @since 1.0.0.beta1 + # @since 1.0.0 # @api private # # @see http://hanamirb.org/guides/projects/code-reloading/ def self.code_reloading? environment @@ -209,10 +212,10 @@ # Project logger # # @return [Hanami::Logger] the logger # - # @since 1.0.0.beta1 + # @since 1.0.0 def self.logger Components['logger'] end end