trendable 1.4.0 → 1.4.1

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
- SHA1:
3
- metadata.gz: 871c3002aa95c0d592834e6dbfdf346166cd2afc
4
- data.tar.gz: 05e21e33898ea412c7251e41812e22a4d98cb689
2
+ SHA256:
3
+ metadata.gz: 03460e66c631e8ed7144e8d6cf2ad7fe33535cfbd51e25709ee9ca45b2bec78a
4
+ data.tar.gz: 285845241d9f4699d93e5bb92377adf1e8dcfff3d242997a57bf11f93fd0d466
5
5
  SHA512:
6
- metadata.gz: 1e83c6d60662b650e6935cb64ef094746e71330e98a172d5f5b35559851753a381bfac4404ff1b64dbe06995d602b9d2a741f673fb37339869ac531c0dc01596
7
- data.tar.gz: 522680533ef03bf913b77d857ad4e96eb9b781405f52010186e31aa7b6a352e29d69131ef9fcefad982058292381374fd2b8427eb5084fdd3a873f9600901f8d
6
+ metadata.gz: a582ba2c81b9cec2c80bff012b9510f1257801dd15665256cbe7058486b2930e570edd34c58e2a03a0ac6106aa6d2b028510682bfb7b9740b8b8bf57c44a9914
7
+ data.tar.gz: 5486cedd9301515c95bae50d5e96c4d4a86a31cf83a8b532bbc131a50c5b28de9169c7d748c5e40cb2df22d8be2d965ebcb618848dc5cf55fde7f9af7139c835
@@ -16,7 +16,7 @@ module Trendable
16
16
  if dont_touch
17
17
  self.update_columns( trending_power: trending_power + add_value )
18
18
  else
19
- self.update_attributes( trending_power: trending_power + add_value )
19
+ self.update( trending_power: trending_power + add_value )
20
20
  end
21
21
  end
22
22
 
@@ -24,7 +24,7 @@ module Trendable
24
24
  if dont_touch
25
25
  self.update_columns( trending_power: trending_power * multiplier )
26
26
  else
27
- self.update_attributes( trending_power: trending_power * multiplier )
27
+ self.update( trending_power: trending_power * multiplier )
28
28
  end
29
29
  end
30
30
  end
@@ -1,5 +1,5 @@
1
1
  module Trendable
2
2
  module Rails
3
- VERSION = "1.4.0"
3
+ VERSION = "1.4.1"
4
4
  end
5
5
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: trendable
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.4.0
4
+ version: 1.4.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Jeff McFadden
@@ -76,8 +76,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
76
76
  - !ruby/object:Gem::Version
77
77
  version: '0'
78
78
  requirements: []
79
- rubyforge_project:
80
- rubygems_version: 2.5.1
79
+ rubygems_version: 3.0.3
81
80
  signing_key:
82
81
  specification_version: 4
83
82
  summary: Organize your models by a trending popularity value