yoomee-mongosphinx 0.1.2 → 0.1.3

Sign up to get free protection for your applications and to get access to all the features.
Files changed (2) hide show
  1. data/lib/mixins/properties.rb +7 -8
  2. metadata +3 -3
@@ -51,14 +51,13 @@ module MongoMapper # :nodoc:
51
51
  end
52
52
 
53
53
  # Returns the numeric part of the document ID (compatible to Sphinx).
54
-
55
- def sphinx_id
56
- if (match = self.id.match(/#{self.class}-([0-9]+)/))
57
- return match[1]
58
- else
59
- return nil
60
- end
61
- end
54
+ # def sphinx_id
55
+ # if (match = self.id.match(/#{self.class}-([0-9]+)/))
56
+ # return match[1]
57
+ # else
58
+ # return nil
59
+ # end
60
+ # end
62
61
  end
63
62
  end
64
63
  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: 31
4
+ hash: 29
5
5
  prerelease: false
6
6
  segments:
7
7
  - 0
8
8
  - 1
9
- - 2
10
- version: 0.1.2
9
+ - 3
10
+ version: 0.1.3
11
11
  platform: ruby
12
12
  authors:
13
13
  - Matt Atkins