From 1065e2c5b060094ad65ecc4775bc84eb30daded4 Mon Sep 17 00:00:00 2001 From: Ricardo Pacheco Date: Fri, 15 Mar 2024 14:54:16 -0300 Subject: [PATCH 1/2] Prepare the core to run on frameworks --- Gemfile | 21 +------------ Gemfile.lock | 66 ++++++++++++++++++++-------------------- auction_fun_core.gemspec | 19 +++++++++++- 3 files changed, 52 insertions(+), 54 deletions(-) diff --git a/Gemfile b/Gemfile index e67da21..8445078 100644 --- a/Gemfile +++ b/Gemfile @@ -5,30 +5,11 @@ source "https://rubygems.org" # Specify your gem's dependencies in auction_fun_core.gemspec gemspec -gem "activesupport", "7.1.3" -gem "bcrypt", "3.1.20" -gem "dotenv", "3.0.2" -gem "dry-events", "1.0.1" -gem "dry-matcher", "1.0.0" -gem "dry-monads", "1.6.0" -gem "dry-system", "1.0.1" -gem "dry-validation", "1.10.0" -gem "idlemailer", "2.2.0" -gem "money", "6.16.0" -gem "pg", "1.5.5" -gem "phonelib", "0.8.7" -gem "rake", "13.1.0" -gem "rom", "5.3.0" -gem "rom-sql", "3.6.2" -gem "sidekiq", "7.2.2" -gem "yard", "0.9.34" -gem "zeitwerk", "2.6.13" - group :development, :test do gem "faker", "3.2.3" gem "pry", "0.14.2" gem "rspec", "3.13.0" - gem "standard", "1.33.0" + gem "standard", "1.35.1" end group :test do diff --git a/Gemfile.lock b/Gemfile.lock index 487eb4a..9c293a3 100644 --- a/Gemfile.lock +++ b/Gemfile.lock @@ -2,11 +2,29 @@ PATH remote: . specs: auction_fun_core (0.8.3) + activesupport (= 7.1.3.2) + bcrypt (= 3.1.20) + dotenv (= 3.1.0) + dry-events (= 1.0.1) + dry-matcher (= 1.0.0) + dry-monads (= 1.6.0) + dry-system (= 1.0.1) + dry-validation (= 1.10.0) + idlemailer (= 2.2.0) + money (= 6.19.0) + pg (= 1.5.6) + phonelib (= 0.8.7) + rake (= 13.1.0) + rom (= 5.3.0) + rom-sql (= 3.6.2) + sidekiq (= 7.2.2) + yard (= 0.9.36) + zeitwerk (= 2.6.13) GEM remote: https://rubygems.org/ specs: - activesupport (7.1.3) + activesupport (7.1.3.2) base64 bigdecimal concurrent-ruby (~> 1.0, >= 1.0.2) @@ -19,7 +37,7 @@ GEM ast (2.4.2) base64 (0.2.0) bcrypt (3.1.20) - bigdecimal (3.1.6) + bigdecimal (3.1.7) coderay (1.1.3) concurrent-ruby (1.2.3) connection_pool (2.4.1) @@ -30,7 +48,7 @@ GEM date (3.3.4) diff-lcs (1.5.1) docile (1.4.0) - dotenv (3.0.2) + dotenv (3.1.0) drb (2.2.0) ruby2_keywords dry-auto_inject (1.0.1) @@ -106,7 +124,7 @@ GEM method_source (1.0.0) mini_mime (1.1.5) minitest (5.22.2) - money (6.16.0) + money (6.19.0) i18n (>= 0.6.4, <= 2) mutex_m (0.2.0) net-imap (0.4.10) @@ -122,7 +140,7 @@ GEM parser (3.3.0.5) ast (~> 2.4.1) racc - pg (1.5.5) + pg (1.5.6) phonelib (0.8.7) pry (0.14.2) coderay (~> 1.1) @@ -143,7 +161,7 @@ GEM dry-core (~> 1.0) rom-core (~> 5.3) transproc (~> 1.0, >= 1.1.0) - rom-core (5.3.0) + rom-core (5.3.1) concurrent-ruby (~> 1.1) dry-configurable (~> 1.0) dry-core (~> 1.0) @@ -180,19 +198,19 @@ GEM diff-lcs (>= 1.2.0, < 2.0) rspec-support (~> 3.13.0) rspec-support (3.13.0) - rubocop (1.59.0) + rubocop (1.62.1) json (~> 2.3) language_server-protocol (>= 3.17.0) parallel (~> 1.10) - parser (>= 3.2.2.4) + parser (>= 3.3.0.2) rainbow (>= 2.2.2, < 4.0) regexp_parser (>= 1.8, < 3.0) rexml (>= 3.2.5, < 4.0) - rubocop-ast (>= 1.30.0, < 2.0) + rubocop-ast (>= 1.31.1, < 2.0) ruby-progressbar (~> 1.7) unicode-display_width (>= 2.4.0, < 3.0) - rubocop-ast (1.30.0) - parser (>= 3.2.1.0) + rubocop-ast (1.31.2) + parser (>= 3.3.0.4) rubocop-performance (1.20.2) rubocop (>= 1.48.1, < 2.0) rubocop-ast (>= 1.30.0, < 2.0) @@ -211,10 +229,10 @@ GEM simplecov_json_formatter (~> 0.1) simplecov-html (0.12.3) simplecov_json_formatter (0.1.4) - standard (1.33.0) + standard (1.35.1) language_server-protocol (~> 3.17.0.2) lint_roller (~> 1.0) - rubocop (~> 1.59.0) + rubocop (~> 1.62.0) standard-custom (~> 1.0.0) standard-performance (~> 1.3) standard-custom (1.0.2) @@ -228,7 +246,7 @@ GEM tzinfo (2.0.6) concurrent-ruby (~> 1.0) unicode-display_width (2.5.0) - yard (0.9.34) + yard (0.9.36) zeitwerk (2.6.13) PLATFORMS @@ -236,32 +254,14 @@ PLATFORMS x86_64-linux DEPENDENCIES - activesupport (= 7.1.3) auction_fun_core! - bcrypt (= 3.1.20) database_cleaner-sequel (= 2.0.2) - dotenv (= 3.0.2) - dry-events (= 1.0.1) - dry-matcher (= 1.0.0) - dry-monads (= 1.6.0) - dry-system (= 1.0.1) - dry-validation (= 1.10.0) faker (= 3.2.3) - idlemailer (= 2.2.0) - money (= 6.16.0) - pg (= 1.5.5) - phonelib (= 0.8.7) pry (= 0.14.2) - rake (= 13.1.0) - rom (= 5.3.0) rom-factory (= 0.12.0) - rom-sql (= 3.6.2) rspec (= 3.13.0) - sidekiq (= 7.2.2) simplecov (= 0.22.0) - standard (= 1.33.0) - yard (= 0.9.34) - zeitwerk (= 2.6.13) + standard (= 1.35.1) BUNDLED WITH 2.5.6 diff --git a/auction_fun_core.gemspec b/auction_fun_core.gemspec index e76e7d6..0d05495 100644 --- a/auction_fun_core.gemspec +++ b/auction_fun_core.gemspec @@ -33,7 +33,24 @@ Gem::Specification.new do |spec| spec.require_paths = ["lib"] # Uncomment to register a new dependency of your gem - # spec.add_dependency "example-gem", "~> 1.0" + spec.add_dependency "activesupport", "7.1.3.2" + spec.add_dependency "bcrypt", "3.1.20" + spec.add_dependency "dotenv", "3.1.0" + spec.add_dependency "dry-events", "1.0.1" + spec.add_dependency "dry-matcher", "1.0.0" + spec.add_dependency "dry-monads", "1.6.0" + spec.add_dependency "dry-system", "1.0.1" + spec.add_dependency "dry-validation", "1.10.0" + spec.add_dependency "idlemailer", "2.2.0" + spec.add_dependency "money", "6.19.0" + spec.add_dependency "pg", "1.5.6" + spec.add_dependency "phonelib", "0.8.7" + spec.add_dependency "rake", "13.1.0" + spec.add_dependency "rom", "5.3.0" + spec.add_dependency "rom-sql", "3.6.2" + spec.add_dependency "sidekiq", "7.2.2" + spec.add_dependency "yard", "0.9.36" + spec.add_dependency "zeitwerk", "2.6.13" # For more information and examples about making a new gem, check out our # guide at: https://bundler.io/guides/creating_gem.html From 3d1af6bd03979839c4c112777f32d8f3684d6ae5 Mon Sep 17 00:00:00 2001 From: Ricardo Pacheco Date: Fri, 15 Mar 2024 14:55:49 -0300 Subject: [PATCH 2/2] Upgrade CHANGELOG and lib version --- CHANGELOG.md | 4 ++++ Gemfile.lock | 2 +- lib/auction_fun_core/version.rb | 2 +- spec/auction_fun_core_spec.rb | 2 +- 4 files changed, 7 insertions(+), 3 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 1b2a6f8..e611a5e 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,5 +1,9 @@ ## [Unreleased] +## [0.8.4] - 2024-03-15 + +- Adjusting dependencies so that they are automatically loaded by the external Gemfile. + ## [0.8.3] - 2024-03-12 ### Added diff --git a/Gemfile.lock b/Gemfile.lock index 9c293a3..d8534b3 100644 --- a/Gemfile.lock +++ b/Gemfile.lock @@ -1,7 +1,7 @@ PATH remote: . specs: - auction_fun_core (0.8.3) + auction_fun_core (0.8.4) activesupport (= 7.1.3.2) bcrypt (= 3.1.20) dotenv (= 3.1.0) diff --git a/lib/auction_fun_core/version.rb b/lib/auction_fun_core/version.rb index c1b7fd0..c6451ad 100644 --- a/lib/auction_fun_core/version.rb +++ b/lib/auction_fun_core/version.rb @@ -1,7 +1,7 @@ # frozen_string_literal: true module AuctionFunCore - VERSION = "0.8.3" + VERSION = "0.8.4" # Required class module is a gem dependency class Version; end diff --git a/spec/auction_fun_core_spec.rb b/spec/auction_fun_core_spec.rb index 635c0a7..5ecbec5 100644 --- a/spec/auction_fun_core_spec.rb +++ b/spec/auction_fun_core_spec.rb @@ -2,6 +2,6 @@ RSpec.describe AuctionFunCore do it "has a version number" do - expect(AuctionFunCore::VERSION).to eq("0.8.3") + expect(AuctionFunCore::VERSION).to eq("0.8.4") end end