Skip to content
This repository

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse code

Moved files into the acts_as_solr directory, as it's supposed to be.

  • Loading branch information...
commit 40fc608eca54e74173bdfba330d7703c4b923fc2 1 parent 49317d4
Mathias Meyer authored April 19, 2009
19  lib/acts_as_solr.rb
@@ -24,16 +24,19 @@
24 24
 require 'yaml'
25 25
 
26 26
 require File.dirname(__FILE__) + '/solr'
27  
-require File.dirname(__FILE__) + '/acts_methods'
28  
-require File.dirname(__FILE__) + '/class_methods'
29  
-require File.dirname(__FILE__) + '/instance_methods'
30  
-require File.dirname(__FILE__) + '/common_methods'
31  
-require File.dirname(__FILE__) + '/deprecation'
32  
-require File.dirname(__FILE__) + '/search_results'
33  
-require File.dirname(__FILE__) + '/lazy_document'
  27
+require File.dirname(__FILE__) + '/acts_as_solr/acts_methods'
  28
+require File.dirname(__FILE__) + '/acts_as_solr/class_methods'
  29
+require File.dirname(__FILE__) + '/acts_as_solr/instance_methods'
  30
+require File.dirname(__FILE__) + '/acts_as_solr/common_methods'
  31
+require File.dirname(__FILE__) + '/acts_as_solr/deprecation'
  32
+require File.dirname(__FILE__) + '/acts_as_solr/search_results'
  33
+require File.dirname(__FILE__) + '/acts_as_solr/lazy_document'
  34
+require File.dirname(__FILE__) + '/acts_as_solr/index'
  35
+require File.dirname(__FILE__) + '/acts_as_solr/instance'
  36
+
34 37
 module ActsAsSolr
35 38
   
36  
-  class Post    
  39
+  class Post
37 40
     def self.execute(request)
38 41
       begin
39 42
         if File.exists?(RAILS_ROOT+'/config/solr.yml')
0  lib/acts_methods.rb → lib/acts_as_solr/acts_methods.rb
File renamed without changes
2  lib/class_methods.rb → lib/acts_as_solr/class_methods.rb
... ...
@@ -1,4 +1,4 @@
1  
-require File.dirname(__FILE__) + '/acts_as_solr/index'
  1
+require File.dirname(__FILE__) + '/index'
2 2
 
3 3
 module ActsAsSolr #:nodoc:
4 4
   module ClassMethods
0  lib/common_methods.rb → lib/acts_as_solr/common_methods.rb
File renamed without changes
0  lib/deprecation.rb → lib/acts_as_solr/deprecation.rb
File renamed without changes
4  lib/acts_as_solr/index.rb
... ...
@@ -1,6 +1,6 @@
1 1
 require File.dirname(__FILE__) + '/rebuild'
2  
-require File.dirname(__FILE__) + '/../common_methods'
3  
-require File.dirname(__FILE__) + '/../parser_methods'
  2
+require File.dirname(__FILE__) + '/common_methods'
  3
+require File.dirname(__FILE__) + '/parser_methods'
4 4
 
5 5
 module ActsAsSolr
6 6
   class Index
2  lib/acts_as_solr/instance.rb
... ...
@@ -1,4 +1,4 @@
1  
-require File.dirname(__FILE__) + '/../common_methods'
  1
+require File.dirname(__FILE__) + '/common_methods'
2 2
 
3 3
 module ActsAsSolr
4 4
   class Instance
2  lib/instance_methods.rb → lib/acts_as_solr/instance_methods.rb
... ...
@@ -1,4 +1,4 @@
1  
-require File.dirname(__FILE__) + '/acts_as_solr/instance'
  1
+require File.dirname(__FILE__) + '/instance'
2 2
 
3 3
 module ActsAsSolr #:nodoc:
4 4
   
0  lib/lazy_document.rb → lib/acts_as_solr/lazy_document.rb
File renamed without changes
0  lib/parser_methods.rb → lib/acts_as_solr/parser_methods.rb
File renamed without changes
0  lib/search_results.rb → lib/acts_as_solr/search_results.rb
File renamed without changes
0  lib/solr_fixtures.rb → lib/acts_as_solr/solr_fixtures.rb
File renamed without changes
2  lib/tasks/database.rake
... ...
@@ -1,4 +1,4 @@
1  
-require File.dirname(__FILE__) + '/../solr_fixtures'
  1
+require File.dirname(__FILE__) + '/../acts_as_solr/solr_fixtures'
2 2
 
3 3
 namespace :db do
4 4
   namespace :fixtures do

0 notes on commit 40fc608

Please sign in to comment.
Something went wrong with that request. Please try again.