pg_search 0.5.2 → 0.5.3

Sign up to get free protection for your applications and to get access to all the features.
data/CHANGELOG.rdoc CHANGED
@@ -1,5 +1,9 @@
1
1
  = PgSearch
2
2
 
3
+ == 0.5.3
4
+
5
+ * Prevent multiple attempts to create pg search document within a single transaction
6
+
3
7
  == 0.5.2
4
8
 
5
9
  * Don't save twice if pg_search_document is missing on update
@@ -11,10 +11,7 @@ module PgSearch
11
11
  :class_name => "PgSearch::Document",
12
12
  :dependent => :delete
13
13
 
14
- after_create :create_pg_search_document,
15
- :if => lambda { PgSearch.multisearch_enabled? }
16
-
17
- after_update :update_pg_search_document,
14
+ after_save :update_pg_search_document,
18
15
  :if => lambda { PgSearch.multisearch_enabled? }
19
16
  end
20
17
 
@@ -1,3 +1,3 @@
1
1
  module PgSearch
2
- VERSION = "0.5.2"
2
+ VERSION = "0.5.3"
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: pg_search
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.5.2
4
+ version: 0.5.3
5
5
  prerelease:
6
6
  platform: ruby
7
7
  authors:
@@ -114,7 +114,7 @@ required_ruby_version: !ruby/object:Gem::Requirement
114
114
  version: '0'
115
115
  segments:
116
116
  - 0
117
- hash: -1173780423204059667
117
+ hash: -999690345082589006
118
118
  required_rubygems_version: !ruby/object:Gem::Requirement
119
119
  none: false
120
120
  requirements:
@@ -123,7 +123,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
123
123
  version: '0'
124
124
  segments:
125
125
  - 0
126
- hash: -1173780423204059667
126
+ hash: -999690345082589006
127
127
  requirements: []
128
128
  rubyforge_project:
129
129
  rubygems_version: 1.8.24