Sha256: 0f06d564818f0d3e5bb2da392cb05a9f3144a6690bd0dfa51fd86539b148bb1b
Contents?: true
Size: 983 Bytes
Versions: 6
Compression:
Stored size: 983 Bytes
Contents
# frozen_string_literal: true require 'active_support/lazy_load_hooks' 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.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
Version data entries
6 entries across 6 versions & 1 rubygems
Version | Path |
---|---|
armg-0.11.0 | lib/armg.rb |
armg-0.10.0 | lib/armg.rb |
armg-0.9.0 | lib/armg.rb |
armg-0.8.1 | lib/armg.rb |
armg-0.8.0 | lib/armg.rb |
armg-0.7.2 | lib/armg.rb |