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 +4 -4
- data/lib/acts_as_important/acts_as_important.rb +1 -2
- metadata +3 -3
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: ffae01a555beb338618dcf4691f749e2086907f5
|
4
|
+
data.tar.gz: b9a5d2c7f0bb5913df2e3fb0584c1adb271caadb
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
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
|
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.
|
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:
|
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.
|
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.
|