solrizer 3.0.0.pre1 → 3.0.0.pre2

Sign up to get free protection for your applications and to get access to all the features.
@@ -1,3 +1,3 @@
1
1
  module Solrizer
2
- VERSION = "3.0.0.pre1"
2
+ VERSION = "3.0.0.pre2"
3
3
  end
data/lib/solrizer.rb CHANGED
@@ -15,7 +15,5 @@ end
15
15
 
16
16
  require "solrizer/extractor"
17
17
  Dir[File.join(File.dirname(__FILE__),"solrizer","*.rb")].each do |file|
18
- require "solrizer/"+File.basename(file, File.extname(file)) unless file.match(/railtie.rb$/)
18
+ require "solrizer/"+File.basename(file, File.extname(file))
19
19
  end
20
-
21
- require 'solrizer/railtie' if defined?(Rails) && Rails.version >= '3.0'
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: solrizer
3
3
  version: !ruby/object:Gem::Version
4
- version: 3.0.0.pre1
4
+ version: 3.0.0.pre2
5
5
  prerelease: 6
6
6
  platform: ruby
7
7
  authors:
@@ -9,7 +9,7 @@ authors:
9
9
  autorequire:
10
10
  bindir: bin
11
11
  cert_chain: []
12
- date: 2013-01-23 00:00:00.000000000 Z
12
+ date: 2013-01-24 00:00:00.000000000 Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: nokogiri
@@ -217,7 +217,6 @@ files:
217
217
  - lib/solrizer/field_mapper.rb
218
218
  - lib/solrizer/html.rb
219
219
  - lib/solrizer/html/extractor.rb
220
- - lib/solrizer/railtie.rb
221
220
  - lib/solrizer/version.rb
222
221
  - lib/solrizer/xml.rb
223
222
  - lib/solrizer/xml/extractor.rb
@@ -1,10 +0,0 @@
1
- require 'solrizer'
2
- require 'rails'
3
-
4
- module Solrizer
5
- class Railtie < Rails::Railtie
6
- initializer "solrizer.configure_rails_initialization" do
7
- Solrizer::FieldMapper.load_mappings
8
- end
9
- end
10
- end