From ffef9a706da1ef70372f8483f9bb12ddbabdcaf5 Mon Sep 17 00:00:00 2001 From: Peter Boling Date: Thu, 29 Feb 2024 16:45:43 +0700 Subject: [PATCH] =?UTF-8?q?=F0=9F=93=9D=20Documentation=20of=20how=20to=20?= =?UTF-8?q?manage=20dependencies?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- debug_logging.gemspec | 4 ++++ gemfiles/coverage.gemfile | 2 +- gemfiles/style.gemfile | 2 +- gemfiles/vanilla.gemfile | 2 +- 4 files changed, 7 insertions(+), 3 deletions(-) diff --git a/debug_logging.gemspec b/debug_logging.gemspec index 230f8b8..bc01b45 100644 --- a/debug_logging.gemspec +++ b/debug_logging.gemspec @@ -47,6 +47,10 @@ Automatically log selected methods and their arguments as they are called at run spec.executables = [] spec.require_paths = ["lib"] + # Root Gemfile is only for local development only. It is not loaded on CI. + # On CI we only need the gemspecs' dependencies (including development dependencies). + # Exceptions, if any, will be found in gemfiles/*.gemfile + spec.add_dependency("colorize", ">= 0") # Optional diff --git a/gemfiles/coverage.gemfile b/gemfiles/coverage.gemfile index b89f1d0..b45c4e8 100644 --- a/gemfiles/coverage.gemfile +++ b/gemfiles/coverage.gemfile @@ -2,7 +2,7 @@ git_source(:github) { |repo_name| "https://github.com/#{repo_name}" } source "https://rubygems.org" -# Root Gemfile is only for local development. +# Root Gemfile is only for local development only. It is not loaded on CI. # On CI we only need the gemspecs' dependencies (including development dependencies). # Exceptions, if any, will be found in gemfiles/*.gemfile diff --git a/gemfiles/style.gemfile b/gemfiles/style.gemfile index b89f1d0..b45c4e8 100644 --- a/gemfiles/style.gemfile +++ b/gemfiles/style.gemfile @@ -2,7 +2,7 @@ git_source(:github) { |repo_name| "https://github.com/#{repo_name}" } source "https://rubygems.org" -# Root Gemfile is only for local development. +# Root Gemfile is only for local development only. It is not loaded on CI. # On CI we only need the gemspecs' dependencies (including development dependencies). # Exceptions, if any, will be found in gemfiles/*.gemfile diff --git a/gemfiles/vanilla.gemfile b/gemfiles/vanilla.gemfile index b89f1d0..b45c4e8 100644 --- a/gemfiles/vanilla.gemfile +++ b/gemfiles/vanilla.gemfile @@ -2,7 +2,7 @@ git_source(:github) { |repo_name| "https://github.com/#{repo_name}" } source "https://rubygems.org" -# Root Gemfile is only for local development. +# Root Gemfile is only for local development only. It is not loaded on CI. # On CI we only need the gemspecs' dependencies (including development dependencies). # Exceptions, if any, will be found in gemfiles/*.gemfile