[Groonga-commit] ranguba/epub-searcher at 24c9449 [master] Move $LOAD_PATH arrangement from test_config to config/boot

Zurück zum Archiv-Index

KITAITI Makoto null+****@clear*****
Thu Dec 25 01:53:46 JST 2014


KITAITI Makoto	2014-12-25 01:53:46 +0900 (Thu, 25 Dec 2014)

  New Revision: 24c944905b7809f71510d4d2c383db76e1461991
  https://github.com/ranguba/epub-searcher/commit/24c944905b7809f71510d4d2c383db76e1461991

  Message:
    Move $LOAD_PATH arrangement from test_config to config/boot
    
    In order to reflect it not only to test scripts to web app

  Modified files:
    config/boot.rb
    test/test_config.rb

  Modified: config/boot.rb (+2 -0)
===================================================================
--- config/boot.rb    2014-12-25 01:34:29 +0900 (bdc8b4a)
+++ config/boot.rb    2014-12-25 01:53:46 +0900 (b0dce9b)
@@ -8,6 +8,8 @@ require 'rubygems' unless defined?(Gem)
 require 'bundler/setup'
 Bundler.require(:default, RACK_ENV)
 
+$LOAD_PATH.unshift Padrino.root('lib')
+
 ##
 # ## Enable devel logging
 #

  Modified: test/test_config.rb (+0 -1)
===================================================================
--- test/test_config.rb    2014-12-25 01:34:29 +0900 (e881a90)
+++ test/test_config.rb    2014-12-25 01:53:46 +0900 (f9a64b7)
@@ -1,4 +1,3 @@
-$LOAD_PATH.unshift(File.expand_path('../lib', __dir__))
 RACK_ENV = 'test' unless defined?(RACK_ENV)
 require File.expand_path(File.dirname(__FILE__) + "/../config/boot")
 
-------------- next part --------------
HTML����������������������������...
Download 



More information about the Groonga-commit mailing list
Zurück zum Archiv-Index