Sha256: 83df41ee4863f6f82b71604e11e9bc5f85f56af3c608f6a60875d9b9d1586d9b

Contents?: true

Size: 1.75 KB

Versions: 4

Compression:

Stored size: 1.75 KB

Contents

# Copyright (C) 2016-2017  Kouhei Sutou <kou@clear-code.com>
#
# This library is free software; you can redistribute it and/or
# modify it under the terms of the GNU Lesser General Public
# License as published by the Free Software Foundation; either
# version 2.1 of the License, or (at your option) any later version.
#
# This library is distributed in the hope that it will be useful,
# but WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
# Lesser General Public License for more details.
#
# You should have received a copy of the GNU Lesser General Public
# License along with this library; if not, write to the Free Software
# Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA  02110-1301  USA

require "active_model"

require "groonga/client"

require "groonga_client_model/version"

require "groonga_client_model/attribute_assignment"
require "groonga_client_model/client"
require "groonga_client_model/client_opener"
require "groonga_client_model/error"
require "groonga_client_model/load_value_generator"
require "groonga_client_model/modelizable"
require "groonga_client_model/modelize"
require "groonga_client_model/schema"
require "groonga_client_model/schema_loader"
require "groonga_client_model/validations/type_validator"

require "groonga_client_model/record"

module GroongaClientModel
  extend ActiveSupport::Autoload

  mattr_accessor :logger, instance_writer: false
end

ActiveSupport.run_load_hooks(:groonga_client_model, GroongaClientModel)

if defined?(Rails)
  require "groonga_client_model/railtie"
end

ActiveSupport.on_load(:i18n) do
  I18n.load_path << "#{__dir__}/groonga_client_model/locale/en.yml"
  I18n.load_path << "#{__dir__}/groonga_client_model/locale/ja.yml"
end

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
groonga-client-model-1.0.2 lib/groonga-client-model.rb
groonga-client-model-1.0.1 lib/groonga-client-model.rb
groonga-client-model-1.0.0 lib/groonga-client-model.rb
groonga-client-model-0.9.9 lib/groonga-client-model.rb