biola_wcms_components 0.5.0 → 0.6.0

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: 8086cddbaed44923a6ca08e0f41e793a749e6322
4
- data.tar.gz: 12caec96c38c451c042ee4c66b22c51db7604dbc
3
+ metadata.gz: 56e03023a012816bef139ff01bbdeb9cc37d32b2
4
+ data.tar.gz: eaca6ac88b7221b1698767cdd7936c4d8cc735af
5
5
  SHA512:
6
- metadata.gz: b069823a6296c9b474ae16d5af590f8eabfbea5968ca18cadd151bf2dd4604fd258971b3907aa29a4b20ef7dbfbef0c1239b8d7dc0e3b209af8c1a221f1c7089
7
- data.tar.gz: 3dd44873145b13cd414ef7214fab0d880f47fe26394822f1bd57edac0b75a91ce3f516dfe3b432122d40bff9232de77c8c2456eec16b629cfd276a7ab10b7cc1
6
+ metadata.gz: 294bc802f28edfd345fe1e5228522f2267d41b03ea1b04f22e42f3ffd39ba305e870ef12e53728b2d6a3f3a46e3491c6f92e32be0bab022987bf18b6aed3459d
7
+ data.tar.gz: 98c6c84d88f5f88fc6a54631882b579576700207f306e75ae1d47797944b19f9b1bb009bc0c72c57a56df388318f9d8a57dff1bd1bb0842a800645860b4e1644
@@ -22,8 +22,8 @@ class WcmsComponents::PeopleController < ApplicationController
22
22
  private
23
23
 
24
24
  def permitted_people
25
- # Return all people who are either employees or not private.
26
- Person.where({'$or' => [{affiliations: ['employee'] }, {privacy: { '$ne' => true }}] })
25
+ # Return all people who are either employees, faculty, or not private.
26
+ Person.where({'$or' => [{affiliations: 'employee'}, {affiliations: 'faculty'}, {privacy: { '$ne' => true }}] })
27
27
  end
28
28
 
29
29
  def can_search_people?
@@ -1,3 +1,3 @@
1
1
  module BiolaWcmsComponents
2
- VERSION = "0.5.0"
2
+ VERSION = "0.6.0"
3
3
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: biola_wcms_components
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.5.0
4
+ version: 0.6.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Ryan Hall
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2015-03-17 00:00:00.000000000 Z
11
+ date: 2015-03-25 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: ace-rails-ap