alchemy_cms 7.3.2 → 7.3.4
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 +10 -0
- data/Gemfile +2 -0
- data/README.md +25 -4
- data/Rakefile +20 -0
- data/app/assets/builds/alchemy/admin.css +1 -1
- data/app/assets/builds/alchemy/admin.css.map +1 -1
- data/app/assets/builds/alchemy/custom-properties.css +1 -0
- data/app/assets/builds/alchemy/custom-properties.css.map +1 -0
- data/app/assets/builds/alchemy/welcome.css.map +1 -1
- data/app/assets/builds/tinymce/skins/content/alchemy/content.min.css.map +1 -1
- data/app/assets/stylesheets/alchemy/admin.scss +0 -1
- data/app/models/concerns/alchemy/picture_thumbnails.rb +4 -5
- data/app/views/layouts/alchemy/admin.html.erb +1 -0
- data/lib/alchemy/version.rb +1 -1
- data/vendor/javascript/tinymce.min.js +1 -1
- metadata +6 -4
- /data/app/assets/stylesheets/alchemy/{_custom-properties.css → custom-properties.css} +0 -0
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 279893174c10713f9a126baecd9627b90b9657271a432ef1ebda40b8c7b22d15
|
4
|
+
data.tar.gz: 2216a3cb47a1558c3bb2a6b009a28d6e702ff2316dce2462ebc910ecc96545af
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: af4f9dd42c434e074a3045dfbca42b783d58291b207153ccc457ed3eeca7fc3de9931eacf836f4677a23e557f2af284dc0cec9dda187803db2095aba3fb18952
|
7
|
+
data.tar.gz: d682cbc7df52388e0dd9714a22545d9116eb2bb7668ad1cffe64251df4e9615a00414e8b9bf542e42edb12e6409710739a2a7c3c7cdadc6436c887669c81ece3
|
data/CHANGELOG.md
CHANGED
@@ -1,5 +1,14 @@
|
|
1
1
|
# Changelog
|
2
2
|
|
3
|
+
## 7.3.4 (2024-11-18)
|
4
|
+
|
5
|
+
- [7.3-stable] chore: Fix rubocop styling issues [#3080](https://github.com/AlchemyCMS/alchemy_cms/pull/3080) ([tvdeyen](https://github.com/tvdeyen))
|
6
|
+
- [7.3] Fix welcome screen stylesheet [#3078](https://github.com/AlchemyCMS/alchemy_cms/pull/3078) ([tvdeyen](https://github.com/tvdeyen))
|
7
|
+
|
8
|
+
## 7.3.3 (2024-10-15)
|
9
|
+
|
10
|
+
- [7.3-stable] Fix loading custom properties into Tinymce skin [#3070](https://github.com/AlchemyCMS/alchemy_cms/pull/3070) ([tvdeyen](https://github.com/tvdeyen))
|
11
|
+
|
3
12
|
## 7.3.2 (2024-10-15)
|
4
13
|
|
5
14
|
- [7.3-stable] Fix filtering associated models by id [#3068](https://github.com/AlchemyCMS/alchemy_cms/pull/3068) ([alchemycms-bot](https://github.com/alchemycms-bot))
|
@@ -1902,3 +1911,4 @@ No changes
|
|
1902
1911
|
## 3.0.0 (2014-07-03)
|
1903
1912
|
|
1904
1913
|
[Release Notes](https://github.com/AlchemyCMS/alchemy_cms/releases/tag/v3.0.0)
|
1914
|
+
|
data/Gemfile
CHANGED
data/README.md
CHANGED
@@ -339,24 +339,45 @@ $ bin/start
|
|
339
339
|
|
340
340
|
## 📦 Releasing
|
341
341
|
|
342
|
-
###
|
342
|
+
### 🤖 Automated (recommended)
|
343
|
+
|
344
|
+
There is a Rake task that helps you to release a new version of Alchemy.
|
345
|
+
|
346
|
+
```bash
|
347
|
+
$ bundle exec rake alchemy:release
|
348
|
+
```
|
349
|
+
|
350
|
+
> [!NOTE]
|
351
|
+
> This will release a new patch level
|
352
|
+
|
353
|
+
If you want to release a new minor or major version you can do so by setting the `VERSION` environment variable accordingly.
|
354
|
+
|
355
|
+
```bash
|
356
|
+
$ bundle exec rake alchemy:release VERSION=X.Y.Z
|
357
|
+
```
|
358
|
+
|
359
|
+
### 👷🏽♀️ Manual
|
360
|
+
|
361
|
+
If something goes wrong with the automated release task you can still release a new version manually.
|
362
|
+
|
363
|
+
#### 1. Bump version
|
343
364
|
|
344
365
|
Bump the version number in `lib/alchemy/version.rb`.
|
345
366
|
|
346
|
-
|
367
|
+
#### 2. Update the changelog
|
347
368
|
|
348
369
|
```bash
|
349
370
|
$ export GITHUB_ACCESS_TOKEN=...
|
350
371
|
$ PREVIOUS_VERSION=4.1.0 bundle exec rake alchemy:changelog:update
|
351
372
|
```
|
352
373
|
|
353
|
-
|
374
|
+
#### 3. Commit version bump
|
354
375
|
|
355
376
|
```bash
|
356
377
|
$ git commit -am "Bump version to vX.Y.Z"
|
357
378
|
```
|
358
379
|
|
359
|
-
|
380
|
+
#### 4. Release a new version
|
360
381
|
|
361
382
|
This task will publish the ruby gem.
|
362
383
|
It also tags the latest commit.
|
data/Rakefile
CHANGED
@@ -63,11 +63,16 @@ namespace :alchemy do
|
|
63
63
|
changes = `git rev-list v#{ENV["PREVIOUS_VERSION"]}..HEAD | bundle exec github_fast_changelog AlchemyCMS/alchemy_cms`.split("\n")
|
64
64
|
changelog = File.read(original_file)
|
65
65
|
File.open(new_file, "w") do |file|
|
66
|
+
file.puts "# Changelog"
|
67
|
+
file.puts ""
|
68
|
+
file.puts "## Unreleased"
|
69
|
+
file.puts ""
|
66
70
|
changes.each do |change|
|
67
71
|
next if changelog.include?(change)
|
68
72
|
file.puts change
|
69
73
|
end
|
70
74
|
File.foreach(original_file) do |line|
|
75
|
+
next if line.include?("# Changelog")
|
71
76
|
file.puts line
|
72
77
|
end
|
73
78
|
file.puts ""
|
@@ -77,4 +82,19 @@ namespace :alchemy do
|
|
77
82
|
File.delete(backup)
|
78
83
|
end
|
79
84
|
end
|
85
|
+
|
86
|
+
desc "Release a new version of Alchemy to rubygems.org"
|
87
|
+
task :release do
|
88
|
+
require_relative "lib/alchemy/version"
|
89
|
+
ENV["PREVIOUS_VERSION"] = Alchemy::VERSION
|
90
|
+
system("bundle exec gem bump --version #{ENV.fetch("VERSION", "patch")}")
|
91
|
+
load "./lib/alchemy/version.rb"
|
92
|
+
new_version = Alchemy::VERSION
|
93
|
+
Rake::Task["alchemy:changelog:update"].invoke
|
94
|
+
changelog = File.read("CHANGELOG.md").gsub(/(##) Unreleased/, "## #{new_version} (#{Time.now.strftime("%Y-%m-%d")})")
|
95
|
+
File.open("CHANGELOG.md", "w") { |file| file.puts changelog }
|
96
|
+
system("git add CHANGELOG.md")
|
97
|
+
system("git commit --amend --no-edit")
|
98
|
+
Rake::Task["release"].invoke
|
99
|
+
end
|
80
100
|
end
|