collectiveidea-sunspot_rails 0.10.5 → 0.10.6

Sign up to get free protection for your applications and to get access to all the features.
data/VERSION.yml CHANGED
@@ -1,4 +1,4 @@
1
1
  ---
2
- :minor: 10
3
- :patch: 5
4
2
  :major: 0
3
+ :minor: 10
4
+ :patch: 6
@@ -11,6 +11,7 @@ begin
11
11
  s.rubyforge_project = 'sunspot'
12
12
  s.files = FileList['[A-Z]*',
13
13
  '{lib,tasks,dev_tasks}/**/*',
14
+ 'generators/**/*',
14
15
  'install.rb',
15
16
  'MIT-LICENSE',
16
17
  'rails/*',
@@ -0,0 +1,9 @@
1
+ class SunspotGenerator < Rails::Generator::Base
2
+
3
+ def manifest
4
+ record do |m|
5
+ m.template 'sunspot.yml', 'config/sunspot.yml'
6
+ end
7
+ end
8
+
9
+ end
@@ -0,0 +1,19 @@
1
+ common: &common
2
+ solr:
3
+ hostname: localhost
4
+ port: 8983
5
+
6
+ production:
7
+ <<: *common
8
+ solr:
9
+ path: /solr/myindex
10
+
11
+ development:
12
+ <<: *common
13
+ solr:
14
+ port: 8982
15
+
16
+ test:
17
+ <<: *common
18
+ solr:
19
+ port: 8981
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: collectiveidea-sunspot_rails
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.10.5
4
+ version: 0.10.6
5
5
  platform: ruby
6
6
  authors:
7
7
  - Mat Brown
@@ -104,6 +104,8 @@ files:
104
104
  - dev_tasks/rdoc.rake
105
105
  - dev_tasks/release.rake
106
106
  - dev_tasks/todo.rake
107
+ - generators/sunspot/sunspot_generator.rb
108
+ - generators/sunspot/templates/sunspot.yml
107
109
  - install.rb
108
110
  - lib/sunspot/rails.rb
109
111
  - lib/sunspot/rails/adapters.rb