diff options
| author | User <hukl@cccms.ccc.de> | 2011-02-10 14:23:36 +0100 |
|---|---|---|
| committer | User <hukl@cccms.ccc.de> | 2011-02-10 14:23:36 +0100 |
| commit | 384b187e9e067ddf2bb4d5fad0c2deaf96f69c89 (patch) | |
| tree | cf743f377d3e2e28a31ae0359d95f37beba82cc3 /vendor/plugins/thinking-sphinx/tasks/distribution.rb | |
| parent | 3d0de09cf94cee6233b36a7f5ce20d5059854acc (diff) | |
| parent | cec2b1e2881db0000b2a09029154bea0fc62ade3 (diff) | |
Merge branch 'master' of ssh://svn.medienhaus.udk-berlin.de/usr/local/git/cccms
Diffstat (limited to 'vendor/plugins/thinking-sphinx/tasks/distribution.rb')
| -rw-r--r-- | vendor/plugins/thinking-sphinx/tasks/distribution.rb | 48 |
1 files changed, 0 insertions, 48 deletions
diff --git a/vendor/plugins/thinking-sphinx/tasks/distribution.rb b/vendor/plugins/thinking-sphinx/tasks/distribution.rb deleted file mode 100644 index 54ea964..0000000 --- a/vendor/plugins/thinking-sphinx/tasks/distribution.rb +++ /dev/null | |||
| @@ -1,48 +0,0 @@ | |||
| 1 | require 'rake/rdoctask' | ||
| 2 | require 'rake/gempackagetask' | ||
| 3 | |||
| 4 | $LOAD_PATH.unshift File.dirname(__FILE__) + '/../lib' | ||
| 5 | require 'thinking_sphinx' | ||
| 6 | |||
| 7 | desc 'Generate documentation' | ||
| 8 | Rake::RDocTask.new(:rdoc) do |rdoc| | ||
| 9 | rdoc.rdoc_dir = 'rdoc' | ||
| 10 | rdoc.title = 'Thinking Sphinx - ActiveRecord Sphinx Plugin' | ||
| 11 | rdoc.options << '--line-numbers' << '--inline-source' | ||
| 12 | rdoc.rdoc_files.include('README') | ||
| 13 | rdoc.rdoc_files.include('lib/**/*.rb') | ||
| 14 | end | ||
| 15 | |||
| 16 | spec = Gem::Specification.new do |s| | ||
| 17 | s.name = "thinking-sphinx" | ||
| 18 | s.version = ThinkingSphinx::Version::String | ||
| 19 | s.summary = "A concise and easy-to-use Ruby library that connects ActiveRecord to the Sphinx search daemon, managing configuration, indexing and searching." | ||
| 20 | s.description = "A concise and easy-to-use Ruby library that connects ActiveRecord to the Sphinx search daemon, managing configuration, indexing and searching." | ||
| 21 | s.author = "Pat Allan" | ||
| 22 | s.email = "pat@freelancing-gods.com" | ||
| 23 | s.homepage = "http://ts.freelancing-gods.com" | ||
| 24 | s.has_rdoc = true | ||
| 25 | s.rdoc_options << "--title" << "Thinking Sphinx -- Rails/Merb Sphinx Plugin" << | ||
| 26 | "--line-numbers" | ||
| 27 | s.rubyforge_project = "thinking-sphinx" | ||
| 28 | s.test_files = FileList["spec/**/*_spec.rb"] | ||
| 29 | s.files = FileList[ | ||
| 30 | "lib/**/*.rb", | ||
| 31 | "LICENCE", | ||
| 32 | "README", | ||
| 33 | "tasks/**/*.rb", | ||
| 34 | "tasks/**/*.rake", | ||
| 35 | "vendor/**/*" | ||
| 36 | ] | ||
| 37 | end | ||
| 38 | |||
| 39 | Rake::GemPackageTask.new(spec) do |p| | ||
| 40 | p.gem_spec = spec | ||
| 41 | p.need_tar = true | ||
| 42 | p.need_zip = true | ||
| 43 | end | ||
| 44 | |||
| 45 | desc "Build gemspec file" | ||
| 46 | task :build do | ||
| 47 | File.open('thinking-sphinx.gemspec', 'w') { |f| f.write spec.to_ruby } | ||
| 48 | end | ||
