mongoid_search 0.2.1 → 0.2.3
Sign up to get free protection for your applications and to get access to all the features.
- data/Rakefile +0 -16
- data/VERSION +1 -1
- metadata +105 -20
- data/.document +0 -5
- data/.gitignore +0 -22
- data/Gemfile +0 -2
- data/Gemfile.lock +0 -63
- data/mongoid_search.gemspec +0 -66
data/Rakefile
CHANGED
@@ -7,20 +7,4 @@ RSpec::Core::RakeTask.new(:spec) do |spec|
|
|
7
7
|
spec.pattern = 'spec/**/*_spec.rb'
|
8
8
|
end
|
9
9
|
|
10
|
-
begin
|
11
|
-
require 'jeweler'
|
12
|
-
Jeweler::Tasks.new do |gem|
|
13
|
-
gem.name = "mongoid_search"
|
14
|
-
gem.summary = "Search implementation for Mongoid ORM"
|
15
|
-
gem.description = "Simple full text search implementation."
|
16
|
-
gem.email = "mauricio@papodenerd.net"
|
17
|
-
gem.homepage = "http://www.papodenerd.net/mongoid-search-full-text-search-for-your-mongoid-models/"
|
18
|
-
gem.authors = ["Mauricio Zaffari"]
|
19
|
-
end
|
20
|
-
Jeweler::GemcutterTasks.new
|
21
|
-
rescue LoadError
|
22
|
-
puts "Jeweler (or a dependency) not available. Install it with: gem install jeweler"
|
23
|
-
end
|
24
|
-
|
25
|
-
|
26
10
|
task :default => :spec
|
data/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
0.2.
|
1
|
+
0.2.2
|
metadata
CHANGED
@@ -5,8 +5,8 @@ version: !ruby/object:Gem::Version
|
|
5
5
|
segments:
|
6
6
|
- 0
|
7
7
|
- 2
|
8
|
-
-
|
9
|
-
version: 0.2.
|
8
|
+
- 3
|
9
|
+
version: 0.2.3
|
10
10
|
platform: ruby
|
11
11
|
authors:
|
12
12
|
- Mauricio Zaffari
|
@@ -16,30 +16,112 @@ cert_chain: []
|
|
16
16
|
|
17
17
|
date: 2011-04-07 00:00:00 -03:00
|
18
18
|
default_executable:
|
19
|
-
dependencies:
|
20
|
-
|
19
|
+
dependencies:
|
20
|
+
- !ruby/object:Gem::Dependency
|
21
|
+
name: mongoid
|
22
|
+
prerelease: false
|
23
|
+
requirement: &id001 !ruby/object:Gem::Requirement
|
24
|
+
none: false
|
25
|
+
requirements:
|
26
|
+
- - ~>
|
27
|
+
- !ruby/object:Gem::Version
|
28
|
+
segments:
|
29
|
+
- 2
|
30
|
+
- 0
|
31
|
+
- 0
|
32
|
+
version: 2.0.0
|
33
|
+
type: :runtime
|
34
|
+
version_requirements: *id001
|
35
|
+
- !ruby/object:Gem::Dependency
|
36
|
+
name: bson_ext
|
37
|
+
prerelease: false
|
38
|
+
requirement: &id002 !ruby/object:Gem::Requirement
|
39
|
+
none: false
|
40
|
+
requirements:
|
41
|
+
- - ~>
|
42
|
+
- !ruby/object:Gem::Version
|
43
|
+
segments:
|
44
|
+
- 1
|
45
|
+
- 2
|
46
|
+
version: "1.2"
|
47
|
+
type: :runtime
|
48
|
+
version_requirements: *id002
|
49
|
+
- !ruby/object:Gem::Dependency
|
50
|
+
name: fast-stemmer
|
51
|
+
prerelease: false
|
52
|
+
requirement: &id003 !ruby/object:Gem::Requirement
|
53
|
+
none: false
|
54
|
+
requirements:
|
55
|
+
- - ~>
|
56
|
+
- !ruby/object:Gem::Version
|
57
|
+
segments:
|
58
|
+
- 1
|
59
|
+
- 0
|
60
|
+
- 0
|
61
|
+
version: 1.0.0
|
62
|
+
type: :runtime
|
63
|
+
version_requirements: *id003
|
64
|
+
- !ruby/object:Gem::Dependency
|
65
|
+
name: database_cleaner
|
66
|
+
prerelease: false
|
67
|
+
requirement: &id004 !ruby/object:Gem::Requirement
|
68
|
+
none: false
|
69
|
+
requirements:
|
70
|
+
- - ~>
|
71
|
+
- !ruby/object:Gem::Version
|
72
|
+
segments:
|
73
|
+
- 0
|
74
|
+
- 6
|
75
|
+
- 4
|
76
|
+
version: 0.6.4
|
77
|
+
type: :development
|
78
|
+
version_requirements: *id004
|
79
|
+
- !ruby/object:Gem::Dependency
|
80
|
+
name: rake
|
81
|
+
prerelease: false
|
82
|
+
requirement: &id005 !ruby/object:Gem::Requirement
|
83
|
+
none: false
|
84
|
+
requirements:
|
85
|
+
- - "="
|
86
|
+
- !ruby/object:Gem::Version
|
87
|
+
segments:
|
88
|
+
- 0
|
89
|
+
- 8
|
90
|
+
- 7
|
91
|
+
version: 0.8.7
|
92
|
+
type: :development
|
93
|
+
version_requirements: *id005
|
94
|
+
- !ruby/object:Gem::Dependency
|
95
|
+
name: rspec
|
96
|
+
prerelease: false
|
97
|
+
requirement: &id006 !ruby/object:Gem::Requirement
|
98
|
+
none: false
|
99
|
+
requirements:
|
100
|
+
- - ~>
|
101
|
+
- !ruby/object:Gem::Version
|
102
|
+
segments:
|
103
|
+
- 2
|
104
|
+
- 4
|
105
|
+
version: "2.4"
|
106
|
+
type: :development
|
107
|
+
version_requirements: *id006
|
21
108
|
description: Simple full text search implementation.
|
22
|
-
email:
|
109
|
+
email:
|
110
|
+
- mauricio@papodenerd.net
|
23
111
|
executables: []
|
24
112
|
|
25
113
|
extensions: []
|
26
114
|
|
27
|
-
extra_rdoc_files:
|
28
|
-
|
29
|
-
- README.md
|
115
|
+
extra_rdoc_files: []
|
116
|
+
|
30
117
|
files:
|
31
|
-
- .
|
32
|
-
- .
|
33
|
-
-
|
34
|
-
- Gemfile.lock
|
118
|
+
- lib/mongoid_search/mongoid_search.rb
|
119
|
+
- lib/mongoid_search/util.rb
|
120
|
+
- lib/mongoid_search.rb
|
35
121
|
- LICENSE
|
36
122
|
- README.md
|
37
123
|
- Rakefile
|
38
124
|
- VERSION
|
39
|
-
- lib/mongoid_search.rb
|
40
|
-
- lib/mongoid_search/mongoid_search.rb
|
41
|
-
- lib/mongoid_search/util.rb
|
42
|
-
- mongoid_search.gemspec
|
43
125
|
- spec/config/ignorelist.yml
|
44
126
|
- spec/models/category.rb
|
45
127
|
- spec/models/product.rb
|
@@ -53,8 +135,8 @@ homepage: http://www.papodenerd.net/mongoid-search-full-text-search-for-your-mon
|
|
53
135
|
licenses: []
|
54
136
|
|
55
137
|
post_install_message:
|
56
|
-
rdoc_options:
|
57
|
-
|
138
|
+
rdoc_options: []
|
139
|
+
|
58
140
|
require_paths:
|
59
141
|
- lib
|
60
142
|
required_ruby_version: !ruby/object:Gem::Requirement
|
@@ -71,8 +153,10 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
71
153
|
- - ">="
|
72
154
|
- !ruby/object:Gem::Version
|
73
155
|
segments:
|
74
|
-
-
|
75
|
-
|
156
|
+
- 1
|
157
|
+
- 3
|
158
|
+
- 6
|
159
|
+
version: 1.3.6
|
76
160
|
requirements: []
|
77
161
|
|
78
162
|
rubyforge_project:
|
@@ -81,6 +165,7 @@ signing_key:
|
|
81
165
|
specification_version: 3
|
82
166
|
summary: Search implementation for Mongoid ORM
|
83
167
|
test_files:
|
168
|
+
- spec/config/ignorelist.yml
|
84
169
|
- spec/models/category.rb
|
85
170
|
- spec/models/product.rb
|
86
171
|
- spec/models/subproduct.rb
|
data/.document
DELETED
data/.gitignore
DELETED
data/Gemfile
DELETED
data/Gemfile.lock
DELETED
@@ -1,63 +0,0 @@
|
|
1
|
-
PATH
|
2
|
-
remote: .
|
3
|
-
specs:
|
4
|
-
mongoid_search (0.2.0)
|
5
|
-
bson_ext (~> 1.2)
|
6
|
-
fast-stemmer (~> 1.0.0)
|
7
|
-
mongoid (~> 2.0.0)
|
8
|
-
|
9
|
-
GEM
|
10
|
-
remote: http://rubygems.org/
|
11
|
-
specs:
|
12
|
-
activemodel (3.0.6)
|
13
|
-
activesupport (= 3.0.6)
|
14
|
-
builder (~> 2.1.2)
|
15
|
-
i18n (~> 0.5.0)
|
16
|
-
activesupport (3.0.6)
|
17
|
-
bson (1.3.0)
|
18
|
-
bson_ext (1.3.0)
|
19
|
-
builder (2.1.2)
|
20
|
-
database_cleaner (0.6.6)
|
21
|
-
diff-lcs (1.1.2)
|
22
|
-
fast-stemmer (1.0.0)
|
23
|
-
gemcutter (0.6.1)
|
24
|
-
git (1.2.5)
|
25
|
-
i18n (0.5.0)
|
26
|
-
jeweler (1.4.0)
|
27
|
-
gemcutter (>= 0.1.0)
|
28
|
-
git (>= 1.2.5)
|
29
|
-
rubyforge (>= 2.0.0)
|
30
|
-
json_pure (1.5.1)
|
31
|
-
mongo (1.3.0)
|
32
|
-
bson (>= 1.3.0)
|
33
|
-
mongoid (2.0.0)
|
34
|
-
activemodel (~> 3.0)
|
35
|
-
mongo (~> 1.2)
|
36
|
-
tzinfo (~> 0.3.22)
|
37
|
-
will_paginate (~> 3.0.pre)
|
38
|
-
rake (0.8.7)
|
39
|
-
rspec (2.5.0)
|
40
|
-
rspec-core (~> 2.5.0)
|
41
|
-
rspec-expectations (~> 2.5.0)
|
42
|
-
rspec-mocks (~> 2.5.0)
|
43
|
-
rspec-core (2.5.1)
|
44
|
-
rspec-expectations (2.5.0)
|
45
|
-
diff-lcs (~> 1.1.2)
|
46
|
-
rspec-mocks (2.5.0)
|
47
|
-
rubyforge (2.0.4)
|
48
|
-
json_pure (>= 1.1.7)
|
49
|
-
tzinfo (0.3.26)
|
50
|
-
will_paginate (3.0.pre2)
|
51
|
-
|
52
|
-
PLATFORMS
|
53
|
-
ruby
|
54
|
-
|
55
|
-
DEPENDENCIES
|
56
|
-
bson_ext (~> 1.2)
|
57
|
-
database_cleaner (~> 0.6.4)
|
58
|
-
fast-stemmer (~> 1.0.0)
|
59
|
-
jeweler (~> 1.4.0)
|
60
|
-
mongoid (~> 2.0.0)
|
61
|
-
mongoid_search!
|
62
|
-
rake (= 0.8.7)
|
63
|
-
rspec (~> 2.4)
|
data/mongoid_search.gemspec
DELETED
@@ -1,66 +0,0 @@
|
|
1
|
-
# Generated by jeweler
|
2
|
-
# DO NOT EDIT THIS FILE DIRECTLY
|
3
|
-
# Instead, edit Jeweler::Tasks in Rakefile, and run the gemspec command
|
4
|
-
# -*- encoding: utf-8 -*-
|
5
|
-
|
6
|
-
Gem::Specification.new do |s|
|
7
|
-
s.name = %q{mongoid_search}
|
8
|
-
s.version = "0.2.1"
|
9
|
-
|
10
|
-
s.required_rubygems_version = Gem::Requirement.new(">= 0") if s.respond_to? :required_rubygems_version=
|
11
|
-
s.authors = ["Mauricio Zaffari"]
|
12
|
-
s.date = %q{2011-04-07}
|
13
|
-
s.description = %q{Simple full text search implementation.}
|
14
|
-
s.email = %q{mauricio@papodenerd.net}
|
15
|
-
s.extra_rdoc_files = [
|
16
|
-
"LICENSE",
|
17
|
-
"README.md"
|
18
|
-
]
|
19
|
-
s.files = [
|
20
|
-
".document",
|
21
|
-
".gitignore",
|
22
|
-
"Gemfile",
|
23
|
-
"Gemfile.lock",
|
24
|
-
"LICENSE",
|
25
|
-
"README.md",
|
26
|
-
"Rakefile",
|
27
|
-
"VERSION",
|
28
|
-
"lib/mongoid_search.rb",
|
29
|
-
"lib/mongoid_search/mongoid_search.rb",
|
30
|
-
"lib/mongoid_search/util.rb",
|
31
|
-
"mongoid_search.gemspec",
|
32
|
-
"spec/config/ignorelist.yml",
|
33
|
-
"spec/models/category.rb",
|
34
|
-
"spec/models/product.rb",
|
35
|
-
"spec/models/subproduct.rb",
|
36
|
-
"spec/models/tag.rb",
|
37
|
-
"spec/mongoid_search_spec.rb",
|
38
|
-
"spec/spec_helper.rb",
|
39
|
-
"spec/util_spec.rb"
|
40
|
-
]
|
41
|
-
s.homepage = %q{http://www.papodenerd.net/mongoid-search-full-text-search-for-your-mongoid-models/}
|
42
|
-
s.rdoc_options = ["--charset=UTF-8"]
|
43
|
-
s.require_paths = ["lib"]
|
44
|
-
s.rubygems_version = %q{1.3.7}
|
45
|
-
s.summary = %q{Search implementation for Mongoid ORM}
|
46
|
-
s.test_files = [
|
47
|
-
"spec/models/category.rb",
|
48
|
-
"spec/models/product.rb",
|
49
|
-
"spec/models/subproduct.rb",
|
50
|
-
"spec/models/tag.rb",
|
51
|
-
"spec/mongoid_search_spec.rb",
|
52
|
-
"spec/spec_helper.rb",
|
53
|
-
"spec/util_spec.rb"
|
54
|
-
]
|
55
|
-
|
56
|
-
if s.respond_to? :specification_version then
|
57
|
-
current_version = Gem::Specification::CURRENT_SPECIFICATION_VERSION
|
58
|
-
s.specification_version = 3
|
59
|
-
|
60
|
-
if Gem::Version.new(Gem::VERSION) >= Gem::Version.new('1.2.0') then
|
61
|
-
else
|
62
|
-
end
|
63
|
-
else
|
64
|
-
end
|
65
|
-
end
|
66
|
-
|