From 61a99d1fc6f7967c3adda02909551520b777e6f3 Mon Sep 17 00:00:00 2001 From: Evangelos Giataganas Date: Thu, 19 Mar 2026 23:12:39 +0200 Subject: [PATCH] Rename the published gem to cms42 --- Gemfile.lock | 6 +++--- README.md | 9 ++++++++- cms.gemspec | 2 +- lib/cms42.rb | 3 +++ 4 files changed, 15 insertions(+), 5 deletions(-) create mode 100644 lib/cms42.rb diff --git a/Gemfile.lock b/Gemfile.lock index 1050703..669feb7 100644 --- a/Gemfile.lock +++ b/Gemfile.lock @@ -1,7 +1,7 @@ PATH remote: . specs: - cms (0.1.0) + cms42 (0.1.0) actiontext (>= 7.1, < 9.0) discard (~> 1.4) importmap-rails (>= 1.2) @@ -308,7 +308,7 @@ PLATFORMS x86_64-linux-musl DEPENDENCIES - cms! + cms42! factory_bot_rails importmap-rails pg @@ -336,7 +336,7 @@ CHECKSUMS base64 (0.3.0) sha256=27337aeabad6ffae05c265c450490628ef3ebd4b67be58257393227588f5a97b bigdecimal (4.0.1) sha256=8b07d3d065a9f921c80ceaea7c9d4ae596697295b584c296fe599dd0ad01c4a7 builder (3.3.0) sha256=497918d2f9dca528fdca4b88d84e4ef4387256d984b8154e9d5d3fe5a9c8835f - cms (0.1.0) + cms42 (0.1.0) concurrent-ruby (1.3.6) sha256=6b56837e1e7e5292f9864f34b69c5a2cbc75c0cf5338f1ce9903d10fa762d5ab connection_pool (3.0.2) sha256=33fff5ba71a12d2aa26cb72b1db8bba2a1a01823559fb01d29eb74c286e62e0a crass (1.0.6) sha256=dc516022a56e7b3b156099abc81b6d2b08ea1ed12676ac7a5657617f012bd45d diff --git a/README.md b/README.md index e5171c3..3ef1413 100644 --- a/README.md +++ b/README.md @@ -35,7 +35,14 @@ Rails-native, straightforward to extend, and easy for content editors to use. Add to your host app's `Gemfile`: ```ruby -gem "cms", git: "https://github.com/shift42/cms" +gem "cms42" +``` + +The published gem name is `cms42`, but the engine namespace remains `Cms::`. +If you load gems manually instead of letting Bundler auto-require them, use: + +```ruby +require "cms42" ``` Install and migrate: diff --git a/cms.gemspec b/cms.gemspec index ae63fd7..6c58f15 100644 --- a/cms.gemspec +++ b/cms.gemspec @@ -3,7 +3,7 @@ require_relative "lib/cms/version" Gem::Specification.new do |spec| - spec.name = "cms" + spec.name = "cms42" spec.version = Cms::VERSION spec.authors = ["shift42"] spec.email = ["hello@shift42.io"] diff --git a/lib/cms42.rb b/lib/cms42.rb new file mode 100644 index 0000000..e2e6c97 --- /dev/null +++ b/lib/cms42.rb @@ -0,0 +1,3 @@ +# frozen_string_literal: true + +require "cms"