From 0769ecd46fae2a2cacf3541fd00f2e16c9df1e0e Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Mario=20Alberto=20Cha=CC=81vez?= Date: Tue, 14 Jan 2025 21:21:32 -0600 Subject: [PATCH] Converted to an engine and renamed with - --- Gemfile.lock | 20 +++---------------- ...na_components.rb => maquina-components.rb} | 2 +- .../{railtie.rb => engine.rb} | 2 +- lib/maquina_components/version.rb | 2 +- ...ents.gemspec => maquina-components.gemspec | 2 +- 5 files changed, 7 insertions(+), 21 deletions(-) rename lib/{maquina_components.rb => maquina-components.rb} (71%) rename lib/maquina_components/{railtie.rb => engine.rb} (50%) rename maquina_components.gemspec => maquina-components.gemspec (97%) diff --git a/Gemfile.lock b/Gemfile.lock index e78ea04..f875739 100644 --- a/Gemfile.lock +++ b/Gemfile.lock @@ -1,7 +1,7 @@ PATH remote: . specs: - maquina_components (0.1.0) + maquina-components (0.1.0) rails (>= 8.0.0) GEM @@ -121,22 +121,8 @@ GEM timeout net-smtp (0.5.0) nio4r (2.7.4) - nokogiri (1.18.1-aarch64-linux-gnu) - racc (~> 1.4) - nokogiri (1.18.1-aarch64-linux-musl) - racc (~> 1.4) - nokogiri (1.18.1-arm-linux-gnu) - racc (~> 1.4) - nokogiri (1.18.1-arm-linux-musl) - racc (~> 1.4) nokogiri (1.18.1-arm64-darwin) racc (~> 1.4) - nokogiri (1.18.1-x86_64-darwin) - racc (~> 1.4) - nokogiri (1.18.1-x86_64-linux-gnu) - racc (~> 1.4) - nokogiri (1.18.1-x86_64-linux-musl) - racc (~> 1.4) parallel (1.26.3) parser (3.3.6.0) ast (~> 2.4.1) @@ -255,10 +241,10 @@ PLATFORMS x86_64-linux-musl DEPENDENCIES - maquina_components! + maquina-components! puma sqlite3 standard BUNDLED WITH - 2.6.0.dev + 2.6.2 diff --git a/lib/maquina_components.rb b/lib/maquina-components.rb similarity index 71% rename from lib/maquina_components.rb rename to lib/maquina-components.rb index 384cd3d..67ae923 100644 --- a/lib/maquina_components.rb +++ b/lib/maquina-components.rb @@ -1,5 +1,5 @@ require "maquina_components/version" -require "maquina_components/railtie" +require "maquina_components/engine" module MaquinaComponents # Your code goes here... diff --git a/lib/maquina_components/railtie.rb b/lib/maquina_components/engine.rb similarity index 50% rename from lib/maquina_components/railtie.rb rename to lib/maquina_components/engine.rb index 16a46a4..a67221f 100644 --- a/lib/maquina_components/railtie.rb +++ b/lib/maquina_components/engine.rb @@ -1,4 +1,4 @@ module MaquinaComponents - class Railtie < ::Rails::Railtie + class Engine < ::Rails::Engine end end diff --git a/lib/maquina_components/version.rb b/lib/maquina_components/version.rb index 9406ce9..13a29e1 100644 --- a/lib/maquina_components/version.rb +++ b/lib/maquina_components/version.rb @@ -1,3 +1,3 @@ module MaquinaComponents - VERSION = "0.1.0" + VERSION = "0.1.1" end diff --git a/maquina_components.gemspec b/maquina-components.gemspec similarity index 97% rename from maquina_components.gemspec rename to maquina-components.gemspec index d15a571..e10f166 100644 --- a/maquina_components.gemspec +++ b/maquina-components.gemspec @@ -1,7 +1,7 @@ require_relative "lib/maquina_components/version" Gem::Specification.new do |spec| - spec.name = "maquina_components" + spec.name = "maquina-components" spec.version = MaquinaComponents::VERSION spec.authors = ["Mario Alberto Chávez"] spec.email = ["mario.chavez@gmail.com"]