alchemy_cms 7.2.6 → 7.2.7

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: 5761f973ebc69f26df9000e33ac1116dd900943e4beca826a5cfda2951d4cc09
4
- data.tar.gz: '0242947c5e00faa5f006713192c28b35996b85202d7ea20557c3a05b56a0879a'
3
+ metadata.gz: 670e0b2cd72ba2921ac426032c27d0cb6b04a43e9fe4ae89ea0c7e56f6278f6a
4
+ data.tar.gz: 161e0a7b47c9b769730158642d1aa534d0ac7ed3d0b0a15e52b59b8dc7d2866e
5
5
  SHA512:
6
- metadata.gz: ddc9484e053fcd6b359449737f3eac7b88def44eaaad1f1bf2f281e7f863829ad1a8fec8848911c2e888dbb66731c523dd53bf5ef1ef5ec55c56540cd5a66e96
7
- data.tar.gz: 9608c346894b1a9f36d9ffe62da010666405ae97320330921dfdfe5cebb1369cdbe63a77f06a8ef044b3370342a7d0b655c3e64231557b1ae2abf9554defebec
6
+ metadata.gz: f81138adc31691f995fe4ce4dde485cad775f97c29435f797d8884bac65a14f111332b4d34efedd1e392166a0de1935d9ddf09509ba8cfd5963e5977a39211b5
7
+ data.tar.gz: 14d5924f88dc2df9a6edd60af8b68ec8a35a6fd8e5d543b98b629bb8e822c3889756dde244ca48b8d12b5eba9d0916fec6caad1e5d43b3e4ef370b63cd8f0e5e
data/CHANGELOG.md CHANGED
@@ -1,5 +1,10 @@
1
1
  # Changelog
2
2
 
3
+ ## 7.2.7 (2024-10-15)
4
+
5
+ - [7.2-stable] Fix filtering associated models by id [#3069](https://github.com/AlchemyCMS/alchemy_cms/pull/3069) ([tvdeyen](https://github.com/tvdeyen))
6
+ - [7.2-stable] Use alchemy_display_name for page actor names [#3030](https://github.com/AlchemyCMS/alchemy_cms/pull/3030) ([alchemycms-bot](https://github.com/alchemycms-bot))
7
+
3
8
  ## 7.2.6 (2024-09-04)
4
9
 
5
10
  - [7.2-stable] Set Alchemy::Page.current in Messages Controller [#3021](https://github.com/AlchemyCMS/alchemy_cms/pull/3021) ([tvdeyen](https://github.com/tvdeyen))
@@ -138,7 +138,7 @@ module Alchemy
138
138
  end
139
139
 
140
140
  def eligible_resource_filter_values
141
- resource_filters.map(&:values).flatten
141
+ resource_filters.map(&:values).flatten!.map!(&:to_s)
142
142
  end
143
143
 
144
144
  # Returns a translated +flash[:notice]+ for current controller action.
@@ -491,7 +491,7 @@ module Alchemy
491
491
  # does not respond to +#name+ it returns +'unknown'+
492
492
  #
493
493
  def creator_name
494
- creator.try(:name) || Alchemy.t("unknown")
494
+ creator.try(:alchemy_display_name) || Alchemy.t("unknown")
495
495
  end
496
496
 
497
497
  # Returns the name of the last updater of this page.
@@ -500,7 +500,7 @@ module Alchemy
500
500
  # does not respond to +#name+ it returns +'unknown'+
501
501
  #
502
502
  def updater_name
503
- updater.try(:name) || Alchemy.t("unknown")
503
+ updater.try(:alchemy_display_name) || Alchemy.t("unknown")
504
504
  end
505
505
 
506
506
  # Returns the name of the user currently editing this page.
@@ -509,7 +509,7 @@ module Alchemy
509
509
  # does not respond to +#name+ it returns +'unknown'+
510
510
  #
511
511
  def locker_name
512
- locker.try(:name) || Alchemy.t("unknown")
512
+ locker.try(:alchemy_display_name) || Alchemy.t("unknown")
513
513
  end
514
514
 
515
515
  # Key hint translations by page layout, rather than the default name.
@@ -1,7 +1,7 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module Alchemy
4
- VERSION = "7.2.6"
4
+ VERSION = "7.2.7"
5
5
 
6
6
  def self.version
7
7
  VERSION
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: alchemy_cms
3
3
  version: !ruby/object:Gem::Version
4
- version: 7.2.6
4
+ version: 7.2.7
5
5
  platform: ruby
6
6
  authors:
7
7
  - Thomas von Deyen
@@ -13,7 +13,7 @@ authors:
13
13
  autorequire:
14
14
  bindir: bin
15
15
  cert_chain: []
16
- date: 2024-09-04 00:00:00.000000000 Z
16
+ date: 2024-10-15 00:00:00.000000000 Z
17
17
  dependencies:
18
18
  - !ruby/object:Gem::Dependency
19
19
  name: actionmailer