audiences 1.4.0 → 1.5.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
  SHA256:
3
- metadata.gz: 596d4d408b2fc406d8f3dcf10bdd5c29dfe311ab5691fbc3b6140df37d8bcaed
4
- data.tar.gz: f2dd143d3faa6a0e59d20f2af39a0dd7e429d5343f6f63081c2cd9df54b57697
3
+ metadata.gz: 0ad8b73e8fd9085a26bf9c1ce06d86baf2b689077aab8d33c6962ea800eb2f31
4
+ data.tar.gz: 2f27b364f3cadf67c4e17280e059319119c016c10ebe73a033d9cee93d812ef5
5
5
  SHA512:
6
- metadata.gz: 3db42cfb3a01581e4cb9d30ed00fba7921fe0a801d1719351c106fe41966ab565ae1dbdd3d639e3f9681abf92b94d46b8e43f318689389ec90f7d0e984ea3535
7
- data.tar.gz: d59bbf57891e89dd7ccb9515399913e80a5b2cd1580afceef7683aa02c977cdc75b2452f1cd7fcd5520f7508b00dbcf2066fb88cc27e1767ff56437a8596e696
6
+ metadata.gz: 198228dfcd7a392a1594fb0d7940fea900e21b67f061c80035faee586e16eab6b25b2fe715beaf8483964cce0a5280151c2fe494e1da4ee7be310458a0259030
7
+ data.tar.gz: 20096d2c12c819d26677d345d7560fda479f312807b0be9130c31396e7cb7d55d5d86304668b017604671ed23c4f9cc2837727e7239c4823d83c4e463f2d6e70
@@ -4,7 +4,11 @@ module Audiences
4
4
  class ScimProxyController < ApplicationController
5
5
  def get
6
6
  resources = Audiences::Scim.resource(params[:scim_path].to_sym)
7
- .query(filter: params[:filter], startIndex: params[:startIndex], count: params[:count])
7
+ .query(
8
+ filter: "displayName co \"#{params[:filter]}\"",
9
+ startIndex: params[:startIndex], count: params[:count],
10
+ attributes: %w[id externalId displayName photos]
11
+ )
8
12
 
9
13
  render json: resources, except: %w[schemas meta]
10
14
  end
data/docs/CHANGELOG.md CHANGED
@@ -1,5 +1,9 @@
1
1
  # Unreleased
2
2
 
3
+ # Version 1.5.0 (2024-12-12)
4
+
5
+ - SCIM proxy will only return data used by the UI [#451](https://github.com/powerhome/audiences/pull/451)
6
+
3
7
  # Version 1.4.0 (2024-11-01)
4
8
 
5
9
  - Add authentication hooks for Audiences controllers [#438](https://github.com/powerhome/audiences/pull/438)
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module Audiences
4
- VERSION = "1.4.0"
4
+ VERSION = "1.5.0"
5
5
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: audiences
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.4.0
4
+ version: 1.5.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Carlos Palhares
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2024-11-01 00:00:00.000000000 Z
11
+ date: 2024-12-12 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: rails
@@ -93,7 +93,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
93
93
  - !ruby/object:Gem::Version
94
94
  version: '0'
95
95
  requirements: []
96
- rubygems_version: 3.5.16
96
+ rubygems_version: 3.5.22
97
97
  signing_key:
98
98
  specification_version: 4
99
99
  summary: Audiences system