Sha256: 322ca42d414ef98f455e17aa4cb529dd133cc0b87eb2f10534bfae4fb185405c

Contents?: true

Size: 930 Bytes

Versions: 2

Compression:

Stored size: 930 Bytes

Contents

require 'doorkeeper-sequel/version'

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

require 'doorkeeper'
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/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', __FILE__)
    locales = Dir[File.join(locales_dir, '*.yml')]

    I18n.load_path |= locales
  end

  module_function :load_locales
end

DoorkeeperSequel.load_locales

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
doorkeeper-sequel-2.0.0 lib/doorkeeper-sequel.rb
doorkeeper-sequel-1.5.0 lib/doorkeeper-sequel.rb