From 643f18229e495cd6fa532f4ace45f656ced52f33 Mon Sep 17 00:00:00 2001 From: Jared White Date: Sun, 22 Dec 2024 10:17:42 -0800 Subject: [PATCH] Add `irb` gem as a dependency --- Gemfile.lock | 14 ++++ bridgetown-core/bridgetown-core.gemspec | 85 +++++++++++++------------ bridgetown-website/Gemfile.lock | 14 ++++ 3 files changed, 71 insertions(+), 42 deletions(-) diff --git a/Gemfile.lock b/Gemfile.lock index 113db07cc..4c81cc920 100644 --- a/Gemfile.lock +++ b/Gemfile.lock @@ -18,6 +18,7 @@ PATH faraday (~> 2.0) faraday-follow_redirects (~> 0.3) i18n (~> 1.0) + irb (>= 1.14) kramdown (~> 2.1) kramdown-parser-gfm (~> 1.0) liquid (>= 5.0, < 5.5) @@ -86,6 +87,7 @@ GEM concurrent-ruby (1.3.4) connection_pool (2.4.1) csv (3.3.1) + date (3.4.1) diff-lcs (1.5.1) docile (1.4.1) drb (2.2.1) @@ -108,6 +110,10 @@ GEM i18n (1.14.6) concurrent-ruby (~> 1.0) inclusive (1.0.0) + io-console (0.8.0) + irb (1.14.3) + rdoc (>= 4.0.0) + reline (>= 0.4.2) jaro_winkler (1.6.0) json (2.9.1) kramdown (2.5.1) @@ -148,6 +154,9 @@ GEM parser (3.3.6.0) ast (~> 2.4.1) racc + psych (5.2.2) + date + stringio public_suffix (6.0.1) racc (1.8.1) rack (3.1.8) @@ -161,7 +170,11 @@ GEM rb-inotify (0.11.1) ffi (~> 1.0) rbs (2.8.4) + rdoc (6.10.0) + psych (>= 4.0.0) regexp_parser (2.9.3) + reline (0.6.0) + io-console (~> 0.5) reverse_markdown (2.1.1) nokogiri rexml (3.4.0) @@ -228,6 +241,7 @@ GEM streamlined (0.6.0) serbea (>= 2.1) zeitwerk (~> 2.5) + stringio (3.1.2) terminal-table (3.0.2) unicode-display_width (>= 1.1.1, < 3) thor (1.3.2) diff --git a/bridgetown-core/bridgetown-core.gemspec b/bridgetown-core/bridgetown-core.gemspec index 0a3bc1f8b..fd7c8be9b 100644 --- a/bridgetown-core/bridgetown-core.gemspec +++ b/bridgetown-core/bridgetown-core.gemspec @@ -2,58 +2,59 @@ require_relative "../bridgetown-foundation/lib/bridgetown/version" -Gem::Specification.new do |s| - s.name = "bridgetown-core" - s.version = Bridgetown::VERSION - s.license = "MIT" - s.author = "Bridgetown Team" - s.email = "maintainers@bridgetownrb.com" - s.homepage = "https://www.bridgetownrb.com" - s.summary = "A next-generation, progressive site generator & fullstack framework, powered by Ruby" - s.description = "Bridgetown is a next-generation, progressive site generator & fullstack framework, powered by Ruby" +Gem::Specification.new do |spec| + spec.name = "bridgetown-core" + spec.version = Bridgetown::VERSION + spec.license = "MIT" + spec.author = "Bridgetown Team" + spec.email = "maintainers@bridgetownrb.com" + spec.homepage = "https://www.bridgetownrb.com" + spec.summary = "A next-generation, progressive site generator & fullstack framework, powered by Ruby" + spec.description = "Bridgetown is a next-generation, progressive site generator & fullstack framework, powered by Ruby" - s.files = `git ls-files -z`.split("\x0").reject do |f| + spec.files = `git ls-files -z`.split("\x0").reject do |f| f.match(%r!^(benchmark|features|script|test)/!) end - s.executables = ["bridgetown", "bt"] # `bt` is a shortcut to `bridgetown` command - s.bindir = "bin" - s.require_paths = ["lib"] + spec.executables = ["bridgetown", "bt"] # `bt` is a shortcut to `bridgetown` command + spec.bindir = "bin" + spec.require_paths = ["lib"] - s.metadata = { + spec.metadata = { "source_code_uri" => "https://github.com/bridgetownrb/bridgetown", "bug_tracker_uri" => "https://github.com/bridgetownrb/bridgetown/issues", "changelog_uri" => "https://github.com/bridgetownrb/bridgetown/releases", - "homepage_uri" => s.homepage, + "homepage_uri" => spec.homepage, "rubygems_mfa_required" => "true", } - s.rdoc_options = ["--charset=UTF-8"] + spec.rdoc_options = ["--charset=UTF-8"] - s.required_ruby_version = ">= 3.1.0" + spec.required_ruby_version = ">= 3.1.0" - s.add_runtime_dependency("activesupport", [">= 6.0", "< 8.0"]) - s.add_runtime_dependency("addressable", "~> 2.4") - s.add_runtime_dependency("amazing_print", "~> 1.2") - s.add_runtime_dependency("bridgetown-foundation", Bridgetown::VERSION) - s.add_runtime_dependency("csv", "~> 3.2") - s.add_runtime_dependency("dry-inflector", ">= 1.0") - s.add_runtime_dependency("erubi", "~> 1.9") - s.add_runtime_dependency("faraday", "~> 2.0") - s.add_runtime_dependency("faraday-follow_redirects", "~> 0.3") - s.add_runtime_dependency("i18n", "~> 1.0") - s.add_runtime_dependency("kramdown", "~> 2.1") - s.add_runtime_dependency("kramdown-parser-gfm", "~> 1.0") - s.add_runtime_dependency("liquid", [">= 5.0", "< 5.5"]) - s.add_runtime_dependency("listen", "~> 3.0") - s.add_runtime_dependency("rack", ">= 3.0") - s.add_runtime_dependency("rackup", "~> 2.0") - s.add_runtime_dependency("rake", ">= 13.0") - s.add_runtime_dependency("roda", "~> 3.46") - s.add_runtime_dependency("rouge", [">= 3.0", "< 5.0"]) - s.add_runtime_dependency("serbea", "~> 2.1") - s.add_runtime_dependency("signalize", "~> 1.3") - s.add_runtime_dependency("streamlined", ">= 0.6.0") - s.add_runtime_dependency("thor", "~> 1.1") - s.add_runtime_dependency("tilt", "~> 2.0") - s.add_runtime_dependency("zeitwerk", "~> 2.5") + spec.add_dependency("activesupport", [">= 6.0", "< 8.0"]) + spec.add_dependency("addressable", "~> 2.4") + spec.add_dependency("amazing_print", "~> 1.2") + spec.add_dependency("bridgetown-foundation", Bridgetown::VERSION) + spec.add_dependency("csv", "~> 3.2") + spec.add_dependency("dry-inflector", ">= 1.0") + spec.add_dependency("erubi", "~> 1.9") + spec.add_dependency("faraday", "~> 2.0") + spec.add_dependency("faraday-follow_redirects", "~> 0.3") + spec.add_dependency("i18n", "~> 1.0") + spec.add_dependency("irb", ">= 1.14") + spec.add_dependency("kramdown", "~> 2.1") + spec.add_dependency("kramdown-parser-gfm", "~> 1.0") + spec.add_dependency("liquid", [">= 5.0", "< 5.5"]) + spec.add_dependency("listen", "~> 3.0") + spec.add_dependency("rack", ">= 3.0") + spec.add_dependency("rackup", "~> 2.0") + spec.add_dependency("rake", ">= 13.0") + spec.add_dependency("roda", "~> 3.46") + spec.add_dependency("rouge", [">= 3.0", "< 5.0"]) + spec.add_dependency("serbea", "~> 2.1") + spec.add_dependency("signalize", "~> 1.3") + spec.add_dependency("streamlined", ">= 0.6.0") + spec.add_dependency("thor", "~> 1.1") + spec.add_dependency("tilt", "~> 2.0") + spec.add_dependency("zeitwerk", "~> 2.5") end diff --git a/bridgetown-website/Gemfile.lock b/bridgetown-website/Gemfile.lock index 1acf2c53e..b8d2c8977 100644 --- a/bridgetown-website/Gemfile.lock +++ b/bridgetown-website/Gemfile.lock @@ -18,6 +18,7 @@ PATH faraday (~> 2.0) faraday-follow_redirects (~> 0.3) i18n (~> 1.0) + irb (>= 1.14) kramdown (~> 2.1) kramdown-parser-gfm (~> 1.0) liquid (>= 5.0, < 5.5) @@ -91,6 +92,7 @@ GEM concurrent-ruby (1.3.4) connection_pool (2.4.1) csv (3.3.1) + date (3.4.1) drb (2.2.1) dry-inflector (1.1.0) erubi (1.13.1) @@ -109,6 +111,10 @@ GEM i18n (1.14.6) concurrent-ruby (~> 1.0) inclusive (1.0.0) + io-console (0.8.0) + irb (1.14.3) + rdoc (>= 4.0.0) + reline (>= 0.4.2) json (2.9.1) kramdown (2.5.1) rexml (>= 3.3.9) @@ -132,6 +138,9 @@ GEM parser (3.3.6.0) ast (~> 2.4.1) racc + psych (5.2.2) + date + stringio public_suffix (6.0.1) puma (6.5.0) nio4r (~> 2.0) @@ -143,7 +152,11 @@ GEM rb-fsevent (0.11.2) rb-inotify (0.11.1) ffi (~> 1.0) + rdoc (6.10.0) + psych (>= 4.0.0) regexp_parser (2.1.1) + reline (0.6.0) + io-console (~> 0.5) rexml (3.4.0) roda (3.87.0) rack @@ -160,6 +173,7 @@ GEM streamlined (0.6.0) serbea (>= 2.1) zeitwerk (~> 2.5) + stringio (3.1.2) thor (1.3.2) tilt (2.4.0) tzinfo (2.0.6)