Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Fix gemspec again

  • Loading branch information...
commit 26ff569f10c40e997b54e9bae832afe75c1ea2b6 1 parent 336d518
@mauriciozaffari authored
Showing with 22 additions and 60 deletions.
  1. +22 −60 mongoid_search.gemspec
View
82 mongoid_search.gemspec
@@ -1,66 +1,28 @@
-# Generated by jeweler
-# DO NOT EDIT THIS FILE DIRECTLY
-# Instead, edit Jeweler::Tasks in Rakefile, and run the gemspec command
-# -*- encoding: utf-8 -*-
+# encoding: utf-8
+lib = File.expand_path('../lib/', __FILE__)
+$:.unshift lib unless $:.include?(lib)
Gem::Specification.new do |s|
- s.name = %q{mongoid_search}
- s.version = "0.2.1"
-
- s.required_rubygems_version = Gem::Requirement.new(">= 0") if s.respond_to? :required_rubygems_version=
+ s.name = "mongoid_search"
+ s.version = "0.2.0"
s.authors = ["Mauricio Zaffari"]
- s.date = %q{2011-04-07}
- s.description = %q{Simple full text search implementation.}
- s.email = %q{mauricio@papodenerd.net}
- s.extra_rdoc_files = [
- "LICENSE",
- "README.md"
- ]
- s.files = [
- ".document",
- ".gitignore",
- "Gemfile",
- "Gemfile.lock",
- "LICENSE",
- "README.md",
- "Rakefile",
- "VERSION",
- "lib/mongoid_search.rb",
- "lib/mongoid_search/mongoid_search.rb",
- "lib/mongoid_search/util.rb",
- "mongoid_search.gemspec",
- "spec/config/ignorelist.yml",
- "spec/models/category.rb",
- "spec/models/product.rb",
- "spec/models/subproduct.rb",
- "spec/models/tag.rb",
- "spec/mongoid_search_spec.rb",
- "spec/spec_helper.rb",
- "spec/util_spec.rb"
- ]
- s.homepage = %q{http://www.papodenerd.net/mongoid-search-full-text-search-for-your-mongoid-models/}
- s.rdoc_options = ["--charset=UTF-8"]
- s.require_paths = ["lib"]
- s.rubygems_version = %q{1.3.7}
- s.summary = %q{Search implementation for Mongoid ORM}
- s.test_files = [
- "spec/models/category.rb",
- "spec/models/product.rb",
- "spec/models/subproduct.rb",
- "spec/models/tag.rb",
- "spec/mongoid_search_spec.rb",
- "spec/spec_helper.rb",
- "spec/util_spec.rb"
- ]
+ s.email =["mauricio@papodenerd.net"]
+ s.homepage = "http://www.papodenerd.net/mongoid-search-full-text-search-for-your-mongoid-models/"
+ s.summary = "Search implementation for Mongoid ORM"
+ s.description = "Simple full text search implementation."
- if s.respond_to? :specification_version then
- current_version = Gem::Specification::CURRENT_SPECIFICATION_VERSION
- s.specification_version = 3
+ s.required_rubygems_version = ">= 1.3.6"
- if Gem::Version.new(Gem::VERSION) >= Gem::Version.new('1.2.0') then
- else
- end
- else
- end
-end
+ s.add_dependency("mongoid", ["~> 2.0.0"])
+ s.add_dependency("bson_ext", ["~> 1.2"])
+ s.add_dependency("fast-stemmer", ["~> 1.0.0"])
+ s.add_development_dependency("jeweler", ["~> 1.4.0"])
+ s.add_development_dependency("database_cleaner", ["~> 0.6.4"])
+ s.add_development_dependency("rake", ["= 0.8.7"])
+ s.add_development_dependency("rspec", ["~> 2.4"])
+
+ s.require_path = "lib"
+ s.files = Dir.glob("lib/**/*") + %w(LICENSE README.md Rakefile VERSION)
+ s.test_files = Dir.glob("spec/**/*")
+end
Please sign in to comment.
Something went wrong with that request. Please try again.