biola_wcms_components 0.24.1 → 0.24.2

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
2
  SHA1:
3
- metadata.gz: 371e9559979d91b6683093d784de5be3eab22cf6
4
- data.tar.gz: 4a923bf107fd994f0d5fc35df3ebe11b1987ea9c
3
+ metadata.gz: 82309de2ff6fe18df65ca74af65ad2c8ff9f44df
4
+ data.tar.gz: 6fb944e6c013ad185db0f12955234bb10bab277f
5
5
  SHA512:
6
- metadata.gz: e913641d3d9fec26fc9a4805425bece1d0f6a70427221ea2aec88821f83a707565031ec632449e05b8aa15a785f36db959a64204043097e79e33016a60c27588
7
- data.tar.gz: f76ddee5cbaee73e839ec7d662f6162b601d29b391264576c108a10f564d5b1b7cd864110770f0e445b38352ee0ac0d814934de191f96c03eaff37419d94640f
6
+ metadata.gz: 48bac170aa8ce8beb4b7c1716db9d0878a4dfe646fc92aed5b2e040ce9e3347370839d84bf4873861a840263ed5c942d85326bdd3d5e9664420d8c335bf16a04
7
+ data.tar.gz: 7b8f42de4112f644df02ecc66beb95bea2033e2fbd10e554c5099ae8430fb8c5230dc9763f63150f1f55740b3dfbb0b0d69695e8430f2b073710ffcd8646e4af
data/CHANGELOG.md CHANGED
@@ -2,6 +2,10 @@
2
2
 
3
3
  ### Master (unreleased)
4
4
 
5
+ ### 0.24.2
6
+
7
+ * Allow trustees and contractors in people search results
8
+
5
9
  ### 0.24.1
6
10
 
7
11
  * Required ace/mode-html for syntax highlighting.
@@ -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, faculty, or not private.
26
- Person.where({'$or' => [{affiliations: 'employee'}, {affiliations: 'faculty'}, {privacy: { '$ne' => true }}] })
25
+ # Return all people who are either employees, faculty, trustees, contractors, or not private.
26
+ Person.where({'$or' => [{affiliations: 'employee'}, {affiliations: 'faculty'}, {affiliations: 'trustee'}, {affiliations: 'contractor'}, {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.24.1"
2
+ VERSION = "0.24.2"
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.24.1
4
+ version: 0.24.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - Ryan Hall
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2016-07-07 00:00:00.000000000 Z
11
+ date: 2016-10-19 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: ace-rails-ap
@@ -310,7 +310,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
310
310
  version: '0'
311
311
  requirements: []
312
312
  rubyforge_project:
313
- rubygems_version: 2.5.1
313
+ rubygems_version: 2.6.1
314
314
  signing_key:
315
315
  specification_version: 4
316
316
  summary: Reusable UX components for use in or WCMS projects