alchemy_cms 7.3.6 → 7.3.7
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.
Potentially problematic release.
This version of alchemy_cms might be problematic. Click here for more details.
- checksums.yaml +4 -4
- data/CHANGELOG.md +4 -0
- data/Gemfile +1 -1
- data/app/components/alchemy/ingredients/datetime_view.rb +4 -2
- data/app/models/alchemy/ingredients/headline.rb +1 -1
- data/lib/alchemy/version.rb +1 -1
- metadata +3 -3
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 7793f89e30c4c26dbffd0f1709da0993e58f5481ea71ab40affe22f03a17a349
|
4
|
+
data.tar.gz: 465f1c1247818a0f5b9abdd912a0ffb89d3229b4ee88d5ab72ad113d50540d68
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 1b4a4f4977cac620606c08a44112d8d69b516370ef22717b4834a6323ec68f9cf57246ce9df618cc00d6ae4bbd1d4a865cf90291225bee251e490fb1f498fc28
|
7
|
+
data.tar.gz: eab228151d87bf04343c52a2b8c11dc67aea7592e16c4118735fb40801cf321e2723c7ffa38312aeb9991003d662ce7af6375ceaaab50c1cf33bc2625e4950e0
|
data/CHANGELOG.md
CHANGED
@@ -1,5 +1,9 @@
|
|
1
1
|
# Changelog
|
2
2
|
|
3
|
+
## 7.3.7 (2025-08-15)
|
4
|
+
|
5
|
+
- [7.3-stable] fix(DatetimeView): Use settings value if present [#3349](https://github.com/AlchemyCMS/alchemy_cms/pull/3349) ([alchemycms-bot](https://github.com/alchemycms-bot))
|
6
|
+
|
3
7
|
## 7.3.6 (2025-03-17)
|
4
8
|
|
5
9
|
- [7.3-stable] Fix link dialog for links with url scheme mailto [#3206](https://github.com/AlchemyCMS/alchemy_cms/pull/3206) ([alchemycms-bot](https://github.com/alchemycms-bot))
|
data/Gemfile
CHANGED
@@ -15,7 +15,7 @@ if ENV["DB"] == "mysql" || ENV["DB"] == "mariadb"
|
|
15
15
|
end
|
16
16
|
gem "pg", "~> 1.0" if ENV["DB"] == "postgresql"
|
17
17
|
|
18
|
-
gem "alchemy_i18n", git: "https://github.com/AlchemyCMS/alchemy_i18n.git", branch: "
|
18
|
+
gem "alchemy_i18n", git: "https://github.com/AlchemyCMS/alchemy_i18n.git", branch: "4.2-stable"
|
19
19
|
|
20
20
|
group :development, :test do
|
21
21
|
gem "execjs", "~> 2.9.1"
|
@@ -1,13 +1,15 @@
|
|
1
1
|
module Alchemy
|
2
2
|
module Ingredients
|
3
3
|
class DatetimeView < BaseView
|
4
|
+
DEFAULT_DATE_FORMAT = :"alchemy.default"
|
5
|
+
|
4
6
|
attr_reader :date_format
|
5
7
|
|
6
8
|
# @param ingredient [Alchemy::Ingredient]
|
7
9
|
# @param date_format [String] The date format to use. Use either a strftime format string, a I18n format symbol or "rfc822". Defaults to "time.formats.alchemy.default".
|
8
|
-
def initialize(ingredient, date_format:
|
10
|
+
def initialize(ingredient, date_format: nil, html_options: {})
|
9
11
|
super(ingredient)
|
10
|
-
@date_format = settings_value(:date_format, value: date_format)
|
12
|
+
@date_format = settings_value(:date_format, value: date_format) || DEFAULT_DATE_FORMAT
|
11
13
|
end
|
12
14
|
|
13
15
|
def call
|
data/lib/alchemy/version.rb
CHANGED
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.3.
|
4
|
+
version: 7.3.7
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Thomas von Deyen
|
@@ -12,7 +12,7 @@ authors:
|
|
12
12
|
- Martin Meyerhoff
|
13
13
|
bindir: bin
|
14
14
|
cert_chain: []
|
15
|
-
date:
|
15
|
+
date: 1980-01-02 00:00:00.000000000 Z
|
16
16
|
dependencies:
|
17
17
|
- !ruby/object:Gem::Dependency
|
18
18
|
name: actionmailer
|
@@ -1459,7 +1459,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
1459
1459
|
version: '0'
|
1460
1460
|
requirements:
|
1461
1461
|
- ImageMagick (libmagick), v6.6 or greater.
|
1462
|
-
rubygems_version: 3.6.
|
1462
|
+
rubygems_version: 3.6.7
|
1463
1463
|
specification_version: 4
|
1464
1464
|
summary: A powerful, userfriendly and flexible CMS for Rails
|
1465
1465
|
test_files: []
|