lib/shaped.rb in shaped-0.9.0 vs lib/shaped.rb in shaped-0.9.1

- old
+ new

@@ -1,13 +1,13 @@ # frozen_string_literal: true module Shaped ; end module Shaped::Shapes ; end -require 'active_support/all' require 'active_model' +require 'active_support/all' require_relative './shaped/shape.rb' -Dir["#{File.dirname(__FILE__)}/**/*.rb"].sort.each { |file| require file } +Dir["#{File.dirname(__FILE__)}/**/*.rb"].each { |file| require file } module Shaped # rubocop:disable Naming/MethodName, Metrics/CyclomaticComplexity, Metrics/PerceivedComplexity def self.Shape(*shape_descriptions) validation_options = shape_descriptions.extract_options!