mongoid-fulltextable 0.1.4 → 0.1.5

Sign up to get free protection for your applications and to get access to all the features.
@@ -2,7 +2,7 @@
2
2
 
3
3
  module Mongoid
4
4
  module Fulltextable
5
- VERSION = "0.1.4"
5
+ VERSION = "0.1.5"
6
6
  end
7
7
  end
8
8
 
@@ -39,6 +39,11 @@ module Mongoid
39
39
 
40
40
  module InstanceMethods
41
41
 
42
+ def update_keywords!
43
+ self.update_keywords
44
+ self.save!
45
+ end
46
+
42
47
  protected
43
48
 
44
49
  def update_keywords
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: mongoid-fulltextable
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.4
4
+ version: 0.1.5
5
5
  prerelease:
6
6
  platform: ruby
7
7
  authors:
@@ -9,12 +9,11 @@ authors:
9
9
  autorequire:
10
10
  bindir: bin
11
11
  cert_chain: []
12
- date: 2011-08-04 00:00:00.000000000 +02:00
13
- default_executable:
12
+ date: 2011-08-25 00:00:00.000000000Z
14
13
  dependencies:
15
14
  - !ruby/object:Gem::Dependency
16
15
  name: activesupport
17
- requirement: &70241063730100 !ruby/object:Gem::Requirement
16
+ requirement: &70273072484480 !ruby/object:Gem::Requirement
18
17
  none: false
19
18
  requirements:
20
19
  - - ~>
@@ -22,10 +21,10 @@ dependencies:
22
21
  version: 3.0.1
23
22
  type: :runtime
24
23
  prerelease: false
25
- version_requirements: *70241063730100
24
+ version_requirements: *70273072484480
26
25
  - !ruby/object:Gem::Dependency
27
26
  name: unicode_utils
28
- requirement: &70241063729560 !ruby/object:Gem::Requirement
27
+ requirement: &70273072484000 !ruby/object:Gem::Requirement
29
28
  none: false
30
29
  requirements:
31
30
  - - ~>
@@ -33,7 +32,7 @@ dependencies:
33
32
  version: 1.0.0
34
33
  type: :runtime
35
34
  prerelease: false
36
- version_requirements: *70241063729560
35
+ version_requirements: *70273072484000
37
36
  description: Simple & stupid 'fulltext' searching for Mongoid.
38
37
  email:
39
38
  - jzajpt@blueberry.cz
@@ -48,7 +47,6 @@ files:
48
47
  - lib/mongoid/fulltextable-version.rb
49
48
  - lib/mongoid/fulltextable.rb
50
49
  - mongoid-fulltextable.gemspec
51
- has_rdoc: true
52
50
  homepage: http://rubygems.org/gems/mongoid-fulltextable
53
51
  licenses: []
54
52
  post_install_message:
@@ -69,7 +67,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
69
67
  version: '0'
70
68
  requirements: []
71
69
  rubyforge_project: mongoid-fulltextable
72
- rubygems_version: 1.6.2
70
+ rubygems_version: 1.8.6
73
71
  signing_key:
74
72
  specification_version: 3
75
73
  summary: Simple & stupid 'fulltext' searching for Mongoid.