recommendable 1.1.1 → 1.1.2

Sign up to get free protection for your applications and to get access to all the features.
@@ -1,8 +1,12 @@
1
1
  Changelog
2
2
  =========
3
3
 
4
- 1.1.0 (current version)
4
+ 1.1.2 (Current version)
5
5
  -----------------------
6
+ * Fix #38, a problem with enqueueing users based on updating the score of a recommendable record
7
+
8
+ 1.1.1
9
+ -----
6
10
  * Support for Sidekiq, Resque, DelayedJob and Rails::Queueing (issue #28)
7
11
  * You must manually bundle Sidekiq, Resque, or DelayedJob. Rails::Queueing is available as a fallback for Rails 4.x
8
12
  * Use [apotonick/hooks](https://github.com/apotonick/hooks) to implement callbacks (issue #25). See the [detailed README](http://davidcelis.com/recommendable) for more info on usage.
@@ -59,6 +59,7 @@ module Recommendable
59
59
  score = (phat + z*z/(2*n) - z * Math.sqrt((phat*(1-phat)+z*z/(4*n))/n))/(1+z*z/n)
60
60
 
61
61
  Recommendable.redis.zadd self.class.score_set, score, self.id
62
+ true
62
63
  end
63
64
 
64
65
  def remove_from_scores
@@ -1,3 +1,3 @@
1
1
  module Recommendable
2
- VERSION = '1.1.1'
2
+ VERSION = '1.1.2'
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: recommendable
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.1.1
4
+ version: 1.1.2
5
5
  prerelease:
6
6
  platform: ruby
7
7
  authors:
@@ -9,7 +9,7 @@ authors:
9
9
  autorequire:
10
10
  bindir: bin
11
11
  cert_chain: []
12
- date: 2012-07-06 00:00:00.000000000 Z
12
+ date: 2012-07-17 00:00:00.000000000 Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: sqlite3