audiences 1.1.1 → 1.1.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
  SHA256:
3
- metadata.gz: 76331d54059446a90b80c23d1c861254acecbeacd2724b9ecf7db435637b8386
4
- data.tar.gz: c17b4fa514d26dbc3f1bf8083df0adee99deedb0afd8356d61505188e86c7ad4
3
+ metadata.gz: 7daef3af618db14ea1ebcabaeb1c9268f86071f15c7c0373b56dd0d63a097b9a
4
+ data.tar.gz: eed9638cb086173bb514fac0e9764a58ec4a3e202f259243bceff64892acd472
5
5
  SHA512:
6
- metadata.gz: d49dd1a67058d2f9f87aaaff313592237824dba4f94065d42a3e64e74f6261da94b350a845f2e0942ac88bcfa922e4c90b26e94d376b21898819df81e3a7b063
7
- data.tar.gz: '0814d1f51e253f0f266bdc113bd72893dea24efe50db09ea5e7da78f44e3f1c82554c1cb85019f69eb00a747c677737af2aa704624c2581cf63946d9cbefe1a6'
6
+ metadata.gz: 9aa05ec4daf0bf89945aa15800e26ba610ff6c149c27cd664961b6883b319f263592ac2b876b5f9f1fc3fb93c7c00c7e5d493988693ed629fc32689af70e2a4d
7
+ data.tar.gz: 15c4e951c645ad76dd5b8f6c684f47b1920555b93bb0fd954daf6ac7bec1394996fa073a7ee91dcff4b56eab99d73c467b736baaa0db3fb2dda196c850c43881
@@ -11,6 +11,7 @@ module Audiences
11
11
 
12
12
  def each(...)
13
13
  @groups.values
14
+ .reject(&:empty?)
14
15
  .map { |groups| groups_users(groups.pluck("id")) }
15
16
  .reduce(&:&)
16
17
  &.each(...)
data/docs/CHANGELOG.md CHANGED
@@ -1,5 +1,9 @@
1
1
  # Unreleased
2
2
 
3
+ # Version 1.1.2 (2024-06-18)
4
+
5
+ - Ignore empty groups in criterion [#354](https://github.com/powerhome/audiences/pull/354)
6
+
3
7
  # Version 1.1.1 (2024-06-18)
4
8
 
5
9
  - Fix default resource attributes [#342](https://github.com/powerhome/audiences/pull/342)
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module Audiences
4
- VERSION = "1.1.1"
4
+ VERSION = "1.1.2"
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.1.1
4
+ version: 1.1.2
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-06-18 00:00:00.000000000 Z
11
+ date: 2024-07-11 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: rails