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.
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(/.*mongo_sphinx-([0-9.-]*)/))
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 'mongo_sphinx/multi_attribute'
47
- require 'mongo_sphinx/configuration'
48
- require 'mongo_sphinx/indexer'
49
- require 'mongo_sphinx/mixins/indexer'
50
- require 'mongo_sphinx/mixins/properties'
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
- module Document # :nodoc:
58
- include MongoMapper::Mixins::Indexer
59
- module InstanceMethods
60
- include MongoMapper::Mixins::Properties
61
- end
62
- module ClassMethods
63
- include MongoMapper::Mixins::Indexer::ClassMethods
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: 9
4
+ hash: 21
5
5
  prerelease: false
6
6
  segments:
7
7
  - 0
8
+ - 2
8
9
  - 1
9
- - 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-08-25 00:00:00 +01:00
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/mongo_sphinx.rb
33
- - lib/mongo_sphinx/tasks.rb
34
- - lib/mongo_sphinx/multi_attribute.rb
35
- - lib/mongo_sphinx/mixins/properties.rb
36
- - lib/mongo_sphinx/mixins/indexer.rb
37
- - lib/mongo_sphinx/mixins/.DS_Store
38
- - lib/mongo_sphinx/indexer.rb
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
Binary file
Binary file