mongoid-haystack 1.0.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (32) hide show
  1. data/Rakefile +446 -0
  2. data/lib/app/models/mongoid/haystack/count.rb +1 -0
  3. data/lib/app/models/mongoid/haystack/index.rb +1 -0
  4. data/lib/app/models/mongoid/haystack/sequence.rb +1 -0
  5. data/lib/app/models/mongoid/haystack/token.rb +1 -0
  6. data/lib/mongoid-haystack.rb +79 -0
  7. data/lib/mongoid-haystack/count.rb +28 -0
  8. data/lib/mongoid-haystack/index.rb +165 -0
  9. data/lib/mongoid-haystack/search.rb +96 -0
  10. data/lib/mongoid-haystack/sequence.rb +55 -0
  11. data/lib/mongoid-haystack/stemming.rb +79 -0
  12. data/lib/mongoid-haystack/stemming/stopwords/english.txt +32 -0
  13. data/lib/mongoid-haystack/stemming/stopwords/extended_english.txt +216 -0
  14. data/lib/mongoid-haystack/stemming/stopwords/full_danish.txt +94 -0
  15. data/lib/mongoid-haystack/stemming/stopwords/full_dutch.txt +101 -0
  16. data/lib/mongoid-haystack/stemming/stopwords/full_english.txt +174 -0
  17. data/lib/mongoid-haystack/stemming/stopwords/full_finnish.txt +0 -0
  18. data/lib/mongoid-haystack/stemming/stopwords/full_french.txt +155 -0
  19. data/lib/mongoid-haystack/stemming/stopwords/full_german.txt +231 -0
  20. data/lib/mongoid-haystack/stemming/stopwords/full_italian.txt +279 -0
  21. data/lib/mongoid-haystack/stemming/stopwords/full_norwegian.txt +176 -0
  22. data/lib/mongoid-haystack/stemming/stopwords/full_portuguese.txt +203 -0
  23. data/lib/mongoid-haystack/stemming/stopwords/full_russian.txt +101 -0
  24. data/lib/mongoid-haystack/stemming/stopwords/full_russiankoi8_r.txt +101 -0
  25. data/lib/mongoid-haystack/stemming/stopwords/full_spanish.txt +313 -0
  26. data/lib/mongoid-haystack/token.rb +71 -0
  27. data/lib/mongoid-haystack/util.rb +67 -0
  28. data/mongoid-haystack.gemspec +73 -0
  29. data/test/helper.rb +28 -0
  30. data/test/mongoid-haystack_test.rb +119 -0
  31. data/test/testing.rb +196 -0
  32. metadata +123 -0
metadata ADDED
@@ -0,0 +1,123 @@
1
+ --- !ruby/object:Gem::Specification
2
+ name: mongoid-haystack
3
+ version: !ruby/object:Gem::Version
4
+ version: 1.0.0
5
+ prerelease:
6
+ platform: ruby
7
+ authors:
8
+ - Ara T. Howard
9
+ autorequire:
10
+ bindir: bin
11
+ cert_chain: []
12
+ date: 2012-12-06 00:00:00.000000000 Z
13
+ dependencies:
14
+ - !ruby/object:Gem::Dependency
15
+ name: mongoid
16
+ requirement: !ruby/object:Gem::Requirement
17
+ none: false
18
+ requirements:
19
+ - - ~>
20
+ - !ruby/object:Gem::Version
21
+ version: '3.0'
22
+ type: :runtime
23
+ prerelease: false
24
+ version_requirements: !ruby/object:Gem::Requirement
25
+ none: false
26
+ requirements:
27
+ - - ~>
28
+ - !ruby/object:Gem::Version
29
+ version: '3.0'
30
+ - !ruby/object:Gem::Dependency
31
+ name: map
32
+ requirement: !ruby/object:Gem::Requirement
33
+ none: false
34
+ requirements:
35
+ - - ~>
36
+ - !ruby/object:Gem::Version
37
+ version: '6.2'
38
+ type: :runtime
39
+ prerelease: false
40
+ version_requirements: !ruby/object:Gem::Requirement
41
+ none: false
42
+ requirements:
43
+ - - ~>
44
+ - !ruby/object:Gem::Version
45
+ version: '6.2'
46
+ - !ruby/object:Gem::Dependency
47
+ name: fattr
48
+ requirement: !ruby/object:Gem::Requirement
49
+ none: false
50
+ requirements:
51
+ - - ~>
52
+ - !ruby/object:Gem::Version
53
+ version: '2.2'
54
+ type: :runtime
55
+ prerelease: false
56
+ version_requirements: !ruby/object:Gem::Requirement
57
+ none: false
58
+ requirements:
59
+ - - ~>
60
+ - !ruby/object:Gem::Version
61
+ version: '2.2'
62
+ description: a mongoid 3 zero-config, zero-integration, POLS pure mongo fulltext solution
63
+ email: ara.t.howard@gmail.com
64
+ executables: []
65
+ extensions: []
66
+ extra_rdoc_files: []
67
+ files:
68
+ - Rakefile
69
+ - lib/app/models/mongoid/haystack/count.rb
70
+ - lib/app/models/mongoid/haystack/index.rb
71
+ - lib/app/models/mongoid/haystack/sequence.rb
72
+ - lib/app/models/mongoid/haystack/token.rb
73
+ - lib/mongoid-haystack.rb
74
+ - lib/mongoid-haystack/count.rb
75
+ - lib/mongoid-haystack/index.rb
76
+ - lib/mongoid-haystack/search.rb
77
+ - lib/mongoid-haystack/sequence.rb
78
+ - lib/mongoid-haystack/stemming.rb
79
+ - lib/mongoid-haystack/stemming/stopwords/english.txt
80
+ - lib/mongoid-haystack/stemming/stopwords/extended_english.txt
81
+ - lib/mongoid-haystack/stemming/stopwords/full_danish.txt
82
+ - lib/mongoid-haystack/stemming/stopwords/full_dutch.txt
83
+ - lib/mongoid-haystack/stemming/stopwords/full_english.txt
84
+ - lib/mongoid-haystack/stemming/stopwords/full_finnish.txt
85
+ - lib/mongoid-haystack/stemming/stopwords/full_french.txt
86
+ - lib/mongoid-haystack/stemming/stopwords/full_german.txt
87
+ - lib/mongoid-haystack/stemming/stopwords/full_italian.txt
88
+ - lib/mongoid-haystack/stemming/stopwords/full_norwegian.txt
89
+ - lib/mongoid-haystack/stemming/stopwords/full_portuguese.txt
90
+ - lib/mongoid-haystack/stemming/stopwords/full_russian.txt
91
+ - lib/mongoid-haystack/stemming/stopwords/full_russiankoi8_r.txt
92
+ - lib/mongoid-haystack/stemming/stopwords/full_spanish.txt
93
+ - lib/mongoid-haystack/token.rb
94
+ - lib/mongoid-haystack/util.rb
95
+ - mongoid-haystack.gemspec
96
+ - test/helper.rb
97
+ - test/mongoid-haystack_test.rb
98
+ - test/testing.rb
99
+ homepage: https://github.com/ahoward/mongoid-haystack
100
+ licenses: []
101
+ post_install_message:
102
+ rdoc_options: []
103
+ require_paths:
104
+ - lib
105
+ required_ruby_version: !ruby/object:Gem::Requirement
106
+ none: false
107
+ requirements:
108
+ - - ! '>='
109
+ - !ruby/object:Gem::Version
110
+ version: '0'
111
+ required_rubygems_version: !ruby/object:Gem::Requirement
112
+ none: false
113
+ requirements:
114
+ - - ! '>='
115
+ - !ruby/object:Gem::Version
116
+ version: '0'
117
+ requirements: []
118
+ rubyforge_project: codeforpeople
119
+ rubygems_version: 1.8.24
120
+ signing_key:
121
+ specification_version: 3
122
+ summary: mongoid-haystack
123
+ test_files: []