I hereby claim:
- I am pboling on github.
- I am pboling (https://keybase.io/pboling) on keybase.
- I have a public key ASC8gzP9Mb-g0_M06lihOvgkD5uFbTrPooaUCSxRT9fIGgo
To claim this, I am signing this object:
# Fixes :github macro to be secure HTTPS. | |
# :github macro is slated to become secure HTTPS by default in the Bundler 2.0 release. | |
git_source(:github) do |repo_name| | |
repo_name = "#{repo_name}/#{repo_name}" unless repo_name =~ /\// | |
"https://github.com/#{repo_name}.git" | |
end |
I hereby claim:
To claim this, I am signing this object:
begin | |
require "bundler/inline" | |
rescue LoadError => e | |
$stderr.puts "Bundler version 1.10 or later is required. Please update your Bundler" | |
raise e | |
end | |
gemfile(true) do | |
source "https://rubygems.org" |
A markdown table that I want to be aligned; alas, it is impossible!
👷👷👷 | 📬📬📬 | 💚💚💚 | 🚢🚢🚢 | ✅✅✅ | 🔀🔀🔀 | 🚀🚀🚀 | ⬇️⬇️⬇️ | 💨💨💨 |
---|---|---|---|---|---|---|---|---|
123456 | 123456 | 123456 | 123456 | 123456 | 123456 | 123456 | 123456 | 123456 |
Not even an attempt to pad with other characters works because the emoji are not even a multiple of the monospaced width.
| 👷👷👷0 | 📬📬📬0 | 💚💚💚0 | 🚢🚢🚢0 | ✅✅✅0 | 🔀🔀🔀0 | 🚀🚀🚀0 | ⬇️⬇️⬇️0 | 💨💨💨0 |
# frozen_string_literal: true | |
require "colorized_string" | |
String.class_eval do | |
# Adapted from the Rails highlight text helper. | |
# http://api.rubyonrails.org/classes/ActionView/Helpers/TextHelper.html#method-i-highlight | |
# | |
# NOT FOR USE WITH HTML (use the Rails standard one for that) | |
# |
Change your Github Settings > Appearance > Theme (light to dark, or dark to light) and reload this page! You will note that none of these solutions work!
name: Legacy Ruby Support | |
on: | |
push: | |
branches: | |
- 'main' | |
- '*-maintenance' | |
- '*-dev' | |
- '*-stable' | |
tags: |
task :generate_engine do | |
# Get name sent from console | |
name = ENV['name'].downcase | |
# Store useful paths | |
engine_path = "engines/#{name}" | |
dummy_path = 'spec/dummy' | |
lib_files_path = 'lib/tasks/files' | |
dummy_relative_path = "#{engine_path}/#{dummy_path}" |
#!/usr/bin/env ruby | |
require 'bundler/inline' | |
gemfile do | |
source 'https://rubygems.org' | |
gem 'benchmark' | |
gem 'securerandom' | |
gem 'openssl' | |
gem 'ruby-statistics', require: 'statistics' |
# This will not run on CI, because we don't need to store a "last run" on CI. | |
# On local dev it will allow you to run: | |
# bundle exec rspec --only-failures | |
# Which will only run the tests that failed last time. | |
persistence_file_path = "test-reports/last_run_status.txt" | |
class SpecOut | |
attr_reader :run_tracker | |
@instance_mutex = Mutex.new |