Sha256: b971209508735514a5c54888605b9f0173bf39254e6fc2dc9c5de9a7699f3e13

Contents?: true

Size: 1.16 KB

Versions: 3

Compression:

Stored size: 1.16 KB

Contents

# frozen_string_literal: true

require "doorkeeper-sequel/version"

require "doorkeeper-sequel/railtie" if defined?(::Rails)

require "doorkeeper"
require "doorkeeper/redirect_uri_validator"
require "doorkeeper/oauth/nonstandard"
require "thor/group"

require "doorkeeper-sequel/generators/concerns/migration_actions"
require "doorkeeper-sequel/generators/application_owner_generator"
require "doorkeeper-sequel/generators/migration_generator"
require "doorkeeper-sequel/generators/previous_refresh_token_generator"
require "doorkeeper-sequel/generators/confidential_applications_generator"
require "doorkeeper-sequel/generators/polymorphic_resource_owner_generator"

require "doorkeeper-sequel/mixins/concerns/sequel_compat"
require "doorkeeper-sequel/mixins/access_token_mixin"
require "doorkeeper-sequel/mixins/access_grant_mixin"
require "doorkeeper-sequel/mixins/application_mixin"

require "doorkeeper/orm/sequel"

module DoorkeeperSequel
  def load_locales
    locales_dir = File.expand_path("../config/locales", __dir__)
    locales = Dir[File.join(locales_dir, "*.yml")]

    I18n.load_path |= locales
  end

  module_function :load_locales
end

DoorkeeperSequel.load_locales

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
doorkeeper-sequel-2.4.0 lib/doorkeeper-sequel.rb
doorkeeper-sequel-2.3.0 lib/doorkeeper-sequel.rb
doorkeeper-sequel-2.2.0 lib/doorkeeper-sequel.rb