lib/armg.rb in armg-0.5.2 vs lib/armg.rb in armg-0.6.0

- old
+ new

@@ -2,19 +2,20 @@ require 'rgeo' require 'armg/version' ActiveSupport.on_load(:active_record) do require 'active_record/connection_adapters/abstract_mysql_adapter' + require 'armg/utils' require 'armg/wkb_serializer' require 'armg/wkb_deserializer' require 'armg/wkt_serializer' require 'armg/wkt_deserializer' require 'armg/abstract_mysql_adapter_ext' require 'armg/mysql_geometry' require 'armg/table_definition_ext' require 'armg/armg' - ActiveRecord::ConnectionAdapters::AbstractMysqlAdapter::NATIVE_DATABASE_TYPES[:geometry] = { name: "geometry" } + ActiveRecord::ConnectionAdapters::AbstractMysqlAdapter::NATIVE_DATABASE_TYPES[:geometry] = { name: 'geometry' } ActiveRecord::ConnectionAdapters::AbstractMysqlAdapter.prepend(Armg::AbstractMysqlAdapterExt) ActiveRecord::Type.register(:geometry, Armg::MysqlGeometry, adapter: :mysql2) ActiveRecord::ConnectionAdapters::MySQL::TableDefinition.prepend(Armg::TableDefinitionExt) ActiveRecord::ConnectionAdapters::MySQL::Table.prepend(Armg::TableDefinitionExt) end