lib/active_mocker.rb in active_mocker-1.6.4 vs lib/active_mocker.rb in active_mocker-1.7.beta1
- old
+ new
@@ -1,19 +1,24 @@
-require "active_mocker/version"
+require 'active_mocker/version'
+require 'logger'
require 'active_mocker/railtie' if defined?(Rails)
require 'ruby-progressbar'
require 'forwardable'
+require 'active_support/all'
+require 'singleton'
+require 'parser/current'
+require 'unparser'
+require 'virtus'
+require 'attr_permit'
+require 'active_mocker/ruby_parse'
require 'active_mocker/public_methods'
require 'active_mocker/config'
require 'active_mocker/generate'
-require 'singleton'
-require 'logger'
require 'active_mocker/logger'
-require 'active_support/all'
-require 'active_mocker/table'
-require 'active_mocker/field'
+require 'active_mocker/active_record/table'
+require 'active_mocker/active_record/field'
require 'active_mocker/file_reader'
require 'active_mocker/reparameterize'
require 'active_mocker/active_record'
require 'active_mocker/model_reader'
require 'active_mocker/schema_reader'
@@ -21,10 +26,6 @@
require 'active_mocker/active_record'
require 'active_mocker/model_reader'
require 'active_mocker/reparameterize'
require 'active_mocker/db_to_ruby_type'
require 'active_mocker/model_schema'
-require 'active_mocker/model_schema/generate'
-require 'parser/current'
-require 'unparser'
-require 'active_mocker/ruby_parse'
-require 'virtus'
\ No newline at end of file
+require 'active_mocker/model_schema/assemble'