effective_committees 0.3.1 → 0.3.2

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
  SHA256:
3
- metadata.gz: dbb31cf79d4104f80164f1aa448576bdf3dbbf8d9546ee8168aad468bb3ac323
4
- data.tar.gz: 91c44c4d88408777dbca98d9e5c9a27df9f57a7f4edd81be4cd62b53e7a7fd35
3
+ metadata.gz: 273a03d9378d41c45a5db4debbf70f1df6ff9c2d5cb8030e29ec5cd96aba3b7a
4
+ data.tar.gz: 7f2a77350d8ad99f96af0ce67fb0c158f3af25285b856df803447b5c1accfc07
5
5
  SHA512:
6
- metadata.gz: 784777f99c05787247df597ebd89faa5b536cf66ecb426d98e2e5d8750f370af1e419d54b23311b69f570fe6879023aa22dd7823fa5f1f8eb23fa588ea147075
7
- data.tar.gz: dae5f13349c215669f55f1ee65479370235f9dc29a16a2df63b23a0e2028d85f5710d489baf74b0616f202bf8e6c80b8e8926f71b842da3e54091af2d171753f
6
+ metadata.gz: db9ed1a1c1e46673948c6ded274884fc4d29ad3338ebef7dba0f63a23d0b95b7487cc77243d935b1ae0c89cb54f9520fdfa077566498dca67071081b28383e5e
7
+ data.tar.gz: 7a8d34ba7fdd401d4ce4af0319e459ad06e732927e8d0cddad374c125176fd730990e05269427069b56451661ab34975590d0d646ca9d87704ca55135471a1aa
@@ -22,7 +22,7 @@ module EffectiveCommitteesUser
22
22
  accepts_nested_attributes_for :committee_members, allow_destroy: true
23
23
 
24
24
  scope :with_committee, -> (committees) {
25
- committees = Resource.new(Effective::Committee).search_any(committees) if committees.kind_of?(String)
25
+ committees = Effective::Resource.new(Effective::Committee).search_any(committees) if committees.kind_of?(String)
26
26
  raise('expected an Effective::Committee') unless committees.present? && Array(committees).all? { |c| c.kind_of?(Effective::Committee) }
27
27
 
28
28
  committee_members = Effective::CommitteeMember.where(committee: committees).where(user_type: name)
@@ -1,3 +1,3 @@
1
1
  module EffectiveCommittees
2
- VERSION = '0.3.1'.freeze
2
+ VERSION = '0.3.2'.freeze
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: effective_committees
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.3.1
4
+ version: 0.3.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - Code and Effect