Skip to content

build(deps): remove colorize dependency#3

Open
maxlew wants to merge 1 commit into
resque:mainfrom
maxlew:build/remove-colorize-dependency
Open

build(deps): remove colorize dependency#3
maxlew wants to merge 1 commit into
resque:mainfrom
maxlew:build/remove-colorize-dependency

Conversation

@maxlew

@maxlew maxlew commented Jul 1, 2026

Copy link
Copy Markdown

What

Removes the colorize runtime dependency. Its only use was rendering the blue [R-UIQ] debug-log prefix, which is now produced by a small inline ANSI helper (blue_text) that emits the exact same escape sequence. Output is unchanged.

Why

colorize is licensed under GPL-2.0 (a strong copyleft license). This gem is MIT-licensed and is embedded as a runtime dependency in other projects, so pulling in a GPL-2.0 dependency creates a license-compatibility risk for downstream consumers. Since the dependency was used for a single decorative log prefix, it's cleaner to drop it entirely than to carry that risk.

Changes

  • Remove colorize from the gemspec and the require
  • Add Resque::UniqueInQueue.blue_text and build PLUGIN_TAG from it
  • Bump version 2.0.1 → 2.0.2

No public API or behavior changes; debug output is byte-identical.

colorize is licensed under GPL-2.0, a strong copyleft license. This gem is
MIT-licensed and is embedded as a runtime dependency in other projects, so
pulling in a GPL-2.0 dependency creates a license-compatibility risk for
downstream consumers.

Its only use was rendering the blue "[R-UIQ] " debug-log prefix, now
reproduced by a small inline ANSI helper (blue_text) that emits the exact
same escape sequence. Output is byte-identical and the runtime dependency is
dropped entirely.

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
@maxlew maxlew force-pushed the build/remove-colorize-dependency branch from a7c61f9 to 8713d9b Compare July 1, 2026 01:13
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant