Wednesday, June 03, 2026 11:58:08 PM
> project show everythingrb
Write expressive, readable Ruby without sacrificing power. EverythingRB eliminates boilerplate with intuitive extensions to Ruby's core classes, making your code both more elegant and easier to understand.
Details
> Rakefile
# frozen_string_literal: true

require "bundler/gem_tasks"
require "minitest/test_task"

Minitest::TestTask.create(:test_regular) do |t|
  # I couldn't get extra_args to work
  t.test_globs = Dir.glob("test/**/test_*.rb").reject { |f| f.include?("active_support") }
end

Minitest::TestTask.create(:test_active_support) do |t|
  t.test_globs = ["test/**/test_*_active_support.rb"]
  t.test_prelude = "ENV[\"LOAD_ACTIVE_SUPPORT\"] = \"true\""
end

require "standard/rake"

task test: [:test_regular, :test_active_support]
task default: %i[test standard]

# Benchmark tasks
namespace :benchmark do
  desc "Run all benchmarks"
  task :all do
    ruby "benchmarks/run_all.rb"
  end

  desc "Run all benchmarks with ActiveSupport"
  task :all_with_active_support do
    ENV["LOAD_ACTIVE_SUPPORT"] = "true"
    ruby "benchmarks/run_all.rb"
  end

  %w[array hash string enumerable ostruct module kernel quotable].each do |name|
    desc "Run #{name} benchmarks"
    task name.to_sym do
      ruby "benchmarks/#{name}_benchmark.rb"
    end
  end
end

desc "Run all benchmarks"
task benchmark: "benchmark:all"
All opinions represented herein are my own
- © 2024 - 2026 itsthedevman
- build 4294fb2