forked from sunspot/sunspot
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathsunspot_rails.gemspec
45 lines (37 loc) · 2.02 KB
/
sunspot_rails.gemspec
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
# -*- encoding: utf-8 -*-
lib = File.expand_path('../../sunspot/lib/', __FILE__)
$:.unshift(lib) unless $:.include?(lib)
require 'sunspot/version'
Gem::Specification.new do |s|
s.name = "sunspot_rails"
s.version = Sunspot::VERSION
s.platform = Gem::Platform::RUBY
s.authors = ['Mat Brown', 'Peer Allan', 'Dmitriy Dzema', 'Benjamin Krause', 'Marcel de Graaf', 'Brandon Keepers', 'Peter Berkenbosch',
'Brian Atkinson', 'Tom Coleman', 'Matt Mitchell', 'Nathan Beyer', 'Kieran Topping', 'Nicolas Braem', 'Jeremy Ashkenas',
'Dylan Vaughn', 'Brian Durand', 'Sam Granieri', 'Nick Zadrozny', 'Jason Ronallo']
s.email = ["[email protected]"]
s.homepage = 'http://github.com/outoftime/sunspot/tree/master/sunspot_rails'
s.summary = 'Rails integration for the Sunspot Solr search library'
s.license = 'MIT'
s.description = <<-TEXT
Sunspot::Rails is an extension to the Sunspot library for Solr search.
Sunspot::Rails adds integration between Sunspot and ActiveRecord, including
defining search and indexing related methods on ActiveRecord models themselves,
running a Sunspot-compatible Solr instance for development and test
environments, and automatically commit Solr index changes at the end of each
Rails request.
TEXT
s.rubyforge_project = "sunspot"
s.files = `git ls-files`.split("\n")
s.test_files = `git ls-files -- {test,spec,features}/*`.split("\n")
s.executables = `git ls-files -- bin/*`.split("\n").map{ |f| File.basename(f) }
s.require_paths = ["lib"]
s.add_dependency 'rails', '>= 3'
s.add_dependency 'sunspot', Sunspot::VERSION
s.add_dependency 'nokogiri'
s.add_development_dependency 'rspec', '~> 1.2'
s.add_development_dependency 'rspec-rails', '~> 1.2'
s.rdoc_options << '--webcvs=http://github.com/outoftime/sunspot/tree/master/%s' <<
'--title' << 'Sunspot-Rails - Rails integration for the Sunspot Solr search library - API Documentation' <<
'--main' << 'README.rdoc'
end