This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| #!/usr/bin/env ruby | |
| # frozen_string_literal: true | |
| # Usage: | |
| # $ git-last-modified | |
| # $ git-last-modified '*.rb' | |
| require "bundler/inline" | |
| require "open3" |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| #!/usr/bin/env ruby | |
| # | |
| # $ ./newgem example | |
| # Add binary executable? no | |
| # Add code of conduct file? no | |
| # Add MIT license? Yes | |
| # Add native extension? (none) | |
| # Add test library? rspec | |
| # Add linter library? standard | |
| # Add continuous integration config? (none) |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| { | |
| "homepage_uris": [ | |
| "https://github.com/whitequark/parser", | |
| "https://github.com/ammar/regexp_parser", | |
| "https://github.com/premailer/css_parser", | |
| "https://github.com/seattlerb/ruby_parser", | |
| "https://github.com/cotag/http-parser", | |
| "http://lukaszwrobel.pl/blog/math-parser-part-3-implementation", | |
| "https://github.com/ota42y/openapi_parser", | |
| "https://whoisrb.org/", |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| #!/usr/bin/env ruby | |
| require "json" | |
| require "net/http" | |
| # Example: | |
| # {"wordoftheday"=> | |
| # {"date"=>"2024-12-03", | |
| # "past"=>0, | |
| # "future"=>0, |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| /usr/local/Homebrew/Library/Homebrew/vendor/bundle/ruby/3.3.0/bin/bundle clean | |
| /usr/local/Homebrew/Library/Homebrew/brew.rb (Formulary::FromNameLoader): loading hyperestraier | |
| [35m==>[0m [1mAuditing Formula hyperestraier on os catalina and arch intel[0m | |
| /usr/local/Homebrew/Library/Homebrew/brew.rb (Formulary::FromPathLoader): loading /usr/local/Homebrew/Library/Taps/homebrew/homebrew-core/Formula/h/hyperestraier.rb | |
| /usr/local/Homebrew/Library/Homebrew/brew.rb (Formulary::FromNameLoader): loading pkg-config | |
| /usr/local/Homebrew/Library/Homebrew/brew.rb (Formulary::FromNameLoader): loading qdbm | |
| /usr/local/Homebrew/Library/Homebrew/brew.rb (Formulary::FromNameLoader): loading curl | |
| /usr/local/Homebrew/Library/Homebrew/brew.rb (Formulary::FromNameLoader): loading pkgconf | |
| /usr/local/Homebrew/Library/Homebrew/brew.rb (Formulary::FromNameLoader): loading brotli | |
| /usr/local/Homebrew/Library/Homebrew/brew.rb (Formulary::FromNameLoader): loading cmake |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| #!/usr/bin/env ruby | |
| if ARGV.size != 1 | |
| puts "usage: cronex [cron line]" | |
| exit 1 | |
| end | |
| require "bundler/inline" | |
| gemfile do |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| #!/usr/bin/env ruby | |
| require "net/http" | |
| require "json" | |
| require "bundler/inline" | |
| gemfile do | |
| source 'https://rubygems.org' | |
| gem "addressable" | |
| gem "tty-prompt" |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| #!/usr/bin/env ruby | |
| require "bundler/inline" | |
| gemfile do | |
| source "https://rubygems.org" | |
| gem "urbandict", "~> 1.1", require: "urbandict" | |
| gem "tty-pager", "~> 0.14", require: "tty-pager" | |
| end |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| ~ $ cd (brew --repo) | |
| /u/l/Homebrew (master|✔) $ cd library/homebrew/test | |
| /u/l/H/l/h/test (master|✔) $ git grep -n 'brew_sh "' | awk -F": " ' | |
| { | |
| sub("_spec.rb", "", $1) | |
| command = "brew tests --profile=1 --only=" $1 | |
| print ">>>>> Command: " command | |
| system(command) | |
| }' | |
| >>>>> Command: brew tests --profile=1 --only=cmd/--caskroom:10 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| diff --git a/Library/Homebrew/test/formulary_spec.rb b/Library/Homebrew/test/formulary_spec.rb | |
| index 6b53acf40c..d63121af9a 100644 | |
| --- a/Library/Homebrew/test/formulary_spec.rb | |
| +++ b/Library/Homebrew/test/formulary_spec.rb | |
| @@ -641,6 +641,42 @@ RSpec.describe Formulary do | |
| # end | |
| # end | |
| end | |
| + | |
| + context "to a third-party tap" do |
NewerOlder