acts_as_important 0.3.0 → 0.3.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
2
  SHA1:
3
- metadata.gz: 82da9de8c2ba9b3c5865b4189211d9a18ae69515
4
- data.tar.gz: 8922e003df7ecfa59d031fb73d6503cc7922df6e
3
+ metadata.gz: ffae01a555beb338618dcf4691f749e2086907f5
4
+ data.tar.gz: b9a5d2c7f0bb5913df2e3fb0584c1adb271caadb
5
5
  SHA512:
6
- metadata.gz: 930b9afaed6dcb81b54801f6b7eda09700afb8261b5f2cae9d537832a7a84166c82bac0ca326bfc25a09ff207add59e1913cf7bcacb921858346bc8772c20603
7
- data.tar.gz: ee9055de9d5fcc32c55eb536a021f9b1436ac7d707651180746cc721e51de36cf908b135e42a1f0e4daefc9dbea96c5f3f087cb67b49129129eeeeed54ccad2d
6
+ metadata.gz: b35d6b7a600a7c3924042572de6e3fa767fab4809f9b773aa587c171516b69a6a11486b1dd77a05f8301689e45d23c0a06a7d9d245c9da10f36c083093ff6dd7
7
+ data.tar.gz: 6921bcf2f04681be46633a3386eb508485afec9775366fb26b8d224f7a0fb5cac36fc494812d468a9fbb10cfdb2e5a7c00a011c23c9ca782edeffc647db35bcb
@@ -3,7 +3,7 @@ module ActsAsImportant
3
3
  def acts_as_important(options = {})
4
4
  has_many :importance_indicators, :as => :record, :dependent => :destroy
5
5
 
6
- has_many :active_importance_indicators, lambda { where ['active = ?', true] }, :class_name => 'ImportanceIndicator', :as => :record, :dependent => :destroy
6
+ has_many :active_importance_indicators, lambda { where :active => true }, :class_name => 'ImportanceIndicator', :as => :record, :dependent => :destroy
7
7
  has_many :concerned_users, :through => :active_importance_indicators, :source => :user
8
8
 
9
9
  # Left joins importance indicators from a particular user
@@ -81,4 +81,3 @@ module ActsAsImportant
81
81
  end
82
82
  end
83
83
  end
84
-
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: acts_as_important
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.3.0
4
+ version: 0.3.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Nicholas Jakobsen
@@ -9,7 +9,7 @@ authors:
9
9
  autorequire:
10
10
  bindir: bin
11
11
  cert_chain: []
12
- date: 2014-12-16 00:00:00.000000000 Z
12
+ date: 2018-06-15 00:00:00.000000000 Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: rails
@@ -54,7 +54,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
54
54
  version: '0'
55
55
  requirements: []
56
56
  rubyforge_project:
57
- rubygems_version: 2.2.2
57
+ rubygems_version: 2.6.12
58
58
  signing_key:
59
59
  specification_version: 4
60
60
  summary: Allows the you track what records are important to users and why.