Skip to content

Commit

Permalink
Split to lib/autoload directory
Browse files Browse the repository at this point in the history
  • Loading branch information
eisuke committed Oct 25, 2016
1 parent 8dc623e commit 886a203
Show file tree
Hide file tree
Showing 47 changed files with 2 additions and 3 deletions.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
1 change: 0 additions & 1 deletion lib/kuroko2.rb
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,6 @@

require "kuroko2/engine"
require "kuroko2/configuration"
require "kuroko2/util/logger"

module Kuroko2
class << self
Expand Down
4 changes: 2 additions & 2 deletions lib/kuroko2/engine.rb
Original file line number Diff line number Diff line change
Expand Up @@ -17,8 +17,8 @@ class Engine < ::Rails::Engine
require 'weak_parameters'
end

config.autoload_paths << root.join('lib')
config.eager_load_paths << root.join('lib')
config.autoload_paths << root.join('lib/autoload').to_s
config.eager_load_paths << root.join('lib/autoload').to_s

initializer "kuroko2.configuration" do |app|
URI.parse(Kuroko2.config.url).tap do |url|
Expand Down

0 comments on commit 886a203

Please sign in to comment.