acts_as_important 0.3.0 → 0.4.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
- SHA1:
3
- metadata.gz: 82da9de8c2ba9b3c5865b4189211d9a18ae69515
4
- data.tar.gz: 8922e003df7ecfa59d031fb73d6503cc7922df6e
2
+ SHA256:
3
+ metadata.gz: 139207ea01081ceb4ae0d7768132eef2cf53a03aad1ace839c9ebeb596a8c7ee
4
+ data.tar.gz: b87a418c4518c1a714a01251de39f8f4d0d1101b92b61b4671ec01ad275a24eb
5
5
  SHA512:
6
- metadata.gz: 930b9afaed6dcb81b54801f6b7eda09700afb8261b5f2cae9d537832a7a84166c82bac0ca326bfc25a09ff207add59e1913cf7bcacb921858346bc8772c20603
7
- data.tar.gz: ee9055de9d5fcc32c55eb536a021f9b1436ac7d707651180746cc721e51de36cf908b135e42a1f0e4daefc9dbea96c5f3f087cb67b49129129eeeeed54ccad2d
6
+ metadata.gz: d2ee58640fd924d3b3ad570b7c0816366241864bbded94ddd4eb31281cdfb573a17b0eb97c5370c3481f0667c7b612e22e22592558beeb9d5d8561fab86865d4
7
+ data.tar.gz: 3771d5509c7b5e9242da653b06cfdfc7a0ee50aa27635eef07ba22297c7d289857862aba99c6b82c8aed8d70c4accd75427a392bc861736aa592c79a9d22f14b
@@ -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.4.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Nicholas Jakobsen
@@ -9,22 +9,28 @@ authors:
9
9
  autorequire:
10
10
  bindir: bin
11
11
  cert_chain: []
12
- date: 2014-12-16 00:00:00.000000000 Z
12
+ date: 2024-02-20 00:00:00.000000000 Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: rails
16
16
  requirement: !ruby/object:Gem::Requirement
17
17
  requirements:
18
- - - "~>"
18
+ - - ">"
19
19
  - !ruby/object:Gem::Version
20
- version: '4.0'
20
+ version: '4'
21
+ - - "<"
22
+ - !ruby/object:Gem::Version
23
+ version: '8'
21
24
  type: :runtime
22
25
  prerelease: false
23
26
  version_requirements: !ruby/object:Gem::Requirement
24
27
  requirements:
25
- - - "~>"
28
+ - - ">"
29
+ - !ruby/object:Gem::Version
30
+ version: '4'
31
+ - - "<"
26
32
  - !ruby/object:Gem::Version
27
- version: '4.0'
33
+ version: '8'
28
34
  description:
29
35
  email: contact@culturecode.ca
30
36
  executables: []
@@ -53,8 +59,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
53
59
  - !ruby/object:Gem::Version
54
60
  version: '0'
55
61
  requirements: []
56
- rubyforge_project:
57
- rubygems_version: 2.2.2
62
+ rubygems_version: 3.3.23
58
63
  signing_key:
59
64
  specification_version: 4
60
65
  summary: Allows the you track what records are important to users and why.