yoomee-mongosphinx 0.1.9 → 0.2.1
Sign up to get free protection for your applications and to get access to all the features.
- data/lib/{mongo_sphinx → mongosphinx}/configuration.rb +0 -0
- data/lib/{mongo_sphinx → mongosphinx}/indexer.rb +0 -0
- data/lib/{mongo_sphinx → mongosphinx}/mixins/indexer.rb +0 -0
- data/lib/{mongo_sphinx → mongosphinx}/mixins/properties.rb +0 -0
- data/lib/{mongo_sphinx → mongosphinx}/multi_attribute.rb +0 -0
- data/lib/{mongo_sphinx → mongosphinx}/tasks.rb +0 -0
- data/lib/{mongo_sphinx.rb → mongosphinx.rb} +19 -13
- metadata +12 -15
- data/lib/.DS_Store +0 -0
- data/lib/mongo_sphinx/.DS_Store +0 -0
- data/lib/mongo_sphinx/mixins/.DS_Store +0 -0
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
@@ -11,7 +11,7 @@ require 'mongo_mapper'
|
|
11
11
|
require 'riddle'
|
12
12
|
|
13
13
|
module MongoSphinx
|
14
|
-
if (match = __FILE__.match(/.*
|
14
|
+
if (match = __FILE__.match(/.*mongosphinx-([0-9.-]*)/))
|
15
15
|
VERSION = match[1]
|
16
16
|
else
|
17
17
|
VERSION = 'unknown'
|
@@ -43,24 +43,30 @@ module MongoSphinx
|
|
43
43
|
|
44
44
|
end
|
45
45
|
|
46
|
-
require '
|
47
|
-
require '
|
48
|
-
require '
|
49
|
-
require '
|
50
|
-
require '
|
46
|
+
require 'mongosphinx/multi_attribute'
|
47
|
+
require 'mongosphinx/configuration'
|
48
|
+
require 'mongosphinx/indexer'
|
49
|
+
require 'mongosphinx/mixins/indexer'
|
50
|
+
require 'mongosphinx/mixins/properties'
|
51
51
|
|
52
52
|
|
53
53
|
# Include the Indexer mixin from the original Document class of
|
54
54
|
# MongoMapper which adds a few methods and allows calling method indexed_with.
|
55
55
|
|
56
56
|
module MongoMapper # :nodoc:
|
57
|
-
|
58
|
-
|
59
|
-
|
60
|
-
|
61
|
-
|
62
|
-
|
63
|
-
|
57
|
+
|
58
|
+
module Plugins
|
59
|
+
|
60
|
+
module Document # :nodoc:
|
61
|
+
|
62
|
+
module InstanceMethods
|
63
|
+
include MongoMapper::Mixins::Indexer
|
64
|
+
include MongoMapper::Mixins::Properties
|
65
|
+
end
|
66
|
+
module ClassMethods
|
67
|
+
include MongoMapper::Mixins::Indexer::ClassMethods
|
68
|
+
end
|
64
69
|
end
|
70
|
+
|
65
71
|
end
|
66
72
|
end
|
metadata
CHANGED
@@ -1,13 +1,13 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: yoomee-mongosphinx
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
hash:
|
4
|
+
hash: 21
|
5
5
|
prerelease: false
|
6
6
|
segments:
|
7
7
|
- 0
|
8
|
+
- 2
|
8
9
|
- 1
|
9
|
-
|
10
|
-
version: 0.1.9
|
10
|
+
version: 0.2.1
|
11
11
|
platform: ruby
|
12
12
|
authors:
|
13
13
|
- Matt Atkins
|
@@ -15,7 +15,7 @@ autorequire:
|
|
15
15
|
bindir: bin
|
16
16
|
cert_chain: []
|
17
17
|
|
18
|
-
date: 2010-
|
18
|
+
date: 2010-09-02 00:00:00 +01:00
|
19
19
|
default_executable:
|
20
20
|
dependencies: []
|
21
21
|
|
@@ -29,16 +29,13 @@ extra_rdoc_files:
|
|
29
29
|
- README.rdoc
|
30
30
|
files:
|
31
31
|
- README.rdoc
|
32
|
-
- lib/
|
33
|
-
- lib/
|
34
|
-
- lib/
|
35
|
-
- lib/
|
36
|
-
- lib/
|
37
|
-
- lib/
|
38
|
-
- lib/
|
39
|
-
- lib/mongo_sphinx/configuration.rb
|
40
|
-
- lib/mongo_sphinx/.DS_Store
|
41
|
-
- lib/.DS_Store
|
32
|
+
- lib/mongosphinx.rb
|
33
|
+
- lib/mongosphinx/tasks.rb
|
34
|
+
- lib/mongosphinx/multi_attribute.rb
|
35
|
+
- lib/mongosphinx/mixins/properties.rb
|
36
|
+
- lib/mongosphinx/mixins/indexer.rb
|
37
|
+
- lib/mongosphinx/indexer.rb
|
38
|
+
- lib/mongosphinx/configuration.rb
|
42
39
|
has_rdoc: true
|
43
40
|
homepage: http://github.com/yoomee/mongosphinx
|
44
41
|
licenses: []
|
@@ -55,7 +52,7 @@ rdoc_options:
|
|
55
52
|
- --main
|
56
53
|
- README.rdoc
|
57
54
|
require_paths:
|
58
|
-
-
|
55
|
+
- lib
|
59
56
|
required_ruby_version: !ruby/object:Gem::Requirement
|
60
57
|
none: false
|
61
58
|
requirements:
|
data/lib/.DS_Store
DELETED
Binary file
|
data/lib/mongo_sphinx/.DS_Store
DELETED
Binary file
|
Binary file
|