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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: b1c14706898ccb67fa43de10bd8201bf7adb47c836535066b9fe617e7f17a605
4
- data.tar.gz: 7792bae3328cf7ab0bc486c83cb7d49190e867afbccc990d0d3ee442caaeb4e2
3
+ metadata.gz: 279893174c10713f9a126baecd9627b90b9657271a432ef1ebda40b8c7b22d15
4
+ data.tar.gz: 2216a3cb47a1558c3bb2a6b009a28d6e702ff2316dce2462ebc910ecc96545af
5
5
  SHA512:
6
- metadata.gz: 24c15fa0ba50316c14365f471eefe5ec0440523811b5f2b49f925d585c698cc25cb02c8f35399464482f3415b70839650206166bdff93c1374a1ec43f9a4eb7b
7
- data.tar.gz: de7441196f5451858b2005511963c2c2ea1efbf7bdfe98ac28b16137d6a6a79629bc48db4c6cc7ad322b16081b73ab24e23cf338c9966ecce9d3f6e334a5d4c7
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
@@ -60,3 +60,5 @@ gem "web-console", "~> 4.2", group: :development
60
60
  gem "rails_live_reload", "~> 0.3.5"
61
61
 
62
62
  gem "dartsass-rails", "~> 0.5.0"
63
+
64
+ gem "gem-release", "~> 2.2"
data/README.md CHANGED
@@ -339,24 +339,45 @@ $ bin/start
339
339
 
340
340
  ## 📦 Releasing
341
341
 
342
- ### Bump version
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
- ### Update the changelog
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
- ### Commit version bump
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
- ### Release a new version
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