audiences 1.4.0 → 1.5.1

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: cc9cb9024b5cab607920dd047795f19189182930353a83858b1b79f6bb22504a
4
+ data.tar.gz: 7e80900217731f751536eb792272c44645aaf6bc35458ed705c4c39d7e0f3fc1
5
5
  SHA512:
6
- metadata.gz: 3db42cfb3a01581e4cb9d30ed00fba7921fe0a801d1719351c106fe41966ab565ae1dbdd3d639e3f9681abf92b94d46b8e43f318689389ec90f7d0e984ea3535
7
- data.tar.gz: d59bbf57891e89dd7ccb9515399913e80a5b2cd1580afceef7683aa02c977cdc75b2452f1cd7fcd5520f7508b00dbcf2066fb88cc27e1767ff56437a8596e696
6
+ metadata.gz: f922b463a9edcf52d3d91492c753415185cd2813f87eb03def29c1b59c9ca7d1a63ac456b274550b974e7b5b62f9451a8848e0e74984cfa865ae869ac69ad67c
7
+ data.tar.gz: 11edb03700fc296188521adb6f3a77587b8491ed1786fe20ff1f3ad9a3e95b2fb2d6f1a8f5ef557096fec2acfa2d286edacba37c53de293298ebc60c5d743754
@@ -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: "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,13 @@
1
1
  # Unreleased
2
2
 
3
+ # Version 1.5.1 (2024-12-12)
4
+
5
+ - Fix SCIM proxy attributes format [#462](https://github.com/powerhome/audiences/pull/462)
6
+
7
+ # Version 1.5.0 (2024-12-12)
8
+
9
+ - SCIM proxy will only return data used by the UI [#451](https://github.com/powerhome/audiences/pull/451)
10
+
3
11
  # Version 1.4.0 (2024-11-01)
4
12
 
5
13
  - 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.1"
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.1
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