audiences 1.2.0 → 1.2.1

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: a764dbb90f7727e7b0054227fedb0d8eee691ab7e65a5c0007413121de492965
4
- data.tar.gz: f4c0fc7843aae456f8df4e2aed78615fc3169257cdebe9a28578443ad32c0949
3
+ metadata.gz: bd34ee00e56f72a0ea41a829b12ac9ddbc491380c0ae693ccaab7eba2de4dda1
4
+ data.tar.gz: cb81d224d20d2ce709cafa5b25d6f3d36b006f5ff5d694fd12f03b37e60f3692
5
5
  SHA512:
6
- metadata.gz: 4b04b83f5314e11bdd03d373632683bfe59e39eb2ded010c8b49ccbaf914904f4a05dc9788589488a670ae168df19293a175bc9ade59044568d0f27b8e1769d1
7
- data.tar.gz: a4abbd7408fceb3cc6349000003cddc78ceb564f2824d93dfbb27e340373603dc6cb9c844136954a95e12a374e1439216cd0d202cb75c6dd8b4feb9f91441545
6
+ metadata.gz: d14d0e9bdc98f4cbf166330a48f7e70ae236fafe3556034b37b4fea18a61c9b3dd2b8f9e4ea99028413ad6caaf399eb821ea4999285f8402a190b2ab03f476a4
7
+ data.tar.gz: 898d631afc7d53bd7941f58dc89cc2bc351ae071fbe2739c5a778255328bdf702a92770fb5a47420d88d59fcb62741233aeebf924b8a09dba13e540c43601894
data/config/routes.rb CHANGED
@@ -10,10 +10,10 @@ end
10
10
  Rails.application.routes.draw do
11
11
  direct :audience_context do |owner, relation = nil|
12
12
  context = Audiences::Context.for(owner, relation: relation)
13
- Audiences::Engine.routes.url_helpers.route_for(:signed_context, key: context.signed_key, **url_options)
13
+ audiences.route_for(:signed_context, key: context.signed_key, **url_options)
14
14
  end
15
15
 
16
16
  direct :audience_scim_proxy do |options|
17
- Audiences::Engine.routes.url_helpers.route_for(:scim_proxy, **url_options, **options)
17
+ audiences.route_for(:scim_proxy, **url_options, **options)
18
18
  end
19
19
  end
data/docs/CHANGELOG.md CHANGED
@@ -1,5 +1,9 @@
1
1
  # Unreleased
2
2
 
3
+ # Version 1.2.1 (2024-08-06)
4
+
5
+ - Fix audiences URL helpers [#372](https://github.com/powerhome/audiences/pull/372)
6
+
3
7
  # Version 1.2.0 (2024-07-24)
4
8
 
5
9
  - Add `has_audience` and the ability to attach multiple audiences to the same owner [#363](https://github.com/powerhome/audiences/pull/363)
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module Audiences
4
- VERSION = "1.2.0"
4
+ VERSION = "1.2.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.2.0
4
+ version: 1.2.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-07-24 00:00:00.000000000 Z
11
+ date: 2024-08-06 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: rails