lib/amber_component.rb in amber_component-0.0.3 vs lib/amber_component.rb in amber_component-0.0.4

- old
+ new

@@ -3,26 +3,25 @@ require 'active_support' require 'active_support/core_ext' module ::AmberComponent class Error < ::StandardError; end - class ViewFileNotFound < Error; end - class InvalidType < Error; end + class MissingPropsError < Error; end + class IncorrectPropTypeError < Error; end + class ViewFileNotFoundError < Error; end + class InvalidTypeError < Error; end - class EmptyView < Error; end - class UnknownViewType < Error; end - class MultipleViews < Error; end - - class EmptyStyle < Error; end - class UnknownStyleType < Error; end - class MultipleStyles < Error; end + class EmptyViewError < Error; end + class UnknownViewTypeError < Error; end + class MultipleViewsError < Error; end end require_relative 'amber_component/version' require_relative 'amber_component/helpers' require_relative 'amber_component/typed_content' require_relative 'amber_component/template_handler' require_relative 'amber_component/views' require_relative 'amber_component/assets' require_relative 'amber_component/rendering' +require_relative 'amber_component/props' require_relative 'amber_component/base' require_relative 'amber_component/railtie' if defined?(::Rails::Railtie)